Somehow calling Finder?
Somehow calling Finder?
- Subject: Somehow calling Finder?
- From: "email@hidden via AppleScript-Users" <email@hidden>
- Date: Sun, 19 Apr 2020 00:10:52 -0700
Hi - I’ve got an AppleScript that I use to either open or close an image using
the Preview application when I press a keyboard shortcut (using Alfred). For
some reason, when it takes the “open” path, the Finder application flashes
instantaneously just before the image is displayed.
set appName to "Preview"
if application appName is running then
tell application appName
quit “Users:public:repos:applescript:applescript_keyboard.png"
end tell
else
tell application appName
open “Users:public:repos:applescript:applescript_keyboard.png"
end tell
end if
Is there a way to call it without flashing Finder?
Thanks,
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden