Trying to write part of a script to wildcard search that is passing along a variable to an application that for it's wildcard searching uses the % percent sign. For example to search for "shutoff" you have to send "%shutoff%". I found a way to do it that works but thinking that there might be a simpler way.
This gathers the wildcard text to search :
InputBox, wildcard, Part Description Wildcard?, Enter Text
Then I define a variable that literally equals the percent sign :
percentage := "%"
Then I send this to the application :
send, %percentage% %wildcard% %percentage%
Is there an easier way to do this?