Jump to content

Help needed!


poisonkiller
 Share

Recommended Posts

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 by poisonkiller
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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 + Server
Localization.au3 - localize your scripts
TLI.au3 - type information on COM objects (TLBINF emulation)
TLBAutoEnum.au3 - auto-import of COM constants (enums)
AU3Automation - export AU3 scripts via COM interfaces
TypeLibInspector - OleView was yesterday

Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCEĀ 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...