Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: How do I use the OSK or NUMOSK from plugin?

  1. #1
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448

    How do I use the OSK or NUMOSK from plugin?

    i.e.
    - Select a button w/ PI command
    - Process some internal stuff
    - Prompt OSK.skin or NUMOSK.skin for user entry
    - Execute rest of commands based on user entry

    I've tried RR.Execute("OSKTOVAR;temp"), but it doesn't pause the execution of the subsequent commands.

    What I want is the PI to wait after the user is done entering in a value and hit "ENTER" on the OSK to process further commands.

    Help?

    TIA!
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  2. #2
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,173
    Blog Entries
    53
    use OSKTOCMD.. then set the command to process the rest of your function. Thats how i handle it.. probably a better way but it works lol


    Code:
    Case "rrshoutcast_setlimit"
                    Try
                        RRSDK.Execute("NUMOSKTOCMD;STATIONLIMIT;RRSHOUTCAST_GETSTATIONLIMIT")
                        clsLog.Log("[" & My.Computer.Clock.LocalTime & "]" & "Setting station Limit.")
                    Catch err As Exception
                        clsLog.LogError(err)
                    End Try
                    ProcessCommand = 2
    
                Case "rrshoutcast_getstationlimit"
                    RRSDK.Execute("SAVETOSKIN;RRSHOUTCAST_STATIONLIMIT;$STATIONLIMIT$")
                    ProcessCommand = 2
    Ya know .. i think it would be a good idea to great a subforum within the plugins forum for plugin development questions. I have a feeling alot of us are doin the same things differently with plugins.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  3. #3
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    Heheh...

    Ya, if I can remember right, the places that I've needed to do that was to catch/watch for the osk cmd, save the entire cmd for later use, then watch for the enter enter cmd and if seen check what the frm.tag is and see if its the osk.skin then continue processing from there. But what sonic has too will also work just as well...
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  4. #4
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,634
    I do it the nasty way



    Code:
                    Case "petrol_postcode"
                
                        CMD = "OSKTOCMD;PETCODE;petrol_newcode"
                        ProcessCommand = 3
                        
                    Case "petrol_newcode"
                    
                        PostCode = SDK.getinfo("=$PETCODE$")
                        PostCode = Replace(PostCode, " ", "")
                        result = PutINISetting("General", "PostCode", PostCode, INIpath)
                        Changes = True
                        url_compile
                        ProcessCommand = 2


    Actually, not too different.

  5. #5
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Cool...i'll try that. A plugin dev forum is a great idea. Will make finding tips easier.
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  6. #6
    FLAC
    Auto Apps:loading...
    EL CAMINO's Avatar
    Join Date
    Jul 2005
    Location
    upland california us
    Posts
    1,283
    same herei use the same dirty trick,LOL. i try to use frm.tag(returns the same as using SDK.GetiInfo("RRSCREEN") with no luck..

  7. #7
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,634
    Quote Originally Posted by Sal R. View Post
    Cool...i'll try that. A plugin dev forum is a great idea. Will make finding tips easier.

    Yeah it would be nice. also to have 'Skins in development' and 'working skins' sub forums.


    If only I had the power to create

  8. #8
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Quote Originally Posted by Enforcer View Post
    Yeah it would be nice. also to have 'Skins in development' and 'working skins' sub forums.


    If only I had the power to create
    I would think mod would want to limit your power.

    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  9. #9
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,634
    Quote Originally Posted by Sal R. View Post
    I would think mod would want to limit your power.


    Well seeing as I am already a supermod, I'm only one step away

  10. #10
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    Soooo close....YET, Soooo Far..
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 13
    Last Post: 05-28-2009, 04:18 PM
  2. Replies: 63
    Last Post: 03-10-2009, 08:49 PM
  3. iGuidance Hacks
    By pbarrette in forum GPS
    Replies: 47
    Last Post: 12-28-2007, 04:06 PM
  4. pc reboot on sd startup
    By duanes7 in forum StreetDeck
    Replies: 3
    Last Post: 12-14-2007, 09:55 AM
  5. IRMAN plugin
    By knyarko in forum StreetDeck
    Replies: 3
    Last Post: 01-05-2007, 09:26 PM

Bookmarks

Posting Permissions

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