Source language: Translate to:

TextWindow / ImageWindow problem

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

TextWindow / ImageWindow problem

Postby naglieri » Thu Apr 02, 2009 6:36 am

I have problem with these 2 functions:
TextWindow and ImageWindow

Both have possibility to give a name to "Windows title"

These windows can be closed using
CloseWindow

If I try use this syntax
CloseWindow "xyz" ( where xyz is the name of window )
window don't close, only using CloseWindow "" is possible close it.

Where is the problem? is a bug of Neobook ?

Thanks
Naglieri Marco
Information Technology
Tel +39-0721-433352 Fax +39-0721-400924
Renco S.p.A - 61100 Pesaro - Italy
www.renco.it
User avatar
naglieri
 
Posts: 49
Joined: Thu Mar 31, 2005 11:31 pm

Postby Wrangler » Thu Apr 02, 2009 8:12 am

From help:

Syntax:
CloseWindow "file name"

file name

The file name of the window to close, or leave blank to close all open windows.

Example:
CloseWindow "C:\Samples\Chart1.bmp"

It is looking for the name of the file, not the name of the window.
Wrangler
--------------
"You never know about a woman. Whether she'll laugh, cry or go for a gun." - Louis L'Amour

Windows 7 Ultimate SP1 64bit
16GB Ram
Asus GTX 950 OC Strix
Software made with NeoBook
http://highdesertsoftware.com
User avatar
Wrangler
 
Posts: 1505
Joined: Thu Mar 31, 2005 11:40 pm
Location: USA

correct

Postby naglieri » Thu Apr 02, 2009 8:52 am

Yes, you are right.
for some strange reason I read one thing and thinking another.

Bye


Wrangler wrote:From help:

Syntax:
CloseWindow "file name"

file name

The file name of the window to close, or leave blank to close all open windows.

Example:
CloseWindow "C:\Samples\Chart1.bmp"

It is looking for the name of the file, not the name of the window.
Naglieri Marco
Information Technology
Tel +39-0721-433352 Fax +39-0721-400924
Renco S.p.A - 61100 Pesaro - Italy
www.renco.it
User avatar
naglieri
 
Posts: 49
Joined: Thu Mar 31, 2005 11:31 pm

Postby Wrangler » Thu Apr 02, 2009 8:56 am

Yes. Here, we call them brain farts. They come with old age. :)

And, the help really isn't worded the best. An easy mistake to make.
Wrangler
--------------
"You never know about a woman. Whether she'll laugh, cry or go for a gun." - Louis L'Amour

Windows 7 Ultimate SP1 64bit
16GB Ram
Asus GTX 950 OC Strix
Software made with NeoBook
http://highdesertsoftware.com
User avatar
Wrangler
 
Posts: 1505
Joined: Thu Mar 31, 2005 11:40 pm
Location: USA


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest

cron