FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

[Request] Universal Media Controls

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


Joined: 06 Feb 2008
Posts: 3

PostPosted: Wed Feb 06, 2008 2:55 am    Post subject: [Request] Universal Media Controls Reply with quote

Hi, I am ecstatic about all the features Clicker has provided to the S60 OS, and more phones as well. I would like to thank you all for developing and scripting amazingly streamlined scripts for the clicker.

I was wondering if it is possible for a script to execute commands to the PC such as

MediaNext Track
MediaPrevious Track
MediaPlayPause

I find these commands are on my keyboard, which has play pause next previous shortcuts integrated, and the above seem to be what it executes. These commands work on every application (media player, winamp, media monkey, jrive media center, VLC, mplayer, media player classic etc etc). Is it possible to execute these universal commands though Clicker?

Thanks guys
Back to top
View user's profile Send private message
simbo
Senior Member


Joined: 28 Jul 2006
Posts: 78
Location: UK

PostPosted: Wed Feb 06, 2008 3:46 pm    Post subject: Reply with quote

It should be possible, provided Clicker supports ConsoleKey enumeration messages, however you would lose much of the benefits of Clicker, including seeing details on the currently playing track, browsing, etc.
Back to top
View user's profile Send private message
furquanatique
Newbie


Joined: 06 Feb 2008
Posts: 3

PostPosted: Wed Feb 06, 2008 5:18 pm    Post subject: Reply with quote

you're right, we might lose some functionality, but you see I actually was thinking of something that might control media in the Jriver Media Center application, and since it seems there might not be a solution for it anytime soon, this might just be the temporary workaround to a fully featured Jriver Media Center Clicker script...
Back to top
View user's profile Send private message
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Wed Feb 06, 2008 6:08 pm    Post subject: Reply with quote

I'm not sure we do what's necessary with these types of keycodes, but I suggest you give these a shot:

// VK_MEDIA_NEXT_TRACK
SendVirtualKeystroke( 0xB0, 0, 0, 0, 0 );

// VK_MEDIA_PREV_TRACK
SendVirtualKeystroke( 0xB1, 0, 0, 0, 0 );

// VK_MEDIA_PLAY_PAUSE
SendVirtualKeystroke( 0xB3, 0, 0, 0, 0 );

Best.
--
Jonas
Back to top
View user's profile Send private message Send e-mail Visit poster's website
furquanatique
Newbie


Joined: 06 Feb 2008
Posts: 3

PostPosted: Thu Feb 07, 2008 7:42 am    Post subject: Reply with quote

[quote="salling"]I'm not sure we do what's necessary with these types of keycodes, but I suggest you give these a shot:

// VK_MEDIA_NEXT_TRACK
SendVirtualKeystroke( 0xB0, 0, 0, 0, 0 );

// VK_MEDIA_PREV_TRACK
SendVirtualKeystroke( 0xB1, 0, 0, 0, 0 );

// VK_MEDIA_PLAY_PAUSE
SendVirtualKeystroke( 0xB3, 0, 0, 0, 0 );

Best.
--
Jonas[/quote]

Hey thanks Jonas, appreciate the help, but im your worst nightmare, yeah a newbee! :roll: I can copy paste, but into what? :shock:
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