Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getting a variable from different function
#7
nate Wrote:smart observation.

Im trying bro.
ok let me see..uhmm
The function you gave above is not a realy function so let me create one for you.

Your macro:
Code:
Copy      Help
fKeyIt("123456", 10)
The "fKeyIt" function:
Code:
Copy      Help
function str'sText long'dDelay
act "Notepad"
rep
    key (sText)
    wait dDelay
Thats how to use variables and pass values to functions and use them...
You can now encrypt the "fKeyIt" function, while still alowing the users to modify thing in the maco calling it...
PS: That function will keep running infinitly unless you manualy stop the thread...
Well thats all for now, 3M


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)