[AEI] AutoHotkey Environment Information

Post your working scripts, libraries and tools
User avatar
joedf
Posts: 5362
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

[AEI] AutoHotkey Environment Information

06 Jan 2015, 03:21

[AEI] AutoHotkey Environment Information
simple, and yes there have been many... but just wanted to share... There should be a nice "de-facto official" ahk version tool...

Get it here from GitHub : https://github.com/joedf/AEI.ahk

AEI.ahk
==============================

Displays AutoHotkey Environment Information and AHK support relevant System Information with a fancy update checker that auto-downloads with a progress bar.

By joedf, Released under the [MIT License]( http://opensource.org/licenses/MIT )

Screenshot
Image

Cheers!
User avatar
cyruz
Posts: 242
Joined: 30 Sep 2013, 13:31

Re: [AEI] AutoHotkey Environment Information

06 Jan 2015, 20:43

Nice. For the update checker maybe you can download to a var, to avoid disk i/o for a simple version string: http://ahkscript.org/docs/commands/URLD ... m#Examples
ABCza on the old forum.
My GitHub.
enthused
Posts: 94
Joined: 27 Dec 2014, 03:28

Re: [AEI] AutoHotkey Environment Information

06 Jan 2015, 23:43

Nice. I just ran the new version and it looks great. Me think it would qualify under nice GUI and works as described.
User avatar
joedf
Posts: 5362
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [AEI] AutoHotkey Environment Information

06 Jan 2015, 23:48

@ cyruz yeah was lazy... updated! :)
@enthused Thanks, I just updated it, now.. :P use the newest version! ;)
enthused
Posts: 94
Joined: 27 Dec 2014, 03:28

Re: [AEI] AutoHotkey Environment Information

07 Jan 2015, 00:04

Yes used the new draggable version and it is NICE :D
I liked the GUI and the fonts used.
AHK is impressive :thumbup:
User avatar
joedf
Posts: 5362
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [AEI] AutoHotkey Environment Information

07 Jan 2015, 01:09

Great! Glad you like it :)
User avatar
empardopo
Posts: 335
Joined: 06 Oct 2013, 12:50
Location: Spain
Contact:

Re: [AEI] AutoHotkey Environment Information

07 Jan 2015, 05:14

It looks very nice.

I get this.

Thanks!
Attachments
EnvironmentInformation.png
Everything is possible!
just me
Posts: 4222
Joined: 02 Oct 2013, 08:51
Location: Germany

Re: [AEI] AutoHotkey Environment Information

07 Jan 2015, 06:03

Interesting! For the Buttons you might have a look at viewtopic.php?f=7&t=4029. The ListView would need to be a bit wider here to prevent scroll bars. You might limit the width of the second column and add +LV0x4000 (LVS_EX_LABELTIP). Additionally I'd recommend to use the r option for the height.
Offline, just now!

Except as noted otherwise all of my code is tested on Win 10 Pro (x64) using the current AHK version.
User avatar
joedf
Posts: 5362
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [AEI] AutoHotkey Environment Information

07 Jan 2015, 13:08

@empardopo patched. ;)
@just me - Thanks! i was lazy :P anyway done! :)

Well, i guess this is now a full-blown thing then, It started out to be really simple using only a msgbox...
Decided to put it up on github :)
https://github.com/joedf/AEI.ahk
lexikos
Posts: 5258
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: [AEI] AutoHotkey Environment Information

07 Jan 2015, 19:40

It's not very obvious that the "1.1.19.01 ✘" in the corner is the latest version, not the installed version. When I saw it, I thought "but that's the latest version; why is it red?" before seeing I had 1.1.19.00 installed. It would make more sense to colour the current installed version red when it is out of date, if that was practical.

The X renders as a little box in the GUI on this XP system, but is fine when I copy the control's text from Window Spy into Chrome.

Might I suggest adding a download link for the latest AutoHotkey?
User avatar
joedf
Posts: 5362
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [AEI] AutoHotkey Environment Information

07 Jan 2015, 20:31

Yes i hesitated on that part... Thanks for the suggestions.
I Will add them in, when I get home tonight.
Plus fix it for XP also.
User avatar
empardopo
Posts: 335
Joined: 06 Oct 2013, 12:50
Location: Spain
Contact:

Re: [AEI] AutoHotkey Environment Information

08 Jan 2015, 03:02

Now, It works fine!
Thanks!
Everything is possible!
User avatar
joedf
Posts: 5362
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [AEI] AutoHotkey Environment Information

