Zodiakk93 Posted November 12, 2013 Share Posted November 12, 2013 program PerfectTiming; var x, y: Integer; begin Repeat x := 90; y := 131; if(FindColortolerance(x, y, 13034751, 82, 131, 87, 131, 10))then ClickWindMouse(77, 187, 2, 2, True); until false end; end. What is wrong with this script, and probably all of my other scripts that say 'Unknown identifier'? Quote Link to comment Share on other sites More sharing options...
Wanted Posted November 12, 2013 Share Posted November 12, 2013 program PerfectTiming; var x, y: Integer; begin Repeat x := 90; y := 131; if(FindColortolerance(x, y, 13034751, 82, 131, 87, 131, 10))then ClickWindMouse(77, 187, 2, 2, True); until false end; end. What is wrong with this script, and probably all of my other scripts that say 'Unknown identifier'? A couple of things SCAR Divi Manual Your standards need work aswell. You seem competent enough. Try reading some tutorials etc. I'll be on SCAR IRC irc.scar-divi.com #SCAR if you want more help Compiling version of your script program PerfectTiming; var x, y: Integer; begin Repeat x := 90; y := 131; if(FindColortol(x, y, 13034751, 82, 131, 87, 131, 10))then ClickMouse(77, 187, mbLeft); until false end. You need to use OSI if you wish to do human like things like 'ClickWindMouse' Thanks Quote Link to comment Share on other sites More sharing options...
Zodiakk93 Posted November 12, 2013 Author Share Posted November 12, 2013 (edited) Thank you, what does OSI stand for by the way? EDIT: Additionally, if I wanted it to press the Alt key instead of clicking, how would I do so? I have utfse a hundred times, but I have found mixed answers, mostly based on people doing combinations, while I am simply trying to get it to press alt for about 100 ms when the color appears. Edited November 12, 2013 by Zodiakk93 Quote Link to comment Share on other sites More sharing options...
Wanted Posted November 12, 2013 Share Posted November 12, 2013 Thank you, what does OSI stand for by the way?EDIT: Additionally, if I wanted it to press the Alt key instead of clicking, how would I do so? I have utfse a hundred times, but I have found mixed answers, mostly based on people doing combinations, while I am simply trying to get it to press alt for about 100 ms when the color appears. Official SCAR Include http://forums.scar-divi.com/forum-discussion/2545-scar-divi-forums-important-threads-index.html http://forums.scar-divi.com/osi/119-what-osi-osi-mission-statement-official-scar-include.html Category:Functions - SCAR Divi Manual Category:Keyboard Functions - SCAR Divi Manual Get on the IRC, k? Quote Link to comment Share on other sites More sharing options...
Zodiakk93 Posted November 12, 2013 Author Share Posted November 12, 2013 Thank you very much, will do. Quote Link to comment Share on other sites More sharing options...