Post not yet marked as solved
I am trying to get the title of the slides.
But it is not working with apple script, can anyone please help me with this?
This is the code I have written in AppleScript.
tell application "Keynote"
activate
tell the first slide
set slideone to first slide of document 1
set mytitlename to title of slideone
end tell
end tell
Post not yet marked as solved
Hi guys,
Using Automator I have created 3 workflows and then a "master" workflow to perform each of the 3 workflows one after the other and then loop back to the start.
The workflows all work fine when run on their own, but when run from the "master" flow it's gets halfway through the second workflow and I get the "Could not communicate with helper application" error message.
The action it seems to be failing on is a Shell Script where I generate a random number and set it as a variable.
Does anyone know where I'm going wrong?
Post not yet marked as solved
Ultimately, I'm trying to download files from my email.
I set up a workflow with "Find Mail Messages" and "Get Attachments from Mail Messages". I'm receiving 3 files every time when I only have 1 email that meets the criteria entered. Please help. My only guess is that it could be related to the fact that I have my email account running through Mail, Outlook, & Gmail? I don't know how to resolve this even if this is the case. Thanks in advance.
Post not yet marked as solved
I am trying to get a workflow in Automator.
I recorded action via "Watch Me Do". And when I replayed, it works well.
When I dragged the action into AppleScript editor, it does not work anymore.
Screenshots :
All I want is to have something that works for commune_1 and edit the script to do the same actions for commune_2, commune_3 and so on.
Post not yet marked as solved
Hey !
I'm trying to create a Quick Action on selected files (images & PDFs) that would :
resize images larger than 1200px
convert images to PDFs
combine all PDF documents (selected PDFs + images now converted to PDFs) into one PDF file
save this new PDF in the current folder (if possible with the name of the file on which the user right-clicked to launch the Quick Action)
I'm messing around with 'New PDF from Images' and 'Combine PDF Pages', but I can't seem to achieve what I want. I'm especially stuck when it comes to handling files and places (saving the document in the current folder, taking only images as input for an action, ...).
Could someone help me shed a light on this problem ?
Thank you very much,
Alix
Basic Information
Automation forcing to tap on screen - application run command is not reacting to 'ask when run' unslide during connection or disconnection to Carplay
https://discussions.apple.com/content/attachment/00d1627f-dcaa-4ddf-995a-c1b75560d096
translation:
When connecting to Carplay
Tap, to run "open application
Next"
Issue
I have noticed since iOS 14.3 and iOS 14.4 automations are working different with Carplay.
Previously i was able to create the automation with follwing steps: open waze
open spotify
open sygic
Of course i set it to 'do not ask when run' and set to run when i am connecting.
At now, the automation is forcing me me to confirm by tapping the phone each time i am entering the car to allow the 'open' command for application what i want to run in background.
Commands like 'play' or 'turn on gsm' are working without confirmation, but 'run app' not.
Most probably the issue is not related only to Carplay automation, but for Automation as is.
I tested on few carplay units, all same effect, BMW 330i F30 OEM carplay, BMW 428i F32 + Andream MMI
Steps to reproduce: create automation for Carplay
unslide 'ask to run'
add 'open appliction' as action
lock the phone and ensure it is locked in pocket
turn on the car with paired carplay
observe the automation is NoT running while connecting do Carplay.
on the phone you will see notification about allowig app to run.
I tested it also on my second phone with 14.0.2 ios (older) and is working perfectly. Whan i unlide 'ask to run' it is just opening an apps and not asking them to run.
Raised on feedback but nobody seems to care:
https://feedbackassistant.apple.com/feedback/8950377
https://discussions.apple.com/thread/252212356?login=true&page=1
How can i submit that to Apple to get at least any response?
Post not yet marked as solved
I have an application that uses automation to open by time tricker but recently update the app has to use the username and password to lock in. however, my iPhone already remembers the username and password to lock in but needs a passcode or face-id to confirm.
the Q is how to autorun this app and input username and password by time
thank in advance
Post not yet marked as solved
Hello
I am new to this field. Thanks for your understanding.
I have this small automator programme which works fine
on run {input, parameters}
set dateString to do shell script "date +'%Y.%m.%d'"
tell application "System Events"
keystroke dateString
end tell
end run
When I'm trying to run it from system preferences/keybord/services I get this error
The action “Run AppleScript” encountered an error: “The operation couldn’t be completed. (com.apple.Automator error -212.)”
My Mac version is 11.6.3
Where is the bug?
Thanks
Post not yet marked as solved
I always get this crash just Monkey test. I don't know that lead to crash.
Exception Type: SIGABRT
Exception Codes: #0 at 0x1b6ef59c4
Crashed Thread: 0
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Shouldn't have translate session'
Post not yet marked as solved
I am using Apple Automator tool for some of my work but unfortunatly I am facing below attached issue it was working fine in earlier OS version like Catalina.
AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x7fff8ac86a10) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1063bb8c0). One of the two will be used. Which one is undefined.
objc[1159]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x7fff8ac86a60) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1063bb910). One of the two will be used. Which one is undefined.
Post not yet marked as solved
Whenever I try using a variable in the Run Workflow action, it will work while the project is open, but if I save and close the project, all my variables are removed from the Run Workflow boxes (they will read "None").
Is something wrong?
Creating an Automator Action in ObjC with Xcode 13.2.1 after following the method in Technical Q&A QA1885. The project builds without errors but testing stops with an error "Could not attach to PID XXXX" (see details below). It says to look in the Console for help "near the debugserver entries" and I don't know what that means or where that might exist.
So, is there an update since 2015 on testing Automator actions? Or is there some other Xcode setting or privacy setting I need to set?
Could not attach to pid : “15665”
Domain: IDEDebugSessionErrorDomain
Code: 3
Failure Reason: attach failed (Not allowed to attach to process. Look in the console messages (Console.app), near the debugserver entries, when the attach failed. The subsystem that denied the attach permission will likely have logged an informative message about why it was denied.)
Post not yet marked as solved
Hi, I was trying to create an automator plugin for the first time, but the documentation for this appears to be very dated. It suggested that I would be able to debug this by running the Automator executable with my plugin name/location as an argument (spcifically -action "${BUILT_PRODUCTS_DIR}/${FULL_PRODUCT_NAME}"). However, when I tried to run within Xcode, all I see is this message:Message from debugger: cannot attach to process due to System Integrity ProtectionSince the "System Integrity Protection" is new, I am guessing that the automator plugin documentation was not updated to show how we can debug such a plugin. Are Automator plugins no longer supported? If they are, does anymoe know how to debug one?Best,Jaime
Post not yet marked as solved
I have a workflow which is installed as a Service. It is used to call code in my AppleScript applet. The Service has one action: a "Run AppleScript" action. I update the Service quite often with improvements.
I need a way to know whether my users' copy of the Service is out-of-date. I have developed some ideas:
First is to compare file size of user's copy against the copy being distributed. If they are different, then, the user's copy is out-of-date and needs to be updated. That works except that users need to be able to retain changes to their copy of the Service which should not be over-written my by applet.
Second is to make a custom property in the workflow's info.plist file. That, however, is over-written by Automator when it saves the workflow.
Third is to add a comment to the AppleScript code inside the workflow which can be interrogated by my applet. That does work but, opening and reading the workflow file seems like over-kill and runs the risk of that file being over-written or the XML code being corrupted.
Fourth is to add a plain text file to the contents of the workflow which would contain the version detail. My applet could then interrogate that file to get the version and this know whether the user's copy is out-of-date.
I'm inclined to using the 4th idea. However, all of those ideas are kludges.
Is there an Apple sanctioned method of versioning an Automator service workflow ?
Thanks.
Post not yet marked as solved
Hi All,
Back to scripting Quicktime with Applescript, I assess the following line now fails :
open image sequence seq1 frames per second 24
What I want it to automate .mov generation form numerous and large jpeg image sets, in Quicktime, through pure Applescript or Automate.
I have spent hours on Google to sort it out and it seems there are no recent talks on such an issue.
What is the issue ?
Any helps or scriptlet will be much appreciated
Post not yet marked as solved
I am trying to create an application shortcut in Automator to open a java based .jar file for a PLP tool on my MacBook Air M1.
When I try to open a .plp file I get the following error:
The action "Run Shell Script" encountered an error: "zsh:3 is a directory: Application"
I have checked the path and have my program and files all stored in my Applications folder.
Any ideas?
Post not yet marked as solved
When running a cfgutil command I can verify across multiple OS versions, 10.15.7, and 11 that we get the following.
% cfgutil get all
objc[2358]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x7fff8ad23a30) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10681a8c0). One of the two will be used. Which one is undefined.
objc[2358]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x7fff8ad23a80) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10681a910). One of the two will be used. Which one is undefined.
cfgutil: error: Error Domain=NSCocoaErrorDomain Code=3840 "Found non-key inside dict at line 112188" UserInfo={NSDebugDescription=Found non-key inside dict at line 112188, kCFPropertyListOldStyleParsingError=Error Domain=NSCocoaErrorDomain Code=3840 "Malformed data byte group at line 1; invalid hex" UserInfo={NSDebugDescription=Malformed data byte group at line 1; invalid hex}}
Hi All, first post, so be kind please. :)
Goal is to get a series of trivia keynote decks generated with solely info from a numbers table. Getting Error -1700: Can't convert types.
Can anyone at a basic level tell me what this means? I'm fine with building the rest of the code myself, I just don't understand this portion. Thanks.
Create New Slides from Table
Post not yet marked as solved
We have a test farm of iPads and iPhones which we are managing through cfgutil. We are trying to update iOS and push new software to around 40 devices, but cfgutil only lists some of them depending on how we connect our USB hub tree. All devices are at the same tree depth, but seems to stop after around 22 devices. All devices happily report when we ls the USB tree so doesn’t seem to be a usb issue.
Has anyone else observed a limit on the number of devices before the 127 limit of the USB protocol?
The USB tree is uniform and only 3 hubs deep.
Post not yet marked as solved
I have a service I use that employs a calendar from appointment.com.
in each day of the calendar the word "schedule" is there either in blue (available) or grey (unavailable).
I've tried a tab refresh to watch the page, but refresh goes back to the main login page and not the calendar.
So, i thought a script that monitors that month's calendar to see when a)the word "schedule" appears, and b)lets me know when it is also "blue". I believe i have the two proper color hex codes for the blue and grey too.
Is this something that can be done in Automator? I've made automated processes that run through different menu links on sites before (to save clicks and such).
I've just never had it monitor for a word to pop up and check it's color.
Thoughts?
Thanks in advance.