poisonkiller Posted November 11, 2005 Posted November 11, 2005 (edited) I really need help! I dont get this thing. I have to create new .vbs file and copy code into there and in Autoit script i have to #include it? In .vbs file there is 1 function and i want to run it in Autoit. How can i do it? I try to do example: 'in .vbs Function Message() MsgBox("Message", Critical) End Function ; In autoit #include "Message.vbs" Message() Its not working. I have to download VBS? My OS is win 98SE Please Help! Edited November 11, 2005 by poisonkiller
nfwu Posted November 13, 2005 Posted November 13, 2005 I think ii is only possible to use AutoItX to use autoit in Visual Basic but not the other way round. Can any one else confirm? TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode()
doudou Posted November 18, 2005 Posted November 18, 2005 poisonkiller: nfwu is right saying that your way won't work, however you can embed your VBS in a WSC (simple XML file), register it as TypeLibrary and use like a regular COM object from within AutoIt. Details for WSC you can obtain from MSDN UDFS & Apps: Spoiler DDEML.au3 - DDE Client + ServerLocalization.au3 - localize your scriptsTLI.au3 - type information on COM objects (TLBINF emulation)TLBAutoEnum.au3 - auto-import of COM constants (enums)AU3Automation - export AU3 scripts via COM interfacesTypeLibInspector - OleView was yesterday Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCEĀ
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