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
context.
Here's my current (working) command.
open "file:///path/to/repository/volume/$TM_SELECTED_TEXT.pdf"
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:
open "file:///path/to/repository/$TM_SELECTED_TEXT"*
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.
Thanks
Darryl
[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-tf48…
Sent from the textmate users mailing list archive at Nabble.com.
What is TextMate's equivalent to BBEdit's 'Add Line Breaks'
Example:
- TextMate Soft Wrap set to 66 characters
- How do I Hard Wrap my document at 66 columns?
Reformat Paragraph works, if I just want to reformat a few paragraphs,
but I'm hoping there is a TextMate command that can be applied to the
entire document and that won't reformat lines separated by a single
return.
Hi.
GTDAlt has acquired an odd behaviour. I don't know why - it may be
related to an install of the Safari 3 beta. Regardless, I haven't been
able to debug, and would really appreciate any help.
I choose 'Current Actions' and get my big list. I click 'none' for
contexts, to clear the board and ready to select only one or two
contexts. The checkboxes for the contexts ripple off, and the actions
disappear -- until we get half-way down, when the actions don't move.
Toggling the context checkboxes does nothing. I'm stuck with about half
my actions permanently visible.
Has anyone else experienced this behaviour? Even better, can anyone
help? Like the previous poster, I've grown very attached to GTDAlt, and
this is the core piece of functionality.
Bruno
I don't understand why Find (regexp) doesn't find the text when
using backslashes (it seems)
it works when no \ are in the searched text.
- Juan Falgueras
Allan?
Begin forwarded message:
> From: Apple Developer Bug Reporting <devbugs(a)apple.com>
> Date: November 15, 2007 12:41:40 PM PST
> To: steve(a)geeksrus.com
> Subject: Attention: Bug ID 5551893: Spaces needs hints for windows
>
> Hi Steve,
>
> This is a courtesy email regarding Bug ID# 5551893.
>
> <GMT15-Nov-2007 20:37:26GMT> Vanaja Pasumarthi:
> Engineering has provided the following feedback regarding this issue:
>
> There is an SPI hint that TextMate can use.
>
> NSWindowCollectionBehaviorMoveToActiveSpace
>
> Bug reports requiring your update will appear under ‘My Originated
> Problems’. Please review this bug report and provide the requested
> information via the Apple Bug Reporter. Once your report has been
> updated, Engineering will be alerted of the new information.
>
> <http://bugreport.apple.com>
>
> Thank you for your assistance in helping us discover and isolate
> bugs within our products.
>
> Best Regards,
>
> Vanaja Pasumarthi
> Apple Developer Connection
> Worldwide Developer Relations
> **************************************************************************
> THE INFORMATION CONTAINED IN THIS MESSAGE IS UNDER NON-DISCLOSURE
> **************************************************************************
> -------------------------------------------------------
> Bug ID #: 5551893
> Bug Title: Spaces needs hints for windows
> -------------------------------------------------------
> <GMT21-Oct-2007 18:17:34GMT> Steve Riggins:
> Summary:
> TextMate's find dialog opens on wrong space (and btw can you fix
> radar, this is twice now it has failed to submit a bug report and
> lost my work. Clipboard ftw).
>
> Steps to Reproduce:
> * Go to Space 1
> * Launch TextMate
> * Switch to space 3
> * Command-Space to open LaunchBar (or command-control-space if using
> default)
> * Open demo file
> * Command-F
>
> Expected Results:
> expected find dialog to open on current space
>
> Actual Results:
> Space switched to space 1 and then dialog opened.
>
> Notes:
> This seems to be due to TextMate hiding/showing the Find dialog in
> order to keep all of it's state (size of text fields, etc) There
> should be a API hint or NIB hint to tell spaces to show this window
> on the current space, vs. last space it was on.
>
>
>
Dear list members,
just want to introduce my approach to circumvent the sometimes
missing build-in FTP/SSH functionality of TextMate. I created a
bundle which provides commands to download and upload single files or
files inside of TextMate projects from and to remote hosts.
Read on if you are interested:
http://fuerstnet.de/ftp-ssh-bundle-textmate
I would be glad to get your feedback!
Regards,
Bernhard
HI,
i'm running into a little problem with leopard.
The last update finds my "time machine" backups and tries to move /
update that one.
11/18/07 10:36:08 PM [0x0-0x2dd2dd].com.macromates.textmate[5399] mv:
rename /Volumes/TimeMachine/Backups.backupdb/username/
2007-08-30-201019/Macintosh HD/Applications/TextMate.app to /Volumes/
TimeMachine/Backups.backupdb/username/2007-08-30-201019/Macintosh HD/
Applications/TextMate.old.app: Operation not permitted
Luckily it fails .. but is it an apple issue or is it textmate ?
Regards J.
I'm trying to build a complicated macro to add a footnote to text selected in
a document. There are two values that I need to maintain while the macro
runs, so that those values can be inserted into the proper places within the
links that the macro creates. The values are CURRENT_FN_NUMBER, a unique id
I create with the shell date command; and CURRENT_FN_TITLE, which is the
value of $TM_SELECTED_TEXT when the macro launches.
I'd like to us those values to insert code into the document, e.g.
At the beginning of the current paragraph:
Replace selected text with: #fn{$CURRENT_FN_NUMBER} $CURRENT_FN_TITLE
At bottom of document, just before "<!--<next footnote -->":
#{CURRENT_FN_NUMBER} $CURRENT_FN_TITLE
There's more to it than that, but you get the idea. The macro does a lot of
jumping around within the document, setting and removing bookmarks as it
goes.
I've set CURRENT_FN_NUMBER and CURRENT_FN_TITLE as project environmental
variables, but I can't figure out how to set values for those variables when
the macro executes.
I'm (obviously) new at this game; I'd appreciate help.
Thanks.
Richard
--
View this message in context: http://www.nabble.com/Set-temporary-variables-within-macro-tf4837937.html#a…
Sent from the textmate users mailing list archive at Nabble.com.
I'm trying to build a complicated macro to add a footnote to text selected in
a document. There are two values that I need to maintain while the macro
runs, so that those values can be inserted into the proper places within the
links that the macro creates. The values are CURRENT_FN_NUMBER, a unique id
I create with the shell date command; and CURRENT_FN_TITLE, which is the
value of $TM_SELECTED_TEXT when the macro launches.
I'd like to us those values to insert code into the document, e.g.
* At the beginning of the current paragraph: <a
name="{$CURRENT_FN_NUMBER}"></a>
* Replace selected text with: <a
href="#fn{$CURRENT_FN_NUMBER}">$CURRENT_FN_TITLE</a>
* At bottom of document, just before "<!--<next footnote -->": <a
name="fn{$CURRENT_FN_NUMBER}"
href="#{$CURRENT_FN_NUMBER}">$CURRENT_FN_TITLE</a>
There's more to it than that (setting div and span tags, adding class
attributes, etc.), but you get the idea. The macro does a lot of jumping
around within the document, setting and removing bookmarks as it goes.
I've created CURRENT_FN_NUMBER and CURRENT_FN_TITLE as project environmental
variables, but I can't figure out how to set values for those variables when
the macro executes.
I'm (obviously) new at this game; I'd appreciate help.
Thanks.
Richard
--
View this message in context: http://www.nabble.com/Set-temporary-variables-within-macro-tf4838075.html#a…
Sent from the textmate users mailing list archive at Nabble.com.