Jump to content
Macro Express Forums

Questions!


Mephisto
 Share

Recommended Posts

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%

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...