cavie Posted June 19, 2008 Share Posted June 19, 2008 Hi, I am new to AutoIt. I am trying to use AutoIt to copy text between 2 applications, ie. Open Apps A, click on a list box, and a textbox will pop up with the data, I want to copy this data, then open Apps B, Create a new doc, I want now to paste the data to the new doc, save the doc. This process will continue until Apps A list box reach its end. Not sure if anyone had tried this before. Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 19, 2008 Share Posted June 19, 2008 Hi,I am new to AutoIt. I am trying to use AutoIt to copy text between 2 applications, ie. Open Apps A, click on a list box, and a textbox will pop up with the data, I want to copy this data, then open Apps B, Create a new doc, I want now to paste the data to the new doc, save the doc.This process will continue until Apps A list box reach its end.Not sure if anyone had tried this before.Welcome to AutoIt. You won't get much help without providing enough information. 1. Opening the fist app is easy, if you know something about the app. 2. Clicking on a list box is easy, if you know something about the window and list box control. 3. Getting text from a pop up is easy, if you know something about the pop up. 4. Copying the data is easy. 5. Opening the second app is easy, if you know something about the app. 6. Creating a doc in an app is easy, if you know something about the app. 7. Pasting data to a doc is easy. 8. Saving the doc is easy, if you know something about the app in which the doc is open.None of these steps are hard, but they are impossible without more information. Take it one step at a time:Step 0: Have you read the help file that comes with AutoIt, and tried the tutorials found there?You might also consider the AutoIt 1-2-3 tutorial by Valuater, linked in my sig.Complete step 0, and you'll get lots of help with step 1.P.S. If you just wanted somebody to write this for you, see the link for Rent-A-Coder in my sig. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
cavie Posted June 19, 2008 Author Share Posted June 19, 2008 Thanks for the prompt response. Was hoping for some pointers such as the functions to use, so that there is some direction to pursue. Can you roughly list the function you mentioned in the following? 1. Opening the fist app is easy, if you know something about the app. 2. Clicking on a list box is easy, if you know something about the window and list box control. 3. Getting text from a pop up is easy, if you know something about the pop up. 4. Copying the data is easy. 5. Opening the second app is easy, if you know something about the app. 6. Creating a doc in an app is easy, if you know something about the app. 7. Pasting data to a doc is easy. 8. Saving the doc is easy, if you know something about the app in which the doc is open. Will start to look at the tutorial for some sample code. Thanks. Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 19, 2008 Share Posted June 19, 2008 Thanks for the prompt response.Was hoping for some pointers such as the functions to use, so that there is some direction to pursue. Can you roughly list the function you mentioned in the following? 1. Opening the fist app is easy, if you know something about the app. ; ...Will start to look at the tutorial for some sample code. Thanks.Start with the help file and try the example script there for Run().If you get stuck, post enough of your script for us to see what you tried.You can do it! Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now