Jump to content

NutherNoob

Active Members
  • Posts

    42
  • Joined

  • Last visited

About NutherNoob

  • Birthday 01/01/1989

NutherNoob's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. What scripting would I use to record the pos/clicks?
  2. Hi everyone. Is it possible to create a SIMPLE recorder that will record user inputted mouse clicks and movement, playback and then wait an amount of time (determined by the user) and then playback again? To playback the recorded macro, would it be easier (the best way) to retrieve from an .ini file that was written when the macro was recorded as there would be multiple recordings? Thanx
  3. I'm pretty sure photoshop can make .jpg/gif into .ico with a plugin found at www.telegraphics.com.au
  4. I've gotten some ppl to try out my macro but some are having problems with the GUI. I have no problems with it on 2 machines but some ppl say they can only enter 1 number in a box (I can enter 2) and some ppl have no problems at all. Is there any known reason why they may be getting different results? (without me having to post the whole script here Please help.
  5. Obviously every1 has NFI.
  6. So how does one cancel an operation (such as this) so that more details can be inputted and then restarted from the beginning???? I got no idea how to make the damn thing cancel an operation....
  7. Thanx for your reply. I posted what I wanted to do, posted the whole script (yes, #post6). Sorry thought everyone reads every topic from the first post to get all the info. Anyways, how can I stop (cancel) the countdown loop when the cancel button is clicked, thats all I ask
  8. 1. This mess will get cleaned up once I get it working. I did ask ages ago for help on that but it doesnt matter atm. 2. Ok 3. Ok, will mess around with it some more 4. I posted the whole code above with the gui!!! Please, I dont want to post the code again as the topic is just full of code and nothing else. I just need to know what I'm doing wrong and how to fix it. Thanx
  9. I see lots of examples of exit buttons etc but nothing I want. What should I look for in the helpfile?
  10. I want to put it in here somewhere...... For $I = 0 To $NumTimeFields - 1 $cf = GUICtrlRead($CoordsField[$I]) $hrs = GUICtrlRead($HourFields[$I]) $mins = GUICtrlRead($MinuteFields[$I]) $secs = GUICtrlRead($SecondFields[$I]) $pausetime= ($hrs*3600)+($mins*60)+$secs If $cf = "" Then ContinueLoop Sleep(6000) MouseClick("right", StringLeft($cf, StringInStr($cf, ",") - 1), StringTrimLeft($cf, StringInStr($cf, ","))) Sleep(3000) MouseClick("left", (StringLeft($cf, StringInStr($cf, ",") - 1) + $XSpot) , (StringTrimLeft($cf, StringInStr($cf, ",")) + $YSpot)) While $pausetime > 0 $totalsecpause = INT($pausetime) $hrspause= Int($totalsecpause/3600) $minpause = Int(($totalsecpause/60) - $hrspause*60) $secpause = int($totalsecpause - ($minpause*60) - $hrspause*3600) ;working ToolTip("Now running number " & ($I + 1) & "....Waiting " & $hrspause & " hours, " & $minpause & " minutes, " & $secpause & " seconds.", 210, 3) Sleep(1000) $pausetime = $pausetime - 1 WEnd $pausetime = 0 tooltip("") Next
  11. How would I create a simple cancel function for a timer where when a cancel button is pressed, it cancels everything but doesnt close the whole gui window? Is there something I missed in the helpfile that I dont know how to apply here? Thanx
  12. Sorted!!!! :)
  13. Uten mate, thankyou so much, working like a charm now :) One thing though, where should I put a "$GUI_EVENT_CLOSE" loop in this loop, in case someone wants to cancel the countdown? (I've made the button etc and works OUTSIDE of this loop) Thanx again
  14. Ok, this is what I have come up with and is close to what I want BUT WHY, WHY, WHY cant I get the mins to display properly when hours are inputted?? Eg. I input 2 hours, 5 mins, 5 secs and get in the tooltip "2 hours, 165 mins, 5 secs". And also WHY, when it countsdown the tooltip stops at 1 and not 0?? Please help. Func Start() ToolTip("") Local $AllFieldEmpty = True For $I = 0 To UBound($CoordsField) - 1 If GUICtrlRead($CoordsField[$I]) <> "" Then $AllFieldEmpty = False Next If $AllFieldEmpty Then MsgBox(16, "Error", "Please enter Coordinates") Return EndIf For $I = 0 To $NumTimeFields - 1 $cf = GUICtrlRead($CoordsField[$I]) $hrs = GUICtrlRead($HourFields[$I]) $mins = GUICtrlRead($MinuteFields[$I]) $secs = GUICtrlRead($SecondFields[$I]) $pausetime= ($hrs*3600)+($mins*60)+$secs If $cf = "" Then ContinueLoop MouseClick("right", StringLeft($cf, StringInStr($cf, ",") - 1), StringTrimLeft($cf, StringInStr($cf, ","))) Sleep(3000) MouseClick("left", (StringLeft($cf, StringInStr($cf, ",") - 1) + $XSpot) , (StringTrimLeft($cf, StringInStr($cf, ",")) + $YSpot)) While $pausetime > 0 $totalsecpause = INT($pausetime) $minpause = Int($totalsecpause/60) $hrspause= Int($totalsecpause/3600) $secpause = $totalsecpause - ($minpause*60) ToolTip("Now running number " & ($I + 1) & "....Waiting " & $hrspause & " hours, " & $minpause & " minutes, " & $secpause & " seconds.", 210, 3) Sleep(1000) $pausetime = $pausetime - 1 WEnd $pausetime = 0 Next MsgBox(48 + 0, "", "completed.") EndFunc ;Paste coords Func Paste() Send(ClipGet()) EndFunc ;==>Paste Func Terminate() Exit EndFunc ;==>Terminate
×
×
  • Create New...