Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

brifilone

macrumors newbie
Original poster
Mar 27, 2022
3
0
getting errors "Adobe Acrobat cannot be opened" or Indesign or whatever application I am trying to open a document in.
My default way of opening documents used to be to set the file path to the document and tell the Finder to open it , kinda like double clicking on it in the finder


Tell application "Finder"
set myFile to "Macintosh HD:Users:user:desktop:my_pdf.pdf" as alias
open myFile
end tell

but that just stopped working in 12.3 (was working still in 12.1) get the error "Adobe Acrobat cannot be opened"
now I have to tell the application itself to open it and that seems to be working.

set myFile to "Macintosh HD:Users:userdesktop:my_pdf.pdf" as string
Tell application"Adobe Acrobat
open file myFile
end tell
 

MikeDr206

macrumors 6502a
Oct 9, 2021
513
359
Here’s another thread About this issue.


i suspect it’s not a bug, but some sort of new security feature. I’m holding off on updating to 12.3 until I have a free weekend to go through all my AppleScripts
 

brifilone

macrumors newbie
Original poster
Mar 27, 2022
3
0
I gotta a lotta rewriting to do if our team at work is gonna upgrade to Monterey
I initially said "ALL Clear" to upgrade because I tested everything when it was 12.1
now Monday morning I have to say "DONT DO IT!"
our company uses around 100 applescripts that I wrote for them
 

brifilone

macrumors newbie
Original poster
Mar 27, 2022
3
0
Here’s another thread About this issue.


i suspect it’s not a bug, but some sort of new security feature. I’m holding off on updating to 12.3 until I have a free weekend to go through all my AppleScripts
yes read thru that one first thanks! Thought I would post one that just dealt with the one issue and its fix
 

MikeDr206

macrumors 6502a
Oct 9, 2021
513
359
I gotta a lotta rewriting to do if our team at work is gonna upgrade to Monterey
I initially said "ALL Clear" to upgrade because I tested everything when it was 12.1
now Monday morning I have to say "DONT DO IT!"
our company uses around 100 applescripts that I wrote for them
I was pleased when I upgraded to 12.2.1 from Big Sur that nothing broke other than a weird FaceTime issue, which is apparently fixed in 12.3. But I similarly have more than 50 AppleScripts for managing workflow, and so now we’re staying on 12.2.1 for the timebeing.
 

TriciaMacMillan

macrumors 6502
Nov 10, 2021
251
149
i suspect it’s not a bug, but some sort of new security feature. I’m holding off on updating to 12.3 until I have a free weekend to go through all my AppleScripts

I don’t remember it being mentioned in the official release info, was it?
 

bogdanw

macrumors 603
Mar 10, 2009
6,099
3,012
Five CVEs related to AppleScript in macOS 12.3
AppleScript
Available for: macOS Monterey
Impact: Processing a maliciously crafted AppleScript binary may result in unexpected application termination or disclosure of process memory
Description: An out-of-bounds read was addressed with improved input validation.
CVE-2022-22625: Mickey Jin (@patch1t) of Trend Micro
AppleScript
Available for: macOS Monterey
Impact: An application may be able to read restricted memory
Description: This issue was addressed with improved checks.
CVE-2022-22648: an anonymous researcher
AppleScript
Available for: macOS Monterey
Impact: Processing a maliciously crafted AppleScript binary may result in unexpected application termination or disclosure of process memory
Description: An out-of-bounds read was addressed with improved bounds checking.
CVE-2022-22626: Mickey Jin (@patch1t) of Trend Micro
CVE-2022-22627: Qi Sun and Robert Ai of Trend Micro
AppleScript
Available for: macOS Monterey
Impact: Processing a maliciously crafted file may lead to arbitrary code execution
Description: A memory corruption issue was addressed with improved validation.
CVE-2022-22597: Qi Sun and Robert Ai of Trend Micro

https://support.apple.com/en-us/HT213183
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.