FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

scripts:BSPlayer,Media Player,WinDVD,Zoom Player,TVTool,Mute
Goto page Previous  1, 2, 3, 4, 5
 
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows
View previous topic :: View next topic  
Author Message
magnusrocha
Newbie


Joined: 21 Dec 2007
Posts: 1

PostPosted: Fri Dec 21, 2007 9:58 pm    Post subject: Media player Quit menu item bugfix. Reply with quote

Hi folks!
Here's the fix for those who experiencing shutdown window while trying to quit windows media player.

the original code is:


[quote]function moreMenu_ValueUpdated(theScreen, theProperty)
{
setting_moremenu_item = theScreen.selectedItem;
writeSettings();
// How do I close WMP without keystroke ALT+F4?
if (moreMenuItemUUIDs[theScreen.selectedItem] == "quit") {
var wmpwh = FindWindow("WMPlayerApp", "Windows Media Player");
if ([b]wmpwh != 0[/b]) {
theTerminal.PopTo("Windows Media Player");
player.controls.Stop();
ActivateWindow(wmpwh);
SendVirtualKeystroke(0x73,false,false,true,false);
}
//mediaPlayer_Exit(theScreen);
//}
} else if(moreMenuItemUUIDs[theScreen.selectedItem] != "") {
theTerminal.ExecuteScript(moreMenuItemUUIDs[theScreen.selectedItem]);
}
}[/quote]

The correction is to change the the field bolded from "0" to "1":
Here it is:

[quote]
function moreMenu_ValueUpdated(theScreen, theProperty)
{
setting_moremenu_item = theScreen.selectedItem;
writeSettings();
// How do I close WMP without keystroke ALT+F4?
if (moreMenuItemUUIDs[theScreen.selectedItem] == "quit") {
var wmpwh = FindWindow("WMPlayerApp", "Windows Media Player");
if ([b]wmpwh != 1[/b]) {
theTerminal.PopTo("Windows Media Player");
player.controls.Stop();
ActivateWindow(wmpwh);
SendVirtualKeystroke(0x73,false,false,true,false);
}
//mediaPlayer_Exit(theScreen);
//}
} else if(moreMenuItemUUIDs[theScreen.selectedItem] != "") {
theTerminal.ExecuteScript(moreMenuItemUUIDs[theScreen.selectedItem]);
}
}
[/quote]

Merry Christmas and happy 2008 everyone.
P.S.: Sorry for my bad english!
Back to top
View user's profile Send private message
K2D
Newbie


Joined: 07 Dec 2007
Posts: 3

PostPosted: Wed Dec 26, 2007 8:17 pm    Post subject: WMP Fullscreen & File Browser Reply with quote

I'd love to have a Windows Media Player File Browser function and a Fullscreen toggle.
Fullscreen toggle is by default set to Alt+Enter on windows...maybe that can be assigned to any key or something...
I also tried using Power DVD aso instead, but the Windows Media Player is a lot more comfortable...

Please Help!!
Back to top
View user's profile Send private message
tucamthanh
Newbie


Joined: 03 Oct 2008
Posts: 2

PostPosted: Fri Oct 03, 2008 4:05 am    Post subject: Re: scripts:BSPlayer,Media Player,WinDVD,Zoom Player,TVTool, Reply with quote

[quote="daffy"]Hello Everybody,

I have finally created some own scripts and extended some of the default scripts. I will propably continue to enhance them, but since I am already very happy with them, as they are now, I decided to make them public.

When I change something, then I will post it here.

To install any of the Scripts proceed as follows, download the ZIP file and
extract it to the folder "My Clicker Scripts" in the "My Documents" folder.[/quote]

Can you hepl me . Scripts for Mediaplayer have scripts :

Current playlist; and quit menu .
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows All times are GMT + 2 Hours
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group