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 7569 - 7598 of 23787   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#7569 From: "Ray Shapp" <rayshapp@...>
Date: Thu Oct 4, 2001 12:36 am
Subject: Re: [Clip] Replacing characters in a variable
rayshapp@...
Send Email Send Email
 
Harvey and Alan:

When I ask, "What does a "true" value for "wholeword" accomplish in string
functions?", it is because I don't follow the example Alan gave.  Also, I'm
not asking about the various synonyms for Boolean "True" or "False".

Please make up a clearer example of the use of the "strreplace" function
which shows how the result differs when the value of "wholeword"  is "1"
versus "0".

Thanks for your help,

Ray Shapp
Watchung, NJ

#7570 From: "Harvey R. Savage" <hsavage@...>
Date: Thu Oct 4, 2001 2:35 am
Subject: Re: [Clip] Replacing characters in a variable
hsavage@...
Send Email Send Email
 
Ray Shapp wrote:
>
> Harvey and Alan:
>
> When I ask, "What does a "true" value for "wholeword" accomplish in string
> functions?", it is because I don't follow the example Alan gave.  Also, I'm
> not asking about the various synonyms for Boolean "True" or "False".
>
> Please make up a clearer example of the use of the "strreplace" function
> which shows how the result differs when the value of "wholeword"  is "1"
> versus "0".
>
> Thanks for your help,
>
> Ray Shapp
> Watchung, NJ
>
Hi Ray,

I can't answer the query, I don't know what is criteria used, in
NoteTab, for determining between wholewords and strings within
words.  It surely is more complex than it sounds.

Most of the searching I do is not for discrete words, but parts
of other strings.

I generally make it a practice to always make that setting False,
0, no, regardless of what I'm searching for.

hrs

#7571 From: "Alan C." <acummings@...>
Date: Thu Oct 4, 2001 2:44 am
Subject: Re: [Clip] Replacing characters in a variable
acummings@...
Send Email Send Email
 
Hi Ray,

(apologies for no greeting last time, accidental)

>Please make up a clearer example of the use of the "strreplace" function
>which shows how the result differs when the value of "wholeword"  is "1"
>versus "0".

couple demo clips, would that help.  Each of the two clips has identical
(same) string which contains a total of six words.  In particular, theater
is just one of those six words.  Also, notice that "the" is replaced with
"cre".  And, most importantly of all, is the difference in outcome between
the two clips:  Each clip has the same identical string, but notice in the
output what either happens or does not happen to the word "theater".

To answer your question above: as in 1st clip, when value of wholeword is 1
it is then that, only certain words, only those words in the string that
stand independently are modified.

And, as in 2nd clip, when the value of wholeword is 0 it is then that both
independently standing words AND ALSO any occurrences from within any
larger, longer words that are also modified.

So, the difference has to do with whether or not any occurrence that comes
from within a larger/longer word gets modified or not.

H="streplc_wh_word"
; Last edited:Wednesday, 03 October 2001
^!Set %string%=the theater is near the movies
^!SetWizardTitle Before strreplace task
^!Info ^%string%
^!SetWizardTitle After strreplace task
; ^!Info ^$StrReplace("the";"cre";"^%string%";False;True)$
^!Info ^$StrReplace("the";"cre";"^%string%";False;1)$

H="streplc_not_wh_word"
; Last edited:Wednesday, 03 October 2001
^!Set %string%=the theater is near the movies
^!SetWizardTitle Before strreplace task
^!Info ^%string%
^!SetWizardTitle After strreplace task
; ^!Info ^$StrReplace("the";"cre";"^%string%";False;False)$
^!Info ^$StrReplace("the";"cre";"^%string%";False;0)$
; -----<end of clips<<

Regards.  Alan.

#7572 From: "Alec Burgess" <burale@...>
Date: Thu Oct 4, 2001 2:46 am
Subject: SOLVED! Re: [Clip] Remove attachment from .EML file (how to?)
burale@...
Send Email Send Email
 
Eric, Andrew - I'm crossing-posting this to both PowerTool Software list and
NoteTab-offTopic since I posted the original question on both.

I wanted to know how to strip attachments out of an email and recreate them
as a "free-standing" file.

Turns out its a piece of cake with PowerDesk - they have an Archive Option -
Decode Files ... All you have to do is select a range of .EML files - tell
it which  folder to but the attachments in and "Bob's your uncle" ALL DONE!

Now I'm motivated to write the clip to strip the attachments out of the
EML's (after decoding)  and stuff them back into the .DBX

