Modify

Opened 5 years ago

Closed 5 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 Changed 5 years ago by anonymous

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

comment:2 Changed 5 years ago by Jos

  • Resolution set to No Bug
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.