PDA

View Full Version : Send message to XP pop-up window et al.



sapnho
December 10th, 2004, 07:59 AM
After Mike and Mastiff (yes, Mastiff!) encouraged me to learn some LUA, I have done a bit of reading up and have successfully made a few "decent" scripts. However, I wonder how to put this one into practise:

I would like a normal XP pop-up window with a text in a variable to pop up for a certain time if a condition is being met. I have used the simple OSD in the past but would like to have something more elaborate this time. How would I do that in LUA? No user feedback required in this pop-up window just plain information. How would I make it blink?

father of monstermagnet
December 10th, 2004, 09:00 AM
Servus Schoppepetzer! :lol:

It's not possible to make a blinking XPOSD message.

This can only be done in HTMLOSD or with Luacom and the Internet Explorer
Application.

To show your variable in XPOSD or HTMLOSD

Multigroup:

Luascript
XPOSD with variable in [] brackets

Hope that helps

gez.
Die schwarze Petra :lol:

sapnho
December 10th, 2004, 10:20 AM
Schwarze Petra-

can you run this by me again please (8086 brain here):

I create a multigroup. Add command and enter Girder VMS script which runs like this?


asd = "Testing of XP Window"

XPOSD [asd]

Am I missing something here? Because I get the message
error: attempt to call global `XPOSD' (a nil value)
stack traceback:
1: main of string "?" at line 3

Why do I need a multigroup for one command? Thanks!

Marsupial
December 10th, 2004, 11:18 AM
if you need blinking, you can always show and remove the popup alternatively....

sapnho
December 10th, 2004, 11:37 AM
Hey, I am still trying to get the easy part going...blinking is for later... :wink:

father of monstermagnet
December 10th, 2004, 11:40 AM
You don't need a multigroup for one command.

That's just the easiest way to show a variable in an osd.

Multigroup:

1. command

Luascript


asd = "Testing of XP Window"

2. command
(goto Plugins XPOSD and type into the osd text box)

[asd]

You can also trigger the xposd event from lua...

gez.

Petra R.

sapnho
December 10th, 2004, 12:10 PM
Ah, a plug-in: Well not on sale today - when I click on the XP OSD link it get the following message:

sapnho
December 10th, 2004, 12:31 PM
The link works again. :D

father of monstermagnet
December 10th, 2004, 12:41 PM
I'm confused ? :o

What XP OSD do you mean ?

Something like an standart alert box ?

I think xposd is the solution you are searching for.

The promixis pages are in a total mess.
So try the download again, it works slooooooooooow.

@ Promixis Webpage designer

Please clean up the pages...and bring the functionality back

sapnho
December 10th, 2004, 11:10 PM
Sorry for being unclear. XP OSD is great and exactly fits my needs, I just had problem downloading it. :wink: