Jump to content

-TS-

Active Members
  • Posts

    88
  • Joined

  • Last visited

About -TS-

  • Birthday 04/15/1986

Profile Information

  • Location
    Broken Arrow, but i fixed the arrow, sooo i live in Arrow

-TS-'s Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. Blind send()? just normal send? Can only use said program when active.. Thanks for the info.
  2. Exploring new feats on autoit, And now I decided to attempt using a window without it being active. Having a problem with the function, that my flv player that Im using does not show Controlclick coords:, Frankly it shows nothing under 'Control', 'Window' it shows its handle, but doesnt even display that under 'Control'. Is there a way around this, or does the player just doesnt support controlclick? >>>> Window <<<< Title: FLV K-lite player Class: ApolloRuntimeContentWindow Position: 175, 105 Size: 802, 589 Style: 0x16CF0000 ExStyle: 0x00040100 Handle: 0x00010298 >>>> Control <<<< Class: Instance: ClassnameNN: Name: Advanced (Class): ID: Text: Position: Size: ControlClick Coords: Style: ExStyle: Handle: >>>> Mouse <<<< Position: 471, 498 Cursor ID: 0 Color: 0x000000 >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< >>>> Hidden Text <<<<
  3. always an easy fix, just needs someone elses prospective, Thanks lots Skruge
  4. "If you are working with 8000 line scripts though, it's pretty wussy to whine about how hard it is to compile your scripts..." I was just stating that the way I am currently fiddling around with to remotely close the script puts alot of unnecessary commands inside the script... But Ill try then AdLib command. Also, isnt it the same complextivity to compile a 1 line script or a few thousand? Right click> Compile script.. Im trying to avoid the compiling, if you didnt read. High-horseness
  5. .exe from autoit collides with other programs running on background. I would like to avoid doing that, also its a pain having to delete the old .exe/edit/compile the script for each little change. With the two scripts running, they would both be process name 'AutoIt3.exe', would there be a way to determon which is which? Right now Im using a short command loop on both scripts, which isnt all that great because I can only run this script soo many times without having it every other line This on the main script If $login = "true" IniWrite("Log.ini","Core","cls","1") Relog() EndIf Then this on the secondary script, after every major loop/func $exit = IniRead("Log.ini","Core","cls","0") If $exit = 1 Then IniWrite("Log.ini","Core","cls","0") Exit EndIf It works... decently, but I need to have these 5 lines of codes every 10 lines, a 8000 line script will get increased much larger fast...
  6. Ran into little more trouble with remote scripts. Im trying to get a script to close a secondary script, but Im having some diffcultys.. I made two test scripts just to see what or what doesnt work. Ive yet to find any.. Im probably missing an easy command or over looked something. sleep(1000) ProcessClose("a.au3") WinKill("a.au3") WinClose("a.au3") ToolTip("waiting",1,1) sleep(600000)
  7. Knowing that double clicking would edit something, then trying to make it run by editing it would be like... putting a music cd into your comp, then getting into your car to listen to it... But I tried the VERB commands on the list on the help file ex; open, then I though Id throw RUN in the parameter, an tada >_< Thank you for re-pointing that section out for me.
  8. When I try to use 'ShellExecute' to run an opensource script remotely, it runs it as 'edit', not as 'run'. Ive tried making the script as an exe, the .exe process of autoit collides with background programs? also it gets rather annoying having to delete the old exe an recompile the newly edited au3 script when editing something small. Maybe I am missing something small an need a new set of eyes to point out the error. Much thanks.
  9. I was never quite sure what global did, even tho I used to for some appications like pause scriptGlobal, sticks a value to carry/work anywhere thru out the whole script, yes?
  10. Func nk() Do Location() If $loc = 10049984 Then; this is where it says value is not declared $clear = PixelGetColor(613, 171) MouseMove(613, 171,1) $clear2 = PixelGetColor(613, 171) If $clear = $clear2 Then MouseClick("left",613, 171,1,1) Sleep(5000) dump() EndIf ElseIf $loc = 10059984 Then $clear = PixelGetColor(30, 280) MouseMove(30, 280,1) $clear2 = PixelGetColor(30, 280) If $clear = $clear2 Then MouseClick("left",30, 280,1,1) Sleep(5000) Else MouseMove(0,0,1) Sleep(500) EndIf ElseIf $loc = 10059983 Then $clear = PixelGetColor(402, 468) MouseMove(402, 468,1) $clear2 = PixelGetColor(402, 468) If $clear = $clear2 Then MouseClick("left",402, 468,1,1) Sleep(5000) Else MouseMove(0,0,1) Sleep(500) EndIf ElseIf $loc = 10059982 Then $clear = PixelGetColor(402, 468) MouseMove(402, 468,1) $clear2 = PixelGetColor(402, 468) If $clear = $clear2 Then MouseClick("left",402, 468,1,1) Sleep(5000) Else MouseMove(0,0,1) Sleep(500) EndIf ElseIf $loc = 10059981 Then $clear = PixelGetColor(401, 468) MouseMove(401, 468,1) $clear2 = PixelGetColor(401, 468) If $clear = $clear2 Then MouseClick("left",401, 468,1,1) Sleep(5000) Else MouseMove(0,0,1) Sleep(500) EndIf ElseIf $loc = 10059980 Then $clear = PixelGetColor(347, 468) MouseMove(347, 468,1) $clear2 = PixelGetColor(347, 468) If $clear = $clear2 Then MouseClick("left",347, 468,1,1) Sleep(5000) Else MouseMove(0,0,1) Sleep(500) EndIf ElseIf $loc = 10059979 Then $clear = PixelGetColor(297, 468) MouseMove(297, 468,1) $clear2 = PixelGetColor(297, 468) If $clear = $clear2 Then MouseClick("left",297, 468,1,1) Sleep(5000) Else MouseMove(0,0,1) Sleep(500) EndIf ElseIf $loc = 10059978 Then $clear = PixelGetColor(296, 468) MouseMove(296, 468,1) $clear2 = PixelGetColor(296, 468) If $clear = $clear2 Then MouseClick("left",296, 468,1,1) Sleep(5000) Else MouseMove(0,0,1) Sleep(500) EndIf ElseIf $loc = 10059977 Then $clear = PixelGetColor(456, 469) MouseMove(456, 469,1) $clear2 = PixelGetColor(456, 469) If $clear = $clear2 Then MouseClick("left",456, 469,1,1) Sleep(5000) Else MouseMove(0,0,1) Sleep(500) EndIf ElseIf $loc = 10059976 Then $clear = PixelGetColor(349, 467) MouseMove(349, 467,1) $clear2 = PixelGetColor(349, 467) If $clear = $clear2 Then MouseClick("left",349, 467,1,1) Sleep(5000) Else MouseMove(0,0,1) Sleep(500) EndIf ElseIf $loc = 10059975 Then $clear = PixelGetColor(509, 469) MouseMove(509, 469,1) $clear2 = PixelGetColor(509, 469) If $clear = $clear2 Then MouseClick("left",509, 469,1,1) Sleep(5000) Else MouseMove(0,0,1) Sleep(500) EndIf EndIf until $loop=1 EndFunc Func Location() $m1= PixelGetColor(380,520) $m2= PixelGetColor(400,520) $m3= PixelGetColor(420,520) $m4= PixelGetColor(440,520) $m5= PixelGetColor(460,520) ; $m6= PixelGetColor(380,540) $m7= PixelGetColor(400,540) $m8= PixelGetColor(420,540) $m9= PixelGetColor(440,540) $m10= PixelGetColor(460,540) ; $m11= PixelGetColor(380,560) $m12= PixelGetColor(400,560) $m13= PixelGetColor(420,560) $m14= PixelGetColor(440,560) $m15= PixelGetColor(460,560) ; $m16= PixelGetColor(380,580) $m17= PixelGetColor(400,580) $m18= PixelGetColor(420,580) $m19= PixelGetColor(440,580) $m20= PixelGetColor(460,580) If $m1= 14401441 And $m2= 14797231 And $m3= 14863543 And $m4= 15061433 And $m5= 14730931 And $m6= 14665912 And $m7= 14205861 And $m8= 14929334 And $m9= 14798011 And $m10= 14730919 And $m11= 14798009 And $m12= 14797759 And $m13= 5779212 And $m14= 14732468 And $m15= 14863542 And $m16= 14531734 And $m17= 14335899 And $m18= 13479818 And $m19= 6960387 And $m20= 14338236 Then ToolTip("10059975",0,0) $loc = 10059975 EndIf If $m1 = 13349517 And $m2 = 14798775 And $m3 = 14863539 And $m4 = 13416093 And $m5 = 13808782 And $m6 = 12757131 And $m7 = 14863543 And $m8 = 14863540 And $m9 = 14204318 And $m10 = 14863543 And $m11 = 6503190 And $m12 = 6372636 And $m13 = 9993566 And $m14 = 14731700 And $m15 = 15060407 And $m16 = 13412995 And $m17 = 9598035 And $m18 = 6379073 And $m19 = 13412995 And $m20 = 15191474 Then ToolTip("10059976",0,0) $loc = 10059976 EndIf If $m1 = 14995127 And $m2 = 14731955 And $m3 = 14797750 And $m4 = 14863800 And $m5 = 13481369 And $m6 = 14863543 And $m7 = 15060666 And $m8 = 5517845 And $m9 = 14666679 And $m10 = 14863543 And $m11 = 12953985 And $m12 = 13412995 And $m13 = 13281669 And $m14 = 6763520 And $m15 = 14863543 And $m16 = 13281923 And $m17 = 11375728 And $m18 = 13412996 And $m19 = 4603438 And $m20 = 14667197 Then ToolTip("10059977",0,0) $loc = 10059977 EndIf ;theres about 2500 different $loc value options, Im just working on a small piece atm to debug before I expand EndFunc
  11. I am calling a func to check info, then after info is found, the func is ended an goes back main part of script thats needs the info values, but on returning from a func, my script forgets the info values. Am I missing some OPT command to permently have the script remember the value? or am I stuck with values that ar from func, cant be carried to other funcs/parts of script? Having to remotely store a few hundred groups of values will be a grand inconvenience to me. Func nk() loc();this function is called alot an consists of a lengthy subscript If $loc[0] = x then; a value retreaved from loc(), which gives me an error "varible used without being declared", even tho I have added tooltip on loc() to confirm the value is properly used
  12. Only thing i have to say is WHAT THE HELL!? My script works perfect with all the 2500 lines of code, maybe you should get a good text editor.
  13. The closest one i got is 2.64....
  14. Im just lazy and want to cut down all the repeater lines in my scrpit. $x = 1 Do $Number$x(or what ever) = IniRead("SCN Pick em Quick Numberlog and Gamelog.ini", "Number Logger", $x & " been called", 10) until $x = 1000 DO you know how many $vars we can have in one script?
×
×
  • Create New...