Post

Replies

Boosts

Views

Activity

Reply to Error "The application "Preview" can't be opened" -1703
Hello, try this, it must be OK : set path_to_Applet_alias to path to me as alias set help_file to (path to resource "Help.pdf" in bundle path_to_Applet_alias) as string tell current application to do shell script "open " & quoted form of POSIX path of help_file And my example is now working: tell application "Finder" set myTest to selection repeat with itemTest in myTest tell current application to do shell script "open " & quoted form of POSIX path of (itemTest as string) end repeat end tell
Mar ’22
Reply to Error "The application "Preview" can't be opened" -1703
Monterey 12.3.1 seems to be OK for this... Thanks Apple <);o)
Replies
Boosts
Views
Activity
Apr ’22
Reply to Error "The application "Preview" can't be opened" -1703
Hello, try this, it must be OK : set path_to_Applet_alias to path to me as alias set help_file to (path to resource "Help.pdf" in bundle path_to_Applet_alias) as string tell current application to do shell script "open " & quoted form of POSIX path of help_file And my example is now working: tell application "Finder" set myTest to selection repeat with itemTest in myTest tell current application to do shell script "open " & quoted form of POSIX path of (itemTest as string) end repeat end tell
Replies
Boosts
Views
Activity
Mar ’22
Reply to Error "The application "Preview" can't be opened" -1703
Same for me since Monterey 12.3 Since this last upgrade i have the same error (with the app name corresponding to the files in selection) Try this simple code with selection of files in Finder : tell application "Finder" set myTest to selection repeat with itemTest in myTest open itemTest end repeat end tell
Replies
Boosts
Views
Activity
Mar ’22
Reply to Error "The application "Preview" can't be opened" -1703
Same for me since Monterey 12.3 Since this last upgrade i have the same error (with the app name corresponding to the files in selection) Try this simple code with selection of files in Finder : tell application "Finder" set myTest to selection repeat with itemTest in myTest open itemTest end repeat end tell
Replies
Boosts
Views
Activity
Mar ’22