Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
username9384

VKeyDown(115)? Trying to press F4

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...