With SEND KEY features in Clips the one-click clip will look something like:
(1) Specify (a) DBX file to MIME-Decode, (b) work-Folder for EML's, (c)
results-folder for files
(2) Check that OE is not running (still to figure out)
(3) Invoke DBXtract against (1a) - results in (1b)
(4) Invoke PowerDesk - Archive - Decode Wizard against (1b) results in (1c)
(5) Clip to run regular  expression against all files in (1b) results in
(1b)  REPLACE entire attachment by NULL (need to figure this out)
(6) Wakeup OE
(6) Clip to open EML's in (1b) that no longer contain the attachment (per
(5)) and save in (1a)

I love it when programs "play well" together ;--)

BTW:
The original DBX had 92 messages size=14.5 MB (compacted)
The EML folder had 92  messages size=12.8 MB
The decoded folder had 92 images size=2.8 MB (I haven't verified I got them
all yet though!)(a couple of file formats may not have been supported by
PowerDesk)

QUESTION - Does directory search-replace (see step (5)) support regular
expressions.
----- Original Message -----
From: "Eric G.V. Fookes" <egroups@...>
To: <ntb-clips@yahoogroups.com>
Sent: 03 October, 2001 03:17
Subject: Re: [Clip] Remove attachment from .EML file (how to?)

----- Original Message -----
From: "::Andrew::" <yahoo@...>
To: "Alec Burgess" <powertoolssoftware@yahoogroups.com>
Sent: 02 October, 2001 18:45
Subject: Re: [PT] OE Attachment Helper Utilities

#7573 From: otirsh@...
Date: Thu Oct 4, 2001 6:42 am
Subject: [Clip] Re: [NTB] Modify Lines - Reverse?
otirsh@...
Send Email Send Email
 
re: script Harvey posted in response to my request @
http://groups.yahoo.com/group/notetab/message/12054

--- In ntb-clips@y..., "Harvey R. Savage" <hsavage@s...> wrote:
> I guess I read Trish's post differently than the other 2
> respondents.  I read it as a wish to reverse the line order, not
> to reverse sort lines.

You got it right, Harvey, despite my inappropriate alphabetical
example. Thanks a lot. Had trouble with your script until I noticed
that the ^!AppendToFile line had indeed word-wrapped.

After I fixed that line, it worked brilliantly.

Thanks again.

Trish

#7574 From: David McIntosh <dgmc@...>
Date: Thu Oct 4, 2001 4:11 pm
Subject: Re: [Clip] Replacing characters in a variable
dgmc@...
Send Email Send Email
 
hI
I think you just half to set it again eg.
set %test% ThX hXavXns dXclarX
the variable will change because you reset it.
	 THANKYOU    DAVE

Mark Halsall wrote:
>
> Is there a simple way to replace characters within a variable?  I
> guess this is either very easy or very difficult, but I can't think
> how to do it.
>
> For example, if
> %test% contains "The heavens declare"
>
> I want to change it so
> %test% contains "ThX hXavXns dXclarX"
>
> Regards,
> Mark
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

#7575 From: "Hugo" <h.paulissen@...>
Date: Fri Oct 5, 2001 8:21 am
Subject: Selecting a paragraph
h.paulissen@...
Send Email Send Email
 
Hi Amitava,

Here are a couple of clips that should work. You can invoke them in a
couple of ways: 1. hit Escape and than type the first letter(s) of
the clip and hit ENTER, 2. CTRL+SPACE while the "Select Paragraph"-
clip is active; you'll get the choice to select Previous/Current or
Next paragraph...

Alternatively you could use a keyboard macro programme to run the
clip (I've don that before, but that is for yet another list, isn't
it, Jody?)

As stated on the other list the original clips searched for ^P^P.
Switched back to ^P may result in selecting an empty paragraph I
believe, but I don't have the time to elaborate on that...

Hope this helps,

Hugo

H=Previous Paragraph
^!IfSame ^$GetRow$ 1 UnSELECT
^!Find "^P" BS
^!Find "^P" BS
^!IfError BeginningofText ELSE Paragraph
:BeginningofText
^!Jump TEXT_START
^!Set %SelectionStart%=^$GetRow$
^!GoTo SELECT
:Paragraph
^!Jump Select_End
^!Set %SelectionStart%=^$GetRow$
:SELECT
^!Find "^P" S
^!Set %SelectionEnd%=^$GetRow$:^$GetCol$
^!SetCursor ^%SelectionStart%:1
^!SelectTo ^%SelectionEnd%
^!Toolbar Copy
^!GoTo END
:UnSELECT
^!Jump Text_START


H=This Paragraph
^!Find "^P" BS
^!IfError BeginningofText ELSE FirstParagraph
:BeginningofText
^!Jump TEXT_START
:FirstParagraph
^!Jump Select_End
^!Set %SelectionStart%=^$GetRow$
^!Find "^P" S
^!IfError EndofText ELSE Paragraph
:EndofText
^!Jump TEXT_END
:Paragraph
^!Set %SelectionEnd%=^$GetRow$:^$GetCol$
^!SetCursor ^%SelectionStart%:1
^!SelectTo ^%SelectionEnd%
^!Toolbar Copy

