• 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: Any way to Rename a File that is being Dragged before it's Dropped?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any way to Rename a File that is being Dragged before it's Dropped?


  • Subject: Re: Any way to Rename a File that is being Dragged before it's Dropped?
  • From: "email@hidden" <email@hidden>
  • Date: Sat, 09 Jan 2016 22:16:40 -0500

Thanks Jens, I will head that way.

Rob

> On Jan 9, 2016, at 7:26 PM, Jens Alfke <email@hidden> wrote:
>
>
>> On Jan 9, 2016, at 2:08 PM, email@hidden wrote:
>>
>> Is there any way to cut out this ’staging’ folder? To somehow Drag a file named: ‘0012345.m4a’ from the server (mounted via AFP) directly onto the Desktop, or an app like Logic, and have it Dropped with a name like: ‘aaa bbb ccc ddd.m4a’?
>
> Sure — in general it’s possible to let the user drag a file that doesn’t exist yet, then create the file in the dropped-on folder. The drag data you provide isn’t a regular file flavor, but a special thing called a “file promise” or “HFS promise” that specifies what type of file it will be; then on drop you get the location to write the file to. The Cocoa docs should have more info.
>
> —Jens


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Any way to Rename a File that is being Dragged before it's Dropped?
      • From: "email@hidden" <email@hidden>
References: 
 >Any way to Rename a File that is being Dragged before it's Dropped? (From: "email@hidden" <email@hidden>)
 >Re: Any way to Rename a File that is being Dragged before it's Dropped? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Panes vs. Separate Windows
  • Next by Date: SOLVED: Strange UIAlertController / UICollectionViewFlowLayout issue
  • Previous by thread: Re: Any way to Rename a File that is being Dragged before it's Dropped?
  • Next by thread: Re: Any way to Rename a File that is being Dragged before it's Dropped?
  • Index(es):
    • Date
    • Thread