Chantaro Posted September 29, 2021 Share Posted September 29, 2021 Hello everyone I am having trouble trying to run the Sticky Notes program in windows. When I use: ShellExecute("C:\Windows\System32\StikyNot.exe") I keep getting an Error that it cannot be located even though it is definitely right there in that spot. The ScriptDir is located in @UserProfileDir & "\Downloads" if that matters. Anyone got any Ideas? Kind Regards Chantaro Link to comment Share on other sites More sharing options...
AlessandroAvolio Posted September 29, 2021 Share Posted September 29, 2021 Put this code at the top of your program, otherwise copy stikynot.exe to C : \ Windows \ SysWOW64 #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_UseX64=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** Link to comment Share on other sites More sharing options...
AlessandroAvolio Posted September 29, 2021 Share Posted September 29, 2021 Plus run ShellExecute("stikynot.exe") instead Link to comment Share on other sites More sharing options...
Chantaro Posted September 29, 2021 Author Share Posted September 29, 2021 Sadly I cannot move the exe for my use case and adding the x64 wrapper didn't do the trick Link to comment Share on other sites More sharing options...
AlessandroAvolio Posted September 29, 2021 Share Posted September 29, 2021 You have to use the command: #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_UseX64=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** ShellExecute("stikynot.exe") Link to comment Share on other sites More sharing options...
Chantaro Posted September 29, 2021 Author Share Posted September 29, 2021 (edited) I did yes stikynot could not be found. Make sure you've entered the name correctly and retry Edited September 29, 2021 by Chantaro Link to comment Share on other sites More sharing options...
AlessandroAvolio Posted September 29, 2021 Share Posted September 29, 2021 I notice that you have Windows 10. Since you said you were certain that the Sticky Note executable file was present in the System32 folder I assumed that your computer was running Windows 7 as the operating system. Following an old update, the old Sticky Notes is no longer available on Windows 10. In its place, Microsoft has put an application that can be downloaded from its store. With Windows 7 you can encounter this error if the application that should open Sticky Notes is 32-bit. Are you sure that stikynot.exe is present in 😄 \ System32? Link to comment Share on other sites More sharing options...
Chantaro Posted September 29, 2021 Author Share Posted September 29, 2021 Hah😃, actually I am using Windows 8.1 on this machine. And yes unless I am blind it's here: Link to comment Share on other sites More sharing options...
AlessandroAvolio Posted September 29, 2021 Share Posted September 29, 2021 I notice that the compiler directive is not highlighted in red. Do you get AutoIt3Wrapper GUI if you press CTRL + F7 From SciTE? Link to comment Share on other sites More sharing options...
Developers Solution Jos Posted September 29, 2021 Developers Solution Share Posted September 29, 2021 Pretty sure the OP is missing the separate full SciTE4AutoIt3 version. @Chantaro, just install the full version and then the #Autoit3Wrapper directives will work. 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...
Chantaro Posted September 30, 2021 Author Share Posted September 30, 2021 Thank you @AlessandroAvolio and @Jos! That did the trick 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