Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I make the macro reconizge the functions?
#1
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..
#2
Just type the name of the function in your macro. or use:

Code:
Copy      Help
mac "function_name"
#3
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
#4
put some OUTs in your popup function ..... you will see that it does run it.


Macro ( Macro2 )
Code:
Copy      Help
mac "Function15"

or

Macro ( Macro2 )
Code:
Copy      Help
Function15


Function ( Function15 )
Code:
Copy      Help
out 1
#5
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
#6
try this

Code:
Copy      Help
Acc a=acc("LOG IN" "PUSHBUTTON" "Msn Messenger"); err
a.DoDefaultAction; err ErrMsg
out 1
#7
That did it, not sure where I made my mistakes at or how they were made Idea

Thanks for the help on this topic "GUYS"
#8
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?
#9

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
#10
Yes maybe, just leary about errors and problems when working with new software..

Thanks


Forum Jump:


Users browsing this thread: 1 Guest(s)