H=Next Paragraph
^!Find "^P" S
^!Jump Select_End
^!Set %SelectionStart%=^$GetRow$
^!Find "^P" S
^!IfError EndOfText ELSE Paragraph
:EndofText
^!Jump TEXT_END
:Paragraph
^!Set %SelectionEnd%=^$GetRow$:^$GetCol$
^!IfSame ^%SelectionEnd% ^$GetRow$ END
^!SetCursor ^%SelectionStart%:1
^!SelectTo ^%SelectionEnd%
^!Toolbar Copy

H=Select Paragraph
^!Clip "^?[Select Paragraph=Previous|_Current^=This|Next] Paragraph"

#7576 From: "Mark Halsall" <pm9000@...>
Date: Fri Oct 5, 2001 12:57 pm
Subject: Re: Backing up files
pm9000@...
Send Email Send Email
 
Hi Hrs,

This does do something and almost works, but it always jumps back into
Windows and presents the Save As box (the correct file is in fact
zipped but not saved).  This happens either if I do it manually or
with a clip such as:

^!Dos C:\pkzipw\pkzipw "C:\temp\test.zip" "C:\temp\test.txt"

Mark


> pkzipw <archive_name.zip> <list of files to compress, separated with
spaces>

>  An example,
> pkzipw test.zip file1.doc file2.doc

#7577 From: "Harvey R. Savage" <hsavage@...>
Date: Fri Oct 5, 2001 6:55 pm
Subject: Re: [Clip] Re: Backing up files
hsavage@...
Send Email Send Email
 
Mark Halsall wrote:
>
> Hi Hrs,
>
> This does do something and almost works, but it always jumps back into
> Windows and presents the Save As box (the correct file is in fact
> zipped but not saved).  This happens either if I do it manually or
> with a clip such as:
>
> ^!Dos C:\pkzipw\pkzipw "C:\temp\test.zip" "C:\temp\test.txt"
>
> Mark
>
> > pkzipw <archive_name.zip> <list of files to compress, separated with
> spaces>
>
> >  An example,
> > pkzipw test.zip file1.doc file2.doc
>

Hi Mark,

Sorry for the delay in answering.  I think you may have better
luck if you use the following command line;

^!Shell C:\pkzipw\pkzipw.exe "C:\temp\test.zip"
"C:\temp\test.txt"

The command line in your message is at conflict.  Pkzipw.exe is a
windows program yet, you are trying to run it in DOS.

I tried this but it seems I must have some pkzipw options set up
wrong.  Try looking in your Windows\temp folder for any files you
have experimented with.  That's where pkzipw put my experiments,
after zipping.




hrs

#7578 From: "Mark Halsall" <pm9000@...>
Date: Fri Oct 5, 2001 8:03 pm
Subject: Yahoo Digest to Outline
pm9000@...
Send Email Send Email
 
I thought I might post my current version of this - if anyone's
interested.  I find it indispensable.  Thanks to Jorma and Elizabeth
for help with ^$StrReplace.

After much bafflement I've worked out that Jody's Noteback uses
OnClipboardChange event.  I'm new to this, but it looks so powerful
it's scary.  Perhaps there's a place for it here.

Regards,
Mark

H="Yahoo Digest to Outline"
; Marks version, credits to Jody and Hugo
; Cut and paste digest into a NEW Notepad document BEFORE RUNNING
CLIP.
; Jump between hyperlinks with minimal keystrokes
; Ctrl+Alt+Home to return to Topic List
; Ctrl+Alt+Up/Down to move up/down messages quickly
; Can sort digest messages with right-click "Sort Headings" in header
list

^!SetHintInfo Working...
^!SetScreenUpdate OFF
^!ShowHeadings FALSE
;beware of very long subjects
^!SetWordWrap OFF
;don't mess up the wrong document
^!If ^$StrCopy(^$GetDocName$;1;6)$<>"NoName" EXIT

^!MkDir "^$GetDocumentPath$Groups"
^!IfFileExist "^$GetDocumentPath$Groups\Digest.otl" SKIP
^!If ^$IsOpen(^$GetDocumentPath$Groups\Digest.otl)$=1 NEXT ELSE SKIP
^!Close ^$GetDocumentPath$Groups\Digest.otl DISCARD
^!DeleteFile ^$GetDocumentPath$Groups\Digest.otl

^!Replace "[Non-text portions of this message have been removed]" >>
"" WAS
^!Replace "[This message contained attachments]" >> "" WAS
^!Replace "Your use of Yahoo.*$" >> "" WARS
^!Replace "^pH=" >> "^pH(WITHINMESSAGE)=" WAIS
^!Replace "_+\n_+" >> "END OF MESSAGE" WARS

