ON AIR LABEL, CONFIMATION BOX

Moderator: Moderator Group

ON AIR LABEL, CONFIMATION BOX

Postby SpykeGM » Thu Apr 07, 2011 9:42 pm

I have few question about macroScript Button (sorry for my english...i'm French) :

I have (for exemple) 10 Macroscript Buttons (in different page). Each Button load a different media. I would like to create 2 different things :
First : I'd like that a pop up comes up on my page and make me choose if I "really want to load this show?" ("YES" button load the show and "NO" button close the pop-up) How is it possible?
Then : I'd like to have a label "ON AIR" under my Custom script button which I've choose. I'd like that this Label Follow the active button (the last button that i have selected). Can I create It easier than creating one box per button and a lots of macro which makes disappeard the past "ON AIR" label under the last selected Button?
Finally : CTRL+Z doesn't works in WD Designer???

Best Regards,

Gaetan
SpykeGM
 
Posts: 43
Joined: Thu Apr 07, 2011 9:12 pm

Re: ON AIR LABEL, CONFIMATION BOX

Postby SpykeGM » Thu Apr 07, 2011 10:53 pm

Update : I've find for The "Are you Sure" Box
SpykeGM
 
Posts: 43
Joined: Thu Apr 07, 2011 9:12 pm

Re: ON AIR LABEL, CONFIMATION BOX

Postby Julia Foest » Fri Apr 08, 2011 7:22 am

Hi Gaetan,

so to your first question: you are using the Script WDMacroBoxYesNo,Title,Content,MacroName1,MacroName2 now?

To your second question:
I would do it this way: creating a Macro (e.g. called "blanc"). This Macro clears the text of all labels below the CS Buttons using the scripts
WDLabelText,1,
WDLabelText,2,
WDLabelText,3,
...

In your CS Buttons add to the scripts they execute the Macroscript, a little Waittime and the script to change the label's text to ON AIR:

WDMacro,blanc --> clears all Labels
WDWait,0.2 --> adds 0.2 secs Wait to make sure the macro is executed before you change the label below your button
WDLabelText,'ID',ON AIR --> displays ON AIR below your button (insert the ID according to the label)

Your last question:
Finally : CTRL+Z doesn't works in WD Designer???
--> No, there is no Undo-Function.

Best regards,
Julia
User avatar
Julia Foest
 
Posts: 521
Joined: Tue Nov 18, 2008 2:44 pm
Location: Berlin, Germany

Re: ON AIR LABEL, CONFIMATION BOX

Postby SpykeGM » Fri Apr 08, 2011 3:02 pm

Hi Julia,

Thanks for your answer.

For my first question : yes i'm using this script whuch i did'nt see before...

For my second question : this issue is which i've choose.

No Undo... ok.

Best regards,

Gaetan
SpykeGM
 
Posts: 43
Joined: Thu Apr 07, 2011 9:12 pm

Re: ON AIR LABEL, CONFIMATION BOX

Postby SpykeGM » Sat Apr 16, 2011 5:43 pm

Hi Again,

I Have question about this script : WDMacroBoxYesNo,Title,Content,MacroName1,MacroName2
- If I don't replace "Macroname1" and "Macroname2" by a macro, the message box works but the "No" button has the same behaviour than the "Yes" button.
Ok, I should create a macro. But I have the STD edition of WD ans can't a macro because I have no access to macroscript editor.

So, Is there any solution to create this message Box which would works normally ("Yes" button do all my script and "No" button do nothing and close the messagebox) with the STD edition ?

Best regards,

Gaëtan
SpykeGM
 
Posts: 43
Joined: Thu Apr 07, 2011 9:12 pm

Re: ON AIR LABEL, CONFIMATION BOX

Postby Patrick Verhey » Mon Apr 18, 2011 12:36 pm

Hi,

yes, Widget Designer STD will not let you edit any macros. It will run the macros once they have been created in a PRO version, and thats why you can also use scripts related to macros in the STD version. But to create or edit a macro you need to have the PRO version.

best regards

Patrick
____________________
Patrick Verhey
coolux
Patrick Verhey
 
Posts: 366
Joined: Fri Jul 11, 2008 11:49 am
Location: Cologne, Germany

Re: ON AIR LABEL, CONFIMATION BOX

Postby SpykeGM » Fri May 20, 2011 8:09 am

Hi,

and...is there a solution to create this type of box with the standard edition?
Precisely, I would like to have a confirmation before doing the associated action inside the Macroscript Button. This is by precaution because I have a touch screen.

best regards,
SpykeGM
 
Posts: 43
Joined: Thu Apr 07, 2011 9:12 pm

Re: ON AIR LABEL, CONFIMATION BOX

Postby Julia Foest » Fri May 20, 2011 9:21 am

Hi Spyke,

you can only use the MacroScriptBox when there are macros defined.
There is no other solution than setting up macros in a WD pro version.

Greetings,
Julia
User avatar
Julia Foest
 
Posts: 521
Joined: Tue Nov 18, 2008 2:44 pm
Location: Berlin, Germany

Re: ON AIR LABEL, CONFIMATION BOX

Postby SpykeGM » Fri May 20, 2011 12:02 pm

OK. Thanks for your reply Julia.

Regards,

Gaëtan
SpykeGM
 
Posts: 43
Joined: Thu Apr 07, 2011 9:12 pm


Return to Widget Designer V4.7

Who is online

Users browsing this forum: No registered users and 60 guests

cron