Opened on Jun 2, 2014 at 9:06:06 PM
Closed on Jun 11, 2014 at 6:00:41 AM
Last modified on Aug 7, 2015 at 11:39:06 PM
#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 , on Jun 2, 2014 at 10:31:26 PM
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:2 by , on Jun 10, 2014 at 7:23:08 PM
Beta available that fixes this issue: http://www.autoitscript.com/autoit3/scite/download/beta_SciTE4AutoIt3/Au3Check.exe
comment:3 by , on Jun 11, 2014 at 6:00:41 AM
| Resolution: | → Fixed |
|---|---|
| Status: | assigned → closed |
comment:5 by , on Jun 13, 2014 at 10:27:24 AM
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 , on Jun 13, 2014 at 10:31:09 AM
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:7 by , on Jun 13, 2014 at 1:16:45 PM
sorry all is fine
in this script i was used:
#AutoIt3Wrapper_Version=B
comment:8 by , on Aug 3, 2015 at 11:09:02 PM
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 , on Aug 4, 2015 at 1:36:17 AM
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
Jos