Jump to content
Macro Express Forums

jay185

Members
  • Posts

    11
  • Joined

  • Last visited

jay185's Achievements

Newbie

Newbie (1/14)

  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

0

Reputation

  1. but how do I go on counting the # of characters from a text variable? when i say dynamic, it refers to copy`ing text from anywhere and putting it into a text variable. sorry if i confuse you guys
  2. i see what you mean. but what if the text variable is dynamic? this is where i am puzzled. it will compute how many lines that i have copied from clipboard to a text variable... thanks paul for the explanation
  3. when you say %tClip% you are referring to the text variable %T[XX]% right? what I dont understand is the saving lenght part. As I understand it, it counts the character of whatever is stored in the text variable. would it be ok if i request an actual code? so that i can see how it is done. thanks in advance paul
  4. how do you save the length of a %tClip% into a variable?
  5. I just need a simple formula that will output the # of text lines from the clipboard. e.g. the quick brown fox jumps over the laxy dog if we are to start the clipboard from "the" and ends with "dog" then the output should be 5 lines. any ideas?
  6. that's no challenge, its more like you wanted to be taught step by step how it works, and I bet you know how basing from the number of post that you have. 1. the hta code is set into a variable 2. the variable then write it as a file.hta 3. macro runs the created file.hta 4. while the macro loops until file.hta window disappears, you key in data to the file.hta window, if you close this window, it will output a file.mex file 5. macro runs the file.mex file getting all the values 6. macro then displays the value into a window what you really need to know is vbscript which isn't hard enough.
  7. it should be <CTRLD><SHIFTD>v<SHIFTU><CTRLU>
  8. I have found a solution for my problem, this is to open up the file itself from notepad, copy the whole file, transfer it to a variable, open a new notepad, then type in by using the variable i used to transfer my previous file. hehehehehe am starting to go crazy
  9. I actually can't make this to work... here's my sample. My code looks like this. actual script on the text file is an html code... where as it shows thanks a lot
  10. I have a text file that have variables in it. lets say, an html table w/ variables in each table all set to 0. My problem is, how do I load that text file and save as a different name text file w/ values saved in variable in it? lets say main.txt contains: <html><body> Box 1 contains %T99% </body></html> then ME will read the file main.txt and replace the value of %T99% to whatever I set it to (e.g. 100), then it will output a file naming mainb.txt then it shoud contain <html><body> Box 1 contains 100 </body></html> ........ is this possible? if so, please help me...
×
×
  • Create New...