Re: help needed - Broken (folder of front window)
Re: help needed - Broken (folder of front window)
- Subject: Re: help needed - Broken (folder of front window)
- From: Ronald Hofmann DE <email@hidden>
- Date: Mon, 7 Jul 2008 06:32:32 +0200
I got the same thing.
The reason was, that there was no window open in the Finder.
Using a try block or opening a window was the fix.
Ronald
---
Am Sa05.07.2008 ยท 27 um 01:24 schrieb Michael Cytrynowicz:
Hi all,
Just installed Leopard, and several of my scripts broke, one of them
here:
tell application "Finder" to set the source_folder to (folder of the
front window) as alias
I get this error:
"Can't make <<class cfol>> of window 1 of application "Finder" into
type alias."
What's happening?
Tx for any clues!
(Happy 4th for those in the US!)
mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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