Help - Search - Members - Calendar
Full Version: Can this be done?
AC Tools Everything Macro > AC Tool Macros > Other Macros
Westlake
I'm wanting a macro that uses the computer's clock to activate commands at certain times.

Such as, if I want the mouse to click something at 16:04:03:000, are there any commands that can calculate this in the procedure?
Bear
Yes. rolleyes.gif
SaGaR
QUOTE(Bear @ Apr 24 2009, 10:09 PM) *
Yes. rolleyes.gif

hi
i have been experimenting with ACtool for some weeks now, and i would like to know how to do this,
so could you tell us please?
Bear
This Script was part larger script, the game in question had Daily Maintenance Star Wars Galaxies. You'd had to have ProcessMessages being processed somewhere in the main script.
This was to Stop the Script, Same could be done to Start a Section of Code.

CODE
// This line is necessary to select the proper window
SetActiveWindow SWGClient

Procedure DropOff when {Hour} = 6 and {Minute} > 55
  TimeStamp Stopping for Daily maintain.
  Keys /Dump
  Keys {Return}
  delay 5 sec
  keys /StopMusic
  keys {return}
  delay 10 sec
  Keys /Sit
  Keys {Return}
  Delay 10 sec
  Keys /logout
  Keys {Return}
  Stop
End

SaGaR
QUOTE(Bear @ May 7 2009, 07:45 AM) *
This Script was part larger script, the game in question had Daily Maintenance Star Wars Galaxies. You'd had to have ProcessMessages being processed somewhere in the main script.
This was to Stop the Script, Same could be done to Start a Section of Code.

CODE
// This line is necessary to select the proper window
SetActiveWindow SWGClient

Procedure DropOff when {Hour} = 6 and {Minute} > 55
  TimeStamp Stopping for Daily maintain.
  Keys /Dump
  Keys {Return}
  delay 5 sec
  keys /StopMusic
  keys {return}
  delay 10 sec
  Keys /Sit
  Keys {Return}
  Delay 10 sec
  Keys /logout
  Keys {Return}
  Stop
End


thanks biggrin.gif

i dunno about the other guy, but i could use this sometime soon, but i just needed to look at an example to understand it biggrin.gif
and now i do:D
if i have more questions ill post them, but i think that won't happen for a while biggrin.gif

thank You!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.