username9384 10 Posted August 3, 2015 Hey, I'm trying to push down F4 in my script and it doesn't work. Tried: VKeyDown(115); Thanks! -username Quote Share this post Link to post Share on other sites
username9384 10 Posted August 3, 2015 if FindColorSpiral(x, y, col, 27, 0, 531, 200) then gives me Compiler Error. Variable Expected If I try FindColorSpiral2 or FindColorSpiralTolerance, I get unknown identifier. I just downloaded the newest version of SCAR today Quote Share this post Link to post Share on other sites
Wanted 12 Posted August 4, 2015 Don't use 115, use VKeyDown(VK_F4); X and Y have to be declared variables i.e. var X, Y: Integer; where as color has to be a number/integer of the value from a variable/constant/function/etc. i.e. Color5, 2393881. Those function names are depreciated and have been replaced http://wiki.scar-divi.com/Category:Color_Functions FindColorSpiralTolerance is now FindColorSpiralTol etc. Quote Share this post Link to post Share on other sites