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 

Noob q about launching scripts

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



Joined: 19 Jan 2006
Posts: 11

PostPosted: Fri May 12, 2006 10:48 pm    Post subject: Noob q about launching scripts Reply with quote

Hi.
I realize that this is a real newbe question, but I can't seem to make it work myself.
I'm trying to setup a master script that launches and stays as an icon in the systray, but that script launches other scripts that I want.
Like I'm using some costume min/max win manipulation, but I can't get it to run 320mph by Rajat without it exiting both the script I launched 320mph from and 320mph.

Put short:
I want to launch several script at startup, how?
Back to top
View user's profile Send private message
Search!!!
Guest





PostPosted: Sat May 13, 2006 1:03 am    Post subject: Reply with quote

http://www.autohotkey.com/forum/topic9198.html&highlight=startup+folder
http://www.autohotkey.com/forum/topic8887.html&highlight=startup+folder
http://www.autohotkey.com/forum/topic8405.html&highlight=startup+folder
http://www.autohotkey.com/forum/topic2475.html&highlight=startup+folder
Back to top
Guest






PostPosted: Sat May 13, 2006 1:38 am    Post subject: Reply with quote

I have seen those post, but I was really wondering if there was any way, other than adding each script to the startup folder, to launch many scripts.
My problem is that a script launced within another script closes both scripts on exit-
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10716

PostPosted: Sat May 13, 2006 9:20 pm    Post subject: Reply with quote

Quote:
My problem is that a script launced within another script closes both scripts on exit-
I don't think it should do that. Can you clarify?
Back to top
View user's profile Send private message Send e-mail
ranlun



Joined: 19 Jan 2006
Posts: 11

PostPosted: Sat May 13, 2006 9:26 pm    Post subject: Reply with quote

I have edited the autohotkey.ini with the line:
#t::
Run C:\files\scripts\320mph.ahk
return

When I press win+t 320 mph launches, I do the wanted search and press ESC. Then 320mph quits, but so do Autohotkey as well.
I don't want that, I just want to quit 320mph not both.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10716

PostPosted: Sat May 13, 2006 9:31 pm    Post subject: Reply with quote

Unless there's something in 320mph.ahk that closes the first script, I see why that would happen. Perhaps you can check the 320mph script for anything unusual.

Has anyone else observed this?
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
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