Modify

Opened 6 years ago

Closed 6 years ago

#3748 closed Bug (No Bug)

Running a script from a compiled script is not launching

Reported by: Nine Owned by:
Milestone: Component: AutoIt
Version: 3.3.14.5 Severity: None
Keywords: Cc:

Description

It works if not compiled, but once it is compiled the child script is not executed.

If Not @Compiled Then Exit MsgBox (0,"","You must compile the script")
Local $sScript = 'MsgBox (0, "Test", "Hello")'
FileWrite ("Test.au3", $sScript)
Run(@AutoItExe & ' /AutoIt3ExecuteScript ' & "Test.au3", @ScriptDir)
Sleep (10000)

Attachments (0)

Change History (2)

comment:1 by anonymous, 6 years ago

Forgot about the #pragma thing. You can close it. Sorry about it.

comment:2 by Jos, 6 years ago

Resolution: No Bug
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.