Automatically run a macro every X minutes.

Discuss macro implementations, ask for macro help (to share your creations, see User Creations, probably either Campaign Frameworks or Drop-in Resources).

Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice

Post Reply
Shadow Wizard
Giant
Posts: 183
Joined: Mon Apr 11, 2011 8:11 pm

Automatically run a macro every X minutes.

Post by Shadow Wizard »

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?

User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: Automatically run a macro every X minutes.

Post by aliasmask »

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.

Shadow Wizard
Giant
Posts: 183
Joined: Mon Apr 11, 2011 8:11 pm

Re: Automatically run a macro every X minutes.

Post by Shadow Wizard »

I'm sorry, I must be going crazy.. What thread?

User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: Automatically run a macro every X minutes.

Post by aliasmask »

Whoopsie, I thought I posted the link: viewtopic.php?p=184818&hilit=animate#p184818

Post Reply

Return to “Macros”