somdcomputerguy Posted January 22, 2014 Posted January 22, 2014 ... how do you set a shortcut always on top?Put it in the task bar. Technically it's not 'always on top', but it'll be visible unless a full screen app is running. And the task bar itself is visible.. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
BrewManNH Posted January 22, 2014 Posted January 22, 2014 this also do not works on win7 x64Of course this works on Windows 7, x64 and x86. What makes you say it doesn't?If you're running an x86 process, @SystemDir points to SYSWOW64, but there's an OSK.exe in there as well. If you're running an x64 process it points to system32. That doesn't mean it doesn't work, it only means you need to know what you're doing with it. BTW, using C:\Windows\System32\ in an x86 process points the script to syswow64 as well. 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
l3ill Posted January 22, 2014 Posted January 22, 2014 ... how do you set a shortcut always on top? The shortcut would not be on top but having a Keyboard Shortcut (like Ctrl Shift K) to the desktop shortcut would give you access to the Virtual Keyboard via shortcut or "hotkey" an alternate plan so to speak.... My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example
Gianni Posted January 22, 2014 Posted January 22, 2014 Put it in the task bar. Technically it's not 'always on top', but it'll be visible unless a full screen app is running. And the task bar itself is visible.. ... another way to go ... Of course this works on Windows 7, x64 and x86. What makes you say it doesn't? If you're running an x86 process, @SystemDir points to SYSWOW64, but there's an OSK.exe in there as well. If you're running an x64 process it points to system32. That doesn't mean it doesn't work, it only means you need to know what you're doing with it. BTW, using C:\Windows\System32\ in an x86 process points the script to syswow64 as well. when I run the script on win7 x64 using ShellExecute(@SystemDir & "osk.exe") I get an error message popup from the osk itself that says: "Impossible to start on screen keyboard" The shortcut would not be on top but having a Keyboard Shortcut (like Ctrl Shift K) to the desktop shortcut would give you access to the Virtual Keyboard via shortcut or "hotkey" an alternate plan so to speak.... ... maybe OP need to use osk virtual keyboard because him has not the real one or maybe is broken, so to setup an hotkey could not be the right direction .... Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....
BrewManNH Posted January 22, 2014 Posted January 22, 2014 when I run the script on win7 x64 using ShellExecute(@SystemDir & "osk.exe") I get an error message popup from the osk itself that says: "Impossible to start on screen keyboard" ... maybe OP need to use osk virtual keyboard because him has not the real one or maybe is broken, so to setup an hotkey could not be the right direction .... I don't get that message on Win 7 x64 here, running the script in x64 mode, it just runs the OSK. I do get it when I run that command, on a Win 7 x64 system, and specify to run the script in x86 mode. I'm guessing it's a Windows thing in that case. 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
l3ill Posted January 22, 2014 Posted January 22, 2014 ... maybe OP need to use osk virtual keyboard because him has not the real one or maybe is broken, so to setup an hotkey could not be the right direction .... Good Point..... but if you are having this much trouble getting the exe to run maybe you could change the code to start the shortcut. ...but how to type script with no keyboard ? My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example
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