Junpei Posted April 19, 2013 Posted April 19, 2013 Set oAutoIt = WScript.CreateObject("AutoItX3.Control") text = oAutoIt.ClipGet() WScript.Echo "Clipboard contains:" & text i tried to run this code, but got the error message (Error: Error parsing function call) below.Can someone help?
Developers Jos Posted April 19, 2013 Developers Posted April 19, 2013 Works fine here. Have you installed AutoIt3 with the installer? Jos 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.
Junpei Posted April 19, 2013 Author Posted April 19, 2013 Works fine here. Have you installed AutoIt3 with the installer?JosHi Jos, i downloadedAutoIt Full Installation. Includes x86 and x64 components, and:AutoIt program files, documentation and examples.Aut2Exe – Script to executable converter. Convert your scripts into standalone .exe files!AutoItX – DLL/COM control. Add AutoIt features to your favorite programming and scripting languages!Editor – A cut down version of the SciTE script editor package to get started. Download the package below for the full version!
Junpei Posted April 19, 2013 Author Posted April 19, 2013 (edited) Hi Jos, i downloadedAutoIt Full Installation. Includes x86 and x64 components, and:AutoIt program files, documentation and examples.Aut2Exe – Script to executable converter. Convert your scripts into standalone .exe files!AutoItX – DLL/COM control. Add AutoIt features to your favorite programming and scripting languages!Editor – A cut down version of the SciTE script editor package to get started. Download the package below for the full version!Hi Jos,I just changed the extension from .au3 to .vbsdoes it mean i need to save it as .vbs? Edited April 19, 2013 by Junpei
water Posted April 19, 2013 Posted April 19, 2013 Sure, because the code you posted is VB calling AutoIt. 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
water Posted April 19, 2013 Posted April 19, 2013 Another question: Did you register the AutoItX3.dll? 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
Developers Jos Posted April 19, 2013 Developers Posted April 19, 2013 does it mean i need to save it as .vbs?yes, and there is no need to register when you used the installer. Jos 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