Developers Jos Posted May 31, 2014 Developers Share Posted May 31, 2014 (edited) 6/3/2014: re-Uploaded a new SciTE4AutoIt3.exe installer with an updated SciTE v3.4.1 release. These are the major changes: - 6/3 Fixed several regressions. - Fixes for reported bugs in Au3Stripper. - Many other minor fixes. Enjoy, Jos Addition/Changes/Fixes in the current installer: -------------------------------------------------------------------------------------------------- 6/3/2014 *** Updated AutoIt3Wrapper 2.2.0.3 (Jos) - Reverted the changes made for Environment variables translation due to a regression when using the GUI. *** Updated Tidy v2.4.1.6 (Jos) - Fixes regression when Delim=0 in some occasions adding a extra "(" character. *** Updated Syntax files to latest production version (Jos) *** Updated several small Helpfile issues. *** Included the proper latest version of the totally re-written AutoItIndentFix.lua. -------------------------------------------------------------------------------------------------- 5/31/2014 *** Updated our version of SciTE v 3.4.1 by Neil Hodgson. (Jos) - Fixed hardcrash in case a very long error line is displayed without spaces. *** Totally re-written the logic used in AutoItIndentFix.lua to better handle Auto Indent corrections. *** Updated AutoIt3Wrapper 2.2.0.2 (Jos) - Added to option to add Environment variables to #AutoIt3Wrapper directives. *** Updated SciTEConfig v1.6.11.13 - Fixed issue with Save+Apply asking again to update the settings. (Jos) - Fixed issue with 3 Checkboxes causing a flicker of the Status field. (Jos) - Fixed issue in UCTManager. (Melba23) *** Updated Tidy v2.4.1.5 (Jos) - Several minor spacing fixes with new syntax variations. - Changed the logic to restore the Folds, Bookmarks, initial line displayed and caret position to make it work on multiple instances of SciTE and better restore the original layout. - Fixed bug when using more than 200 include files. - Fixed writing Indent characters in Commentblocks for empty lines. - Fixed writing ending CRLF in case End_With_NewLine=0 when in commentblock or on commentline. *** Updated Au3Stripper v1.2.1.0 (Jos) - Fixed lexing issue which was in some occasions stripping variables while being used. - Fixed issue when /MO is specified to ensure no other option is performed crippling the output script. - Fixed bug when using more than 200 include files. *** Updated SciTEJump to the latest version v2.18.103.243 (guinness) -------------------------------------------------------------------------------------------------- ==> ScitillaHistory page containing all SciTE/Scintilla updates. ==> Visit the SciTE4AutoIt3 Download page for the latest versions ==> Check the newly formatted online documentation for an overview of all extras you get with this installer. Edited June 3, 2014 by Jos mLipok, JScript, Xandy and 1 other 4 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...
guinness Posted May 31, 2014 Share Posted May 31, 2014 Also SciTE Jump was updated as part this release UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
Developers Jos Posted May 31, 2014 Author Developers Share Posted May 31, 2014 Also SciTE Jump was updated as part this release Fixed the history above and on the website. Helpfile will contain the updated history next time. 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...
jaberwacky Posted June 1, 2014 Share Posted June 1, 2014 Running tidy on this line: GUISetFont((8.5 / GetDPI_Ratio($main_gui)), $FW_MEDIUM, 0, "Segoe UI", $main_gui, $CLEARTYPE_QUALITY) Produces this: GUISetFont(((8.5 / GetDPI_Ratio($main_gui)), $FW_MEDIUM, 0, "Segoe UI", $main_gui, $CLEARTYPE_QUALITY) Note the added unbalanced comma. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Developers Jos Posted June 1, 2014 Author Developers Share Posted June 1, 2014 Running tidy on this line: GUISetFont((8.5 / GetDPI_Ratio($main_gui)), $FW_MEDIUM, 0, "Segoe UI", $main_gui, $CLEARTYPE_QUALITY) Produces this: GUISetFont(((8.5 / GetDPI_Ratio($main_gui)), $FW_MEDIUM, 0, "Segoe UI", $main_gui, $CLEARTYPE_QUALITY) Note the added unbalanced comma. When I copy the first line into a test.au3 and run Tidy, I don't see this happening. What do I need to do to replicate this? Using Tidy v2.4.1.5 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...
mLipok Posted June 1, 2014 Share Posted June 1, 2014 comma ??? and I thought that the problem is the third bracket ? first char on the left from 8.5 Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
jaberwacky Posted June 1, 2014 Share Posted June 1, 2014 (edited) High strangeness. If I put that line into its own au3 by itself then this still happens. I am running Tidy -- 2.4.1.5. I blanked out my user properties file to see if that stops it but no joy. Don't really know what other possibilities to eliminate. Win7Prox64. Latest SciTE4AutoIt3 and latest AutoIt3. Edit: here's the original file just in case: expandcollapse popup#include-once #Region ; Includes #include <GUIconstantsEx.au3> #include <Windowsconstants.au3> #include <UpDownconstants.au3> #include <Tabconstants.au3> #include <constants.au3> #include <WinAPI.au3> #include <Buttonconstants.au3> #include "ToolTip.au3" #include "GUIScrollbars_Ex.au3" #include "StringSize.au3" #EndRegion Opt("WinTitleMatchMode", 2) ; needed for SciTE window resizing Opt("GuiResizeMode", ($GUI_DOCKSIZE + $GUI_DOCKTOP + $GUI_DOCKLEFT)) Opt("GUIEventOptions", 1) #Region ; GUI #Region ; Globals Enum Step 5 $padding = 5, $padding2, $padding3, $padding4, $padding5 Const $maximize_width = 475 Const $maximize_height = 765 Const $scrollbar_width = 15 Const $tab_width = 475 - $padding3 - 3 Const $tab_height = 680 Const $group_spacing = $padding Const $group_width = $tab_width - $padding2 Const $combo_height = 10 Const $button_width = 80 Const $button_height = 17 Const $label_height = 13 Const $input_length = 35 Const $input_height = 17 Const $row = 20 Enum Step 20 $row1 = 18, $row2, $row3, $row4, $row5, $row6, $row7, $row8, $row9, $row10, $row11, $row12, $row13 ; step is == $row #EndRegion Const $main_gui = GUICreate('', -1, -1, -1, -1, BitOr($WS_MAXIMIZEBOX, $WS_MINIMIZEBOX, $WS_SIZEBOX, $WS_SYSMENU), $WS_EX_TOPMOST) GUISetFont((8.5 / GetDPI_Ratio($main_gui)), $FW_MEDIUM, 0, "Segoe UI", $main_gui, $CLEARTYPE_QUALITY) _GUIScrollbars_Generate($main_gui, 0, 0, 0, 0, True) #Region ; File Menu Items #Region ; File Const $file_menu_file = GUICtrlCreateMenu ("&File") Const $file_menu_exit = GUICtrlCreateMenuItem("&Exit", $file_menu_file) #EndRegion #Region ; Theme Const $file_menu_theme = GUICtrlCreateMenu ("&Theme") Const $file_menu_load_theme = GUICtrlCreateMenuItem("&Load Theme", $file_menu_theme) Const $file_menu_default_theme = GUICtrlCreateMenuItem("&Default Theme", $file_menu_theme) Const $file_menu_reload = GUICtrlCreateMenuItem("&Reload Theme", $file_menu_theme) Const $file_menu_theme_save = GUICtrlCreateMenuItem("&Save Theme", $file_menu_theme) Const $file_menu_theme_saveas = GUICtrlCreateMenuItem("Save Theme &As", $file_menu_theme) Const $file_menu_update_tidy = GUICtrlCreateMenuItem("&Update Tidy", $file_menu_theme) #EndRegion #Region ; Versions Const $file_menu_versions = GUICtrlCreateMenu ("Versions") Const $file_menu_versions_au3check_beta = GUICtrlCreateMenuItem("AU3Check Beta", $file_menu_versions) Const $file_menu_versions_au3check_production = GUICtrlCreateMenuItem("AU3Check Production", $file_menu_versions) Const $file_menu_versions_au3stripper = GUICtrlCreateMenuItem("AU3Stripper", $file_menu_versions) Const $file_menu_versions_autoit3_beta = GUICtrlCreateMenuItem("AutoIt3 Beta", $file_menu_versions) Const $file_menu_versions_autoit3_production = GUICtrlCreateMenuItem("AutoIt3 Production", $file_menu_versions) Const $file_menu_versions_autoit3wrapper = GUICtrlCreateMenuItem("AutoIt3Wrapper", $file_menu_versions) Const $file_menu_versions_autoit3wrappertopragma = GUICtrlCreateMenuItem("AutoIt3WrapperToPragma", $file_menu_versions) Const $file_menu_versions_koda = GUICtrlCreateMenuItem("Koda", $file_menu_versions) Const $file_menu_versions_scite = GUICtrlCreateMenuItem("SciTE", $file_menu_versions) Const $file_menu_versions_sciteconfig = GUICtrlCreateMenuItem("SciTEConfig", $file_menu_versions) Const $file_menu_versions_scite_jump = GUICtrlCreateMenuItem("SciTE Jump", $file_menu_versions) Const $file_menu_versions_tidy = GUICtrlCreateMenuItem("Tidy", $file_menu_versions) #EndRegion #Region ; Extras Const $file_menu_extras_abbrevman = GUICtrlCreateMenuItem("Abbrev Manager", -1) Const $file_menu_extras_uctman = GUICtrlCreateMenuItem("UserCallTip Manager", -1) #EndRegion #EndRegion #Region ; Context Menu Const $h_context_menu = GUICtrlCreateContextMenu() Const $h_context_menu_load_theme = GUICtrlCreateMenuItem("Load Theme", $h_context_menu) Const $h_context_menu_default_theme = GUICtrlCreateMenuItem("Default Theme", $h_context_menu) Const $h_context_menu_reload_theme = GUICtrlCreateMenuItem("Reload Theme", $h_context_menu) Const $h_context_menu_save_theme = GUICtrlCreateMenuItem("Save Theme", $h_context_menu) Const $h_context_menu_save_theme_as = GUICtrlCreateMenuItem("Save Theme As", $h_context_menu) Const $h_context_menu_update_tidy = GUICtrlCreateMenuItem("Update Tidy", $h_context_menu) Const $h_context_menu_abbrevman = GUICtrlCreateMenuItem("Abbrev Manager", $h_context_menu) Const $h_context_menu_uctman = GUICtrlCreateMenuItem("User Calltip Manager", $h_context_menu) #EndRegion Const $h_tooltip = _GUIToolTip_Create($main_gui) #Region ; Tabs Const $main_tab = GUICtrlCreateTab($padding, 0, $tab_width, $tab_height) #include "SciTE1\SciTE1 GUI.au3" #include "SciTE2\SciTE2 GUI.au3" #include "SciTE3\SciTE3 GUI.au3" #include "Theme\Theme GUI.au3" #include "Tools\Tools GUI.au3" #include "SciTE4AutoIt3\SciTE4AutoIt3 GUI.au3" #include "Tidy\Tidy GUI.au3" GUICtrlCreateTabItem('') #EndRegion #Region ; Action Buttons Const $action_load_theme = create_button("&Load", $padding2, ($tab_height + $padding), $button_width) Const $action_save = create_button("&Save", ($padding3 + $button_width), ($tab_height + $padding), $button_width) Const $action_reload = create_button("&Reload", ($padding4 + $button_width * 2), ($tab_height + $padding), $button_width) Const $action_tidy_update = create_button("&Update Tidy", ($padding5 + $button_width * 3), ($tab_height + $padding), $button_width) Const $action_exit = create_button("&Exit", ($tab_width - $button_width - $padding), ($tab_height + $padding), $button_width) #EndRegion #Region ; Controls #include "Color Box.au3" Func create_up_down_box(Const $text, Const $left, Const $top, Const $min, Const $max) create_label($text, $left, $top) Local Const $width = _StringSize($max) + $input_length Local Const $up_down_box = GUICtrlCreateInput('', ($left + _StringSize($text) + $padding), ($top - 2), $width, ($input_height + 1), $ES_NUMBER) GUICtrlCreateUpdown($up_down_box, ($UDS_ARROWKEYS + $UDS_NOTHOUSANDS)) GUICtrlSetLimit(-1, $max, $min) Return $up_down_box EndFunc Func create_checkbox(Const $text, Const $left, Const $top, Const $style = $BS_AUTOCHECKBOX) Return GUICtrlCreateCheckbox($text, $left, $top, (_StringSize($text) + 20), 15, $style) EndFunc Func create_label(Const $text, Const $left, Const $top, Const $width = -1, Const $height = -1, Const $style = -1) Return GUICtrlCreateLabel($text, $left, $top, (($width = -1) ? _StringSize($text) : $width), (($height = -1) ? $label_height : $height), $style) EndFunc Func create_button(Const $text, Const $left, Const $top, Const $width = -1, Const $height = -1, Const $style = -1) Return GUICtrlCreateButton($text, $left, $top, (($width = -1) ? (_StringSize($text) + 20) : $width), (($height = -1) ? ($button_height + 2) : $height), $style) EndFunc Func create_input(Const $text, Const $left, Const $top, Const $width = -1, Const $height = -1, Const $style = -1) Return GUICtrlCreateInput($text, $left, $top, (($width = -1) ? _StringSize($text) : $width), (($height = -1) ? $input_height : $height), $style) EndFunc Func create_radio(Const $text, Const $left, Const $top) Return GUICtrlCreateRadio($text, $left, $top, (_StringSize($text) + 15), 15) EndFunc #EndRegion Func GetDPI_Ratio(Const $gui) ; Spiff59 -- http://www.autoitscript.com/forum/topic/154885-autoit-and-dpi-awareness/?p=1118815 Local Const $user32_dll = DllOpen("User32.dll") Local Const $hDC = DllCall($user32_dll, "long", "GetDC", "long", $gui) Local Const $aRet = DllCall("gdi32.dll", "long", "GetDeviceCaps", "long", $hDC[0], "long", 90)[0] DllCall($user32_dll, "long", "ReleaseDC", "long", $gui, "long", $hDC) DllClose($user32_dll) Return $aRet ? ($aRet / 96.0) : 1.0 EndFunc #EndRegion Edit 2: It just occurred to me to include my tidy.ini: [ProgramSettings] tabchar=2 region_indent=0 Skip_CommentBlock=0 proper=1 properconstants=1 vars=3 delim=0 Remove_Empty_Lines=2 End_With_NewLine=0 Sort_funcs=0 Sort_funcs_Comments=0 endfunc_comment=-1 endregion_comment=-1 KeepNVersions=5 backupDir=D:\Programming\AutoIt\My Scripts\SciTE4AutoIt3 Customizer\SciTE Customization GUI\Backup Gen_Doc=0 Gen_Doc_Show=0 ShowConsoleInfo=9 ShowDiffPgm=C:\Progra~1\WinMerge\winmerge.exe '%new%' '%old%' Edited June 1, 2014 by jaberwacky Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted June 1, 2014 Moderators Share Posted June 1, 2014 jaberwacky,Does not happen to me - Win7 HP x32, AutoIt v3.3.12.0, Tidy v2.4.1.5 from Jos' installer released yesterday. 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 June 1, 2014 Author Developers Share Posted June 1, 2014 (edited) High strangeness. If I put that line into its own au3 by itself then this still happens. I am running Tidy -- 2.4.1.5. I blanked out my user properties file to see if that stops it but no joy. Don't really know what other possibilities to eliminate. I am also seeing the issue now and will have a look tomorrow. It is related to this setting in tidy.ini: delim=0 Jos Edited June 1, 2014 by Jos jaberwacky 1 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...
jaberwacky Posted June 1, 2014 Share Posted June 1, 2014 Cool, thanks! Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
jaberwacky Posted June 1, 2014 Share Posted June 1, 2014 Ok, some investigating (now that I thought to check tidy.ini, durrr) shows that the problem is related to the "proper" setting. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
jaberwacky Posted June 1, 2014 Share Posted June 1, 2014 I am also seeing the issue now and will have a look tomorrow. It is related to this setting in tidy.ini: delim=0 Jos Ok, weird. Weeeeiiirrrd. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Developers Jos Posted June 1, 2014 Author Developers Share Posted June 1, 2014 Ok, weird. Weeeeiiirrrd. Not so weird, the Proper=0 setting will totally skip the proper logic thus will not show the issue any more. The delim=0/1 setting is just about the spacing around delimiters, which is part of the whole proper process. Jos jaberwacky 1 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...
Loz Posted June 1, 2014 Share Posted June 1, 2014 Toggling Au3Stripper setting causes SciTE internal variables to be replaced with current values. Initial Code: #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Outfile=test.exe #AutoIt3Wrapper_Res_Fileversion=1.0.0.13 #AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y #AutoIt3Wrapper_Run_After=start test.bat %in% %out% %fileversion% #AutoIt3Wrapper_Run_After=start test.bat "%in%" "%out%" "%fileversion%" #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** After enabling Stripper: #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Outfile=test.exe #AutoIt3Wrapper_Res_Fileversion=1.0.0.13 #AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y #AutoIt3Wrapper_Run_After=start test.bat D:\tmp\test.au3 test.exe 1.0.0.13 #AutoIt3Wrapper_Run_After=start test.bat "D:\tmp\test.au3" "test.exe" "1.0.0.13" #AutoIt3Wrapper_Run_Au3Stripper=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** .... GOTOs? We don't need no stinkin' GOTOs! .... Link to comment Share on other sites More sharing options...
Exit Posted June 2, 2014 Share Posted June 2, 2014 AutoItWrapper in new SciTE4AutoIt replaces %out% with a null string. #AutoIt3Wrapper_Run_After=start %out% MsgBox(Default, Default, "Hello world",0) Old SciTE4Autoit shows Messagebox. New SciTE4AutoIt shows a CMD window due to START without parameters. App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Developers Jos Posted June 2, 2014 Author Developers Share Posted June 2, 2014 (edited) Toggling Au3Stripper setting causes SciTE internal variables to be replaced with current values. Initial Code: #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Outfile=test.exe #AutoIt3Wrapper_Res_Fileversion=1.0.0.13 #AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y #AutoIt3Wrapper_Run_After=start test.bat %in% %out% %fileversion% #AutoIt3Wrapper_Run_After=start test.bat "%in%" "%out%" "%fileversion%" #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** After enabling Stripper: #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Outfile=test.exe #AutoIt3Wrapper_Res_Fileversion=1.0.0.13 #AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y #AutoIt3Wrapper_Run_After=start test.bat D:\tmp\test.au3 test.exe 1.0.0.13 #AutoIt3Wrapper_Run_After=start test.bat "D:\tmp\test.au3" "test.exe" "1.0.0.13" #AutoIt3Wrapper_Run_Au3Stripper=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** I need more info how to replicate what you are seeing as this is not clear to me at this moment. 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...
Developers Jos Posted June 2, 2014 Author Developers Share Posted June 2, 2014 Running tidy on this line: GUISetFont((8.5 / GetDPI_Ratio($main_gui)), $FW_MEDIUM, 0, "Segoe UI", $main_gui, $CLEARTYPE_QUALITY) Produces this: GUISetFont(((8.5 / GetDPI_Ratio($main_gui)), $FW_MEDIUM, 0, "Segoe UI", $main_gui, $CLEARTYPE_QUALITY) Note the added unbalanced comma. Please try the current Beta Tidy to see if that fixes it all for you. Cheers 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...
Developers Jos Posted June 2, 2014 Author Developers Share Posted June 2, 2014 AutoItWrapper in new SciTE4AutoIt replaces %out% with a null string. #AutoIt3Wrapper_Run_After=start %out% MsgBox(Default, Default, "Hello world",0) Old SciTE4Autoit shows Messagebox. New SciTE4AutoIt shows a CMD window due to START without parameters. Shoot .. This is a regression from the %EnvironmentVariables% replacement implementation. Please try the current Beta to see if that resolves it for you. Cheers 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...
Exit Posted June 2, 2014 Share Posted June 2, 2014 Shoot .. This is a regression from the %EnvironmentVariables% replacement implementation. Please try the current Beta to see if that resolves it for you. Cheers Jos Confirmed as fixed. Thanks. App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
wraithdu Posted June 2, 2014 Share Posted June 2, 2014 Hi Jos. I think you included an older version of AutoItIndentFix.lua in the installer than you had in the beta directory most recently. Common.lua seems up to date however. Link to comment Share on other sites More sharing options...
Recommended Posts