^!Find "Message: 1^p" W
^!SelectTo 1:1
^!InsertText = V4 Outline MultiLine NoSorting TabWidth=30^p^p
;hyphen space so TOPIC LIST header always sorts to top
^!Set %Topics%=^pH="- TOPIC LIST -"^p

:Loop1
^!Find "^Message: " SR
^!IfError Finish
^!Jump SELECT_END
^!Select EOL
^!Set %ID%=^$GetSelection$
^!If ^$StrSize(^%ID%)$=1 ^!Set %ID%=0^%ID%
^!DeleteLine
;if you really want the date you can open the original
^!DeleteLine
^!InsertText [- TOPIC LIST -]^p
^!Find "From: "
^!Jump SELECT_END
^!Select EOL
^!Set %From%=^$GetSelection$
^!Find "Subject: " S
^!Jump SELECT_END
;highlight subject with [] to make prominent
^!InsertText [
^!Select EOL
^!Set %Subject%=^$GetSelection$
;watch out for square brackets in subject
^!Set %Subject%=^$StrReplace("[";"{";"^%Subject%";False;False)$
^!Set %Subject%=^$StrReplace("]";"}";"^%Subject%";False;False)$
^!Set %Topics%=^%Topics%[^%Subject% (^%ID%)] ^%From%^p
^!Jump LINE_END
^!InsertText ]
;insert header
^!Jump -2
^!InsertText ^pH=^%Subject% (^%ID%)^p
^!Jump +2
^!Goto Loop1

:Finish
^!Jump 2
^!InsertText ^%Topics%
^!Select ALL
^!Delay 3
^!Keyboard ALT+M A L
;delete from TOPIC LIST only
^!Replace "END OF MESSAGE" >> "" SH
;delete multiple blank lines
^!Replace "^p^p^p" >> "^p^p" WAS
^!IfError Next else Skip_-1
;disable H= if within message
^!Replace "^pH(WITHINMESSAGE)=" >> "^p===== CLIP FOLLOWS =====^pH="
WAS
^!Save AS ^$GetDocumentPath$Groups\Digest.otl
^!Close ^$GetDocumentPath$Groups\Digest.otl
^!Open "^$GetDocumentPath$Groups\Digest.otl"
;remove email addresses from Topic List
^!Select ALL
^!Replace "\s<[A-Z_.-0-9]+@[A-Z_.-0-9]+>$" >> "" HARIS
^!Jump 1

:HTML OPTION
;For those of you that want the HTML option remove the following line
^!GoTo EXIT

^!Continue Open the outline as HTML? - Cancel to use outline
;^!ToolBar Remove Heading ;^!Keyboard ENTER ;doesn't seem to work
^!Keyboard Shift+F6 Shift+Ctrl+R Enter
^!Replace "END OF MESSAGE" >> "" WAS
^!Replace "[- TOPIC LIST -]^p" >> "" WAS
^!ToolBar Document to HTML
^!Replace "{<TITLE>}.*" >> "\1Yahoo Digest</TITLE>" R
^!Keyboard F8

#7579 From: hsavage@...
Date: Sat Oct 6, 2001 4:37 am
Subject: Error message when running ^!Dos command.
hsavage@...
Send Email Send Email
 
Error message when running ^!Dos command.

I have recently started to try running dos programs with NoteTab
clips.  I've never been able to get past this error message.

"This program cannot be run due to restrictions in effect on this
computer. Please contact your system administrator."

Since I'm the only one that uses this computer, and this is a
private computer, and have not consciously set up any
restrictions, does any one have an idea what the remedy for this
is.

I, very, rarely have need for using ^!Dos but it's part of clip
language and I would like it to work.

The ^$GetDosOutput$ functions work and I can run dos at any time,
in a box, or full screen, so it's a little irritating when trying
to run ^!Dos from a clip and not get past the error message.


hrs

#7580 From: "Piotr Bienkowski" <syntax@...>
Date: Sat Oct 6, 2001 7:09 am
Subject: Re: [Clip] Error message when running ^!Dos command.
syntax@...
Send Email Send Email
 
On 5 Oct 2001, at 23:37, hsavage@... wrote:

> I have recently started to try running dos programs with NoteTab
> clips.  I've never been able to get past this error message.
>
> "This program cannot be run due to restrictions in effect on this
> computer. Please contact your system administrator."

They probably mean Bill Gates ;)

But seriously, I can't get output from dos commands like dir using
the GetDosOutput command. This used to work with earlier versions of
Notetab Pro, but now doesn't. I'm on Windows 95.

Regards,

Piotr Bieñkowski

#7581 From: "Mark Halsall" <pm9000@...>
Date: Sat Oct 6, 2001 5:10 pm
Subject: Re: Re: Backing up files
pm9000@...
Send Email Send Email
 
Hi hrs,

