| View previous topic :: View next topic |
| Author |
Message |
Psijudge
Joined: 19 Jul 2004 Posts: 10
|
Posted: Fri Sep 17, 2004 4:02 am Post subject: Add About Option to .exe files |
|
|
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 |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Fri Sep 17, 2004 4:20 am Post subject: |
|
|
| 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 |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5068 Location: imaginationland
|
Posted: Fri Sep 17, 2004 2:30 pm Post subject: |
|
|
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 |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Fri Sep 17, 2004 3:42 pm Post subject: |
|
|
| I didn't know about that; where exactly is it? |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5068 Location: imaginationland
|
Posted: Fri Sep 17, 2004 5:13 pm Post subject: |
|
|
| 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 |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Sat Sep 18, 2004 12:19 am Post subject: |
|
|
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 |
|
 |
Jon
Joined: 28 Apr 2004 Posts: 373
|
Posted: Sat Sep 18, 2004 12:24 am Post subject: |
|
|
| It does display on my system when the EXE is in a folder and the view set to "tiles" |
|
| Back to top |
|
 |
Pallie
Joined: 05 Jul 2004 Posts: 57 Location: London
|
Posted: Sun Sep 19, 2004 6:26 pm Post subject: |
|
|
| 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 |
|
 |
BoBo Guest
|
Posted: Sun Sep 19, 2004 6:48 pm Post subject: |
|
|
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"
 |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Sun Sep 19, 2004 8:23 pm Post subject: |
|
|
| 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 |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5068 Location: imaginationland
|
Posted: Sun Sep 19, 2004 9:28 pm Post subject: |
|
|
| 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 |
|
 |
Candle
Joined: 19 Aug 2004 Posts: 334
|
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Sun Sep 19, 2004 11:06 pm Post subject: |
|
|
| It should be gone when v1.0.20 is released. |
|
| Back to top |
|
 |
|