Modify ↓
Opened on Feb 6, 2020 at 7:36:26 PM
Closed on Feb 7, 2020 at 8:28:39 AM
#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:2 by , on Feb 7, 2020 at 8:28:39 AM
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

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