Re: [Clip] Is it possible to email from a text file with a clip ...
- Hi Don,
>I get mail in like this, several in one text file:<snipped>
>Subject: Test message
>Comment: another test message
>I want to be able to highlight a message and be emailing that person in my'nuther approach that I formerly tinkered with
>email client or otherwise. Can it be done?
If, in Ntab you have a doc of text where the very top line is like next:
dave@...;Re: Test message;+
NoteTab doc text is from here on in the doc
; strips top semi colon delimited line into variable
; then sends Ntab doc to email client, all is ready 2 send
^!Replace "^$GetSelection$" >> "" ISH
; --end of clip--
Or, I've a clip-Perl combo that, using Perl, sends the email directly from NoteTab (no need for any email client). It works, but maybe currently (when use it) need more manual editing than what's desirable. As soon as I learn more about Perl's shift function, I'm going to directly pass more parameters into Perl from NoteTab. If U interested, let me know, I'll post it on the Scripts list.
- Hi Don,
> Jody mentioned something the other day about focus switchesWhen dealing with other programs (and in some cases in NoteTab)
> being tightened down. Is there a setting somewhere I need to
> loosen up?
you need to know when a window gets focus before you pass keyboard
shortcuts on to it or whatever you might be doing.
You can use a testing statement while looping in those cases.
^!IfAppOpen Eudora* Next else Skip_-1
Here is an example of using NetCaptor logging in using another method:
^!IfSame "^$GetAppTitle$" "NetCaptor User Center - NetCaptor" Next else Skip_-1
Sometimes, Titlebars want to be picky about being read it seems.
Perhaps there are some hidden characters and yet another method
can be used. Actually, the method is the same, just "tighter"
^!IfSame "^$StrCopy("^$GetAppTitle$";1;14)$ "NetCaptor User" Next else Skip_-1
In the case above you are restricting the text checked to
eliminate any unseen characters if they are there; perhaps a
space. I don't know if it can happen; I only know that I've had
to do that in a dozen or so windows in the past. Likewise, you
can use StrCopyRight or others to check.
Subscribe, UnSubscribe, Options