spyrorocks Posted October 5, 2008 Share Posted October 5, 2008 Hello, all!Something that has interested me recently is the scriptcontrol use in autoit. It allows you to execute vbscript using a COM object inside your autoit script.See the examples here: http://rookscape.com/vbgaming/tutBQ.php (Its in VB though)Now, what im wondering, is how would I transfer those VB examples of creating functions in autoit and allowing the vbscript to access my own autoit functions?Thanks,_Brad [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
Pain Posted October 5, 2008 Share Posted October 5, 2008 This is what I've been using in one of my projects (for Javascript). $js = ObjCreate("ScriptControl") $js.language = "Jscript" $js.addcode("code here") Use $js.Eval, Run or Execute to call it. 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