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

Missing class?


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

Title: Missing class?
Hi,

How can I troubleshoot this missing class? (class ctnr)

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

Thanks for any input
jan
 _______________________________________________
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>
  • Prev by Date: Re: a script for saving text from the clipboard to a file
  • Next by Date: Re: Missing class?
  • Previous by thread: Scripting Mail message redirection
  • Next by thread: Re: Missing class?
  • Index(es):
    • Date
    • Thread