Posts: 6
Threads: 1
Joined: Oct 2007
I have created a few functions, but how do I make the macro notice them and run them..And can 1 or more Objects be used?
In other words how do I make the MACRO call upon the function to complete the function task..
Posts: 331
Threads: 60
Joined: May 2006
Just type the name of the function in your macro. or use:
Posts: 6
Threads: 1
Joined: Oct 2007
So If the function name is "PopUp", I would enter mac "Popup" somewhere on the MACRO??
I entered this into my macro and it still does not pick it up
example:
mac "PopUp"
mac "PopUp1"
If that is correct it should pick it up and run the selected task, but its not..
THanks
Posts: 331
Threads: 60
Joined: May 2006
put some OUTs in your popup function ..... you will see that it does run it.
Macro ( Macro2 )
or
Macro ( Macro2 )
Function ( Function15 )
Posts: 6
Threads: 1
Joined: Oct 2007
Here is what I have so far and its has errors in it, its to login MSN messenger, to hit the SIGNIN BOX..
Acc a=acc("LOG IN" "PUSHBUTTON" win("Msn Messenger" "#32770") "Internet Explorer_Server" "" 0x1001)
a.DoDefaultAction; err ErrMsg
out 1
I think I'm on the right path, just tiny things are the hardest to understand..I havnt had any other problems understanding or using QM besides the tiny ones..
Thanks
Posts: 576
Threads: 97
Joined: Aug 2007
try this
Acc a=acc("LOG IN" "PUSHBUTTON" "Msn Messenger"); err
a.DoDefaultAction; err ErrMsg
out 1
Posts: 6
Threads: 1
Joined: Oct 2007
That did it, not sure where I made my mistakes at or how they were made
Thanks for the help on this topic "GUYS"
Posts: 6
Threads: 1
Joined: Oct 2007
If it shows a error in the GRAY BOX at the bottom of QM..
It say's 1
Nothing else..It works but shows that as a error, why and does it really matter as long as it works?
Posts: 473
Threads: 33
Joined: Aug 2007
I think your mis-interpreting it. "out 1" puts the 1 into the output box in the bottom of QM, there is no error.
Taking on Quick Macros one day at a time
Posts: 6
Threads: 1
Joined: Oct 2007
Yes maybe, just leary about errors and problems when working with new software..
Thanks