Chimaera Posted August 25, 2015 Share Posted August 25, 2015 Just been doing some testing at work on the Windows 10 display laptops upgraded from Win 8.1 as i was searching for a way to trigger the windows updte section from our gui that we use.Since 10 arrived using ShellExecuteWait('wuapp.exe')doesnt work as they have altered windows updates internallySo i came up with this which works from Runms-settings:windowsupdateSo i amended my script like soCase $T2WinUpdatesButton If $OS = 'V-' Then ShellExecuteWait('wuauclt.exe') ; XP WinUpdates Sleep(20) Else If @OSVersion = 'WIN_10' Then Run('ms-settings:windowsupdate') ; Windows 10 Else ShellExecuteWait('wuapp.exe') ; Vista up to 8.1 Sleep(20) EndIf EndIf Func _OsDetect() Local $OS = 'V+' If @OSVersion = 'WIN_2000' Or @OSVersion = 'WIN_2003' Or @OSVersion = 'WIN_XP' Or @OSVersion = 'WIN_XPe' Then $OS = 'V-' EndIf ;~ ConsoleWrite($OS & @CRLF) Return $OS EndFunc ;==>_OsDetectExcept it doesnt work so i did some digging around and discovered that the @OSVersion for a windows 10 upgraded machine is still WIN_81 not WIN_10 as it should be.Any suggestions on how to get this working? If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
TheDcoder Posted August 25, 2015 Share Posted August 25, 2015 Try using @OSBuild instead of @OSVersionexpandcollapse popupCase $T2WinUpdatesButton If $OS = 'V-' Then ShellExecuteWait('wuauclt.exe') ; XP WinUpdates Sleep(20) Else If Case $T2WinUpdatesButton If $OS = 'V-' Then ShellExecuteWait('wuauclt.exe') ; XP WinUpdates Sleep(20) Else If @OSBuild >= 1234 Then Run('ms-settings:windowsupdate') ; Windows 10 Else ShellExecuteWait('wuapp.exe') ; Vista up to 8.1 Sleep(20) EndIf EndIf Func _OsDetect() Local $OS = 'V+' If @OSVersion = 'WIN_2000' Or @OSVersion = 'WIN_2003' Or @OSVersion = 'WIN_XP' Or @OSVersion = 'WIN_XPe' Then $OS = 'V-' EndIf ;~ ConsoleWrite($OS & @CRLF) Return $OS EndFunc ;==>_OsDetect = 'WIN_10' Then Run('ms-settings:windowsupdate') ; Windows 10 Else ShellExecuteWait('wuapp.exe') ; Vista up to 8.1 Sleep(20) EndIf EndIf Func _OsDetect() Local $OS = 'V+' If @OSVersion = 'WIN_2000' Or @OSVersion = 'WIN_2003' Or @OSVersion = 'WIN_XP' Or @OSVersion = 'WIN_XPe' Then $OS = 'V-' EndIf ;~ ConsoleWrite($OS & @CRLF) Return $OS EndFunc ;==>_OsDetectRemember to replace 1234 with the build no. of Windows 10, TD 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 Link to comment Share on other sites More sharing options...
Administrators Jon Posted August 25, 2015 Administrators Share Posted August 25, 2015 Should show win10 unless you are using the win compatibility pragma. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Chimaera Posted August 25, 2015 Author Share Posted August 25, 2015 win compatibility pragma.?no idea what that is If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
Administrators Jon Posted August 25, 2015 Administrators Share Posted August 25, 2015 Then you should be fine. The latest release version shows win10 correctly unless you use the pragma at the top which is bugged. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Danp2 Posted August 25, 2015 Share Posted August 25, 2015 Couldn't this be the result of the default manifest issue described here? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Chimaera Posted August 26, 2015 Author Share Posted August 26, 2015 I'm currently trying to narrow this downI've reinstalled AutoIt and Scite just to be sureMy main large script compiled shows WIN_81 but a test script with nothing in it but the check shows WIN_10 so ive got to find out what's causing the weirdness, i don't use pragma at all in any of my scripts.If i find what is the problem ill report back If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
guinness Posted August 26, 2015 Share Posted August 26, 2015 Have you tried downloading the latest AutoItWrapper (beta most preferably)? Maybe you ResHacker to grab the manifest file and post here. 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...
Chimaera Posted August 26, 2015 Author Share Posted August 26, 2015 There used to be a link to the beta stuff which i cant find on the top menus anymore?Anyone got a link to Beta stuff? please If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
TheDcoder Posted August 26, 2015 Share Posted August 26, 2015 @Chimaera http://pho.to/9fj9I 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 Link to comment Share on other sites More sharing options...
Chimaera Posted August 26, 2015 Author Share Posted August 26, 2015 no m8 ive already done that, im talking about the folder on the web where all the beta stuff resides, it used to be on the top menu as a link before the upgrade If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
Administrators Jon Posted August 26, 2015 Administrators Share Posted August 26, 2015 https://www.autoitscript.com/autoit3/files/beta/autoit/https://www.autoitscript.com/site/autoit-script-editor/downloads/ Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
guinness Posted August 26, 2015 Share Posted August 26, 2015 https://www.autoitscript.com/site/autoit/downloads/ - Big red button, can't miss it. 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...
Chimaera Posted August 26, 2015 Author Share Posted August 26, 2015 https://www.autoitscript.com/site/autoit/downloads/ - Big red button, can't miss it.Thats the one why is the big red button not available on the forum menus at top? If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
Chimaera Posted August 26, 2015 Author Share Posted August 26, 2015 Ok i've installed the beta etcMain script compiled Normal or Beta shows WIN_81 4000 lines approx and accessed like thisCase $T2WinUpdatesButton MsgBox(64, 'OS Check', @OSVersion) If $OS = 'V-' Then ShellExecuteWait('wuauclt.exe') ; XP WinUpdates Sleep(20) Else If @OSVersion = 'WIN_10' Then ShellExecute('ms-settings:windowsupdate') Else ShellExecuteWait('wuapp.exe') ; Vista and above WinUpdates Sleep(20) EndIf EndIfAnd fails with wuapp.exe cannot be found error because its changed in win 10This script compiled Normal or Beta shows WIN_10expandcollapse popup#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_res_requestedExecutionLevel=requireAdministrator #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.10.2 Author: Chimaera Script Function: No Resize GUI #ce ---------------------------------------------------------------------------- #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> ; ------------------------------------------------------------------------------ ;~ #RequireAdmin ; ------------------------------------------------------------------------------ Global $OS $GUI_Start = GUICreate("No Resize GUI", 500, 500, -1, -1, BitXOR($GUI_SS_DEFAULT_GUI, $WS_MINIMIZEBOX)) Local $ButtonTest = GUICtrlCreateButton('Test', 60, 287, 145, 145) GUISetState() While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $ButtonTest MsgBox(64, 'OS Check', @OSVersion) If $OS = 'V-' Then ShellExecuteWait('wuauclt.exe') ; XP WinUpdates Sleep(20) Else If @OSVersion = 'WIN_10' Then ShellExecute('ms-settings:windowsupdate') Else ShellExecuteWait('wuapp.exe') ; Vista and above WinUpdates Sleep(20) EndIf EndIf ;~ Case EndSwitch WEnd Func _OsDetect() Local $OS = 'V+' If @OSVersion = 'WIN_2000' Or @OSVersion = 'WIN_2003' Or @OSVersion = 'WIN_XP' Or @OSVersion = 'WIN_XPe' Then $OS = 'V-' EndIf ;~ ConsoleWrite($OS & @CRLF) Return $OS EndFunc ;==>_OsDetectI may have to pull apart the big script to find whats causing thisIm assuming that the osversion doesn't depend on any other scripts that are included with autoit If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
guinness Posted August 26, 2015 Share Posted August 26, 2015 @OSVersion is script agnostic. It only pulls the version number from the OS using a particular Windows API. So if you're running in "compatibility" mode, then the API will return the version you have specified to run as. 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...
Chimaera Posted August 26, 2015 Author Share Posted August 26, 2015 No its a standard windows 8.1 brand new laptop upgraded to windows 10 straight out the boxI just putMsgBox(64, 'OS Check', @OSVersion)right at the top of my big script before anything else and it shows WIN_81 and thats before anything else loads so i dont know what to say with that.Im going to have to remake it one piece at a time until i find the problem, leave it with me If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
guinness Posted August 26, 2015 Share Posted August 26, 2015 (edited) I understand, but are you familiar with compatibility mode for executables? I suspect your manifest file is set to run the executable as though it's on Windows 8.1 and not 10, which is why @OSVersion shows 8.1. This is why I have asked you to use the likes of ResHacker to grab the manifest file to see if it is exclusively set to run in 8.1. There was a bug in AutoItWrapper whereby it was set to 8.1, but Jos updated this, hence why you should re-download the beta of S4A3 OR just compile with Au2Exe directly. Have you tried that? Instead compiling that MsgBox snippet, head straight to Au2Exe (or whatever it's called) Edited August 26, 2015 by guinness 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 August 26, 2015 Developers Share Posted August 26, 2015 Just run the script you shown from SciTE and show me all the SciTE console output so we can see what is happening.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...
Chimaera Posted August 26, 2015 Author Share Posted August 26, 2015 I understand, but are you familiar with compatibility mode for executables? I suspect your manifest file is set to run the executable as though it's on Windows 8.1 and not 10, which is why @OSVersion shows 8.1. This is why I have asked you to use the likes of ResHacker to grab the manifest file to see if it is exclusively set to run in 8.1. There was a bug in AutoItWrapper whereby it was set to 8.1, but Jos updated this, hence why you should re-download the beta of S4A3 OR just compile with Au2Exe directly. Have you tried that? Instead compiling that MsgBox snippet, head straight to Au2Exe (or whatever it's called)Im not familar with manifest files are they part of AutoIt? never used Reshacker eitherSo are we saying ive saved my exe with some kind of error?Just run the script you shown from SciTE and show me all the SciTE console output so we can see what is happening.JosHere you goWeird thing i copied all my install to guinness AutoIt Portable and ran it as you can see below and all tests came back WIN_10 so i must have a faulty file somewhereeven though i reinstalled Autoit /Scite and Beta fresh todayLarge script beta>"F:\AutoIt Portable\App\SciTE\..\AutoIt3.exe" "F:\AutoIt Portable\App\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /beta /ErrorStdOut /in "F:\# Tailored\# Tech Toolz Code\## TS Toolz 2015v1.au3" /UserParams +>16:02:25 Starting AutoIt3Wrapper v.15.729.1555.1 SciTE v.3.5.4.0 Keyboard:00000809 OS:WIN_10/ CPU:X64 OS:X64 Environment(Language:0809)+> SciTEDir => F:\AutoIt Portable\App\SciTE UserDir => F:\AutoIt Portable\App\SciTE\AutoIt3Wrapper>Running AU3Check (3.3.15.0) params:-d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7 from:F:\AutoIt Portable\App\Beta input:F:\# Tailored\# Tech Toolz Code\## TS Toolz 2015v1.au3+>16:02:28 AU3Check ended.rc:0>Running:(3.3.15.0):F:\AutoIt Portable\App\Beta\autoit3_x64.exe "F:\# Tailored\# Tech Toolz Code\## TS Toolz 2015v1.au3" --> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop+>16:03:41 AutoIt3.exe ended.rc:0+>16:03:41 AutoIt3Wrapper Finished.>Exit code: 0 Time: 79.27---------------------------------------------------------------------------------small test script beta>"F:\AutoIt Portable\App\SciTE\..\AutoIt3.exe" "F:\AutoIt Portable\App\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /beta /ErrorStdOut /in "F:\# Tailored\# Tech Toolz Code\Toolz\Win Updates including 10\test2.au3" /UserParams +>16:05:09 Starting AutoIt3Wrapper v.15.729.1555.1 SciTE v.3.5.4.0 Keyboard:00000809 OS:WIN_10/ CPU:X64 OS:X64 Environment(Language:0809)+> SciTEDir => F:\AutoIt Portable\App\SciTE UserDir => F:\AutoIt Portable\App\SciTE\AutoIt3Wrapper>Running AU3Check (3.3.15.0) from:F:\AutoIt Portable\App\Beta input:F:\# Tailored\# Tech Toolz Code\Toolz\Win Updates including 10\test2.au3+>16:05:09 AU3Check ended.rc:0>Running:(3.3.15.0):F:\AutoIt Portable\App\Beta\autoit3_x64.exe "F:\# Tailored\# Tech Toolz Code\Toolz\Win Updates including 10\test2.au3" --> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop+>16:05:15 AutoIt3.exe ended.rc:0+>16:05:15 AutoIt3Wrapper Finished.>Exit code: 0 Time: 7.388---------------------------------------------------------------------------------large script non beta>"F:\AutoIt Portable\App\SciTE\..\AutoIt3.exe" "F:\AutoIt Portable\App\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "F:\# Tailored\# Tech Toolz Code\## TS Toolz 2015v1.au3" /UserParams +>16:07:30 Starting AutoIt3Wrapper v.15.729.1555.1 SciTE v.3.5.4.0 Keyboard:00000809 OS:WIN_10/ CPU:X64 OS:X64 Environment(Language:0809)+> SciTEDir => F:\AutoIt Portable\App\SciTE UserDir => F:\AutoIt Portable\App\SciTE\AutoIt3Wrapper>Running AU3Check (3.3.14.1) params:-d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7 from:F:\AutoIt Portable\App input:F:\# Tailored\# Tech Toolz Code\## TS Toolz 2015v1.au3+>16:07:34 AU3Check ended.rc:0>Running:(3.3.14.1):F:\AutoIt Portable\App\autoit3_x64.exe "F:\# Tailored\# Tech Toolz Code\## TS Toolz 2015v1.au3" --> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop+>16:07:54 AutoIt3.exe ended.rc:0+>16:07:54 AutoIt3Wrapper Finished.>Exit code: 0 Time: 24.57---------------------------------------------------------------------------------small script non beta>"F:\AutoIt Portable\App\SciTE\..\AutoIt3.exe" "F:\AutoIt Portable\App\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "F:\# Tailored\# Tech Toolz Code\Toolz\Win Updates including 10\test2.au3" /UserParams +>16:06:32 Starting AutoIt3Wrapper v.15.729.1555.1 SciTE v.3.5.4.0 Keyboard:00000809 OS:WIN_10/ CPU:X64 OS:X64 Environment(Language:0809)+> SciTEDir => F:\AutoIt Portable\App\SciTE UserDir => F:\AutoIt Portable\App\SciTE\AutoIt3Wrapper>Running AU3Check (3.3.14.1) from:F:\AutoIt Portable\App input:F:\# Tailored\# Tech Toolz Code\Toolz\Win Updates including 10\test2.au3+>16:06:33 AU3Check ended.rc:0>Running:(3.3.14.1):F:\AutoIt Portable\App\autoit3_x64.exe "F:\# Tailored\# Tech Toolz Code\Toolz\Win Updates including 10\test2.au3" --> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop+>16:06:40 AutoIt3.exe ended.rc:0+>16:06:40 AutoIt3Wrapper Finished.>Exit code: 0 Time: 9.314 If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() 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