FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

backgrounds

 
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows
View previous topic :: View next topic  
Author Message
ar11
Newbie


Joined: 04 Nov 2007
Posts: 13

PostPosted: Thu Jun 12, 2008 4:47 pm    Post subject: backgrounds Reply with quote

here are some backgrounds
they are for resolution: 240 x 320 pixels

1:Media Player Classic
2:K!TV

here is an example to insert the KTV background

//Widget launcher
function launchWidget()
{
var widget = CreateMediaplayerScreen( "mykeypad_" );
widget.image = "c:\\ktv.jpg";
.
.
.



mpc.jpg
 Description:
 Filesize:  6.36 KB
 Viewed:  7208 Time(s)

mpc.jpg



ktv.jpg
 Description:
 Filesize:  5.67 KB
 Viewed:  7208 Time(s)

ktv.jpg


Back to top
View user's profile Send private message
bB
Newbie


Joined: 23 Apr 2009
Posts: 13

PostPosted: Thu Apr 23, 2009 8:25 pm    Post subject: Reply with quote

And indeed it works! Thanks!
The magic line:
[code:1]widget.image = "c:\\ktv.jpg"; [/code:1]

(i'm using it to create a nasty night-mode: the MPC script here now has a dark background. just not the menu's et al...)
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
Page 1 of 1

 
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