Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
s.getwintext help!!!
#1
Is there a way to use this code
str s.getwintext
s.setwintext(id(2203 "Quick"))
to send the window text into a different macro or function?
and if so is there a way to set up a macro that once it sees a certain window text that it will do an action?

I hope i didn't lose you
#2
you can use global variables to exchange variable values between variables.

in both put...
Code:
Copy      Help
str+ a

to make a function/macro start when a window changes it's name, i think you can go into properties of the function/macro and click window and then choose one of the options that would best suit your needs. if the name changes while the window is active choose "active".
An old blog on QM coding and automation.

The Macro Hook
#3
1 more question... i got it all almost done but is there any way to send the information from a screen into another macro?


... After i do that i need the macro i sent the information into to read the information and if the informtion matches what i have inside of the macro that it will end.
#4
Edited from above:
you can use global variables to exchange variable values between macros/functions.

in both put...
Code:
str+ a


to end it in another macro

if a="whatever"
,end
An old blog on QM coding and automation.

The Macro Hook
#5
ok ty that works also but how do i make a macro read whats on the screen and after i make it read whats on the screen how do i make it compare whats on the screen to whats in the macro?
#6
post your code and let's take a look at it.
An old blog on QM coding and automation.

The Macro Hook
#7
nevermind i got it ty for your help


Forum Jump:


Users browsing this thread: 1 Guest(s)