Jump to content

Varsity

Members
  • Posts

    15
  • Joined

  • Last visited

Varsity's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Smartee, you are a godsend. Thanks for all of your help through writing this
  2. I have. Not finding what I'm after. And I want all three to run at the same time, as it would without a hotkey. :\
  3. Hey guys! I'm trying to have a hotkey that can call for some Adlib Registries, however, I need their respective delay to be maintained between each script; without interfering with the next. Here's what we have so far. Global $Message1d = 1000, $Message2d = 2000, $Message3d = 3000 AdlibRegister("AutoMessage3", $Message3d) Func AutoMessage3() Send("Message3") Send("{asc 013}") Sleep(50) EndFunc ;==>AutoMessage3 AdlibRegister("AutoMessage2", $Message2d) Func AutoMessage2() Send(" Message2") Send("{asc 013}") Sleep(250) EndFunc ;==>AutoMessage2 AdlibRegister("AutoMessage1", $Message1d) Func AutoMessage1() Send(" Message1") Send("{asc 013}") Sleep(125) EndFunc ;==>AutoMessage1 While 1 Sleep(13) WEnd With that being said, is there a way to bind all of the above to a hotkey? I can't figure out how to do it :S. Thanks!
  4. Thanks! I'll try it out in a sec
  5. Thanks for the heads up
  6. 1. There is a loop integrated, and it does loop; however each message fires one after another, without waiting the time of the input variable from the designated GUIControlRead section. 2. Yes, I'm wanting it to send line 1, put line 1 to sleep, fire line 2 (Line 1 is still sleeping, but line 2 doesn't wait), etc. ****I hope that made sense?**** 3. The GUICtrlRead is set at a numeric value for each: 1) 1500, 2) 35000, 3) 60000.
  7. AdLibRegister( "AutoMessage3", GUICtrlRead($Message3d) ) Func Message3() Send( Message3 ) Sleep(50000) EndFunc AdLibRegister( "AutoMessage2", GUICtrlRead($Message2d) ) Func Message2() Send( Message2 ) Sleep(25000) EndFunc AdLibRegister( "AutoMessage1", GUICtrlRead($Message1d) ) Func Message1() Send( Message1 ) Sleep(12500) EndFunc With the above being given, how can I make a script to send each message with the delay given from an input box (Message1d), etc. All, one at a time, without associating with eachothers timers? I tried using Message1() Message2() Message3() But that sends each message right after one another, and completely disregards the input time variable.. Any suggestions? Thanks in advance! And I put this in both the General Support section, as well as this one; because I didn't know which section could help. So, sorry!. Cheers.
  8. AdLibRegister( "AutoMessage3", GUICtrlRead($Message3d) ) Func Message3() Send( Message3 ) Sleep(50000) EndFunc AdLibRegister( "AutoMessage2", GUICtrlRead($Message2d) ) Func Message2() Send( Message2 ) Sleep(25000) EndFunc AdLibRegister( "AutoMessage1", GUICtrlRead($Message1d) ) Func Message1() Send( Message1 ) Sleep(12500) EndFunc With the above being given, how can I make a script to send each message with the delay given from an input box (Message1d), etc. All, one at a time, without associating with eachothers timers? I tried using Message1() Message2() Message3() But that sends each message right after one another, and completely disregards the input time variable.. Any suggestions? Thanks in advance! Cheers.
  9. Excellent! It works flawlessly! Thanks a lot smartee for all of your support!
  10. Great, I'll try it out in a few! Thanks for your help!
  11. Thanks! Sorry, again; it's rather difficult to explain :S I'm trying to have multiple scripts running with timers, however, I don't want the timers to interfere with eachother. For example, let's say in terms of Send(), you could have Send(A) Sleep(1250) Send(B) Sleep(2500) Except, I'm trying to figure out how to have it send A every 1.25 seconds, while B is sending ever 2.5 seconds; and A's Sleep function does not offset B's. That's the best example I can whip up for ya, haha. Sorry.
  12. I'm still not finding anything :\ .. Does anyone have an example script I can base my code off of? <3
  13. Thanks smartee! And I'm not THAT great with AutoIt, currently. Are those functions easy to use at all? And I'll look em up now.
  14. Hey guys! I'm new here and I was wondering if I can get some help with a script. ----- So basically, what I'm trying to do, is have a script that can run multiple scripts at one time; but I only know how using the Sleep functions. What I'm trying to get at, is that if I have one script running, with a sleep command, no other script can run, until the first script's sleep has subsided. Here's what I have so far.. While 1 RunMe() Sleep(250) EnterText() WEnd Whereas 'RunMe()' consists of : Start($dir) Sleep(250000) What I'm trying to do, is have Func 'EnterText()' run, even while 'RunMe's Sleep function is still active. That or if there is a more efficient form of delay that would support multiple running scripts; further guidance would be appreciated. Thanks for your time! Sorry if my description was low quality; and I've searched the forums for like an hour, and still not found anything! Cheers.
×
×
  • Create New...