Jump to content
Sign in to follow this  
goatsgonewild

uber noob here [need help]

Recommended Posts

goatsgonewild

Ok so I'm clearly new to this forum and to things related to this and I have this program called Autoyou v1.10 and im using it to make a au3 and I was wondering how to make this script have a on/off button.

I have it doing a while loop with some mouse right clicks and the only way to stop it is to end the process. I want to be able to have a key for a on/off switch that will start this script from the beginning again, or even just from the right before the while loop.

Sleep(2503.66485125903)
MouseMove(595,272,1)
Sleep(28.6167655386369)
MouseMove(587,278,1)
Sleep(25.6188984912887)
MouseMove(580,286,1)
Sleep(21.5412852750838)
MouseMove(567,297,1)
Sleep(25.5356476870664)
MouseMove(543,319,1)
Sleep(30.3287149623765)
MouseMove(504,362,1)
Sleep(18.3084721661552)
MouseMove(443,423,1)
Sleep(19.9528152321035)
MouseMove(411,467,1)
Sleep(31.8886897636431)
MouseMove(415,468,1)
Sleep(121.082986804189)
MouseMove(417,468,1)
Sleep(22.9492854538775)
MouseMove(427,460,1)
Sleep(22.7696536850354)
MouseMove(424,460,1)
Sleep(33.1963978662093)
MouseMove(412,471,1)
Sleep(36.5169316211977)
MouseMove(377,509,1)
Sleep(24.2002824381311)
MouseMove(350,546,1)
Sleep(41.7153576781407)
MouseMove(270,693,1)
Sleep(21.5700598819124)
MouseMove(237,795,1)
Sleep(19.6133866175729)
MouseMove(215,844,1)
Sleep(22.6229869997444)
MouseMove(200,890,1)
Sleep(28.9662512973018)
MouseMove(189,899,1)
Sleep(32.8695406818464)
MouseMove(186,899,1)
Sleep(185.435579102931)
Mouseclick("left",186,899,1,3)
Sleep(1218.52889124176)
MouseMove(188,895,1)
Sleep(89.9276304670007)
MouseMove(317,788,1)
Sleep(61.8126046746165)
MouseMove(482,633,1)
Sleep(97.8057267054891)
MouseMove(527,590,1)
Sleep(904.058476705838)
MouseMove(522,590,1)
Sleep(67.326154581099)
MouseMove(496,590,1)
Sleep(226.022301717118)
MouseMove(482,588,1)
Sleep(65.5795638831192)
MouseMove(403,590,1)
Sleep(83.7614836522519)
MouseMove(243,705,1)
Sleep(64.2782811781944)
MouseMove(181,746,1)
Sleep(72.2055456768947)
MouseMove(176,747,1)
Sleep(67.9603133917858)
MouseMove(182,728,1)
Sleep(85.9720998059809)
MouseMove(171,755,1)
Sleep(67.3932022086606)
MouseMove(164,778,1)
Sleep(49.1073586168074)
MouseMove(133,793,1)
Sleep(67.9382435477135)
MouseMove(117,808,1)
Sleep(58.1506867492936)
MouseMove(111,813,1)
Sleep(68.5134563191691)
MouseMove(102,820,1)
Sleep(242.794824481882)
MouseMove(102,816,1)
Sleep(118.479024568765)
MouseMove(105,814,1)
Sleep(239.969046345276)
MouseMove(106,813,1)
Sleep(64.5716145487765)
MouseMove(107,807,1)
Sleep(395.565916897259)
MouseMove(107,806,1)
Sleep(80.0914641385986)
MouseMove(107,803,1)
Sleep(225.565539754354)
MouseMove(110,799,1)
Sleep(228.249121047507)
MouseMove(113,796,1)
Sleep(63.4547128196461)
MouseMove(136,783,1)
Sleep(214.149563701532)
MouseMove(132,785,1)
Sleep(52.0021399367797)
MouseMove(129,786,1)
Sleep(272.267844097504)
MouseMove(130,783,1)
Sleep(68.684707134566)
MouseMove(148,766,1)
Sleep(65.6555511943557)
MouseMove(161,751,1)
Sleep(84.9884552366292)
MouseMove(168,744,1)
Sleep(68.3030943876945)
MouseMove(175,737,1)
Sleep(220.06456127804)
MouseMove(168,752,1)
Sleep(80.0825244549237)
MouseMove(134,788,1)
Sleep(74.0328728930632)
MouseMove(126,790,1)
Sleep(54.3669656339004)
MouseMove(124,791,1)
Sleep(53.8222036599624)
MouseMove(118,800,1)
Sleep(81.6626135444589)
MouseMove(112,802,1)
Sleep(238.661617607824)
MouseMove(110,802,1)
Sleep(93.8147166748847)
MouseMove(101,809,1)
Sleep(69.5253167651196)
MouseMove(101,807,1)
Sleep(66.5321989247237)
MouseMove(109,802,1)
Sleep(53.0955749962635)
MouseMove(112,800,1)
Sleep(151.671790688481)
Mouseclick("right",112,800,1,3)
While 1
Sleep(6897.07630439064)
MouseMove(114,800,1)
Sleep(63.0359445125009)
MouseMove(136,790,1)
Sleep(71.2640852398838)
MouseMove(141,788,1)
Sleep(80.4917943481644)
MouseMove(142,786,1)
Sleep(163.081620708777)
MouseMove(142,781,1)
Sleep(83.715947138533)
MouseMove(155,760,1)
Sleep(81.8179405483099)
MouseMove(160,753,1)
Sleep(70.4039200512914)
MouseMove(166,750,1)
Sleep(55.6917150084717)
MouseMove(169,748,1)
Sleep(89.0188557484261)
MouseMove(174,746,1)
Sleep(78.0909305512293)
MouseMove(175,745,1)
Sleep(130.188892722399)
MouseMove(177,743,1)
Sleep(59.25697260406)
MouseMove(179,743,1)
Sleep(66.7003767238574)
Mouseclick("right",179,743,1,3)
Sleep(695.457104185029)
MouseMove(181,741,1)
Sleep(143.629148397352)
MouseMove(180,739,1)
Sleep(69.9725803139784)
MouseMove(173,735,1)
Sleep(61.4608839950329)
MouseMove(170,733,1)
Sleep(52.7796130513794)
MouseMove(166,729,1)
Sleep(74.9620412650211)
MouseMove(162,727,1)
Sleep(79.104187822754)
MouseMove(137,755,1)
Sleep(78.9510957398217)
MouseMove(137,768,1)
Sleep(41.1627734809871)
MouseMove(135,774,1)
Sleep(57.8682486181903)
MouseMove(146,772,1)
Sleep(141.58168147069)
MouseMove(140,772,1)
Sleep(66.5551068641406)
MouseMove(135,772,1)
Sleep(197.748317174389)
MouseMove(133,773,1)
Sleep(55.8121213729678)
MouseMove(125,775,1)
Sleep(92.3636942684056)
MouseMove(83,761,1)
Sleep(48.2267997748317)
MouseMove(81,759,1)
Sleep(38.550709657233)
MouseMove(70,748,1)
Sleep(80.321381628112)
MouseMove(65,744,1)
Sleep(7126.03277790892)
MouseMove(66,744,1)
Sleep(232.501896190717)
MouseMove(68,744,1)
Sleep(138.185998499809)
MouseMove(68,745,1)
Sleep(72.2519202859581)
MouseMove(71,746,1)
Sleep(1066.85598309282)
MouseMove(69,746,1)
Sleep(50.4798794260164)
MouseMove(51,723,1)
Sleep(55.3785467147361)
MouseMove(49,721,1)
Sleep(84.0888995668444)
MouseMove(47,721,1)
Sleep(100.930984245204)
MouseMove(47,729,1)
Sleep(11173.2426886657)
MouseMove(48,729,1)
Sleep(269.37585642868)
MouseMove(48,726,1)
Sleep(76.383730334442)
MouseMove(48,720,1)
Sleep(437.285185687008)
Mouseclick("right",48,720,1,3)
Sleep(49.3571110294744)
MouseMove(120,724,1)
Sleep(84.3137884842906)
MouseMove(157,733,1)
Sleep(87.9413445004882)
MouseMove(173,734,1)
Sleep(51.2464573011374)
MouseMove(184,734,1)
Sleep(74.5555650229289)
MouseMove(185,734,1)
Sleep(70.8109550236133)
MouseMove(187,734,1)
Sleep(62.6554492260888)
Mouseclick("right",187,734,1,3)
Sleep(8953.8539116005)
MouseMove(183,734,1)
Sleep(60.5272457812376)
MouseMove(164,736,1)
Sleep(61.4192585929217)
MouseMove(130,736,1)
Sleep(75.3528730606823)
MouseMove(90,727,1)
Sleep(99.0380062270484)
MouseMove(65,725,1)
Sleep(101.734997045714)
MouseMove(51,725,1)
Sleep(79.6760482128315)
MouseMove(49,725,1)
Sleep(90.3304749626)
MouseMove(46,725,1)
Sleep(86.5769252796096)
MouseMove(39,723,1)
Sleep(45.0635485794982)
MouseMove(36,722,1)
Sleep(55.2709911455227)
MouseMove(34,720,1)
Sleep(4180.40784513116)
Mouseclick("right",34,720,1,3)
Sleep(6712.51038889021)
MouseMove(35,720,1)
Sleep(63.0719826123153)
MouseMove(40,720,1)
Sleep(105.001613333538)
MouseMove(77,728,1)
Sleep(56.922318339342)
MouseMove(105,730,1)
Sleep(98.680698245168)
MouseMove(187,713,1)
Sleep(77.6752352603473)
MouseMove(303,708,1)
Sleep(138.611192204596)
MouseMove(307,710,1)
Sleep(59.5472329583788)
MouseMove(329,707,1)
Sleep(91.1490147490812)
MouseMove(333,707,1)
Wend
Sleep(2114.56679550055)
MouseMove(271,718,1)
Sleep(53.5045655243893)
MouseMove(190,742,1)
Sleep(66.1581290359529)
MouseMove(154,730,1)
Sleep(51.2341652360845)
MouseMove(64,806,1)
Sleep(65.2859511474224)
MouseMove(33,889,1)
Sleep(55.1614800205054)
MouseMove(35,897,1)
Sleep(84.370778967718)
MouseMove(36,887,1)
Sleep(60.865277570194)
MouseMove(34,884,1)
Sleep(79.6073243945809)
MouseMove(28,884,1)
Sleep(265.955589327694)
Mouseclick("left",28,884,1,3)
Sleep(62.1741031332194)
MouseMove(28,882,1)
Sleep(224.895342843853)
MouseMove(29,881,1)
Sleep(117.968624503952)
MouseMove(48,868,1)
Sleep(81.8961627804651)
MouseMove(113,823,1)
Sleep(97.465459995614)
MouseMove(291,669,1)
Sleep(60.1171377926524)
MouseMove(308,656,1)
Sleep(74.0390189255897)
MouseMove(366,636,1)
Sleep(88.2508810477309)
MouseMove(520,537,1)
Sleep(74.6983205966121)
MouseMove(558,529,1)
Sleep(56.7379373635476)
MouseMove(558,528,1)
Sleep(470.394980367617)
MouseMove(581,495,1)
Sleep(105.900051542864)
MouseMove(721,376,1)
Exit

Thanks in advance.

Share this post


Link to post
Share on other sites
PowerCat

Googling autoyou 1.10 bring up hits about Diablo 2 game automation, that's not really what this forum is aboot.

Share this post


Link to post
Share on other sites
Jos

Looks like a pretty complex and accurate script there with the Sleeps having up to 12 decimals..

*click*


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.