mLipok Posted September 17, 2013 Share Posted September 17, 2013 (edited) Approx. So take back my request. Somehow I can handle it thank you. EDIT 2013/09/21 04:43: I told you I can handle it, look here: Edited September 21, 2013 by mlipok 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...
MrJustinMeyer Posted September 27, 2013 Share Posted September 27, 2013 (edited) Hello, I am having a problem when using SciTE4Autit3 and COM. The following code works fine when I use the version of SciTe packaged with AutoIT and fails (returns error) when using SciTE4Autit3. Please note I am using the zipped packages for AutoIT and SciTe VS the installed versions. $TSMm = ObjCreate("Tekla.Structures.Model.Model") If @error Then MsgBox(1,"ERROR", "Tekla.Structures.Model.Model" & @CRLF & "Could not connect to Tekla, verify and rerun") Exit EndIf Additionally, When using Scite that is packaged with AutoIT I am able to work with the object as expected. Any help would be much appreciated, as I would prefer to use SciTE4Autit3 as I have been for apps that do not require dependancies through COM. EDIT: Additional Information The extracted "SciTE4Autit3" folder is within the "autoit-v3" folder. Output when using Scite packaged with Autoit >"F:\_POR_APPS\autoit-v3\SciTe\..\autoit3.exe" /ErrorStdOut "F:\_DOCS\AU3_CODE\TEKLA\AutoPart\COM_TEST.au3" >Exit code: 0 Time: 0.245 Output when using Scite packaged with SciTE4Autit3 >"F:\_POR_APPS\autoit-v3\SciTE4AutoIt3\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "F:\_DOCS\AU3_CODE\TEKLA\AutoPart\COM_TEST.au3" /UserParams +>08:16:37 Starting AutoIt3Wrapper v.2.1.2.9 Environment(Language:0409 Keyboard:00000409 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64) >Running AU3Check (1.54.22.0) from:F:\_POR_APPS\autoit-v3 +>08:16:38 AU3Check ended.rc:0 >Running:(3.3.8.1):F:\_POR_APPS\autoit-v3\autoit3_x64.exe "F:\_DOCS\AU3_CODE\TEKLA\AutoPart\COM_TEST.au3" --> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop +>08:16:45 AutoIt3.exe ended.rc:0 >Exit code: 0 Time: 8.278 The machine and the installation of Tekla Stuctures are both x64 When running the following code: ConsoleWrite("AutoIt: " & @AutoItX64 & @CRLF & "CPU : " & @CPUArch & @CRLF & "OS : " & @OSArch & @CRLF) Output when using Scite packaged with Autoit >"F:\_POR_APPS\autoit-v3\SciTe\..\autoit3.exe" /ErrorStdOut "F:\_DOCS\AU3_CODE\TEKLA\AutoPart\COM_TEST.au3" AutoIt: 0 CPU : X64 OS : X64 >Exit code: 0 Time: 0.247 Output when using Scite packaged with SciTE4Autit3 >"F:\_POR_APPS\autoit-v3\SciTE4AutoIt3\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "F:\_DOCS\AU3_CODE\TEKLA\AutoPart\COM_TEST.au3" /UserParams +>08:33:28 Starting AutoIt3Wrapper v.2.1.2.9 Environment(Language:0409 Keyboard:00000409 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64) >Running AU3Check (1.54.22.0) from:F:\_POR_APPS\autoit-v3 +>08:33:28 AU3Check ended.rc:0 >Running:(3.3.8.1):F:\_POR_APPS\autoit-v3\autoit3_x64.exe "F:\_DOCS\AU3_CODE\TEKLA\AutoPart\COM_TEST.au3" --> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop AutoIt: 1 CPU : X64 OS : X64 +>08:33:28 AutoIt3.exe ended.rc:0 >Exit code: 0 Time: 0.378 Edited September 27, 2013 by MrJustinMeyer Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 27, 2013 Moderators Share Posted September 27, 2013 MrJustinMeyer,Welcome to the AutoIt forum. The version of SciTE you use shold have no effect on the code itself - I wonder if you are actually running different versions of AutoIt each time. Could you please post the output you get in the lower SciTE pane for each of the runs - that should give us (and certainly Jos) a better handle on what is going on. 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...
MrJustinMeyer Posted September 27, 2013 Share Posted September 27, 2013 MrJustinMeyer, Welcome to the AutoIt forum. The version of SciTE you use shold have no effect on the code itself - I wonder if you are actually running different versions of AutoIt each time. Could you please post the output you get in the lower SciTE pane for each of the runs - that should give us (and certainly Jos) a better handle on what is going on. M23 Thanks a lot for the fast reply M23. I have edited my previous post to include the requested information. Link to comment Share on other sites More sharing options...
BrewManNH Posted September 27, 2013 Share Posted September 27, 2013 The first one seems to be running the x86 version of AutoIt3, the second the x64 verssion. 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...
Moderators Melba23 Posted September 27, 2013 Moderators Share Posted September 27, 2013 MrJustinMeyer,BrewManNH could well have it. Just to confirm, could you please run the following script in both SciTE versions and let us see the results:ConsoleWrite("AutoIt: " & @AutoItX64 & @CRLF & "CPU : " & @CPUArch & @CRLF & "OS : " & @OSArch & @CRLF)If it is indeed the case that the versions being run are different, we can then move into the next phase. 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...
MrJustinMeyer Posted September 27, 2013 Share Posted September 27, 2013 The first one seems to be running the x86 version of AutoIt3, the second the x64 verssion. Thanks for the reply BrewManNH! I will be updating my original posts with requested information due to my limited number of posts as a new member. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 27, 2013 Moderators Share Posted September 27, 2013 MrJustinMeyer,I have just lifted the posting restriction - so please post in sequence from now on. Of interest I have never seen anyone have both versions of SciTE on the same machine - it might well be this which is causing the problem as that are both fighting over the same environment and properties. 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...
MrJustinMeyer Posted September 27, 2013 Share Posted September 27, 2013 M23, I had posted they are not installed, rather they are being ran from a flash drive, and never at the same time. So I am not sure that they would be "fighting" over the envirement properties. My current (annoying) process is to write in SciTE4Autit3, close it, and then run in the other Scite. One thing I just noticed is that when running Scite that comes with Autoit, the title bar has " - SciTE4Autit3", where as running Scite from the stand alone package has only " - SciTE" in the title bar. Link to comment Share on other sites More sharing options...
BrewManNH Posted September 27, 2013 Share Posted September 27, 2013 The version that comes with AutoIt says SciTE Lite in the title bar when running. The Scite that comes with Scite4AutoIt3 says SciTE in the title bar. Not sure where you're getting the titles you're getting from, seems strange. 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...
jpm Posted September 27, 2013 Share Posted September 27, 2013 The version that comes with AutoIt says SciTE Lite in the title bar when running. The Scite that comes with Scite4AutoIt3 says SciTE in the title bar. Not sure where you're getting the titles you're getting from, seems strange. The one coming with AutoIt is really a lite version of the complete SciTE coming with Scite4AutoIt3 Link to comment Share on other sites More sharing options...
MrJustinMeyer Posted September 27, 2013 Share Posted September 27, 2013 Attached screen captures of both versions running from the corresponding directories. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 27, 2013 Moderators Share Posted September 27, 2013 MrJustinMeyer,We did believe you! Anyway this beats me. I think we will have to wait for Jos, our resident SciTE guru, to log in. As a work-around, try adding #AutoIt3Wrapper_UseX64=n to the top of the script you run in SciTE4Autoit3 - that should force it to use the x86 version and so resolve the specific problem you are having. 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...
guinness Posted September 27, 2013 Share Posted September 27, 2013 They need to set the environment variable SciTE_HOME to the directory of where SciTE is located. I'm guess they're looking at using SciTE in portable "mode". 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...
Moderators Melba23 Posted September 27, 2013 Moderators Share Posted September 27, 2013 guinness,That was one reason why I suggested there was some sort of conflict going on between the 2 versions. Quite frankly I can see no reason to keep SciTE-Lite if you have the full SciTE4AutoIt3 version - it offers so much more. 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...
MrJustinMeyer Posted September 27, 2013 Share Posted September 27, 2013 MrJustinMeyer, We did believe you! Anyway this beats me. I think we will have to wait for Jos, our resident SciTE guru, to log in. As a work-around, try adding #AutoIt3Wrapper_UseX64=n to the top of the script you run in SciTE4Autoit3 - that should force it to use the x86 version and so resolve the specific problem you are having. M23 Very nice, this works! Thank you very much! Though it will not have an impact to force not using x64 in this case it would be nice to know why, and what I may need to do to get it working in the future. By the way, I was not insinuating that anyone did not believe me. I was only validaing what I had said, and looking to verify if that was correct. This forum has always been a great resource because of the knowledge of its members. Thanks! Link to comment Share on other sites More sharing options...
guinness Posted September 27, 2013 Share Posted September 27, 2013 guinness, That was one reason why I suggested there was some sort of conflict going on between the 2 versions. Quite frankly I can see no reason to keep SciTE-Lite if you have the full SciTE4AutoIt3 version - it offers so much more. M23 I agree, I see no reason to use the lite version really. 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...
MrJustinMeyer Posted September 27, 2013 Share Posted September 27, 2013 They need to set the environment variable SciTE_HOME to the directory of where SciTE is located. I'm guess they're looking at using SciTE in portable "mode". guinness, Where would I set this variable at? I would prefer to not have to set #AutoIt3Wrapper_UseX64=n guinness, That was one reason why I suggested there was some sort of conflict going on between the 2 versions. Quite frankly I can see no reason to keep SciTE-Lite if you have the full SciTE4AutoIt3 version - it offers so much more. M23 M23, I could not agree more. But I have had to use this work around to get the great functions within Scite4Autoit3 and also be to be able to build. Link to comment Share on other sites More sharing options...
wraithdu Posted September 27, 2013 Share Posted September 27, 2013 (edited) By default, on an x64 system SciTE4AutoIt3 (well, more accurately, AutoIt3Wrapper) will run and compile with the x64 version of AutoIt3. You can set system wide defaults by creating a file called AutoIt3Wrapper.ini in the same directory as AutoIt3Wrapper. In fact, there should be an example INI in your installation of SciTE4AutoIt3. Create the following entry in the INI file to change the default to run and compile scripts as x86. This default can be overridden by adding the appropriate directives to the script file. [Autoit] UseX64=n Edited September 27, 2013 by wraithdu Link to comment Share on other sites More sharing options...
Developers Jos Posted September 27, 2013 Author Developers Share Posted September 27, 2013 This piece of code from AutoIt3Wrapper determines the default version of AutoIt3.exe it uses: If @OSArch = "X86" Or StringInStr(RegRead("HKCR\AutoIt3Script\Shell\Run\Command", ""), "AutoIt3.exe") Then SetDefaults($INP_UseX64, "n", "auto=a;yes=y;no=n;1=y;0=n;4=n", "y;n", 0, 0) Else SetDefaults($INP_UseX64, "y", "auto=a;yes=y;no=n;1=y;0=n;4=n", "y;n", 0, 0) EndIf So, when the system OS is X86 or you installed Autoit3 with using by default the X86 version, it will default to the x86 version else to the x64 version. Does that make sense? 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...
Recommended Posts