Mephisto Posted November 30, 2004 Report Posted November 30, 2004 Hello all. Is it possible to have a random value for a delay? Is it possible to read some numbers from a website or from a file? Quote
kevin Posted November 30, 2004 Report Posted November 30, 2004 Hello all. Is it possible to have a random value for a delay? Yes. Try this: Variable Set Integer %N1% with a Random Number Delay %N1% Seconds Is it possible to read some numbers from a website or from a file?You may be able to read numbers from a website by highlighting the portion of the web page containing the numbers and copying the highlighted text into the clipboard. To copy a number from a file try this: Variable Set String %T1% from File: "test.txt" Variable Modify String: Convert %T1% to integer %N1% Quote
Mephisto Posted November 30, 2004 Author Report Posted November 30, 2004 Thank you for the answer. What i really needed for the second part is read a number from a website or from a file and compare it to a value...some sort of: "if 50<100 then do this, if not do that or nothing" get it? Can i do this? Edit: How can i select some text then copy it into the clipboard? Quote
joe Posted December 2, 2004 Report Posted December 2, 2004 Hello Mephisto! if 50<100 then do this, if not do that or nothing" get it? Can i do this?Yes. Take a look through the Logic category at the If Variable command. How can i select some text then copy it into the clipboard?Take a look through the Clipboard category. Remember that one way to use Macro Express to duplicate the keystrokes that you would take yourself. In this case you would normally highlight text that you want and then hit Ctrl+C. It is very much dependent on your application. These keystrokes can be emulated within Macro Express by using the Text Type command found in the Text category in addition to the Clipboard Copy command. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.