Re: OS X: dragging and dropping a file (or folder) onto textadept icon in the dock

From: Vais Salikhov <vsalik....at.gmail.com>
Date: Thu, 12 Feb 2009 14:04:54 -0500

Rob, you mean move it to a different location and back after modifying
the plist? Also, what do you mean by error for folders?

Thanks,
Vais

On Feb 12, 2009, at 1:59 PM, Rob <ro....at.web.de> wrote:

>
> You're right! I only tried files with already registered extensions.
> However, it works for all extensions after you copy the textadept.app
> to a different location. (And back.)
> Folders produce an error.
>
> Rob
>
> On Feb 12, 7:07 pm, Vais Salikhov <vsalik....at.gmail.com> wrote:
>> Rob, I think it depends on what type of file you drag and drop. If
>> the
>> file type is associated with textadept in finder, it has always
>> worked
>> for me as well. For example, if you do "always open with..."
>> textadept
>> for a file with a .lua extension, the change the association for
>> all .lua files in "get info" dialog, you can start dragging and
>> dropping other .lua files onto the ta icon, and it accepts it. The
>> issue is to be able to drag any file, group of files, or directory
>> onto the icon.
>>
>> Thanks,
>>
>> Vais
>>
>> On Feb 12, 2009, at 12:26 PM, Rob <ro....at.web.de> wrote:
>>
>>
>>
>>> For me the finder worked - but with or without the additional lines.
>>
>>> Rob
>>
>>> On Feb 12, 6:55 am, vais <vsalik....at.gmail.com> wrote:
>>>> Thank you, Mitchell, but it did not work for me (tried to put these
>>>> two dict entries both at the end and at the beginning of the array,
>>>> rebooted the computer even, removed the icon from the dock and
>>>> put it
>>>> back, tried with both the dock and finder). Did this work for
>>>> anybody
>>>> else - perhaps I am missing something?
>>
>>>> Vais
>>
>>>> On Feb 12, 12:17 am, mitchell <mforal.n....at.gmail.com> wrote:
>>
>>>>> Hi,
>>
>>>>>> Nope. ige-mac-dock is not feature complete yet. I'm looking into
>>>>>> how
>>>>>> to handle this on my own.
>>
>>>>> At the end of the file types </array> in textadept.app/Contents/
>>>>> Info.plist, add
>>
>>>>> <dict>
>>>>> <key>CFBundleTypeExtensions</key>
>>>>> <array>
>>>>> <string>*</string>
>>>>> </array>
>>>>> <key>CFBundleTypeName</key>
>>>>> <string>Document</string>
>>>>> </dict>
>>>>> <dict>
>>>>> <key>CFBundleTypeOSTypes</key>
>>>>> <array>
>>>>> <string>****</string>
>>>>> </array>
>>>>> <key>CFBundleTypeName</key>
>>>>> <string>Document</string>
>>>>> </dict>
>>
>>>>> Please make a backup first!
>>
>>>>> This should enable drag and drop to both the dock and in the
>>>>> Finder.
>>
>>>>> -Mitchell;
> >
Received on Thu 12 Feb 2009 - 14:04:54 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:37:14 EST