PDA

View Full Version : Question PopupNotify


Solmos
03-23-2007, 03:42 PM
I need scrip so that popup shows the text from to txt

text = TextFile.ReadToString("text.txt");

Folder.SetCurrent(_SourceFolder)
PopupNotify.SetBackGroundImage("AutoPlay\\Images\\Image.bmp", 6723891)

PopupNotify.SetText1("X", "Arial", 90, 3355443, true, false, true, true, false, 12632256, false)
PopupNotify.SetText1Rect(10, 3, 370, 30)
PopupNotify.SetText2(text.."", "Arial", 90, 6697728, true, false, false, false, false, 3355443, true)
PopupNotify.SetText2Rect(9, 70, 200, 270)

PopupNotify.SetClickToClose(true, false, true, false, false, false)

PopupNotify.SetOffset(1, 0)
PopupNotify.Show(10000, 5, false)

for example; text in Text.txt:

blablablablablana blablabla blabla blabla balba

blablabla blabla blana

ablabla

Not work

Some sugestion??

thx!

RizlaUK
03-23-2007, 03:50 PM
well, i dont realy know about popup notify as i havent used it yet

but id start by adding the full path to the text file
text = TextFile.ReadToString("path\\to\\file\\text.txt");

Solmos
03-23-2007, 04:04 PM
it pardons

but I do not understand

to you my ingles is very bad

the route of txt this good

text = TextFile.ReadToString(_SourceFolder.."\\text.txt");?????

Worm
03-23-2007, 09:51 PM
Here is an example. Also, be sure to check out the other examples on my support forums (http://www.warmuskerken.com/webwizforum)

Solmos
03-24-2007, 05:20 AM
Hi Worm

Thanks works great ;-)

but, I have found others bug to popupnotify, I send an example to you: the error takes place when having the diminished application, and to say by means of On.Timer, that it shows a message to him, takes place an error and autorrun is closed.

also a Imput happens east problem when showing or Coimbox or another one, need that the applications this showing to work, but does not work

Example:

http://www.box.net/shared/4lkqsvek7g

Worm
03-24-2007, 07:30 AM
I'll look into this and see what I can dig up

Worm
03-24-2007, 10:58 PM
Okay, I've taken care of the issue. Download the latest demo from my website (http://www.warmuskerken.com). Once you've installed the new version, go into your projects file/folder structure and delete the PopupNotify folder under Plugins. This is to ensure the new plugin is copied into the project.

If you have any problems let me know.