Thanks. I have a clumsy workaround - but it works:

^!Shell C:\pkzipw\pkzipw.exe C:\temp\test.zip C:\temp\test1.txt
C:\temp\test2.txt
^!Delay 15
;enter into Save As dialog box
^!Keyboard #C:\temp\testx.zip# ENTER

Funny thing is that C:\temp\test.zip is TOTALLY ignored.
Also
C:\temp\test1.txt is ignored if wrapped in double quotes
and
C:\temp\test2.txt is ignored if wrapped in double quotes.

Very odd.

I see Jody's Noteback clip uses
^!F:\Programs\WinZip\WinZip32.exe -min -a -en
^%ZipPath%^$StrLower("^$GetName(^##)$")$-otl.zip ^##

So perhaps it would be simplest for me to get WinZip instead of PKZip.

Regards,
Mark


> Hi Mark,
>
> Sorry for the delay in answering.  I think you may have
> better luck if you use the following command line;
>
> ^!Shell C:\pkzipw\pkzipw.exe "C:\temp\test.zip"
> "C:\temp\test.txt"
>
> The command line in your message is at conflict.  Pkzipw.exe
> is a windows program yet, you are trying to run it in DOS.
>
> I tried this but it seems I must have some pkzipw options
> set up wrong.  Try looking in your Windows\temp folder for
> any files you have experimented with.  That's where pkzipw
> put my experiments, after zipping.
>
> hrs

#7582 From: Jody <av1611@...>
Date: Sat Oct 6, 2001 4:35 pm
Subject: Re: [Clip] Selecting a paragraph
av1611@...
Send Email Send Email
 
Hi Amitava,

>Alternatively you could use a keyboard macro programme to run the
>clip (I've don that before, but that is for yet another list,
>isn't it, Jody?)

Thanks for the Clips.  Yes, please makes posts about other programs
to the OffTopic list, see below.  Thanks!

Happy Topics,
Jody

The NoteTab Off-Topic List
mailto:ntb-OffTopic-Subscribe@yahoogroups.com
mailto:ntb-OffTopic-UnSubscribe@yahoogroups.com

#7583 From: Jody <av1611@...>
Date: Sat Oct 6, 2001 6:20 pm
Subject: Re:[Clip] Replacing characters in a variable
av1611@...
Send Email Send Email
 
Hi Elizabeth,

>^!Set %test%="The heavens declare"
>^!Set %test%=^$StrReplace("e";"X";"^%test%";False;false)$

>Come to think of it, I have question.  Is it possible to do
>shorthand for the case sensitive and whole word (T or F/1 or
>0/etc)?

1, as a matter of fact, there is. ;)

Yes|No, True|False, 1|0 (True|False respectively)  I find the one
and zero the easiest. ;)

Happy Clip'n!
Jody

http://www.notetab.net

Subscribe, UnSubscribe, Options
mailto:Ntb-Clips-Subscribe@yahoogroups.com
mailto:Ntb-Clips-UnSubscribe@yahoogroups.com
http://groups.yahoo.com/group/ntb-clips

#7584 From: "Harvey R. Savage" <hsavage@...>
Date: Sat Oct 6, 2001 6:36 pm
Subject: Re: [Clip] Re: Re: Backing up files
hsavage@...
Send Email Send Email
 
Mark Halsall wrote:
>
> Hi hrs,
>
> Thanks. I have a clumsy workaround - but it works:
>
> ^!Shell C:\pkzipw\pkzipw.exe C:\temp\test.zip C:\temp\test1.txt
> C:\temp\test2.txt
> ^!Delay 15
> ;enter into Save As dialog box
> ^!Keyboard #C:\temp\testx.zip# ENTER
>
> Funny thing is that C:\temp\test.zip is TOTALLY ignored.
> Also
> C:\temp\test1.txt is ignored if wrapped in double quotes
> and
> C:\temp\test2.txt is ignored if wrapped in double quotes.
>
> Very odd.
>
> Regards,
> Mark
>
Hi Mark,

Looks as if PKware need to do a little work on their - command
line options - option.

hrs

#7585 From: Jody <av1611@...>
Date: Sat Oct 6, 2001 6:26 pm
Subject: Re: [Clip] Get compressed NoteTab Light from TinyApps.Org
av1611@...
Send Email Send Email
 
Hi Stephen,

>Thank you for this.
>I liked using NoteTab Light before I could get my own computer
>and it still fit on one disc, I could use it and not clutter up
>someone else's computer..  It was great.

Nice new installer too, eh? ;)

>> Eric G.V. Fookes
>> Author of NoteTab, Mailbag Assistant, and Album Express
>> <http://www.fookes.com/>http://www.fookes.com/ and
<http://www.notetab.com/>http://www.notetab.com/


Happy Clip'n!
Jody

http://www.notetab.net

Subscribe, UnSubscribe, Options
mailto:Ntb-Clips-Subscribe@yahoogroups.com
mailto:Ntb-Clips-UnSubscribe@yahoogroups.com
http://groups.yahoo.com/group/ntb-clips

#7586 From: steveadausa@...
Date: Sat Oct 6, 2001 7:24 pm
Subject: documentaion of the "Set Bookmark" function
steveadausa@...
Send Email Send Email
 
Hi Everybody,

Does anyone know where in the "Help" file
I can find documentaion of the "Set Bookmark"
function?

Thanks,
          Steve

#7587 From: steveadausa@...
Date: Sat Oct 6, 2001 7:34 pm
Subject: Re: documentaion of the "Set Bookmark" function
steveadausa@...
Send Email Send Email
 
I found it, It's under "Select, Copy and Inset text"

Thanks

--- In ntb-clips@y..., steveadausa@y... wrote:
> Hi Everybody,
>
> Does anyone know where in the "Help" file
> I can find documentaion of the "Set Bookmark"
> function?
>
> Thanks,
>          Steve

#7588 From: Lotta <loro@...>
Date: Sat Oct 6, 2001 7:54 pm
Subject: Re: [Clip] Get compressed NoteTab Light from TinyApps.Org
loro@...
Send Email Send Email
 
Hi Stephen,

>Thank you for this.
>I liked using NoteTab Light before I could get my own computer and it
>still fit on one disc, I could use it and not clutter up someone else's
>computer..  It was great.

Then I have i tip for you. Notetab Pro fits nicely on floppy if you
compress the executable. My notetab.exe is 632 kB. That leaves enough space
on a floppy for support files and important libraries and even some clip bars.

Lotta

#7589 From: steveadausa@...
Date: Sat Oct 6, 2001 9:04 pm
Subject: Clip to see value of set variable
steveadausa@...
Send Email Send Email
 
Hi Everybody,

  I would like to be able to select or highlight
a variable in my clip, and then see what its value is.

I have tried highlighting the variable, and then
running this clip:

H="Info Variable"
^!Set %var1%=^$GetSelection$
;^!Info ^%var1%
;^!StatusShow ^%var1%
;^!SetDebug [On]

   (I have also tried those other lines coloned out.
I have tried seclecting only the variable name, and
tried including %'s and ^'s, all to no avail).

What is the best way to see a variable's value?

Any suggestions are greatly appreciated!


Thanks,

      Steve Adams

#7590 From: steveadausa@...
Date: Sat Oct 6, 2001 9:14 pm
Subject: Re: Clip to see value of set variable
steveadausa@...
Send Email Send Email
 
Hi Everybody,

  I know how to write a clip to view
a *particular* variable, but I want
to be able to see a variable's contents
without writing a clip calling out that
specific variable name; I want a generic
routine where I can select or highlight
the variable, and have the clip show me
its value.

Thanks,

      Steve Adams



--- In ntb-clips@y..., steveadausa@y... wrote:
> Hi Everybody,
>
>  I would like to be able to select or highlight
> a variable in my clip, and then see what its value is.
>
> I have tried highlighting the variable, and then
> running this clip:
>
> H="Info Variable"
> ^!Set %var1%=^$GetSelection$
> ;^!Info ^%var1%
> ;^!StatusShow ^%var1%
> ;^!SetDebug [On]
>
>   (I have also tried those other lines coloned out.
> I have tried seclecting only the variable name, and
> tried including %'s and ^'s, all to no avail).
>
> What is the best way to see a variable's value?
>
> Any suggestions are greatly appreciated!
>
>
> Thanks,
>
>      Steve Adams

#7591 From: Jody <av1611@...>
Date: Sat Oct 6, 2001 10:27 pm
Subject: Re: [Clip] Re: Clip to see value of set variable
av1611@...
Send Email Send Email
 
Hi Steve,

I did not see what you tried before writing this, but it all
works as expected for me and the way you were trying.  Make sure
your test Clip has a value set in the set line.  I often put any
character into an ^!Info box so that I can see if my variable is
getting set in the case of where is THIS bug? In other words, I
have no idea and just checking what is going on. :)  I know we
have SetDebug, but it confuses me more than just using ^!Info
boxes at various points in my Clip.  A lot of the time O use the
variable without the caret, then = so I know where I am at in the
Clip and see what I am getting at that point like my ^!Prompt
below.

^!Info ^$GetSelection$
;
^!Set %Var1%=^$GetSelection$
^!Prompt %Var1% = ^%Var1%

>I know how to write a clip to view a *particular* variable, but I
>want to be able to see a variable's contents without writing a
>clip calling out that specific variable name; I want a generic
>routine where I can select or highlight the variable, and have
>the clip show me its value.
>
>> I have tried highlighting the variable, and then
>> running this clip:

