Jump to content
Macro Express Forums

Modify Text


Candyce_

Recommended Posts

The replace is found in the Variable Modify String command. Click on the option to Replace String. Select the variable that you want to modify and enter a space in the Text To Replace field and then leave the Replace With field blank. You will also need to check Replace All Instances checkbox.

Link to comment
Share on other sites

thank you i find the command but this one was working 4 times, after it is paste a blank line.

i join the code :

<MMW2:390,99><LCLK><CLIPE><TDELAY:3><MMW2:630,97><LDCLK><TVAR2:99:03:><TMVAR2:21:99:01:001:000: ><ACTIVATE2:Excel -><MSD:5><MMW2:235,486><LCLK><TEXTTYPE:%T99%><MSD:5><MMW2:389,484><LCLK>

 

thank you

Link to comment
Share on other sites

I'm a novice myself, but I'm pretty sure the reason it fails and gives you a blank line is because it's blank to start with - due to your Clipboard Empty command!

 

I tried this code

 

<TVAR2:99:03:><TMVAR2:21:99:01:001:000: ><ACTIVATE2:Textpad><TEXTTYPE:%T99%>

 

in Notepad and it worked fine.

 

--

Terry, West Sussex, UK

Link to comment
Share on other sites

Mouse Move Window 390, 99

Mouse Left Button Click

Clipboard Empty

Wait Time Delay 3 Seconds

Mouse Move Window 630, 97

Mouse Left Button Double Click

 

Should there be some copy command here? Like:

Clipboard Copy

 

or:

// Context menu -- Copy

Mouse Right Button Click

Text Type: c

 

Variable Set String %T99% from Clipboard

Replace " " with "" in %T99%

Activate Window: "Excel -"

Delay 5 Milliseconds

Mouse Move Window 235, 486

Mouse Left Button Click

Text Type: %T99%

Delay 5 Milliseconds

Mouse Move Window 389, 484

Mouse Left Button Click

Text Type:

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...
×
×
  • Create New...