![]() ![]() Tell pop up button "旋转:" of tab group 1 of (first window whose name is "LG Ultra HD") of application process "System Preferences"Ĭlick button "确认" of sheet 1 of (first window whose name is "LG Ultra HD") of application process "System Preferences" In script "LG Ultra HD" means your monitor's name, this is useful if you have more than 2 monitors, otherwise, you can replace (first window whose name is "LG Ultra HD") by window 1 if running of application "System Preferences" then If you're using other language, please modify the button name to your language. This script has tested on macos 10.14 for Chinese users. The onus is always upon the User to add/use appropriate error handling as needed/wanted. WINDOWS ROTATE SCREEN HOTKEY CODENote: The example AppleScript code is just that and does not employ any other error handling then what's shown and is meant only to show one of many ways to accomplish a task. Adjust values of and or add/remove the delay commands as appropriate.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |