goldstar Posted February 1, 2022 Posted February 1, 2022 hey I need copy string from an opened internet page and bring it to my program and use it how i must do it . for example i press CTRL + A then CTRL + C and how transfer it to a string variable inside my program thanks
water Posted February 1, 2022 Posted February 1, 2022 Welcome to AutoIt and the forum! What have you tried so far? goldstar 1 My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
goldstar Posted February 1, 2022 Author Posted February 1, 2022 nothing i checked functions for strings but cant find a function for transform text from out side to inside of my program
Nine Posted February 1, 2022 Posted February 1, 2022 You can use IE udf to start with. You can read specific data instead of grabbing the whole page (but you can get the whole page if needed). When you feel confortable with AutoIt you can move on to WebDriver. Or if you are familiar with programming, you can start directly with WebDriver. Using Send command is far from being the best way to automate web pages. goldstar 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
goldstar Posted February 1, 2022 Author Posted February 1, 2022 thanks for response i made some simple program to push keys with autoit. can show me an example or a function so i can use it to send a copied text to a string variable?
Solution Nine Posted February 1, 2022 Solution Posted February 1, 2022 Like I said sending keys is not your best approach, but if you insist, check ClipGet() function to copy clipboard into a variable. goldstar 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
goldstar Posted February 1, 2022 Author Posted February 1, 2022 WOW. nice man . you are my hero . thanks very much is it possible work with internet page on firefox and get field properties and fill them automatic with autoit? is it possible show me a function to get fields properties and then fill specefic field BEST REGARDS
Nine Posted February 1, 2022 Posted February 1, 2022 You can use WebDriver to automate Firefox. Get and fill properties as you wish to and much much more. There is plenty examples within the UDF. I suggest you start with what is provided and study the code. goldstar 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
goldstar Posted February 1, 2022 Author Posted February 1, 2022 thank you you helped me much and saved my time too you share you knowledge for free. i hope best things for you❤️ Nine 1
Developers Jos Posted February 1, 2022 Developers Posted February 1, 2022 Moved to the appropriate forum. Moderation Team goldstar 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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