applescript
Prompt user for password with dialog window when using sudo
I need to execute a command wi开发者_如何学运维th sudo and want to display a dialog window for the user to enter their credentials. Attempts to customize a prompt with Applescript have been nothing sh[详细]
2023-03-28 14:49 分类:问答AppleScript undefined variable
I know this is a quite simple script, but I keep getting an error message about an undefined variable. When I do, the result that is right before = \"App Store\" gets highlighted. I have tries rewriti[详细]
2023-03-28 13:02 分类:问答How to remotely trigger Applescript for Keynote on a MacBook from an iPad
I am trying to figure out if I can remotely control KeyNote running on a MacBook (connected to video projection system) from an iPad. Specifically, when lecturing, I would like to be able to create a[详细]
2023-03-28 05:58 分类:问答applescript how to ignore Browse window if application not found afte "tell application X to launch"?
I\'ve got small launcher script, which launches some apps on system startup. Lately, I\'ve deleted on of the apps and every time it launches it shows me a browse window to loca开发者_StackOverflow社区[详细]
2023-03-28 05:58 分类:问答AppleScript - StackOverflow error
I just started using applescript today, and heard about subroutines. So I decided to write a little test program that takes a number, increments it by 9, subtracts 27, divides by 3, and then returns t[详细]
2023-03-28 00:33 分类:问答Translate AppleScript to Python appscript (`do javascript`)
This is the AppleScript template: tell application \"Adobe Photoshop CS5\" set theFile to alias “Application:Documents:MyFile” open theFile[详细]
2023-03-27 23:44 分类:问答AppleScript display dialog and number arrays
A fairly basic problem here, but almost no AppleScript experience. I\'ve got an array of numbers that I\'d like to list in a display dialog so the final output looks like this:[详细]
2023-03-27 16:49 分类:问答How to change space with applescript
I have the following applescript to skip songs in spotify. If I call the script when a fullscreen application is the frontmost, the application will not be visible after the script has finished. It wi[详细]
2023-03-26 04:03 分类:问答Applescript: Safari Can't Save Web Page (AppleEvent Handler Fails Error)
I want safari to download and save a web page using apple automator.With a Safari window open开发者_Python百科, I run the following script in AppleScript Editor:[详细]
2023-03-25 21:16 分类:问答Applescript launching of Spotlight?
I tried to use the following to open the Sp开发者_如何学Cotlight search box: tell application \"System Events\"[详细]
2023-03-25 20:53 分类:问答