AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Add About Option to .exe files

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
Psijudge



Joined: 19 Jul 2004
Posts: 10

PostPosted: Fri Sep 17, 2004 4:02 am    Post subject: Add About Option to .exe files Reply with quote

Would it be possible to add a About Option when you right click on the Icon for a running .EXE script?
If you are running a stand alone script the only option you have when you right click on the Task Bar Icon is, Suspend Hotkeys, Pause Script and Exit. Adding an about feature, that display the Autohotkey website, give credit to the Great Chris and provides the Author and Email of the script, as given in the header of a new script. I think this would be pretty useful when distributing scripts.

~Psijudge
_________________
"I will take a bullet for you, but not a call" Ex-Gateway Phone Tech Support.
Back to top
View user's profile Send private message Send e-mail
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Fri Sep 17, 2004 4:20 am    Post subject: Reply with quote

Quote:
Adding an about feature, that display the Autohotkey website, give credit to the Great Chris and provides the Author and Email of the script
I think most users would be against having something like this built-in. This is because most of the time they would want complete control over how their scripts operate, whether compiled or not.

I think it's best to leave it up to the author of the script to decide whether to have any kind of about-window. It can be accomplished pretty easily and I'm sure others have already done this type of thing:

menu, tray, add ; Separator line
menu, tray, add, About this program, AboutBox
return

AboutBox:
... Use SplashText, SplashImage, or GUI to display an about-window.
return
Back to top
View user's profile Send private message Send e-mail
Titan



Joined: 11 Aug 2004
Posts: 5068
Location: imaginationland

PostPosted: Fri Sep 17, 2004 2:30 pm    Post subject: Reply with quote

You might have noticed that when you compile your scripts there is 'AutoHotKey' under the program's name. I think that's allright, although it would be better if we could change that.
_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Fri Sep 17, 2004 3:42 pm    Post subject: Reply with quote

I didn't know about that; where exactly is it?
Back to top
View user's profile Send private message Send e-mail
Titan



Joined: 11 Aug 2004
Posts: 5068
Location: imaginationland

PostPosted: Fri Sep 17, 2004 5:13 pm    Post subject: Reply with quote

Chris wrote:
I didn't know about that; where exactly is it?


See the image below, when you compile your program it says your programs name and says AutoHotKey too.


_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Sat Sep 18, 2004 12:19 am    Post subject: Reply with quote

That is the internal name contained in the file's version info. I'm not sure, but I don't think the OS normally displays this. Perhaps you have your system configured to show this info?

Has anyone else noticed this? Does anyone think the version info should be omitted from compiled scripts?

Note: you can use ResHacker or similar free utility to alter/delete this version info.
Back to top
View user's profile Send private message Send e-mail
Jon



Joined: 28 Apr 2004
Posts: 373

PostPosted: Sat Sep 18, 2004 12:24 am    Post subject: Reply with quote

It does display on my system when the EXE is in a folder and the view set to "tiles"
Back to top
View user's profile Send private message Send e-mail
Pallie



Joined: 05 Jul 2004
Posts: 57
Location: London

PostPosted: Sun Sep 19, 2004 6:26 pm    Post subject: Reply with quote

Jon wrote:
It does display on my system when the EXE is in a folder and the view set to "tiles"

I get the same under XP when view > tiles is selected. Also, under file properties it appears as Autohotkey even for an exe
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Sun Sep 19, 2004 6:48 pm    Post subject: Reply with quote

Chris,
am I'm wrong that this info ("AutoHotkey") is a standard part (header info) of the compiled code ?

I seem to remember that compiled scripts (AutoIt2/3) with malicious code have been identified/classified this way as "AutoIt virus" Rolling Eyes

Cool
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Sun Sep 19, 2004 8:23 pm    Post subject: Reply with quote

That's a good point. For that reason and the one mentioned above, I think I will have the version info omitted from compiled scripts.
Back to top
View user's profile Send private message Send e-mail
Titan



Joined: 11 Aug 2004
Posts: 5068
Location: imaginationland

PostPosted: Sun Sep 19, 2004 9:28 pm    Post subject: Reply with quote

Chris wrote:
That's a good point. For that reason and the one mentioned above, I think I will have the version info omitted from compiled scripts.


Cool, when's that?
_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
Candle



Joined: 19 Aug 2004
Posts: 334

PostPosted: Sun Sep 19, 2004 10:03 pm    Post subject: Reply with quote

If you use Resource Hacker and open the bin file you can remove it .
http://www.snapfiles.com/get/resourcehacker.html
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Sun Sep 19, 2004 11:06 pm    Post subject: Reply with quote

It should be gone when v1.0.20 is released.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group