Here the code you may want to adjust the length of variable copy according to the URL I also add 2 extra variables just for debugging purpose.
<IVAR2:06:01:35><ACTIVATE2:notepad><MMW2:853,53><MSD:%N6%><LCLK><MSD:%N6%><LCLK><MSD:%N6%><CLIPC><MSD:%N6%><REM2:copy the Url><TVAR2:01:03:><TMVAR2:09:05:01:000:000:><REM2:url copy again for the second #><TMVAR2:09:02:01:000:000:><IVAR2:10:13:1:dID><NMVAR:01:10:1:0000010:2:0000003><TMVAR2:11:02:00:001:N10:><TMVAR2:10:03:02:001:015:><TMVAR2:05:03:11:000:000:><NMVAR:05:11:0:0000003:0:0000000><TMVAR2:16:03:00:000:000:><ACTIVATE2:Microsoft Word><REM2:Paste the First #><CLIPP><IVAR2:12:13:5:geID=><NMVAR:01:12:1:0000012:2:0000004><TMVAR2:11:05:00:001:N12:><TMVAR2:16:05:00:000:000:><ACTIVATE2:Microsoft Word><REM2:Paste the second #><CLIPP>
Thank you , I will try your solution I found an other way but not as elegant! It is to convert T2 into integer witch keep only the digits, but this work for only 10 digits or 2,147,483,647 Max.
I followed your explanation, but what about if I do not know the number of digits in the first integer , in the example it is 10 but it can be between 4 and 13 same for the second integer of witch it should be easier to get since no character come after the digits.
I need to extract some ID # and sub ID from an URL string ex:
http://yourid.xyz.com/index.cfm?fuseaction...esubID=18974678
(Click on the URL to see it in full)
So I want to get 4317378244 and 18974678 in two separate variables knowing the length of text may vary with the #number of digits from the integer ID and the alphabetical part stay the same
I am not sure how to achieve this .
Almost similar but this bring me one question with the clipboard
How to Past CR /LF directly in the clipboard
Example
Variable modify sting append “ is red” to T 8%
Variable modify sting append “ is blue” to T 12%
Variable modify sting append T 8% to T 12%
Variable modify sting save T 12% to clpboard
I got when I paste the clipboard
the balloon is blue the square is red
but I want to get
the balloon is blue
the square is red
Probably I have to use the clipboard append text but I’m not sure about this one?
I just found the reply from Kevin about the variable in an other post but still not sure about the save issue
"Each variable is cleared when a macro runs. The only exception to this is if one macro calls another via the Macro Run command. In that case all variable values are passed to the called macro. "
When I do control S in editor the saved modifications are not always reflected right away I have to quit ME and restart to see the change ex add an item in a text menu
The other bug
I just noticed is the delays in variables are not completely applied, when you call a macro thru a run macro
In that case the macro goes too fast but if you call the same macro by itself I’m getting the results expected
Well after analyzing the problem if I removed the ALT UP it does stay down but the problem is in the program the mouse is flickering and ME is probably loosing focus when the letter is passed after the Alt down . By hand I got no problem
This example is good when the highlight is always at the same position
-ex: the word Registered Name is highlight move the mouse few pixels to the right on the same line left click 3 times to copy the new name. The question is how to move the mouse few pixels to the right on the same line when the highlighted Registered Name position change randomly or at least go to some few different known positions, and we need to select the Name in relation with its new different line.