• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: help needed - Broken (folder of front window)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >help needed - Broken (folder of front window) (From: Michael Cytrynowicz <email@hidden>)

  • Prev by Date: Re: help needed - Broken (folder of front window)
  • Next by Date: Simple text question
  • Previous by thread: help needed - Broken (folder of front window)
  • Next by thread: Re: help needed - Broken (folder of front window)
  • Index(es):
    • Date
    • Thread