• 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: Delete Bug or Feature?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delete Bug or Feature?


  • Subject: Re: Delete Bug or Feature?
  • From: Doug Adams <email@hidden>
  • Date: Tue, 12 Feb 2008 11:40:59 -0500

On Feb 12, 2008, at 11:07 AM, Mark J. Reed wrote:

On Feb 12, 2008 10:22 AM, Doug Adams <email@hidden> wrote:
As of iTunes 7.6, using delete to remove a track from library playlist 1 will also move the
tracks file to the Trash.

Is there perhaps an optional clause to the delete command that will prevent it from doing that?


There are no optional parameters for delete. From iTunes' aete:

	delete v : Delete an element from an object
	delete specifier : the element to delete

There is no suggestion that a file can/shall/will be moved to the Trash, only that an element (a track or playlist) will be deleted from an object (a playlist or source).

I've always thought that "remove" would be a better command name in this situation than "delete". It is too similar to the Finder's delete command, which *does* move a file/alias to the Trash.

By the way, I have tested this with iTunes v7.5 and the delete command works as expected. So it appears to be an issue with iTunes v7.6.

Doug
--
Doug's AppleScripts for iTunes
http://dougscripts.com/itunes/
RSS feed:
http://dougscripts.com/itunes/dougs.rss
30 Most Recent Scripts:
http://dougscripts.com/itunes/dougsupdated.rss




_______________________________________________ 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
  • Follow-Ups:
    • Re: Delete Bug or Feature?
      • From: has <email@hidden>
References: 
 >Re: Delete Bug or Feature? (From: Doug Adams <email@hidden>)
 >Re: Delete Bug or Feature? (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Delete Bug or Feature?
  • Next by Date: Re: Unble to run Script based application
  • Previous by thread: Re: Delete Bug or Feature?
  • Next by thread: Re: Delete Bug or Feature?
  • Index(es):
    • Date
    • Thread