| View previous topic :: View next topic |
| Author |
Message |
geor
Joined: 16 Jun 2008 Posts: 45
|
Posted: Mon Jun 16, 2008 3:34 pm Post subject: RESOLVED Change AutoHotkey.ahk script prevents startup-WHY? |
|
|
I set AHK to run @ Startup.
If i comment out part of the original AutoHotkey.ahk script that runs @ Startup, like so:
;#z::Run www.autohotkey.com
or
; #z::Run www.autohotkey.com ( does a space matter ?)
then AHK does not start,
as evidenced by the fact that it's not listed as a running process in Sysinternals Process Explorer -
but it is listed if I don't comment it out.
I did replace " www.autohotkey.com " w/ C:\Program Files\Internet Explorer\IEXPLORE.EXE ,
which believe it or not, Win+Z is my own previous hotkey to fire up IE7,
and that works ok.
For my education in AHK & scripting, I need/want to know WHY ???
WHY when things work, and even more importantly, WHY when they don't ?
Thanks to whoever can help enlighten me
************************
Hold on ! before posting, whilst reviewing this just now, an idea struck -
it doesn't load @ startup because there is no longer any script to load & run,
because i commented it out !! ??
is this true ?
i hope i'm developing some reasoning abilities here 
Last edited by geor on Tue Jun 17, 2008 1:03 pm; edited 1 time in total |
|
| Back to top |
|
 |
ggwwtt Guest
|
Posted: Mon Jun 16, 2008 4:03 pm Post subject: |
|
|
it runs but then it goes away.
If you don't have any hotkeys you have to use "persistant" or some damn key word I don't remember cause I've never needed... |
|
| Back to top |
|
 |
PurloinedHeart
Joined: 04 Apr 2008 Posts: 209 Location: Canada
|
Posted: Mon Jun 16, 2008 5:14 pm Post subject: |
|
|
|
|
| Back to top |
|
 |
geor
Joined: 16 Jun 2008 Posts: 45
|
Posted: Mon Jun 16, 2008 5:42 pm Post subject: |
|
|
Thanks, folks ! It works !
I erased both commands from AutoHotkey.ahk script,
added the #persistent,
and it starts up - it's in the system tray, ready to edit.
Love it when the understanding comes.
Now I need to know what I'm not doing correctly with the
, max parameter?
> http://www.autohotkey.com/forum/viewtopic.php?t=32780
Thx again  |
|
| Back to top |
|
 |
|