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 

First popup menu script

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
mangaman



Joined: 21 Apr 2005
Posts: 2

PostPosted: Thu Apr 21, 2005 8:58 pm    Post subject: First popup menu script Reply with quote

I was trying to write a simple menu to replace all the shortcut icons on my desktop. While I was playing around testing if I was doing it right, I noticed a problem. Every time I load or reload the script it launches all my shortcuts I have in my script. I was planing on loading the script when windows launched but if I have all those programs launching after the script is loaded I would have to close them, this would be annoying. Well I thought maybe I am doing something wrong, I read through the Menu command help (http://www.autohotkey.com/docs/commands/Menu.htm) and I didn't find an answer, at least not one I noticed. Is there a way to prevent this? Here is my script:

Code:
; my quicklinks menu
Menu, QuickLink, add, Test

Test:
Run iexplore.exe
return

#q:: Menu, QuickLink, show


I shortened it so only one program would launch. Thanks
_________________
"Technological progress is like an axe in the hands of a pathological criminal." --Albert Einstein

www.ryokoshome.com
www.planetgunsmokeclan.com
Back to top
View user's profile Send private message
toralf



Joined: 31 Jan 2005
Posts: 3841
Location: Bremen, Germany

PostPosted: Thu Apr 21, 2005 9:22 pm    Post subject: Reply with quote

does it help, when you add a return after the menu command?
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mangaman



Joined: 21 Apr 2005
Posts: 2

PostPosted: Thu Apr 21, 2005 9:25 pm    Post subject: Reply with quote

hahahaha Now I see what I did, that fixed it. It makes sense now why I couldn't get it to work before. Thanks
_________________
"Technological progress is like an axe in the hands of a pathological criminal." --Albert Einstein

www.ryokoshome.com
www.planetgunsmokeclan.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help 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