Jump to content

How to run/open files inside compiled script?

Recommended Posts

I have  this simple GUI code here, I wanted to run/open files as title says, inside a compiled script instead of using FileInstall, I have added files with Wrapper, but the only way I can run/open it is to use FileInstall and run normally which I know.. so if I click run file in GUI it will run the file insdie the compiled .exe, so is this possible? i have searched around and didn't seen a topic for it.

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

$Form = GUICreate("Run", 278, 127, 316, 216)
$Button = GUICtrlCreateButton("Run file", 82, 43, 113, 41)

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
        Case $Button



Edited by Ventura

Share this post

Link to post
Share on other sites

I mean run file inside the .exe

Normally we use FileInstall but i want without the need of FileInstall and run/open the file inside the .exe I compiled..

I have read those posts in above links and I can't seem to understand anything to hard for me.. i'm novice to this... maybe if someone can show me how to use them.

Share this post

Link to post
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

  • Create New...