Save the service. Use a descriptive name, as it is the name that will appear in the Services menu. You can see in the screenshot above that I named the service Lock Screen. Open System Preferences, select Keyboard and then the Shortcuts tab.
Under General locate Lock Screen and assign a key shortcut to it. As you can see, I chose Control Command L :. The Lock Screen service is now accessible from any application as an entry in the Services menu:.
The eject key unfortunately does not have a key code, so either they keyboard supports it or it doesn't, and you have to make a workaround. You can create a new shortcut by following these steps:.
Open Automater and create a Service with a single "Run AppleScript" action, containing the following code:. Make sure the Service is set to receive "no input", and work in "any application". Save it with a name of your choosing. Go into Keyboard preferences, click on the Shortcuts tab, and click on Services. The newly created service should be near the bottom. Click on the service, then click on "add shortcut", and specify a shortcut to your liking.
You may have to give Automator access by adding it to the list of applications in Accessibility under the Privacy tab in Security and Privacy.
Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. There is another open source software that works with my A apple keyboard on windows Try it : Apple Wireless Keyboard Remember to select restart from tray icon after configuration change.
Improve this answer. Welcome to Ask Different! We're trying to find the best answers and those answers will provide supporting info as to why they're the best. See How to Answer on how to provide a quality answer.
This is on GitHub now: github. That sounds like a neat little utility. But, how does it remap the Fn key and Eject key? The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related Direct key to open dvd in window 7?
Keyboard shortcut to open cd drice? How to ejecj cd using keyboard cmnd? Short key eject dvd driver in windows 7, how to eject a dvd in windows 7 from keyboard? Short cut to open dvd drive windows 8? Windows 8 shortcut to eject dvd? Short keys open a dvd rom? How to eject cd with keyboard strokes win 7? Eject cd drive windows 7 shortcut? Shortcut key for dvd eject?
How to eject dvd drive with keyboard windows 7? Shortcut key of cd dvd writer eject? Shortcut to eject cd in windows 7? Eject shortcut pc on keyboard? Keyboard Shortcut to open the cd drive in windows 7? How to eject cd drive windows 7? What keyboard combinations open a dvd rom on windows? Cd drive eject keyword sutcurt? Keyboard commands to insert dvd? Keyboard shortcut windows 7 eject cd? Cd rom eject hotkey? Tomany short cuts of cd rome drive? Dvd room how to open shortcut? Eject shortcut key keyboard windows 7?
My windows 8.
0コメント