Page 1 of 2

[AEI] AutoHotkey Environment Information

Posted: 06 Jan 2015, 03:21
by joedf
[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!

Re: [AEI] AutoHotkey Environment Information

Posted: 06 Jan 2015, 20:43
by cyruz
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

Re: [AEI] AutoHotkey Environment Information

Posted: 06 Jan 2015, 23:43
by enthused
Nice. I just ran the new version and it looks great. Me think it would qualify under nice GUI and works as described.

Re: [AEI] AutoHotkey Environment Information

Posted: 06 Jan 2015, 23:48
by joedf
@ cyruz yeah was lazy... updated! :)
@enthused Thanks, I just updated it, now.. :P use the newest version! ;)

Re: [AEI] AutoHotkey Environment Information

Posted: 07 Jan 2015, 00:04
by enthused
Yes used the new draggable version and it is NICE :D
I liked the GUI and the fonts used.
AHK is impressive :thumbup:

Re: [AEI] AutoHotkey Environment Information

Posted: 07 Jan 2015, 01:09
by joedf
Great! Glad you like it :)

Re: [AEI] AutoHotkey Environment Information

Posted: 07 Jan 2015, 05:14
by empardopo
It looks very nice.

I get this.

Thanks!

Re: [AEI] AutoHotkey Environment Information

Posted: 07 Jan 2015, 06:03
by just me
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.

Re: [AEI] AutoHotkey Environment Information

Posted: 07 Jan 2015, 13:08
by joedf
@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

Re: [AEI] AutoHotkey Environment Information

Posted: 07 Jan 2015, 19:40
by lexikos
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?

Re: [AEI] AutoHotkey Environment Information

Posted: 07 Jan 2015, 20:31
by joedf
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.

Re: [AEI] AutoHotkey Environment Information

Posted: 08 Jan 2015, 03:02
by empardopo
Now, It works fine!
Thanks!

Re: [AEI] AutoHotkey Environment Information

Posted: 08 Jan 2015, 05:15
by joedf
Updated. -> Fancier Updater (auto download with progress bar), WinXP tested, Smooth Open/Close

WinXP screen
Image

Re: [AEI] AutoHotkey Environment Information

Posted: 08 Jan 2015, 07:11
by Guest
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)

Re: [AEI] AutoHotkey Environment Information

Posted: 08 Jan 2015, 15:56
by joedf
Yes, that would cool and Helpful :)
Maybe theme colors would have to change since dark colors aren't always "main stream". :P

Re: [AEI] AutoHotkey Environment Information

Posted: 09 Jan 2015, 08:35
by TheDewd
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.

Re: [AEI] AutoHotkey Environment Information

Posted: 09 Jan 2015, 17:06
by joedf
Whoops! yes, i forgot to remove that :P thanks

Fixed:
- gLV_eventHandler Issue
- Script now shows up in Taskbar

Re: [AEI] AutoHotkey Environment Information

Posted: 09 Jan 2015, 17:39
by MJs
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

Re: [AEI] AutoHotkey Environment Information

Posted: 09 Jan 2015, 17:42
by joedf
Not sure what you're saying there, but I'm glad you like it! :)

Re: [AEI] AutoHotkey Environment Information

Posted: 09 Jan 2015, 18:48
by MJs
: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: