Automate clicking a button in iOS Simulator using AppleScript from Mac OS
I have problems accessing the specific button element to perform a click. When I view the Hierarchy using Accessibility Inspector, I see the following
Applescript works on one document but breaks on an almost identical document
— Code Set 1 tell application “Pages” activate try set theDoc to the front document tell theDoc set theText to body text as text set updatedText to my replaceScriptureReferences(theText) set body text to updatedText end tell on error errMsg display dialog “Error: ” & errMsg buttons {“OK”} default button “OK” giving up after 5 end […]
Applescript works on one document but breaks on an almost identical document
— Code Set 1 tell application “Pages” activate try set theDoc to the front document tell theDoc set theText to body text as text set updatedText to my replaceScriptureReferences(theText) set body text to updatedText end tell on error errMsg display dialog “Error: ” & errMsg buttons {“OK”} default button “OK” giving up after 5 end […]
Applescript error -1728 while moving file to different folder
I am trying to move the currently viewed file, in my case images, in the preview to a different folder with AppleScript. Idea is to create a shortcut with this AppleScript to easily go through my images and sort them.
Applescript error -1728 while moving file to different folder
I am trying to move the currently viewed file, in my case images, in the preview to a different folder with AppleScript. Idea is to create a shortcut with this AppleScript to easily go through my images and sort them.
Why Applescript doesn’t retrieve all the selected text as an input?
I’m using a simple AppleScript in Automator.
Copy or create an image into every folder created by an Apple Script
I’ve written an AppleScript that creates a folder structure of my photography workflow. This script works great. However, since Adobe Lightroom won’t recognize an empty folder, I’m trying to figure out how to copy (or create) a placeholder image into each folder that script creates, but I can’t get figure out how to do it. Here is the folder script:
Applescript closing wrong app after I associated the name with wrong process
I copied this script, and it works great:
How do I click a button to change main display in System Settings using AppleScript?
Noob here,
Applescripts `data size` command always returns 0 bytes
I tried to execute the data size
command with applications, folders and files, but every time it returned 0 bytes.