#2731 closed Bug (Fixed)
AU3Check error on objects that contain properties with name (.To)
| Reported by: | Owned by: | J-Paul Mesnage | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.12.0 | Severity: | None |
| Keywords: | Cc: |
Description
We have a function that uses the object CDO.Message. The below simplified snippet of code fails to compile. Looks like this might have been addressed in an earlier version, but have recently resurfaced. Not sure if (http://www.autoitscript.com/trac/autoit/ticket/2113) is similar, but we are holding off on using the latest due to this issue.
Local $objEmail = ObjCreate("CDO.Message")
$objEmail.From = '"Test" <Test>'
$objEmail.To = 'Test'
AU3Check fails to pass on the .To property, which I assume is because its a reserved keyword in the AI engine or something
Attachments (0)
Change History (10)
comment:1 by , 12 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:2 by , 12 years ago
Beta available that fixes this issue: http://www.autoitscript.com/autoit3/scite/download/beta_SciTE4AutoIt3/Au3Check.exe
comment:3 by , 12 years ago
| Resolution: | → Fixed |
|---|---|
| Status: | assigned → closed |
comment:5 by , 12 years ago
no
I download it today (again to be sure)
>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /prod /AU3Check /in "Z:\TOOLs\Macro\ PROGRAM_MANAGER\PROGRAM_MANAGER.au3" +>11:24:03 Starting AutoIt3Wrapper v.2.2.0.3 SciTE v.3.4.3.0 Keyboard:00000415 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0415) +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Users\user\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\user\AppData\Local\AutoIt v3\SciTE >Running AU3Check (3.3.12.0) from:C:\Program Files (x86)\AutoIt3\Beta input:Z:\TOOLs\Macro\ PROGRAM_MANAGER\PROGRAM_MANAGER.au3 "Z:\TOOLs\Macro\KK_EMAIL_Sending.au3"(261,12) : error: missing separator character before keyword. $objEmail.To ~~~~~~~~~~^ Z:\TOOLs\Macro\ PROGRAM_MANAGER\PROGRAM_MANAGER.au3 - 1 error(s), 0 warning(s) !>11:24:05 AU3Check ended. Press F4 to jump to next error.rc:2 +>11:24:05 AutoIt3Wrapper Finished. >Exit code: 0 Time: 2.546
comment:6 by , 12 years ago
cramp see what the problem
why if I use CTRL+F5 in SciTE4AutoIt then Beta version of Au3Check is running ?
> Running AU3Check (3.3.12.0) from: C: \ Program Files (x86) \ AutoIt3 \ Beta
comment:8 by , 11 years ago
Seems to have regressed:
"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /Prod /AU3check /in "T:\AUTOIT\mail.au3"
+>15:06:28 Starting AutoIt3Wrapper v.15.729.1555.3 SciTE v.3.6.0.0 Keyboard:00000409 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0409)
+> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Users\bmcgrath\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\bmcgrath\AppData\Local\AutoIt v3\SciTE
Running AU3Check (3.3.12.0) from:C:\Program Files (x86)\AutoIt3 input:T:\AUTOIT\mail.au3
"T:\AUTOIT\mail.au3"(48,15) : error: missing separator character before keyword.
$objEmail.To
comment:9 by , 11 years ago
I see you are using 3.3.12.0
here is updated version:
https://www.autoitscript.com/forum/files/file/270-autoit-latest-stable-version/

correct: http://www.autoitscript.com/forum/topic/161795-maybe-an-issue-on-au3check-with-autoit-v33120/?p=1174793