H="Info Variable"
^!Set %var1%=^$GetSelection$
^!Info ^%var1%

Happy Clip'n!
Jody

http://www.notetab.net

Subscribe, UnSubscribe, Options
mailto:Ntb-Clips-Subscribe@yahoogroups.com
mailto:Ntb-Clips-UnSubscribe@yahoogroups.com
http://groups.yahoo.com/group/ntb-clips

#7592 From: RS <ptools@...>
Date: Sat Oct 6, 2001 11:32 pm
Subject: Re: [Clip] Clip to see value of set variable
ptools@...
Send Email Send Email
 
Hi Steve,

At 09:14 PM 10/6/01 -0000, you wrote:
>Hi Everybody,
>
> I know how to write a clip to view
>a *particular* variable, but I want
>to be able to see a variable's contents
>without writing a clip calling out that
>specific variable name; I want a generic
>routine where I can select or highlight
>the variable, and have the clip show me
>its value.
>


Try this:

;======== Start ========
H="Info Variable"
^!Set %x%=Is this what you want?
^!Set %q%=The contents of q
^!Set %w%=The contents of w

^!Set %var1%=^$GetSelection$
^!Info ^%^%var1%%
; ^!StatusShow ^%var1%
;========= End =========

In a document, insert the following variable names:

=======
x
q
w
=======

Select one of the variable names (x, q, w) and launch the clip.

If you want to use it on the clip editor, you'll need to place a button on
a clipbar.
Just make sure you don't select the enclosing %%, only a variable name.

Your idea is interesting, but unfortunately, I cannot see any practical use
for it, since you cannot run two clips at the same time.

You can try doing it with a timer, but I somehow have the feeling that that
won't work.


Best regards,

Ramon Silvera

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

ClipWriter 2.5    http://ptools.home.att.net/ClipWriter/cw.htm

Understand clips written by others. -- Find the commands you need
quickly and without effort!  -- Make NoteTab do your bid!
And, whether an advanced programmer or just a beginner,
program NoteTab faster, easier, more efficiently ...


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

#7593 From: steveadausa@...
Date: Sat Oct 6, 2001 10:40 pm
Subject: Hate to type in Bookmark numbers?
steveadausa@...
Send Email Send Email
 
Hi Everybody,

   I love to set bookmarks, but I hate to have
to tell it what number to assign. I want a clip
to assign the bookmark number automatically.
I wrote this clip to do that. It mostly does,
but after it sets bookmark #9, the next time it
doesn't do anything, then the next time it sets
#1, then skips #2, and sets #3.

This routine "works for me", but I would be pleased
if anyone could fix the logic that makes it stumble
after #9. (If you have time; not an emergency.)  8^)

Thanks,

      Steve Adams


H="Set bookmark Auto"
;see if I have set a bookmark number yet to my variable
^!IfFalse ^%BookMarknum%  BMfalse ELSE BMtrue
:BMfalse
^!Set %BookMarknum%=1
^!SetBookmark=^%BookMarknum%
:BMtrue
^!Set %BookMarknum%=^$Calc(^%BookMarknum%+1)$
^!If ^%BookMarknum%>9 Greater Else Lesser
:Greater
^!Set %BookMarknum%=1 ^!SetBookmark=^%BookMarknum%
:Lesser
^!SetBookmark=^%BookMarknum%

#7594 From: Jody <av1611@...>
Date: Sat Oct 6, 2001 10:36 pm
Subject: Re: [Clip] Re: documentaion of the "Set Bookmark" function
av1611@...
Send Email Send Email
 
Hi Steve,

>I found it, It's under "Select, Copy and Inset text"

For future reference, if you know the menu command, you can
search for the Main menu item and when found in Help, open that
section.  In this case you would have searched for Search Menu
(or plain Search and look for Search Menu in the lower half).  I
mention that being in the Find Tab of Help, but the Index tab
should land you in the same place.

>> Does anyone know where in the "Help" file
>> I can find documentaion of the "Set Bookmark"
>> function?
>>
>> Thanks,
>>          Steve
>
>
>Yahoo! Groups Sponsor
>ADVERTISEMENT
>
>Your use of Yahoo! Groups is subject to the
<http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.


Happy Clip'n!
Jody

http://www.notetab.net

Subscribe, UnSubscribe, Options
mailto:Ntb-Clips-Subscribe@yahoogroups.com
mailto:Ntb-Clips-UnSubscribe@yahoogroups.com
http://groups.yahoo.com/group/ntb-clips

#7595 From: Jody <av1611@...>
Date: Sat Oct 6, 2001 10:49 pm
Subject: Re: [Clip] Get compressed NoteTab Light from TinyApps.Org
av1611@...
Send Email Send Email
 
Hi Lotta, Stephen, & Others,

