Junpei Posted April 19, 2013 Share 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? Link to comment Share on other sites More sharing options...
Developers Jos Posted April 19, 2013 Developers Share 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. Link to comment Share on other sites More sharing options...
Junpei Posted April 19, 2013 Author Share 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! Link to comment Share on other sites More sharing options...
Junpei Posted April 19, 2013 Author Share 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 Link to comment Share on other sites More sharing options...
water Posted April 19, 2013 Share Posted April 19, 2013 Sure, because the code you posted is VB calling AutoIt. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
water Posted April 19, 2013 Share Posted April 19, 2013 Another question: Did you register the AutoItX3.dll? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Developers Jos Posted April 19, 2013 Developers Share 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. 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