Modify ↓
#2976 closed Bug (Completed)
compiled Execute(inputbox...) fails on bad argument error
| Reported by: | RTFC | Owned by: | Jpm |
|---|---|---|---|
| Milestone: | 3.3.13.20 | Component: | AutoIt |
| Version: | 3.3.12.0 | Severity: | None |
| Keywords: | inputbox execute | Cc: |
Description
Hi devs,
$temp=Execute("Inputbox(0,'put something here')") MsgBox(0,@error,@extended)
Works fine as .au3 interpreted in Scite, but generates @error=3 (bad arguments) after compilation.
User kaisies reported this in my CodeCrypter thread, ca. post 103.
Cheers,
RT
Attachments (0)
Change History (2)
comment:2 by , on Feb 15, 2015 at 9:00:41 AM
| Milestone: | → 3.3.13.20 |
|---|---|
| Owner: | set to |
| Resolution: | → Completed |
| Status: | new → closed |
Added by revision [11227] in version: 3.3.13.20
Note:
See TracTickets
for help on using tickets.

To have inputboxes work in a compiled script, you need to use the pragma directive
The default setting for this is false, so that your compiled execs will be smaller if you're not using an InputBox. This would be more of a documentation issue rather than a bug, unless the default setting was supposed to be true and it's set incorrectly.