BigDaddyO Posted March 21, 2018 Posted March 21, 2018 (edited) I'm trying to use Maps for the first time (Never knew they were available until I read through the release notes) but Scite keeps throwing an error on run about Variable subscript badly formatted. I tried to run the script directly from AutoIT and it also threw an error. I've got the latest 3.3.14.5 and just re-installed Scite. Below is a quick sample that I put together that throws the error in Scite as well as if I run it with the AutoIT Run a script. #include <GUIConstantsEx.au3> Local $mBug[] ;==> Variable subscript badly formatted $mBug.Width = 1100 $mBug.Height = 700 $mBug.GUI = GUICreate("Defect Details", $mBug.Width, $mBug.Height) GUISetState(@SW_SHOW, $mBug.GUI) ;~ $iW = 1100 ;~ $iH = 700 ;~ $hGUI = GUICreate("Defect Details", $iW, $iH) ;~ GUISetState(@SW_SHOW, $hGUI) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd I tried searching the forum for Maps and it's only talking about Beta which I don't have installed. so, what am I doing wrong? Thanks, Mike Edited March 21, 2018 by BigDaddyO
Danp2 Posted March 21, 2018 Posted March 21, 2018 I believe this option is only available in the beta version. Latest Webdriver UDF Release Webdriver Wiki FAQs
Moderators JLogan3o13 Posted March 21, 2018 Moderators Posted March 21, 2018 The newest Beta release has this disclaimer: Quote Warning: This feature is experimental. It may not work, may contain bugs or may be changed or removed without notice.DO NOT REPORT BUGS OR REQUEST NEW FEATURES FOR THIS FEATURE. As this feature is very much a question mark right now, there will be no support for issues with it. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
BigDaddyO Posted March 21, 2018 Author Posted March 21, 2018 If that's the case, then the Help file needs to be fixed in the latest release since that's where I read about it.
Danp2 Posted March 21, 2018 Posted March 21, 2018 @BigDaddyO Looks like that entry accidentally made it into the release version. Latest Webdriver UDF Release Webdriver Wiki FAQs
Moderators JLogan3o13 Posted March 21, 2018 Moderators Posted March 21, 2018 As mentioned, this disclaimer is in the latest release (15.1 IIRC). I have heard that an oversight cause it not to be in the previous release. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Danp2 Posted March 21, 2018 Posted March 21, 2018 @JLogan3o13 The issue being described here is that the Autoit 3.3.14.4 help file entry "Language Reference - Variables" contains some language about the Maps data type. Seeing the same issue online. Latest Webdriver UDF Release Webdriver Wiki FAQs
Zedna Posted March 21, 2018 Posted March 21, 2018 (edited) Just guess: Try to dowmload latest beta au3check.exe from here: https://www.autoitscript.com/site/autoit-script-editor/downloads/ https://www.autoitscript.com/autoit3/scite/download/beta_SciTE4AutoIt3/ It's probably only au3check syntax check error. If this new "Map" syntax isn't implemented in au3check yet then disable au3check in your script by directve #AutoIt3Wrapper_Run_AU3Check=n EDIT: Also look here (specially Melba's reply) Edited March 21, 2018 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
BigDaddyO Posted March 21, 2018 Author Posted March 21, 2018 @Zedna It's not the au3check as I tried to run the script directly with AutoIT without Scite and it threw an error. So, i'm sure it's just not available in the latest release and it just needs the Maps stuff removed from the help file.
Moderators JLogan3o13 Posted March 21, 2018 Moderators Posted March 21, 2018 @Danp2 I understand the issue; we are working to address it. BigDaddyO and Danp2 2 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
LukeSavefrogs Posted September 9, 2019 Posted September 9, 2019 After an year same problem... I was mislead by documentation "Errors".. Please look at these examples: Spoiler On the Documentation is said to be a Variable Type... While on the wiki is said to be under development and that the correct implementation has to be made using Associative Arrays My question here is the following: Should we use the Wiki or the Documentation as "documentation" (sorry for the word pun 😄) since the first seems updated more recently?
TheDcoder Posted September 9, 2019 Posted September 9, 2019 39 minutes ago, LukeSavefrogs said: Should we use the Wiki or the Documentation as "documentation" (sorry for the word pun 😄) since the first seems updated more recently? The wiki is more of a community effort as I see it. In any case, the documentation (help file) is the official support resource which comes packed in the installer. Use the help file for any solid references and the wiki for everything else. EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
Nine Posted September 2, 2021 Posted September 2, 2021 @namgold You must read the beta documentation (help file) not the current version documentation... “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
jchd Posted September 3, 2021 Posted September 3, 2021 Are you using F1 to get help (release version) or beta help usiung Alt-F1? This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)
namgold Posted September 3, 2021 Posted September 3, 2021 I used Help menu > Help (F1). And when i press Alt + F1, nothing happened nor any beta help showed. I'm using SciTE v4.4.6
jchd Posted September 3, 2021 Posted September 3, 2021 Did you download and install the beta? This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)
namgold Posted September 3, 2021 Posted September 3, 2021 Not sure, how can I check that? This is my About SciTE
jchd Posted September 3, 2021 Posted September 3, 2021 https://www.autoitscript.com/forum/files/category/5-beta/ This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)
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