Is there a way to do this? Just automatically run a macro every specific amount of time?
For example, I have a macro that uses the exportData() function to save some information. I would like it to do that automatically every 5 min or so. Is there a way to do it?
Automatically run a macro every X minutes.
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
-
- Giant
- Posts: 133
- Joined: Mon Apr 11, 2011 8:11 pm
Re: Automatically run a macro every X minutes.
You can check out this thread. I used deferred calls that pass the target time to execute animations, but it can be used to do saves. My next thought would be some js timer stuff, but I'm not sure about that support. I dinked with it and didn't come up with any viable solutions.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
-
- Giant
- Posts: 133
- Joined: Mon Apr 11, 2011 8:11 pm
Re: Automatically run a macro every X minutes.
I'm sorry, I must be going crazy.. What thread?
Re: Automatically run a macro every X minutes.
Whoopsie, I thought I posted the link: viewtopic.php?p=184818&hilit=animate#p184818
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools