Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

ntb-clips · The NoteTab Clips List

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 13980 - 14009 of 23887   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#13980 From: "cjangrycloud" <Agent_Eight@...>
Date: Wed Jun 22, 2005 10:46 pm
Subject: Re: Arrays and OpenFile
cjangrycloud
Send Email Send Email
 
Thanks for pointing those errors out.  It turns out the real problem
was with the array indexing.

^!Set %line%=^%Array%^%counter%%
                     ^
                     not needed

The now working clip is as follows

:start
^!Set %prefix%=SomeCompany; %suffix%=.html
^!Set %directory%=^?{(T=D)Directory=^$GetShellFolder(Personal)$};
%List%=^?{(T=M;H=15)File List}
^!ifCancel exit
^!IfTrue ^$IsEmpty(%List%)$ end ELSE continue
:continue
^!Set
%List%=^%directory%^%prefix%^$StrReplace(^%NL%;^%s
uffix%^%NL%^%directory%^%prefix%;^%List%;True;True)$^%suffix%
^!SetListDelimiter ^p
^!SetArray %Array%=^%List%
^!Set %counter%=^%Array0%
:loop
^!If ^%counter%=0 end
^!Set %line%=^%Array^%counter%%
^!Open ^%line%
^!Dec %counter%
^!GoTo loop
:end

I do the updates for a rather large number of product description
pages.  I use an excel spreadsheet to keep track of which pages belong
to different catagories. Using this clip I can just copy a range of
model numbers from the spreadsheet, pop them into the clip and it
opens all the corresponding files that match the pattern of :

SomeCompany"ModelNumber".html


Thanks again for your help.


--- In ntb-clips@yahoogroups.com, "Hugo Paulissen"
<hugopaulissen@s...> wrote:
> Hi Chris,
>
> - I'm afraid I do not really folow your intentions, but you have a
$
> where you should use a % (common error ;-)...
>
> ^!Set $counter%=^%Array0%
>   should be
> ^!Set %counter%=^%Array0%
>
> Your variable was not defined.
>
>
> - Personally I'd omit the spaces in these lines as well...
>
> ^!If ^%counter% = 0 end

#13981 From: "C. H. Sulka (Digital Technology, Inc.)" <dti@...>
Date: Fri Jun 24, 2005 2:01 am
Subject: Re: Clip use w/ browser
chsulka
Send Email Send Email
 
I use Mozilla browser with filters to separate my incoming and outgoing
email into different folders, based on the name of firm or individual.
After reading and/or answering I save the emails, along with FAXes,
letters, etc., in the recipient/sender's "perpetual" correspondence
file, by date.  Thus my correspondence files contain a chronological
history of all correspondence, emails, FAXes, phone calls, IMs, etc.,
to and from each of the thousands of firms and individuals I am in
contact with.  Works flawlessly . . . except I cannot get my office
staff to save the correspondence in the files.

Is there any way anyone knows of that I can use a clip to automate this
process?

Thanks,

Charles Sulka




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.11/26 - Release Date: 6/22/05

#13982 From: "Marin" <marinpa@...>
Date: Sun Jun 26, 2005 9:21 am
Subject: Sequence clip
MARIANPA
Send Email Send Email
 
Hi there,

Can anyone help me with this clip?
When I open the "aySound.txt" document, I want to list the lines in
numerical sequence without typing the number such as:


aySound[0] = "sounds/ta.wav";
aySound[1] = "sounds/ma.wav";
aySound[2] = "sounds/la.wav";




This is the clip I have now:

^!ClearVariables
^!IfFileExist "^$GetDocumentPath$aySound.txt" Skip_2
^!Menu File/New
^!RenameDoc ^$GetDocumentPath$aySound.txt
^!Open ^$GetDocumentPath$aySound.txt /J=-1
^!SetWizardLabel "Enter values for tag attributes"
^!InsertWizardHtml
aySound[^?{#}] = "sounds/^?{name}.wav";
^!GoTo End
;Jump back to the start of the loop
^!GoTo Start
:DONE
^!Save AS ^##
:END


Thank you anticipated.

Martin

#13983 From: Jody <kjv-av1611@...>
Date: Sun Jun 26, 2005 10:34 am
Subject: [Clip] Sequence clip
notetabber
Send Email Send Email
 
Hi Martin,

> Can anyone help me with this clip?
> When I open the "aySound.txt" document, I want to list the lines in
> numerical sequence without typing the number such as:

> aySound[0] = "sounds/ta.wav";
> aySound[1] = "sounds/ma.wav";
> aySound[2] = "sounds/la.wav";

It appears you are missing something having to do with ending the
loop; the Clip does not look complete to me. I suppose you
understand it though. I've been up all night so sort of brain
dead. I added %!Set %n%=0, ^!Inc %n%, and commented out the
^!Goto End. It might be an ^!If statement you are missing.

This is the clip I have now:

^!ClearVariables
^!Set %n%=0
:Start
^!IfFileExist "^$GetDocumentPath$aySound.txt" Skip_2
^!Menu File/New
^!RenameDoc ^$GetDocumentPath$aySound.txt
^!Open ^$GetDocumentPath$aySound.txt /J=-1
^!SetWizardLabel "Enter values for tag attributes"
^!InsertWizardHtml aySound[^%n%] = "sounds/^?{name}.wav";
^!Inc %n%
; ^!GoTo End
;Jump back to the start of the loop
^!GoTo Start
:DONE
^!Save AS ^##
:END


Thank you anticipated.

Martin






Fookes Software: http://www.fookes.us, http://www.fookes.com
Fookes Software Mailing Lists: http://www.fookes.us/maillist.htm

Yahoo! Groups Links





Happy Clip'n!
Jody

All Lists: http://www.fookes.us/maillist.htm
http://www.clean-funnies.com, http://www.sojourner.us/software

#13984 From: "al cantley" <acantley@...>
Date: Mon Jun 27, 2005 3:38 pm
Subject: RE: [Clip] Snag URL And Highlighted Text From Browser?
acantley5
Send Email Send Email
 
Is it possible to write a Clip in NTab that will copy text that is selected in
the browser (in my case Maxthon that uses IE engine), snag the page URL and
then paste into NTab the text and the URL enclosed in brackets eg -

This text was highlighted in the browser...

{http://www.thisistheurl.com}

Thanks.

Blessings,
Al Cantley

-----Original Message-----
From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com]
Sent: Friday, June 24, 2005 1:23 PM
To: ntb-clips@yahoogroups.com
Subject: [Clip] Digest Number 1554

There is 1 message in this issue.

Topics in this digest:

       1. Re: Clip use w/ browser
            From: "C. H. Sulka (Digital Technology, Inc.)" <dti@...>


________________________________________________________________________
________________________________________________________________________

Message: 1
    Date: Thu, 23 Jun 2005 22:01:57 -0400
    From: "C. H. Sulka (Digital Technology, Inc.)" <dti@...>
Subject: Re: Clip use w/ browser

I use Mozilla browser with filters to separate my incoming and outgoing email
into different folders, based on the name of firm or individual.
After reading and/or answering I save the emails, along with FAXes, letters,
etc., in the recipient/sender's "perpetual" correspondence file, by date.
Thus my correspondence files contain a chronological history of all
correspondence, emails, FAXes, phone calls, IMs, etc., to and from each of the
thousands of firms and individuals I am in contact with.  Works flawlessly . .
. except I cannot get my office staff to save the correspondence in the files.

Is there any way anyone knows of that I can use a clip to automate this
process?

Thanks,

Charles Sulka




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.11/26 - Release Date: 6/22/05



________________________________________________________________________
________________________________________________________________________


Fookes Software: http://www.fookes.us, http://www.fookes.com
Fookes Software Mailing Lists: http://www.fookes.us/maillist.htm

------------------------------------------------------------------------
Yahoo! Groups Links




------------------------------------------------------------------------

#13985 From: "Mark B." <breaumark@...>
Date: Mon Jun 27, 2005 7:28 pm
Subject: Re: [Clip] Snag URL And Highlighted Text From Browser?
breaumark
Send Email Send Email
 
--- In ntb-clips@yahoogroups.com, "al cantley" <acantley@i...> wrote:
>
> Is it possible to write a Clip in NTab that will copy text that is
selected in
> the browser (in my case Maxthon that uses IE engine), snag the page
URL and
> then paste into NTab the text and the URL enclosed in brackets eg -
>
> This text was highlighted in the browser...
>
> {http://www.thisistheurl.com}
>

The following clip appears to do what you want, with Internet
Explorer. It could probably be adapted for your browser. Alt+D selects
the contents of the address bar in IE. A better solution may come
along.

Instructions: selct the passage in IE, then run this clip.

^!FocusApp * Microsoft Internet Explorer
^!Keyboard CTRL+C
^!ActivateApp
^!Menu Edit/Paste
;
^!FocusApp * Microsoft Internet Explorer
^!Keyboard ALT+D CTRL+C
^!ActivateApp
^!InsertText [
^!Menu Edit/Paste
^!InsertText ]

#13986 From: "acantley5" <acantley@...>
Date: Tue Jun 28, 2005 11:01 am
Subject: Re: [Clip] Snag URL And Highlighted Text From Browser?
acantley5
Send Email Send Email
 
Thanks, Mark; it works perfectly.

--- In ntb-clips@yahoogroups.com, "Mark B." <breaumark@y...> wrote:
> --- In ntb-clips@yahoogroups.com, "al cantley" <acantley@i...>
wrote:
> The following clip appears to do what you want, with Internet
> Explorer. It could probably be adapted for your browser. Alt+D
selects
> the contents of the address bar in IE. A better solution may come
> along.
>
> Instructions: selct the passage in IE, then run this clip.
>
> ^!FocusApp * Microsoft Internet Explorer
> ^!Keyboard CTRL+C
> ^!ActivateApp
> ^!Menu Edit/Paste
> ;
> ^!FocusApp * Microsoft Internet Explorer
> ^!Keyboard ALT+D CTRL+C
> ^!ActivateApp
> ^!InsertText [
> ^!Menu Edit/Paste
> ^!InsertText ]

#13987 From: Lee Underwood <leeu@...>
Date: Tue Jun 28, 2005 12:31 pm
Subject: Re: [Clip] Snag URL And Highlighted Text From Browser?
ereedj2001
Send Email Send Email
 
For those that are interested, I tested the clip below and changed the
first line in each section to:

^!FocusApp * Mozilla Firefox

and it worked perfectly.

Thanks again.

Lee


On 6/28/05 07:01 AM, acantley5 wrote:
........................................................
>Thanks, Mark; it works perfectly.
>
>--- In ntb-clips@yahoogroups.com, "Mark B." <breaumark@y...> wrote:
> > --- In ntb-clips@yahoogroups.com, "al cantley" <acantley@i...>
>wrote:
> > The following clip appears to do what you want, with Internet
> > Explorer. It could probably be adapted for your browser. Alt+D
>selects
> > the contents of the address bar in IE. A better solution may come
> > along.
> >
> > Instructions: selct the passage in IE, then run this clip.
> >
> > ^!FocusApp * Microsoft Internet Explorer
> > ^!Keyboard CTRL+C
> > ^!ActivateApp
> > ^!Menu Edit/Paste
> > ;
> > ^!FocusApp * Microsoft Internet Explorer
> > ^!Keyboard ALT+D CTRL+C
> > ^!ActivateApp
> > ^!InsertText [
> > ^!Menu Edit/Paste
> > ^!InsertText ]
........................................................

#13988 From: Jody <kjv-av1611@...>
Date: Tue Jun 28, 2005 1:33 pm
Subject: Re: [Clip] Snag URL And Highlighted Text From Browser?
notetabber
Send Email Send Email
 
Hi Al, Mark, and All,

Also check out NoteTab's CaptureLinks Library for some ideas, or
my NoteBoards Library. It captures text from browsers and does,
gee, about 7 different things by the option you set such as add
to Outline, print, add to current document, captures links in a
few different formats. I forget what all it does. It's been a few
years since I looked at it. I normally just use the PasteBoard
myself.

http://www.notetab.net/html/library.htm
http://www.notetab.net/zip/noteboards.zip

>> The following clip appears to do what you want, with Internet
>> Explorer. It could probably be adapted for your browser. Alt+D
>> selects the contents of the address bar in IE. A better
>> solution may come along.
>>
>> Instructions: select the passage in IE, then run this clip.


H=CaptureText + Link
; "Mark B." <ntb-clips@yahoogroups.com>
^!FocusApp * Microsoft Internet Explorer
^!Keyboard CTRL+C
^!ActivateApp
^!Menu Edit/Paste
;
^!FocusApp * Microsoft Internet Explorer
^!Keyboard ALT+D CTRL+C
^!ActivateApp
^!InsertText [
^!Menu Edit/Paste
^!InsertText ]

bcnu,
jody

       I can only please one person a day.
        Today is obviously not your day.
       Tomorrow doesn't look good either. 8D
           http://www.clean-funnies.com
      http://www.fookes.com/regnow.html?2448 ;)
         http://www.sojourner.us/software

#13989 From: hsavage <hsavage@...>
Date: Tue Jun 28, 2005 2:51 pm
Subject: Re: [Clip] Snag URL And Highlighted Text From Browser?
hrs62930
Send Email Send Email
 
Mark B. wrote:
  > --- In ntb-clips@yahoogroups.com, "al cantley" <acantley@i...> wrote:
  >>
  >> Is it possible to write a Clip in NTab that will copy text that is
  > selected in
  >> the browser (in my case Maxthon that uses IE engine), snag the page
  > URL and
  >> then paste into NTab the text and the URL enclosed in brackets eg -
  >>
  > The following clip appears to do what you want, with Internet
  > Explorer. It could probably be adapted for your browser. Alt+D selects
  > the contents of the address bar in IE. A better solution may come
  > along.
  >
  > Instructions: selct the passage in IE, then run this clip.
  >
  > ^!FocusApp * Microsoft Internet Explorer
  > ^!Keyboard CTRL+C
  > ^!ActivateApp
  > ^!Menu Edit/Paste
  > ;
  > ^!FocusApp * Microsoft Internet Explorer
  > ^!Keyboard ALT+D CTRL+C
  > ^!ActivateApp
  > ^!InsertText [
  > ^!Menu Edit/Paste
  > ^!InsertText ]

Hi All,

Here is another short clip to do the task.  I purposely wrote it to
place the URL above the copied text and added some blank lines for
separation.

This does the job with only 1 switch back to the browser.  It is written
for Mozilla, but, can be edited to your preferences.

Here goes;

H="Get Text-Link"
^!FocusApp *Mozilla*
^!Keyboard CTRL+C
^!ClipBoardSave
^!Keyboard ALT+D CTRL+C
^!ActivateApp
^!InsertText {^$GetClipboard$}^%nl%^%nl%
^!ClipBoardRestore
^!InsertText ^$GetClipboard$^%nl%^%nl%


ēvē
05.06.28
hrs > hsavage@...

#13990 From: "Marin" <marinpa@...>
Date: Tue Jun 28, 2005 3:51 pm
Subject: How do I do this... .. ?
MARIANPA
Send Email Send Email
 
Hello to everyone.

I created the following clips:

First Clip where I have to insert the name of the images:
=====================================================================
^!ClearVariables
:Start
^!Open ^$GetDocumentPath$ayImages.txt
^!SetWizardLabel "images Name"
^!InsertWizardHtml
|^?{name}
; ^!GoTo End
;Jump back to the start of the loop
^!GoTo Start
:DONE
^!Save AS ^##
:END
=====================================================================


and the output looks like this:


=====================================================================
A|B|C|D|
=====================================================================



And the second clip



=====================================================================
^!ClearVariables
^!Set %n%=0
:Start
^!Open ^$GetDocumentPath$ayMouseOver.txt /J=-1
^!SetWizardLabel "Link Tag"
^!InsertWizardHtml
<td width="" align="center">
<a onClick="playSound(^%n%)" onMouseOut="RestoreImg(); stopSound(^%
n%)" onMouseOver="SwitchImg('document.Image^%n%','document.Image^%
n%','images/^?{name=xxx}Py.gif')">
<img src="images/^?{name}.gif" name="Image^%n%" alt=""
border="0"></a></td>


^!Open ^$GetDocumentPath$aySound.txt /J=-1
^!SetWizardLabel "Sound Script"
aySound[^%n%] = "sounds/^?{name=xxx}.wav";

^!Inc %n%
; ^!GoTo End
;Jump back to the start of the loop
^!GoTo Start
:DONE
^!Save AS ^##
:END


=====================================================================


The output is into two documents like this:


ayMouseOver.txt
=====================================================================
<td width="" align="center">
<a onClick="playSound(0)" onMouseOut="RestoreImg(); stopSound(0)"
onMouseOver="SwitchImg
('document.Image0','document.Image0','images/APy.gif')">
<img src="images/A.gif" name="Image0" alt="" border="0"></a></td>

<td width="" align="center">
<a onClick="playSound(1)" onMouseOut="RestoreImg(); stopSound(1)"
onMouseOver="SwitchImg
('document.Image1','document.Image1','images/BPy.gif')">
<img src="images/B.gif" name="Image1" alt="" border="0"></a></td>

<td width="" align="center">
<a onClick="playSound(2)" onMouseOut="RestoreImg(); stopSound(2)"
onMouseOver="SwitchImg
('document.Image2','document.Image2,'images/CPy.gif')">
<img src="images/C.gif" name="Image2" alt="" border="0"></a></td>

<td width="" align="center">
<a onClick="playSound(3)" onMouseOut="RestoreImg(); stopSound(3)"
onMouseOver="SwitchImg
('document.Image3','document.Image3,'images/DPy.gif')">
<img src="images/D.gif" name="Image3" alt="" border="0"></a></td>
=====================================================================

and



aySound.txt
=====================================================================
aySound[0] = "sounds/A.wav";
aySound[1] = "sounds/B.wav";
aySound[2] = "sounds/C.wav";
aySound[3] = "sounds/D.wav";
=====================================================================




The problem is that, as of now, I have to manualy copy the
values "A|B|C|D|" from the first clip, and paste them into the second
clip's syntax;

(aySound[^%n%] = "sounds/^?{name=xxx}.wav";)  and
(n%','images/^?{name=xxx}Py.gif')">),

After that, one by one, I have to feed the data by drop down box.




The question is: Can I automate this whole process, and get the
results on the two documents in only one, similar to this?
====================================================================
aySound[0] = "sounds/A.wav";
aySound[1] = "sounds/B.wav";
aySound[2] = "sounds/C.wav";
aySound[3] = "sounds/D.wav";








<td width="" align="center">
<a onClick="playSound(0)" onMouseOut="RestoreImg(); stopSound(0)"
onMouseOver="SwitchImg
('document.Image0','document.Image0','images/APy.gif')">
<img src="images/A.gif" name="Image0" alt="" border="0"></a></td>

<td width="" align="center">
<a onClick="playSound(1)" onMouseOut="RestoreImg(); stopSound(1)"
onMouseOver="SwitchImg
('document.Image1','document.Image1','images/BPy.gif')">
<img src="images/B.gif" name="Image1" alt="" border="0"></a></td>

<td width="" align="center">
<a onClick="playSound(2)" onMouseOut="RestoreImg(); stopSound(2)"
onMouseOver="SwitchImg
('document.Image2','document.Image2,'images/CPy.gif')">
<img src="images/C.gif" name="Image2" alt="" border="0"></a></td>

<td width="" align="center">
<a onClick="playSound(3)" onMouseOut="RestoreImg(); stopSound(3)"
onMouseOver="SwitchImg
('document.Image3','document.Image3,'images/DPy.gif')">
<img src="images/D.gif" name="Image3" alt="" border="0"></a></td>




=====================================================================





Thank you anticipated for your help.




With best wishes,


Martin P.

#13991 From: Alan C <acumming@...>
Date: Wed Jun 29, 2005 4:25 am
Subject: Re: [Clip] How do I do this... .. ?
acummingsus
Send Email Send Email
 
Marin wrote:

>[ . . ]
>The problem is that, as of now, I have to manualy copy the
>values "A|B|C|D|" from the first clip, and paste them into the second
>clip's syntax;
>
>(aySound[^%n%] = "sounds/^?{name=xxx}.wav";)  and
>(n%','images/^?{name=xxx}Py.gif')">),
>
>After that, one by one, I have to feed the data by drop down box.
>
>
I'm uncertain if you seek to ultimately accomplish the insertion of the
first clip its saved file's outputted results?

You ran clip one and saved, right?

^!InsertFile ^$GetDocumentPath$ayImages.txt

that line will insert that file's content into the current doc.

Further, (providing I'm on or near target of what you seek to achieve)
you can use that InsertFile line as a replacement for your two mentioned
lines above (re "paste them into the second clip's syntax; ")
--

In looking at your code, it wasn't clear to me of everything that the
code is supposed to do (normal with clip code, often clip code is not
easy to follow)

But I didn't see any exits or way out of your loops.  Or did I miss
something?  Or are you ctrl+alt to end when done?

Alternatively: the only wizard I saw in the first clip is used *without*
a variable.  You could change that (use with variable), use a variable
with a variable name that you also then once again use this variable and
variable name in the 2nd clip to insert the contents that had arisen
from the 1st clip's run.  Or, combine the two clips together into one
clip along with also doing one of the other methods I've already
mentioned herein.

Alan.

#13992 From: "MarkH" <pm9000@...>
Date: Wed Jun 29, 2005 9:28 pm
Subject: Re: Snag URL And Highlighted Text From Browser?
pm9yah
Send Email Send Email
 
hsavage spake:

Here is another short clip to do the task.  I purposely wrote it
to place the URL above the copied text and added some blank lines
for separation.

This does the job with only 1 switch back to the browser.  It is
written for Mozilla, but, can be edited to your preferences.

Here goes;

H="Get Text-Link"
^!FocusApp *Mozilla*
^!Keyboard CTRL+C
^!ClipBoardSave
^!Keyboard ALT+D CTRL+C
^!ActivateApp
^!InsertText {^$GetClipboard$}^%nl%^%nl%
^!ClipBoardRestore
^!InsertText ^$GetClipboard$^%nl%^%nl%

ēvē
05.06.28
hrs > hsavage@...


That's neat!  I often copy selected website text and cite source
URLs - and would guess it's a common problem.

Can one do the same thing but paste it directly into say Outlook
Express.

Kind regards,
MarkH

#13993 From: "Ron Ball" <RonBall42@...>
Date: Thu Jun 30, 2005 12:31 am
Subject: How do I paste into the last half of a file (until <End of File> reached)?
mr_piano23
Send Email Send Email
 
Hi Anyone,

I want to be able to repeat something until I reach the end of the
file and not repeat the insert a bunch of times on the last line.
Anyone have any ideas?  I may start this clip half way thru my file
to only add to the last half of the file.

For example, ...

H="Paste Until End Of File"
;Beginning of loop
:StartLoop
^!Keyboard Home
^!Keyboard #'\\Todo:#
^!Keyboard Down
;EXIT THE LOOP WHEN WE ARE AT END OF FILE
????  I don't know what to put here ????
;Jump back to the start of the loop
^!Goto StartLoop

Thanks - Ron Ball

#13994 From: "Don - htmlfixit.com" <don@...>
Date: Thu Jun 30, 2005 3:02 am
Subject: Re: [Clip] How do I paste into the last half of a file (until <End of File> reached)?
dpasseng
Send Email Send Email
 
> I want to be able to repeat something until I reach the end of the
> file and not repeat the insert a bunch of times on the last line.
> Anyone have any ideas?

Give this a whirl Ron.  I don't have any idea what you are actually
doing here with the Keyboard commands, but the line I inserted should
stop you if you are on the last line of the file.

H="Paste Until End Of File"
;Beginning of loop
:StartLoop
^!Keyboard Home
^!Keyboard #'\\Todo:#
^!Keyboard Down
;EXIT THE LOOP WHEN WE ARE AT END OF FILE
^!If ^%row% = ^$GetLinecount$ END ELSE StartLoop

#13995 From: hsavage <hsavage@...>
Date: Thu Jun 30, 2005 4:33 am
Subject: Re: [Clip] Re: Snag URL And Highlighted Text From Browser?
hrs62930
Send Email Send Email
 
MarkH wrote:
  > hsavage spake:
  >
  > H="Get Text-Link"
  > ^!FocusApp *Mozilla*
  > ^!Keyboard CTRL+C
  > ^!ClipBoardSave
  > ^!Keyboard ALT+D CTRL+C
  > ^!ActivateApp
  > ^!InsertText {^$GetClipboard$}^%nl%^%nl%
  > ^!ClipBoardRestore
  > ^!InsertText ^$GetClipboard$^%nl%^%nl%
  >
  > ēvē
  > 05.06.28
  > hrs > hsavage@...
  >
  >
  > That's neat!  I often copy selected website text and cite source
  > URLs - and would guess it's a common problem.
  >
  > Can one do the same thing but paste it directly into say Outlook
  > Express.
  >
  > Kind regards,
  > MarkH

Mark,

I suspect it would be relatively easy to do.  Since I don't use IE or
Outlook I'll leave it to one of the listers that does use them.

I will, however, try doing this with the Mozilla browser and using the
Mozilla email client.

ēvē
05.06.29
hrs > hsavage@...

#13996 From: hsavage <hsavage@...>
Date: Thu Jun 30, 2005 5:14 am
Subject: Re: [Clip] How do I paste into the last half of a file (until <End of File> reached)?
hrs62930
Send Email Send Email
 
Don - htmlfixit.com wrote:
  >> I want to be able to repeat something until I reach the end of the
  >> file and not repeat the insert a bunch of times on the last line.
  >> Anyone have any ideas?
  >
  > Give this a whirl Ron.  I don't have any idea what you are actually
  > doing here with the Keyboard commands, but the line I inserted should
  > stop you if you are on the last line of the file.
  >
  > H="Paste Until End Of File"
  > ;Beginning of loop
  > :StartLoop
  > ^!Keyboard Home
  > ^!Keyboard #'\\Todo:#
  > ^!Keyboard Down
  > ;EXIT THE LOOP WHEN WE ARE AT END OF FILE
  > ^!If ^%row% = ^$GetLinecount$ END ELSE StartLoop

Hi Ron, Don,

The problem is the clip hasn't set a %row% variable so I think we need
to substitute ^$GetRow$ for ^%row%.

There's still a problem with this, if there's more than 1 blank line at
the end of file the clip will add '\\Todo: to the blank lines.

It would help greatly to know the primary format of the file to be altered.

^!If ^$GetRow$ = ^$GetTextLineCount$ END ELSE StartLoop

ēvē
05.06.29
hrs > hsavage@...

#13997 From: hsavage <hsavage@...>
Date: Thu Jun 30, 2005 5:29 am
Subject: Re: [Clip] How do I paste into the last half of a file (until <End of File> reached)?
hrs62930
Send Email Send Email
 
Ron Ball wrote:
  > Hi Anyone,
  >
  > I want to be able to repeat something until I reach the end of the
  > file and not repeat the insert a bunch of times on the last line.
  > Anyone have any ideas?  I may start this clip half way thru my file
  > to only add to the last half of the file.
  >
  > For example, ...
  >
  > H="Paste Until End Of File"
  > ;Beginning of loop
  > :StartLoop
  > ^!Keyboard Home
  > ^!Keyboard #'\\Todo:#
  > ^!Keyboard Down
  > ;EXIT THE LOOP WHEN WE ARE AT END OF FILE
  > ????  I don't know what to put here ????
  > ;Jump back to the start of the loop
  > ^!Goto StartLoop
  >
  > Thanks - Ron Ball

Ron,

Here's a mod to try.  It should run until it finds a blank line, then Exit.

H="Paste Until EOF"
:StartLoop
^!Keyboard Home
^!Keyboard #'\\Todo:#
^!Keyboard Down
^!If "^$GetLine$" = "" EXIT ELSE StartLoop

ēvē
05.06.30
hrs > hsavage@...

#13998 From: Alan C <acumming@...>
Date: Thu Jun 30, 2005 7:34 am
Subject: capture input into array then output to doc via a template was How do I do this... .. ?
acummingsus
Send Email Send Email
 
(I put to list due to: about basics of some control mechanisms along
with array and array iteration enclosed herein which all is on topic for
ntb-clips list)
Hi Alan,

Thank you for your time and effort to take a look at this.

I use the first clip just to make a list in format "A|B|C|D|E|" of the
needed images

Than manually, I copy the output of the first clip, "A|B|C|D|E|" and I
insert in the second clip ( replacing the "xxx"
both in
(aySound[^%n%] = "sounds/^?{name=xxx}.wav";)  and
(n%','images/^?{name=xxx}Py.gif')">),
Now, in the second clip, I gave a drop down list from where I can pick
the images to insert them in the clip.

I made two documents because i didn't know how to output the clip in
just one.

I hope that makes sense.. ..

Best regards,

Marin P.
------------------------

Hi Marin.  1. (when run clip) You must answer the two yes/no prompts
each of the two has different question, look close. <- those are control
mechanisms is why need to use them.

2. coupled with the above, I eventually then select all from the first
doc and put that into array.

3. coupled with the first two above I then call (launch/run) clip two
from within clip one (so that variables carry on over into clip two) do
not clearvariables any longer in clip two!

4. 4th link in this coupled chain is "array iteration" which, one item
at a time, dumps each item into appropriate place in the output template
(or your code that dumps/inserts into final doc)
-----

So, (the mentioned control mechanisms) PLUS: it's the array coupled with
tying the two clips together: (^!Clip name_of_clip) coupled with:
(iteration):

^!Inc %cnt%

and

^%img_nams^%cnt%%

that does the magic so to speak.

I think this is at least closer to what you wanted.  I had but little
time to spend on it is why I merely quickly added some lines onto what
you already had. But the whole works could be re written (there's no
need for doc one and doc two) amongst others.

H="clipnumbrone"
^!ClearVariables
:Start
; added next two lines
^!Skip Continue inserting?
^!GoTo capture
^!Open ^$GetDocumentPath$ayImages.txt
^!SetWizardLabel "images Name"
^!InsertWizardHtml |^?{name}
; ^!GoTo End
;Jump back to the start of the loop
^!GoTo Start
:DONE
^!Save AS ^##
:END
; added next six lines
^!GoTo End
:capture
^!Select ALL
^!SetListDelimiter |
^!SetArray %img_nams%=^$GetSelection$
^!Clip clipnumbrtwo

H="_clipnumbrtwo"
^!Set %n%=0; %cnt%=0
:Start
^!Inc %cnt%
^!Open ^$GetDocumentPath$ayMouseOver.txt /J=-1

^!Insert <td width="" align="center"><a onClick="playSound(^%n%)"
onMouseOut="RestoreImg(); stopSound(^%n%)"
onMouseOver="SwitchImg('document.Image^%n%','document.Image^%n%','images/^%img_n\
ams^%cnt%%Py.gif')"><img
src="images/^%img_nams^%cnt%%.gif" name="Image^%n%" alt=""
border="0"></a></td>
^!Open ^$GetDocumentPath$aySound.txt /J=-1
^!Insert "Sound Script"aySound[^%n%] = "sounds/^%img_nams^%cnt%%.wav";

^!Inc %n%
; ^!GoTo End
^!Skip Continue html markup-ing?
^!GoTo end_of_markup
;Jump back to the start of the loop
^!GoTo Start
:DONE
^!Save AS ^##
:END
^!GoTo End
:end_of_markup
; ----end-----

Alan.

#13999 From: Alan C <acumming@...>
Date: Thu Jun 30, 2005 8:36 am
Subject: Re: [Clip] How do I do this... .. ? was capture input into array then output to doc via a template
acummingsus
Send Email Send Email
 
Alan C wrote:

>(I put to list due to: about basics of some control mechanisms along
>with
>
[ . . ]

I had assumed that Marin wanted to output in the order/sequence of array
iteration.  But I did not know that Marin wanted that.

May instead merely want to build wizard so as to ability to then use the
wizard with which to output (as opposed to array)

output in this case means the final output into what Marin formerly had
as doc # 2

Oh, Marin, come on back again if we've still missed what you wanted to
do . . .  (at least we had fun with array so far anyways)

Alan.

#14000 From: "Mark B." <breaumark@...>
Date: Thu Jun 30, 2005 5:29 pm
Subject: Re: Snag URL And Highlighted Text From Browser?
breaumark
Send Email Send Email
 
--- In ntb-clips@yahoogroups.com, "MarkH" <pm9000@u...> wrote:
>
> Can one do the same thing but paste it directly into say Outlook
> Express.
>

Perhaps you could assemble your output on the Windows Clipboard and
then paste it anywhere you happen to be working. Here's an example
clip for Opera, where F8 selects the address bar. Beware the two long
lines.

H="Big Copy Text, Link"
;  Mark B.
^!Set %browser%=" - Opera"
^!FocusApp *^%browser%
^!Keyboard CTRL+C
^!Set %txt%=^$GetClipboard$
^!Set %pagetitle%=^$StrDeleteRight("^$GetAppTitle$";^$StrSize("^%
browser%")$)$
^!Keyboard F8 CTRL+C
;  ^!Keyboard ALT+D CTRL+C
^!Set %pageurl%=^$GetClipboard$
^!SetClipboard ^%txt%^%NL%^%NL%--- NOTES ---^%NL%Page Title: ^%
pagetitle%^%NL%Page URL:   ^%pageurl%^%NL%Accessed:   ^$GetDate(d mmm
yyyy)$^%NL%--- NOTES ---^%NL%

#14001 From: "tkhgsh" <thigashi@...>
Date: Thu Jun 30, 2005 11:42 am
Subject: Sending text to other application
tkhgsh
Send Email Send Email
 
I was writing a clip that copies a command text to the clipboard and
paste it in another software command line to run the command on it.

It worked perfectly on my old laptop, but it doesn't work on my new
desktop. The clip itself is identical, and I just transfered my
NoteTabPro from my old computer to the new one. I have the same target
software on both computers.

It seems that up to the step of copying the text to clipboard is fine,
but it doesn't activate the other software with ^!FocusApp.

I have no idea why this happens. What could be the cause for this?

Taka

#14002 From: "Howard" <cftechwriter@...>
Date: Thu Jun 30, 2005 6:32 pm
Subject: HTM to ASCII Conversion
hdlebowitz
Send Email Send Email
 
Hi,

Does anyone have a clip that strip ALL htm tags from a document? I
need to do a folder full of docs.

Thanks....

#14003 From: "Mark B." <breaumark@...>
Date: Thu Jun 30, 2005 7:46 pm
Subject: Re: Snag URL And Highlighted Text From Browser?
breaumark
Send Email Send Email
 
Another thing :) Since you are quoting text, you might want to format
the text as a block quotation, indented left and right, using
StrFormat. That line can be commented out if you don't want it.

H="Big Copy Text, Link"
;  Mark B.
^!Set %browser%=" - Opera"
^!FocusApp *^%browser%
^!Keyboard CTRL+C
^!Set %extract%=^$GetClipboard$
^!Set %extract%=^$StrFormat("^%extract%";4;60;False)$
^!Set %pagetitle%=^$StrDeleteRight("^$GetAppTitle$";^$StrSize("^%
browser%")$)$
^!Keyboard F8 CTRL+C
;  ^!Keyboard ALT+D CTRL+C
^!Set %pageurl%=^$GetClipboard$
^!SetClipboard ^%extract%^%NL%^%NL%--- NOTES ---^%NL%Page Title: ^%
pagetitle%^%NL%Page URL:   ^%pageurl%^%NL%Accessed:   ^$GetDate(d mmm
yyyy)$^%NL%--- NOTES ---^%NL%

#14004 From: Jody <kjv-av1611@...>
Date: Thu Jun 30, 2005 8:32 pm
Subject: Re: [Clip] HTM to ASCII Conversion
notetabber
Send Email Send Email
 
Hi Howard,

>Does anyone have a clip that strip ALL htm tags from a document?
>I need to do a folder full of docs.

I have a number of Clips that work with directories in my
DirStuff. You'll find some that you can modify to do what you
want. Look for ones that use ^$GetFiles instead of the ones with
the older method using ^$GetFileFirst/^$GetFileNext although those
still have good use for some purposes. Try right clicking over the
Library combobox and choose "Open as Document" and then do a Find
for ^$GetFiles. They'll use ^!SetArray.

Look under Website Cleanup at the bottom and use the following Clip...

Strip All Tags/HTML

I just made it with minor alterations of another Clip in the Library.
Make sure you make a copy of the directory before using!!! The files
are saved in the same folder as .txt files. There's options to do
subfolders and preserve links or not.

NoteTabbers Assistant Library Page
http://www.notetab.net/html/library.htm
Direct download for DirStuff
http://www.notetab.net/zip/dirstuff.zip

Affiliate links for Fookes Software, thanks! :)
Fookes Software Home
Check out Aid4Mail to convert many mail program types to others
http://www.fookes.us/aid4mail


Happy Clip'n!
Jody

All Lists: http://www.fookes.us/maillist.htm
http://www.clean-funnies.com, http://www.sojourner.us/software

#14005 From: Jody <kjv-av1611@...>
Date: Thu Jun 30, 2005 9:35 pm
Subject: Re: [Clip] Sending text to other application
notetabber
Send Email Send Email
 
Hi Taka,

>It seems that up to the step of copying the text to clipboard is fine,
>but it doesn't activate the other software with ^!FocusApp.

You might try using wildcards in the Application title after ^!FocusApp

^!FocusApp "*View Tickets*NetCaptor*"


Happy Clip'n!
Jody

All Lists: http://www.fookes.us/maillist.htm
http://www.clean-funnies.com, http://www.sojourner.us/software

#14006 From: "John Zeman" <john041650@...>
Date: Thu Jun 30, 2005 10:03 pm
Subject: Re: HTM to ASCII Conversion
john041650
Send Email Send Email
 
--- In ntb-clips@yahoogroups.com, "Howard" <cftechwriter@b...> wrote:
> Hi,
>
> Does anyone have a clip that strip ALL htm tags from a document? I
> need to do a folder full of docs.
>
> Thanks....



Why use a clip when NoteTab has a built in tool that does this?

From the menu:

MODIFY/STRIP HTML TAGS/REMOVE ALL TAGS

John

#14007 From: marbux <marbux@...>
Date: Thu Jun 30, 2005 10:25 pm
Subject: Snag URL And Highlighted Text From Browser?
marbux3
Send Email Send Email
 
There is an excellent extension for Mozilla and Firefox that allows
you to extract various elements of a web page and export it to the
system clipboard formatted as desired.
<http://copyurlplus.mozdev.org/index.html>. I use it dozens of times a
day for my web research and writing. It is easy to customize for the
desired output, such as formatted hyperlinks that import the web
page's title as the label for the hyperlink, followed by selected text
within blockquotes. I use it with Mozilla 1.8b.

marbux

#14008 From: Jody <kjv-av1611@...>
Date: Thu Jun 30, 2005 10:34 pm
Subject: Re: [Clip] Re: HTM to ASCII Conversion
notetabber
Send Email Send Email
 
Hi John,

>> Does anyone have a clip that strip ALL htm tags from a
>> document? I need to do a folder full of docs.
>
>Why use a clip when NoteTab has a built in tool that does this?
>
> From the menu:
>
>MODIFY/STRIP HTML TAGS/REMOVE ALL TAGS

I used ^!Toolbar Strip [Tags|HTML] in the Clip. The reason for
the Clip is he wanted to do all the documents in a folder
which my Clip does with an option to do the subfolders as well.


Happy Clip'n!
Jody

All Lists: http://www.fookes.us/maillist.htm
http://www.clean-funnies.com, http://www.sojourner.us/software

#14009 From: "Alec Burgess" <buralex@...>
Date: Fri Jul 1, 2005 1:59 am
Subject: Re: [Clip] Sending text to other application
alecb3ca
Send Email Send Email
 
Taka:

> It seems that up to the step of copying the text to
> clipboard is fine, but it doesn't activate the other
> software with ^!FocusApp.

Could you post your clip - I'll see if it works for me and/or whether I or
others can spot a likely problem?

Regards ... Alec
--
; ( ) {  } [ ] \ |  9 0  + =  () {} []


---- Original Message ----
From: "tkhgsh" <thigashi@...>
To: <ntb-clips@yahoogroups.com>
Sent: Thursday, June 30, 2005 07:42
Subject: [gla: [Clip] Sending text to other application

> I was writing a clip that copies a command text to the
> clipboard and paste it in another software command line
> to run the command on it.
>
> It worked perfectly on my old laptop, but it doesn't work
> on my new desktop. The clip itself is identical, and I
> just transfered my NoteTabPro from my old computer to the
> new one. I have the same target software on both
> computers.
>
> It seems that up to the step of copying the text to
> clipboard is fine, but it doesn't activate the other
> software with ^!FocusApp.
>
> I have no idea why this happens. What could be the cause
> for this?

Messages 13980 - 14009 of 23887   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright Š 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help