Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2006
    Location
    Asturias, Spain
    Posts
    82

    WMP plugin HELP with keys!!!

    hi, i have a very big problem...
    my app opens a video loaded from a web in the wmp plugin in full screen (all of this on page show) and i want that when the user presses for example the down arrow (e_key == 40...) makes other action, like load another diferent video... but when the wmp plugins is playing in full screen none of the page -> on key scripts work...

    any idea of how can i make it work?

    PD. sorry for my bad engligh
    Last edited by paul186; 12-23-2008 at 03:05 PM. Reason: some errors writting :-$

  2. #2
    Join Date
    Aug 2003
    Posts
    2,427
    Where have you put the code that is testing for the key stroke? Have you tried starting the page timer on say 250 msecs and putting the code in the on timer event?

  3. #3
    Join Date
    Jan 2006
    Location
    Asturias, Spain
    Posts
    82
    Quote Originally Posted by longedge View Post
    Where have you put the code that is testing for the key stroke? Have you tried starting the page timer on say 250 msecs and putting the code in the on timer event?
    i do what you said but... nothing, when the wmp plugin is in fullscreen the keys didnt work

    here is the code:
    Code:
    -- Get the indexes of the items currently selected in the listbox.
    selected_items = ListBox.GetSelected("ListBox1");
    
    -- If there were items selected in the listbox, display a dialog with their indexes.
    -- If no items were selected, display a notification message.
    if (selected_items ~= nil) then
        output = "";
        for index, item in selected_items do
            output = output..item.."\r\n";
    end
       
       
    --when user press down key, a down channel of the listbox is turned and the channel never could be less than 0
    canalmenos = output -1
     if canalmenos == 0 then
     	canalmenos = 1  
     end
     
     --if the user press up arrow an upper channel will be turned
     canalmas = output +1
     if canalmas == 0 then
     	canalmas = 1  
     end
     
    --now the user press up arrow
    if e_Key == 38 then
        -- chanel +1
    	ListBox.SelectItem("ListBox1", canalmas);
    
    end
    --user press down arrow
    if e_Key == 40 then
        -- chanel -1
    	ListBox.SelectItem("ListBox1", canalmenos);
    end
    end
    I have a WMP player plugin and a listbox with for example:
    index 1 - name: BBC - data: the link to the bbc.asp
    index 2 - name: Discovery channel - data: the link to the discovery_channel.asp

    and i want that when the user is viewing one of theres channels at fullscreen and press up or down key that navigate for the listbox without exiting fullscreen

    Resuming: i want to change channel with up and down arrow keys without exiting fullscreen

    PD.i tried with page -> on timer (250ms) and on page _> on key but none work...

  4. #4
    Join Date
    Sep 2008
    Posts
    6
    you can't used keys in fullsecreen mode

    becouse on fullscreen mode you are not on the project window

    just the wmp keys worked

    ctrl+p .. etc

    best wishes

Similar Threads

  1. WMP plugin stops playing when switching pages
    By BlueMe in forum AutoPlay Media Studio 7.5
    Replies: 11
    Last Post: 11-24-2007, 07:02 AM
  2. ComboBox and WMP Plugin
    By Gerri in forum AutoPlay Media Studio 6.0
    Replies: 4
    Last Post: 10-11-2006, 12:46 PM
  3. Use buttons Back & Fwd in WMP Plugin
    By Jorge Espinoza in forum AutoPlay Media Studio 6.0
    Replies: 4
    Last Post: 03-03-2006, 02:13 PM
  4. How do I load the WMP Plugin in AMS6?
    By Ed Stanley in forum AutoPlay Media Studio 6.0
    Replies: 13
    Last Post: 02-06-2006, 09:29 PM
  5. Getting file info from the WMP plugin
    By Roboblue in forum AutoPlay Media Studio 6.0
    Replies: 0
    Last Post: 11-30-2005, 02:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts