[TxMt] A TextMate command to open an arbitrary PDF file
daz-macromates at zzzurn.com
Thu Nov 15 16:04:17 UTC 2007
I created a bundle command to open a file from a repository directory, based
on the selected text. It was put in the Text bundle, with no particular
Here's my current (working) command.
This will open the PDF file with the selected filename. (I use open since I
want to see the PDF in Acrobat, not TextMate.)
However, now there's arbitrary (unknown) text attached to the filename, so I
want to use a wildcard in this command.
I got a suggestion to use an unquoted * as a wildcard. But if AAAA is
selected, this command:
will open a file in Textmate named AAAA*, which is not what I want: I want
AAAA.pdf and AAAA-morestuff.pdf to open.
Any help is appreciated.
[I originally had this question attached as a comment to a TextMate blog
entry, where Allen Odegaard posted the * wildcard suggestion, but it didn't
work in this context.]
View this message in context: http://www.nabble.com/A-TextMate-command-to-open-an-arbitrary-PDF-file-tf4814794.html#a13774030
Sent from the textmate users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the textmate