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 

Auto saving script

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



Joined: 16 Apr 2008
Posts: 39

PostPosted: Sun Apr 20, 2008 6:33 pm    Post subject: Auto saving script Reply with quote

Any way to make a script that saves automatically and reloads after a set period of time?
Back to top
View user's profile Send private message
Tuncay



Joined: 07 Nov 2006
Posts: 384
Location: Berlin

PostPosted: Sun Apr 20, 2008 6:44 pm    Post subject: Reply with quote

What should be saved? The script itself, if it is opened in an editor? Or the data of the script, like current settings, saved in an ini file?
Back to top
View user's profile Send private message Send e-mail
Jag02



Joined: 16 Apr 2008
Posts: 39

PostPosted: Sun Apr 20, 2008 6:53 pm    Post subject: Reply with quote

The actual script itself.
Back to top
View user's profile Send private message
jaco0646



Joined: 07 Oct 2006
Posts: 582
Location: MN, USA

PostPosted: Sun Apr 20, 2008 6:55 pm    Post subject: Reply with quote

Automatic reload of changed script

I think this is what you're trying to do. There's a couple methods shown in that thread.
_________________
http://autohotkey.net/~jaco0646/
Back to top
View user's profile Send private message Visit poster's website
Jag02



Joined: 16 Apr 2008
Posts: 39

PostPosted: Sun Apr 20, 2008 7:27 pm    Post subject: Reply with quote

That thread shows you how to make a script reload itself when saved.
But how do you make a script save itself automatically after a set period of time? How would you merge it with that script?
Back to top
View user's profile Send private message
jaco0646



Joined: 07 Oct 2006
Posts: 582
Location: MN, USA

PostPosted: Sun Apr 20, 2008 8:02 pm    Post subject: Reply with quote

I posted some code in that other thread; it works for me in Notepad.
_________________
http://autohotkey.net/~jaco0646/
Back to top
View user's profile Send private message Visit poster's website
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