nkormanik Posted December 28, 2023 Report Share Posted December 28, 2023 I'm trying to do the following: We start with a plain text file, completely empty, opened in a text editor. We have ME move to the first line of the text file, and type what resides in a variable called %First%. That value happens to be 5 (set up beforehand). So, ME types 5. 5 We then have ME type Enter twice. That means the cursor will be at the start of line 3. We now have ME type what is in the %First% variable + 4. The answer that ME types should be: 9 How do we do this? Quote Link to comment Share on other sites More sharing options...
Samrae Posted December 28, 2023 Report Share Posted December 28, 2023 Here's a start Variable Set Integer %First% to 5 Repeat Prompt Start Text Type (Simulate Keystrokes): %First%<ENTER><ENTER> Variable Modify Integer: %First% = %First% + 4 End Repeat Quote Link to comment Share on other sites More sharing options...
nkormanik Posted December 29, 2023 Author Report Share Posted December 29, 2023 The key I think I was missing is: This is actually a two-step process. First we have to set the variable. Then we have to modify it. 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.