allsam Posted September 11, 2010 Report Share Posted September 11, 2010 Hi can You help with an array please ? I have no idea how to write the syntax for array in macro express. I have a notepad file with 100 sorted names in it called list.txt (Adam, Ann, Amber, ...) All i need to do is type each name on the screen once. It should be like that : Repeat 100 Times //i have 100 names VARIABLE SET STRING set array to the contents of C:\\Documents and Settings\\Vortex\\Desktop\\list.txt //i need to fill the array from my list variable set N to 1 //counter Mouse move to Mouse left click Text type(Simulate keystrokes) array(N) // i need to write the first name on the list on the screen variable set N to N+1 //i need to write the next name on the list Delay 10 seconds End repeat Can Anyone write me the exact syntax for this program please ? Any help will be appreciated. Thank You Best regards allsam Quote Link to comment Share on other sites More sharing options...
kevin Posted September 13, 2010 Report Share Posted September 13, 2010 The easiest way to do this is via the Text File Begin Process command: Text File Begin Process: c:\test.txt Mouse Move: 100, 150 Relative to Screen Mouse Left Click Delay: 10 seconds Text File End Process Quote Link to comment Share on other sites More sharing options...
allsam Posted September 13, 2010 Author Report Share Posted September 13, 2010 Thank You very much Kevin for advice. I had no idea about this command. I am going to try to put it into macro express. Quote Link to comment Share on other sites More sharing options...
allsam Posted September 14, 2010 Author Report Share Posted September 14, 2010 Kevin Your command it is working great, thank You very much Quote Link to comment Share on other sites More sharing options...
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.