• 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: Missing class?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing class?


  • Subject: Re: Missing class?
  • From: Jan Bultereys <email@hidden>
  • Date: Tue, 28 Mar 2006 11:18:28 +0200
  • Thread-topic: Missing class?

OK how can I fix it? And why do I miss this class?

on set_item_name(this_item, new_item_name)
    tell application "Finder"
        set the parent_container_path to (the «class ctnr» of this_item) as
text
        if not (exists item (the parent_container_path & new_item_name))
then
            set the name of this_item to new_item_name
            my set_item_name(this_item, new_item_name)
        end if
    end tell
end set_item_name


> From: Shane Stanley <email@hidden>
> Date: Tue, 28 Mar 2006 19:47:24 +1100
> To: AS users <email@hidden>
> Conversation: Missing class?
> Subject: Re: Missing class?
>
> On 28/3/06 7:32 PM, "Jan Bultereys" <email@hidden> wrote:
>
>> How can I troubleshoot this missing class? (class ctnr)
>
> It's "container".
>
> --
> Shane Stanley <email@hidden>
> AppleScript Pro Sessions NJ May 06 <http://www.scriptingmatters.com/aspro>
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> edepot.com
>
> 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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Missing class?
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Missing class? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: a script for saving text from the clipboard to a file
  • Next by Date: Re: Missing class?
  • Previous by thread: Re: Missing class?
  • Next by thread: Re: Missing class?
  • Index(es):
    • Date
    • Thread