If you install NoteTab Tiny using the custom install to a floppy
disk without installing any of the extras, never mind - that's
too much trouble! :)  Drag/drop the NoteTab.exe, NoteTab.ini
file, efomacro.dll (if you use Clips with keyboard shortcuts in
them) to floppy while holding the Ctrl down to Copy.  Run the exe
right off the floppy.  Now, from your hard drive installation,
drag/drop the Libraries you want into the Libraries folder on the
floppy.  You will now have a minimally install on the floppy
disk.  You can now run NoteTab directly from the floppy disk
without installing it on a hard drive and have some room to boot
for documents, etc.

The older laptops are very short on drive space.  I have not
looked at new ones, but there is probably plenty of room on them.
It also helps for the "traveling tech" so that he does not have
to install NoteTab onto a customers computer.

>> I liked using NoteTab Light before I could get my own computer
>> and it still fit on one disc, I could use it and not clutter up
>> someone else's computer..  It was great.
>
>Then I have i tip for you. Notetab Pro fits nicely on floppy if
>you compress the executable. My notetab.exe is 632 kB. That
>leaves enough space on a floppy for support files and important
>libraries and even some clip bars.


Happy Clip'n!
Jody

http://www.notetab.net

Subscribe, UnSubscribe, Options
mailto:Ntb-Clips-Subscribe@yahoogroups.com
mailto:Ntb-Clips-UnSubscribe@yahoogroups.com
http://groups.yahoo.com/group/ntb-clips

#7596 From: steveadausa@...
Date: Sat Oct 6, 2001 11:22 pm
Subject: Re: Clip to see value of set variable
steveadausa@...
Send Email Send Email
 
Ramon,

   That is exactly what I wanted. That is going to
be sooo handy.

Thank you,

    Steve


> Try this:
>
> ;======== Start ========
> H="Info Variable"
> ^!Set %x%=Is this what you want?
> ^!Set %q%=The contents of q
> ^!Set %w%=The contents of w
>
> ^!Set %var1%=^$GetSelection$
> ^!Info ^%^%var1%%
> ; ^!StatusShow ^%var1%
> ;========= End =========
>
> In a document, insert the following variable names:
>
> =======
> x
> q
> w
> =======
>
> Select one of the variable names (x, q, w) and launch the clip.
>
> If you want to use it on the clip editor, you'll need to place a
button on
> a clipbar.
> Just make sure you don't select the enclosing %%, only a variable
name.
>
> Your idea is interesting, but unfortunately, I cannot see any
practical use
> for it, since you cannot run two clips at the same time.
>
> You can try doing it with a timer, but I somehow have the feeling
that that
> won't work.
>
>
> Best regards,
>
> Ramon Silvera
>
> --------------------------------------------------------------------
--------
>
> ClipWriter 2.5    http://ptools.home.att.net/ClipWriter/cw.htm
>
> Understand clips written by others. -- Find the commands you need
> quickly and without effort!  -- Make NoteTab do your bid!
> And, whether an advanced programmer or just a beginner,
> program NoteTab faster, easier, more efficiently ...
>
>
> --------------------------------------------------------------------
--------

#7597 From: RS <ptools@...>
Date: Sun Oct 7, 2001 1:12 am
Subject: Re: [Clip] Re: Clip to see value of set variable
ptools@...
Send Email Send Email
 
Steve,

At 11:22 PM 10/6/01 -0000, you wrote:
>Ramon,
>
>  That is exactly what I wanted. That is going to
>be sooo handy.
>
>Thank you,
>
>   Steve


Great!

You are welcome. Let us know your findings.


Regards,

Ramon

#7598 From: "Harvey R. Savage" <hsavage@...>
Date: Sun Oct 7, 2001 12:40 am
Subject: Re: [Clip] Hate to type in Bookmark numbers?
hsavage@...
Send Email Send Email
 
steveadausa@... wrote:
>
> Hi Everybody,
>
>   I love to set bookmarks, but I hate to have
> to tell it what number to assign. I want a clip
> to assign the bookmark number automatically.
> I wrote this clip to do that. It mostly does,
> but after it sets bookmark #9, the next time it
> doesn't do anything, then the next time it sets
> #1, then skips #2, and sets #3.
>
> This routine "works for me", but I would be pleased
> if anyone could fix the logic that makes it stumble
> after #9. (If you have time; not an emergency.)  8^)
>
> Thanks,

Hello Steve,

Maybe you'll get some help with bookmarks in NoteTab 5, just now
you'll have to settle for TEN.

FROM NOTETAB HELP

^!SetBookmark n
Only NTP: sets a bookmark at the current cursor position. "n"
should be a value between 0 and 9.

^!GoToBookmark n
Only NTP: moves the cursor to the specified bookmark. "n" should
be a value between 0 and 9.

hrs

Messages 7569 - 7598 of 23787   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