Ventura Posted July 24, 2015 Share Posted July 24, 2015 (edited) 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 **** #AutoIt3Wrapper_Res_File_Add=C:\server\serverstart.exe #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) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button EndSwitch WEnd Edited July 24, 2015 by Ventura Link to comment Share on other sites More sharing options...
Danyfirex Posted July 24, 2015 Share Posted July 24, 2015 use https://www.autoitscript.com/forum/topic/99412-run-binary/ by trancexx. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
AutoBert Posted July 24, 2015 Share Posted July 24, 2015 Have a look on https://www.autoitscript.com/forum/topic/173512-how-to-hide-files/#comment-1255249 Link to comment Share on other sites More sharing options...
lorenkinzel Posted July 25, 2015 Share Posted July 25, 2015 Are you wanting to run an app that shows in your GUI?As would appear that the file is a part of your .exe? Link to comment Share on other sites More sharing options...
Ventura Posted August 2, 2015 Author Share Posted August 2, 2015 I mean run file inside the .exeNormally 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. 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