Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Int collab help.
#1
Hello QM Forum,

I got bored the other night and started messing around with a macro just playing around with str,int,..etc and was curious to why this would not work.

Code that works:

double LongWait = 30;;Wait Control
wait LongWait WC "Notepad"
out "Notepad Open"

Then I tried to make the Notepad window into an int and this code didnt work.

int NotePad = win("Notepad")
double LongWait = 30;;Wait Control
wait LongWait WC Notepad
out "Notepad Open"

Im not really sure why it wont work? I know I could just make Notepad a str and call it like,

str Notepad = "Notepad"
wait LongWait WC Notepad

But is there a way I can use the int way? Thanks for your time.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)