AutoitMike Posted August 20, 2019 Share Posted August 20, 2019 I'm attempting to install Scite on a backup laptop using Scite4AutoIt3.exe (the only Scite installer that I can find). It produces an error during the install process with the following text: Line 48 (File "C:\Program Files (x86)\AutpIt3\SciTE\SciTEConfig\SciTEConfig.au3"): #Include <WinApiGdi.au3> Error: Error Opening the file I searched my computer and this file does not even exist. I googled "WinApiGdi.au3" and I did not find a links or downloads for it. Can someone point me to where I can download or copy/paste it into notepad ? Thanks Link to comment Share on other sites More sharing options...
water Posted August 20, 2019 Share Posted August 20, 2019 That's part of the AutoIt package. Which version of AutoIt do you run? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
AutoitMike Posted August 20, 2019 Author Share Posted August 20, 2019 In order to maintain a backup laptop that is configured Exactly like the one currently in use, I had to install 3.3.8.1 If its part of the package, then it is not creating it or unpackaging it Thanks Link to comment Share on other sites More sharing options...
water Posted August 20, 2019 Share Posted August 20, 2019 I'm sure you can't combine an old version of AutoIt and the latest SciTE editor. AutoIt 3.3.8.1 is from 12.06.2016. So I think you need to install SciTE from 2016 too. Find old SciTE versions here: https://www.autoitscript.com/autoit3/scite/download/archive/ I would start with v16.612.1119.0-SciTE4AutoIt3.exe My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 20, 2019 Moderators Share Posted August 20, 2019 AutoitMike, You are looking to install a 7 year old version of AutoIt and you are surprised that the current SciTE does not function properly with it? A lot of the utilities included with SciTE4Autoit3 are written in AutoIt and so mirror the development of AutoIt itself. Hence the problem when you try to "mix" releases. I suggest you simply copy over the contents of your "current" AutoIt3 installation folder to your "backup" laptop - that way you should get a mirror of your installation. That release was so long ago I cannot remember if there are any other folders that need to be copied as well - possibly anything in your user folder under the "C:\Users\###\AppData\Local\AutoIt v3\SciTE" path. Then you should get the same installation as you have now - massively out-of-date, but functional. 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...
AutoitMike Posted August 20, 2019 Author Share Posted August 20, 2019 I copied everything from the Scite folder to my backup laptop. I still ran into a problem. I manually entered the code: WinActivate("{titleBarName}","") It does not produce an error , however, the window does not get activated. Why were functions deleted?? I took advantage of a function and now it is deleted. The entire idea of purchasing a second laptop was to make it as a Backup machine in case my current laptop dies. I already got "There was an error recovering from hibernation mode". Thankfully, restarting from a clean boot fixed this issue. I really dont want to re invent my code just to go to something newer. I firmly believe in "If it aint broke, dont fix it!" It seems that all I need is winapigdi.au3. Is this not available? Can I actually just copy my Autoit folder over to my backup laptop without performing an actuall install? Thanks for the help Link to comment Share on other sites More sharing options...
AutoitMike Posted August 20, 2019 Author Share Posted August 20, 2019 I installed SciTE 14.801.2025.0-SciTE4Autoit3.exe. "About SciTE" says it is 3.4.4 It looks like I am good to go. Thanks ever so much for pointing me to the archive for Scite. If I ever do any outside automation programming I will start with the latest Versions Link to comment Share on other sites More sharing options...
AdamUL Posted August 20, 2019 Share Posted August 20, 2019 You can run multiple versions of AutoIt without uninstalling the latest version, or installing older versions. I have old versions for bug fixing old script without having to rewrite them. You can have the latest version installed, and get the older version zip files from the archive. You can then extract them to a directory you want to use them. I prefer the AutoIt installation directory with the version number for folder name. You can then use the #AutoIt3Wrapper_Autoit3Dir to tell SciTE which version of AutoIt to use in what file directory. SciTE will then use some of the components for that version, Au3Check, etc. Now the help file will not work directly, but you can access it from the directory for the version you are using. Examples below. ;~ #AutoIt3Wrapper_Autoit3Dir=C:\Program Files (x86)\AutoIt3\3.3.8.1 ;Optionally override the AutoIt3 install directory to use. ;~ #AutoIt3Wrapper_Autoit3Dir=C:\Program Files (x86)\AutoIt3\3.3.12.0 ;Optionally override the AutoIt3 install directory to use. ;~ #AutoIt3Wrapper_Autoit3Dir=C:\Program Files (x86)\AutoIt3\3.3.14.2 ;Optionally override the AutoIt3 install directory to use. #AutoIt3Wrapper_Autoit3Dir=C:\Program Files (x86)\AutoIt3\3.3.14.5 ;Optionally override the AutoIt3 install directory to use. Adam 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