Re: Extracting plain text from .seetext with Applescript
- --- In SubEthaEdit@yahoogroups.com, Martin Pittenauer <map@...> wrote:
> A simpler way would be to use the plain text copy that is storedAha, I tried making a symbolic link called test.lua that pointed to
> within the .seetext for convenience. Seetext files are bundles, a kind
> of fancy folder that gets treated like a file by the Finder.
> Besides the documents history, its metadata and QuickLook preview, we
> also store a redundant plain text version one can access without
> SubEthaEdit or use for compiling an the like in this folder.
> To access the plain text you can use (for this example) "lua
plain.txt and it works! As often seems to be the case, it has to be a
symbolic link and not just a MacOS alias. I suspected there would be a
> I just tried your script and it worked as intended on my machine. WhatIt doesn't matter now, but I'm back in the dark ages with a 2004 eMac
> encoding does your lua file usually have? Are you working on Tiger or
> Leopard? Intel or PPC?
PPC running Tiger. I use UTF-8 with CRLF line endings for the Windows
> All the best,Thank you for the prompt replies!