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: CYB <email@hidden>
- Date: Sun, 06 Jul 2008 20:20:39 -0500
- Thread-topic: help needed - Broken (folder of front window)
Michael, I just copy-paste your code in Leopard and works ok here, I don't
see anything wrong
Carlos Ysunza B.
Director
Ysunza/Santiago
Comunicación Visual Automatización
Tel. (52)55 5256-0336
email@hidden
http://www.ysunzasantiago.com
http://www.thesecretmexico.com
http://www.softrobot.com.mx
> From: Nigel Garvey <email@hidden>
> Date: Sun, 6 Jul 2008 11:11:56 +0100
> To: AppleScript Users <email@hidden>
> Subject: Re: help needed - Broken (folder of front window)
>
> Michael Cytrynowicz wrote on Fri, 4 Jul 2008 16:24:06 -0700:
>
>> 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."
>
> The syntax in OS X is:
>
> tell application "Finder" to set the source_folder to (target of the
> front Finder window) as alias
>
> Hopefully, this works in Leopard too, which I don't yet have to be able
> to test it. You do also need to have at least one 'Finder window' open at
> the time, of course. :)
>
> NG
>
>
_______________________________________________
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