[TxMt] Re: Getting the current url path of the current open TM file

Scott Haneda talklists at newgeo.com
Fri Apr 10 10:27:47 UTC 2009


Interesting.  Interarchy does not seem to store any data at all.

On Apr 8, 2009, at 6:55 AM, Charles Turner wrote:

> On Apr 8, 2009, at 3:17 AM, Scott Haneda wrote:
>
>> Before I delete this email from my mailing list folder, I thought I
>> would give it one more chance to bump, and see if anyone knew a
>> solution.
>
> Looks like the temp file that Cyberduck creates has the URL as part of
> the spotlight metadata:
>
> spinoza:~$ cd /private/var/folders/oL/oLF7LHJlFMCVxamgN6TnJU+++TI/-
> Tmp-/vze26m98.net
> spinoza:/private/var/folders/oL/oLF7LHJlFMCVxamgN6TnJU+++TI/-Tmp-/
> vze26m98.net$ ls
> index.html
> spinoza:/private/var/folders/oL/oLF7LHJlFMCVxamgN6TnJU+++TI/-Tmp-/
> vze26m98.net$ xattr -l index.html
> com.apple.metadata:kMDItemWhereFroms:
> 0000   62 70 6C 69 73 74 30 30 A1 01 5F 10 2A 66 74 70
> bplist00.._.*ftp
> 0010   3A 2F 2F 76 7A 65 32 36 6D 39 38 2E 6E 65 74 2F    ://
> vze26m98.net/
> 0020   76 7A 65 32 36 6D 39 38 2E 6E 65 74 2F 69 6E 64     
> vze26m98.net/
> ind
> 0030   65 78 2E 68 74 6D 6C 08 0A 00 00 00 00 00 00 01
> ex.html.........
> 0040   01 00 00 00 00 00 00 00 02 00 00 00 00 00 00
> 00    ................
> 0050   00 00 00 00 00 00 00 00 37                         ........7
>
> com.apple.quarantine: 0000;49dc871b;Cyberduck;175CE20D-401E-4AC5-BB43-
> EA7298B1050D|ch.sudo.cyberduck
> com.macromates.caret:
> 0000   78 9C AB E6 52 00 82 E4 FC 9C D2 DC 3C 05 5B 05
> x...R.......<.[.
> 0010   03 6B 30 3F 27 33 2F 15 C2 AB 05 00 8B 99 08
> 1D    .k0?'3/.........
>
> HTH, Charles

-- 
Scott * If you contact me off list replace talklists@ with scott@ *




More information about the textmate mailing list