MagicSpark Posted June 2, 2014 Share Posted June 2, 2014 I encountered an issue with objects (method or properties) after update to AutoIt 3.3.12.0 today It throws an error when I try to compile a script due to a supposed syntax error: ERROR: missing separator character after keyword. As an example, here an extraction of Jos' Smtp Mailer that supports Html and attachments (Topic here: '?do=embed' frameborder='0' data-embedContent>>) on which you can test it: Local $objEmail = ObjCreate("CDO.Message") ... $objEmail.To = $s_ToAddress ; This line throws the error ! ... Please check it and also refer on topic: '?do=embed' frameborder='0' data-embedContent>> Thank you. Link to comment Share on other sites More sharing options...
Developers Jos Posted June 2, 2014 Developers Share Posted June 2, 2014 (edited) I have seen this reported now for the second time and asked JPM to have a look at the latest changes he made to au3check which now recognises the ".To" part of the Object variable as a Keyword causing this issue with the "_INetSmtpMailCom" function and any other script using a similar notation. Jos Edited June 2, 2014 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
dbaron4 Posted June 7, 2014 Share Posted June 7, 2014 I am experiencing the same problem with a program that used to work fine. "Step" apparently is a keyword: "C:AutoIt3MyProgsRSIPackageVerify.au3"(1059,15) : error: missing separator character before keyword. $oRSI.Step ~~~~~~~~~~~~~~^ "C:AutoIt3MyProgsRSIPackageVerify.au3"(1148,35) : error: missing separator character before keyword. $s &= " Step = " & $oRSI.Step ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:AutoIt3MyProgsRSIPackageVerify.au3 - 2 error(s), 0 warning(s) Link to comment Share on other sites More sharing options...
Developers Jos Posted June 7, 2014 Developers Share Posted June 7, 2014 (edited) Try the current Beta version to see if that fixes it for you. Jos Edited June 7, 2014 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
dbaron4 Posted June 7, 2014 Share Posted June 7, 2014 That fixed it. Thanks! -Doug Link to comment Share on other sites More sharing options...
juro25 Posted July 10, 2014 Share Posted July 10, 2014 Same problem - error: missing separator character before keyword if in the definition of function is the parameter ByRef, e.g. Func Calculate ($inp_Number,ByRef $out_result) - error Func Calculate ($inp_Number, ByRef $out_result) - correct Link to comment Share on other sites More sharing options...
Thomymaster Posted November 11, 2014 Share Posted November 11, 2014 Will this be fixed in the next major version? When will it be released? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 11, 2014 Moderators Share Posted November 11, 2014 Thomymaster,Do not get confused between AutoIt and SciTE4AutoIt3 - the former is the language and the latter is an independent add-on editor which comes with some other tools to help you code n AutoIt.The SciTE4AutoIt author, Jos, will no doubt issue a new full release of the utility with updated tools (such as Au3Check) when he feels the time is right. Until then I suggest you use the Beta Au3Check to which he linked above. As to AutoIt itself - same answer. Jon will release a new version when he is ready. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Developers Jos Posted November 11, 2014 Developers Share Posted November 11, 2014 (edited) Just for clarity, au3check is part of the AutoIt3 installer and the current Beta has the fixed au3check in it. Jos Edited November 11, 2014 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Thomymaster Posted November 16, 2014 Share Posted November 16, 2014 Hi I have just updated my 3.3.8.1 to the 3.3.12.0 which includes the broken Au3Check.exe. I replaced it with the one Jos linked to but the "ByRef" problem is not fixed there. @Jos Can you maybe provide a new beta Au3Check.exe which includes this fix as well? I don't want to install the AutoIt3 beta just to get the working Au3Check.exe Cheers Thomy Link to comment Share on other sites More sharing options...
BrewManNH Posted November 17, 2014 Share Posted November 17, 2014 You aren't using the beta version of Au3Check, and the problem has nothing to do with ByRef. The problem is because there's no space before the ByRef and after the comma so the program thinks something is missing. 9 times out of 10 you can fix an issue like that by running Tidy on the script prior to running Au3Check. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
DaGbyte Posted December 15, 2014 Share Posted December 15, 2014 I appear to be having the same issue: Local $oMessage = ObjCreate("CDO.Message") With $oMessage .Subject = """" & $EmailSubject & """" .From = "dagbyte@gmail.com" .To = "dagbyte@gmail.com" Yields me "error: missing separator character before keyword." I have installed the latest from the downloads (just today). Any ideas how to fix that? mahalo, -DaG Link to comment Share on other sites More sharing options...
Bert Posted December 15, 2014 Share Posted December 15, 2014 did you run the LATEST beta? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
VenusProject2 Posted January 11, 2015 Share Posted January 11, 2015 Just took the plunge to update to Autoit 3.3.12 & am get the OP's error, error: missing separator character before keyword. $objEmail.To do we still need use the Beta version? Link to comment Share on other sites More sharing options...
VenusProject2 Posted January 11, 2015 Share Posted January 11, 2015 Ok another thread that Jo's anwered got me back on track, ALL IS GOOD Use the beta au3check in stead of the production version. Jos Just took the plunge to update to Autoit 3.3.12 & am get the OP's error, error: missing separator character before keyword. $objEmail.To do we still need use the Beta version? Link to comment Share on other sites More sharing options...
TJF Posted November 29, 2015 Share Posted November 29, 2015 (edited) Hi,I installed a new OS and the latest stable version of Autoit (v3.3.14.2) and Scite. Meanwhile the same with Beta v3.3.15.0. With "ArrayMore.au3" from Bugfix I get (C:\Program Files\AutoIt3\SciTE\SciTE.exe - Version 3.6.0) in line 116:ERROR: missing separator character before keyword.If I use C:\Program Files\AutoIt3\SciTE-AutoIt3Installer\SciTE.exe (Version 3.5.4 lite) everything works... What's the right way to go? :-)RegardsThomas Edited November 29, 2015 by TJF Link to comment Share on other sites More sharing options...
Developers Jos Posted November 29, 2015 Developers Share Posted November 29, 2015 You will have to show your code when you want us to help you.Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
iamtheky Posted November 29, 2015 Share Posted November 29, 2015 (edited) I would not use a UDF from 2007, that is built on other UDFs, unless you also go back and get the 2007 versions of the includes. Things like his use of _ArraySort are bound to be boned in the latest revision of array.au3 Edited November 29, 2015 by boththose ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
TJF Posted November 29, 2015 Share Posted November 29, 2015 See attachments...ThanksThomas ArrayMore.au3 Link to comment Share on other sites More sharing options...
iamtheky Posted November 29, 2015 Share Posted November 29, 2015 (edited) Is there no space between ) and Then? add those three spaces to the UDF and drive on if thats the only issue Edited November 29, 2015 by boththose ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now