>> So, change [QSFinderProxy moveFiles:toFolder:shouldCopy:] to use the
> cocoa method instead of applescript, it should be fine.
> Not forgetting to add the 'copy' sound back in ;)
> Personally, I prefer the finder method of always copying. But of course we
> should change this if the majority of users would prefer it this way :)

I don't really care either way. I don't copy/move much to other volumes.
Just thought I'd point out a possible solution. And of course I forgot
about the sound. :-)

>
> On 1 November 2011 13:31, Henning Jungkurth <[email protected]>
> wrote:
>>
>> > I wonder if there’s a Cocoa way to force a literal move. If not, maybe
>> > we
>> > should rename the action to “Drag to…” or something. :)
>>
>> From what I read in the documentation of [NSFileManager
>> moveItemAtPath:toPath:error:]
>>
>> (http://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSFileManager_Class/Reference/Reference.html#//apple_ref/occ/instm/NSFileManager/moveItemAtPath:toPath:error:)
>> it does a literal move by default:
>> If the source and destination of the move operation are not on the
>> same volume, this method copies the item first and then removes it
>> from its current location.
>>
>> But QS uses applescript instead, which does the copying instead of
>> moving. See here:
>>
>> https://github.com/quicksilver/Quicksilver/blob/master/Quicksilver/PlugIns-Main/Finder/QSFinderProxy.m#L51
>>
>> So, change [QSFinderProxy moveFiles:toFolder:shouldCopy:] to use the
>> cocoa method instead of applescript, it should be fine.
>>
>>
>> On Tue, Nov 1, 2011 at 2:06 PM, Rob McBroom <[email protected]>
>> wrote:
>> > On Nov 1, 2011, at 3:44 AM, Patrick Robertson wrote:
>> >
>> > This is the correct behaviour, and it reflects what the Finder would do.
>> > When copying/moving across a network Finder always choses to Copy, I
>> > guess
>> > for safety reasons (if your network became disconnected or something)
>> >
>> > The copy action in Quicksilver always copies. The move action simulates
>> > dragging the file in Finder (not necessarily moving or copying). On the
>> > same
>> > disk, dragging will move. On  different disk, dragging will copy.
>> > I don’t think it’s a safety thing, because the source file isn’t removed
>> > until the “move” finishes. You can move across disks by holding ⌘ while
>> > dragging. The reason Quicksilver copies is that there’s no way to supply
>> > this modifier.
>> > I wonder if there’s a Cocoa way to force a literal move. If not, maybe
>> > we
>> > should rename the action to “Drag to…” or something. :)
>> > --
>> > Rob McBroom
>> > <http://www.skurfer.com/>
>> >
>> >
>
>

Reply via email to