Page 2 of 5

hpwColorMemo

PostPosted: Tue Jun 01, 2004 2:05 am
by HPW
>you got yahoo,icq,msn messenger ????? this would be alot easyer chat live chat

No, the horse has not learned new triks yet. ;-)

>say when modifing the contents of the [clipboard] after setting it to a permanent variable

You must understand exactly who does what at which time. When you do something between the clipboard and a variable no plugin is in action. It is neobook core.

When you use hpwColorMemoSetText the text is loaded into the memo. Also when hpwColorMemoPasteFromClip a snippet is send to memo. So in this actions some translations could be possible.

hpwColorMemo

PostPosted: Tue Jun 01, 2004 2:24 am
by SpiritHorseNOOT
it is after all modifications are done and the contents of the clipboard are set to a permenant varible for use with hpwcolormemo and then load it in to the plugin that i run into the problem here is an example

sorry i tryed to post the example in text here but seems that the forums sofware knows what keys are used and applys them ............lol


(Edited by SpiritHorseNOOT at 6:37 am on June 28, 2004)

hpwColorMemo

PostPosted: Tue Jun 01, 2004 2:39 am
by SpiritHorseNOOT
i need it to look more like this


==== Sample ======


Object Name = BtnAdd

Left = 158

Top = 93

Width = 51

Height = 26

Text = Add

Align = 2

Image Style =  Individual Images

Up Image = c:\buttonimages\play.pcx

Up Trans Color =  (0,0,32 RGB) & (#000020 HTML)

Down Trans Color =  (0,0,32 RGB) & (#000020 HTML)

Over Trans Color =  (0,0,32 RGB) & (#000020 HTML)

Overlay Text =  On Top of Image

=== Click  ===
...OPEN MP3 FILE
FileOpenBox "Select File(s)...." "MP3 WAV|*.MP3;*.WAV" "" "[FILENAME]" "MULTIPLE"

=== Right Click  ===
...Separte the multiple selections in to an array
StrParse "[filename]" ";" "[files]" "[count]"
Loop "1" "[count]" "[loopcount]"
ListBoxAddItem "ListBox1" "0" "[files[loopcount]]]"
endloop
ListBoxSize "ListBox1" "[listnum]"

Line Color =  (0,255,255 RGB) & (#00FFFF HTML)

Line Width = 0

Line Style =  Solid  ______

Fill Color =  (192,192,192 RGB) & (#C0C0C0 HTML)

Fill Pattern =  Solid

Font = Arial

Font Size = 10

Font Style =  Bold

Font Char Set = 1

Text Color =  (0,0,0 RGB) & (#000000 HTML)

Tab Order = 11

==== Sample End ====

yes that is a sample of what the Object info will look like in Spiritsaver when it is released


(Edited by SpiritHorseNOOT at 5:54 am on June 1, 2004)

hpwColorMemo

PostPosted: Tue Jun 01, 2004 3:06 am
by SpiritHorseNOOT
oh where all those black boxes are in the screen shot is where the [#13] is suppose to be which produces the double spaced lines

hpwColorMemo

PostPosted: Tue Jun 01, 2004 3:15 am
by HPW
Setvar "[MemoInput]" "Test[#13]Test"

gives a black square!
But a true DOS-linefeed is 2 Bytes:

Setvar "[MemoInput]" "Test[#13][#10]Test"

does show a linefeed.

hpwColorMemo

PostPosted: Tue Jun 01, 2004 3:18 am
by SpiritHorseNOOT
ty Hpw sorry for all the trouble

hpwColorMemo

PostPosted: Wed Jun 02, 2004 1:44 am
by SpiritHorseNOOT
i get EInvalidPointer Operation or Ungütige Ziegeroperation or program Instantly crashes when having a large list under

;Start of the first rule
0|Add
0|KeyBegEndLst.Add|[;];Red
0|KeyBegEndLst.Add|hpw; ;Blue
0|KeyBegEndLst.Add|pdf; ;Blue
0|KeyBegEndLst.Add|dbf; ;Blue

and as far as the space after the first ; it has to be there to properly highlight the syntax for commands

the orignal in your example pub had a " instead of the space and it highlighted the " as well so i switched it and the syntax hightlighting was correct so you might want to change it in you example pub

hpwColorMemo

PostPosted: Wed Jun 02, 2004 3:31 am
by HPW
So can you avoid the error?

Or can you send me a stripped down example file with PUB/CFG which throws the error?

hpwColorMemo

PostPosted: Wed Jun 02, 2004 4:39 am
by SpiritHorseNOOT
it just simple doesn't want to highlight more than 40 items at a time in the 0|KeyBegEndLst.Add|

hpwColorMemo

PostPosted: Wed Jun 02, 2004 4:58 am
by HPW
Hmm, the current neopub.cfg from the PubViewer has 244 keywords and its highlight correctly.

hpwColorMemo

PostPosted: Wed Jun 02, 2004 5:00 am
by SpiritHorseNOOT
I am not talking about the Keywords.Add i am talking about the KeyBegEndLst.Add only  and yes the keywords.add works fine

hpwColorMemo

PostPosted: Wed Jun 02, 2004 5:20 am
by SpiritHorseNOOT
here download this file you will see what i mean

download

hpwColorMemo

PostPosted: Wed Jun 02, 2004 5:42 am
by HPW
I see the problem. Seems not a problem of my wrapper (I call the function for each line), but of the freeware component I used. I have to contact support at www.balticsolutions.com to get more info. Maybe they limit the capability of the free version to get sales of the full release.

The problem with the full release is not the price (25$) but the license. In my understanding they do not allowed to build wrappers around their full product.

So when it is  a problem of the free component, there will be not much I can do.

hpwColorMemo

PostPosted: Wed Jun 02, 2004 5:48 am
by SpiritHorseNOOT
ah ok
guess i just do things the hard way aye?
lol
its cool just wanted to add support for all the major plugins is all

hpwColorMemo

PostPosted: Mon Jun 28, 2004 3:39 am
by SpiritHorseNOOT
About the hotspots .......................can you add more than one hotspot each with there own actions????