Jump to content
Sign in to follow this  
Pixel_uk

Return image name using quickMIS

Recommended Posts

Return image name using quickMIS

I'm currently stuck on returning a name for an image into a variable using QuickMIS for use in a Select. 

Pseudo code

Local $ImageName = QuickMIS("XX",281, 140, 751, 556)
Select 
	Case ImageName = Wizard
    		do something
    	Case ImageName = Dragon 
    		Do something 
       
EndSelect

I want to store the returned name of the image into the ImageName variable. I've tried "BC1" and "N1" to return the file name but I don't know how to print the data stored in this variable to see what is being stored, so I cannot check what is being detected.

 

TL/DR

return quickmis name value for the image that has been detected then stored into a variable for Select statement usage 

 

Thanks! 

Edited by Pixel_uk
Edit

Share this post


Link to post
Share on other sites
On 1/21/2018 at 1:09 AM, Pixel_uk said:

Return image name using quickMIS

I'm currently stuck on returning a name for an image into a variable using QuickMIS for use in a Select. 

Pseudo code

Local $ImageName = QuickMIS("XX",281, 140, 751, 556)
Select 
	Case ImageName = Wizard
    		do something
    	Case ImageName = Dragon 
    		Do something 
       
EndSelect

I want to store the returned name of the image into the ImageName variable. I've tried "BC1" and "N1" to return the file name but I don't know how to print the data stored in this variable to see what is being stored, so I cannot check what is being detected.

 

TL/DR

return quickmis name value for the image that has been detected then stored into a variable for Select statement usage 

 

Thanks! 

QuickMIS “N1” is what you need. If you want to see what is stored, use SetLog after it. E.g.

Local $ImageName = QuickMis(“N1”, ....)

Setlog(“QuickMis return value for $ImageName as: “ & $ImageName)

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.

Sign in to follow this  

×
×
  • Create New...