Re: Old scripts failing
Re: Old scripts failing
- Subject: Re: Old scripts failing
- From: Christopher Stone <email@hidden>
- Date: Tue, 16 Apr 2019 17:00:37 -0500
On 04/16/2019, at 15:42, Robert Poland <email@hidden
<mailto:email@hidden>> wrote:
> These failed scripts are called from a Keyboard Maestro command.
Hey Bob,
Hmm...
You've quit and restarted the Keyboard Maestro Engine and/or the macOS?
Give this a try:
set folderName to "T'ai Chi Chih~ƒ"
set chiFolder to (path to desktop folder as text) & folderName
tell application "Finder"
set windowList to name of windows
if windowList contains folderName then
close window folderName
else
open alias chiFolder
end if
end tell
--
Take Care,
Chris
_______________________________________________
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