08 Jan 2015, 05:15

Updated. -> Fancier Updater (auto download with progress bar), WinXP tested, Smooth Open/Close

WinXP screen
Image
Guest

Re: [AEI] AutoHotkey Environment Information

08 Jan 2015, 07:11

Wouldn't it useful to add this information to be built-into AutoHotkey?

Say in the AutoHotkey window (double click tray icon) View menu add an "AutoHotkey & System information" option - that way newbies don't have to download this script to post their info when asked for by others in "Ask For Help" threads. (Often the new user has to supply the installed AutoHotkey version and OS in order for other to help them further)
User avatar
joedf
Posts: 5362
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [AEI] AutoHotkey Environment Information

08 Jan 2015, 15:56

Yes, that would cool and Helpful :)
Maybe theme colors would have to change since dark colors aren't always "main stream". :P
TheDewd
Posts: 646
Joined: 19 Dec 2013, 11:16
Location: USA

Re: [AEI] AutoHotkey Environment Information

09 Jan 2015, 08:35

It worked before the recent updates, but now it's giving me an error:

---------------------------
AEI.ahk
---------------------------
Error: Target label does not exist.

Specifically: gLV_eventHandler

Line#
036: BS_FLAT := "0x8000"
038: ListViewNRows := StrCount(VarList,"
")+1
040: Gui,+LastFound -Caption +Border +ToolWindow +OwnDialogs +hwndhGUI
041: Gui,Margin,4,4
042: Gui,Color,0x202020,0x202020
043: Gui,Font,cFFFFFF s8,Consolas
044: Gui,Add,Text,+center w450 h16 +c3399FF +BackgroundTrans +Border," [ " ScriptName " ] "
---> 045: Gui,Add,ListView,wp r%ListViewNRows% -Hdr +ReadOnly +Background0A0A0A vLV +LV0x4000 gLV_eventHandler,Key|Value
046: Gui,Add,Picture,w16 h16 Icon1,%A_ahkpath%
047: Gui,Add,Picture,wp hp Icon1 x+4 yp,%Ahk_CompilerPath%
048: Gui,Add,Picture,wp hp Icon1 x+4 yp,%Ahk_WindowSpyPath%
049: Gui,Add,Button,gCopy hp x+4 yp w176 vCopyButton +%BS_FLAT% -theme hwndhCopyButton,Copy All to Clipboard
050: Gui,Add,Button,gGuiClose hp w100 x+4 yp +%BS_FLAT% -theme hwndhExitButton,Exit
051: Gui,Add,Text,+center w106 x+4 yp+0 h16 cGray +Border vUpdateInfo gOpenUpdate,Not Checked...
053: LV_Add("","Loading","System & Environment information ...")

The current thread will exit.
---------------------------
OK
---------------------------


I removed gLV_eventHandler from the control, and the script now loads... But it does not show in the Windows taskbar, which makes it unable to activate over another window. I have to exit the script and start it again.
User avatar
joedf
Posts: 5362
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [AEI] AutoHotkey Environment Information

09 Jan 2015, 17:06

Whoops! yes, i forgot to remove that :P thanks

Fixed:
- gLV_eventHandler Issue
- Script now shows up in Taskbar
MJs
Posts: 454
Joined: 23 Sep 2014, 03:29

Re: [AEI] AutoHotkey Environment Information

09 Jan 2015, 17:39

BEAUTIFUL
and the LVS_EX_LABELTIP is nice and all, AND and but, I'm a little snoop when it comes to listviews, long story and messages and notifications... and (Ctrl+0) can't live without it, all columns stretched arms :bravo:
once I had to override the Ctrl+0 with WM_KEYDOWN just to stop me from annoying me :o when using Listview with -Hdr
BEAUTIFUL, keep it up
User avatar
joedf
Posts: 5362
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [AEI] AutoHotkey Environment Information

09 Jan 2015, 17:42

Not sure what you're saying there, but I'm glad you like it! :)
MJs
Posts: 454
Joined: 23 Sep 2014, 03:29

Re: [AEI] AutoHotkey Environment Information

09 Jan 2015, 18:48

:lol:
it's cool
I liked it, man, it's cool, what I'm saying is when the listview recieve the Ctrl+0 combination, it Adjusts the column's width to fit its contents automatically, and the first thing I did after loading was (Ctrl+0) and show the scrollbars. just
saying it's so cooler without them. ;) :wave:

Return to “Scripts and Functions”

Who is online

Users browsing this forum: No registered users and 14 guests