Jump to content

Running Autoit Script In Computer Where Autoit Isn't Installed


Recommended Posts

Hello Guys,

Suppose I make a txt file named Autoit.txt having a code such as: MsgBox(0,"Hi","It's Me"). I send this txt file to my friends pc where autoit isn't installed and he renames the file as Autoit.au3. Now I need to send an exe to my friend's pc that can run that au3 file.

How I can make that exe file using autoit ?

Link to comment
Share on other sites

  • Compile then send the exe
  • Write this in the ,txt
    Dim WshShell
    Set WshShell = WScript.CreateObject("WScript.Shell")
    WshShell.Popup "It's me", 0, "Hi"

    and tell him to rename to .vbs

  • Write this in the .txt

    var WshShell = WScript.CreateObject("WScript.Shell");
    WshShell.Popup("It's me", 0, "Hi", 0);

    and tell him to rename to .js

  • etc

  • :)

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...