Results 1 to 7 of 7

Thread: Can't autorun command in skin file

  1. #1
    Maximum Bitrate pcpete's Avatar
    Join Date
    Mar 2008
    Location
    Toronto Canada
    Posts
    467

    Can't autorun command in skin file

    If i enter this in my audio_browser skin and press the button it works...

    B,305,0,90,60,"SEARCHFILES;folder.jpg"

    What I want is NOT to have to press a button but have the command autorun each time the skin file loads...

    I tried just entering...

    "SEARCHFILES;folder.jpg"

    but this doesn't do anything...

    Skin gurus, please enlighten me....

  2. #2
    FLAC
    Auto Apps:loading...
    EL CAMINO's Avatar
    Join Date
    Jul 2005
    Location
    upland california us
    Posts
    1,216
    "LIST||SEARCHFILES;folder.jpg"

    or in flash

    fscommand("LIST")
    fscommand("SEARCHFILES;folder.jpg")

    also not sure but maybe "ONSCREENCHANGE"

  3. #3
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    4,849
    Yep, could use the

    "ONSCREENCHANGE","LIST||SEARCHFILES;folder.jpg",xx .skin (skinfile name on then end)

    will only run after that screen is loaded, everytime.
    RideRunner...The #1 FE, PERIOD.

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

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

  4. #4

  5. #5
    Maximum Bitrate pcpete's Avatar
    Join Date
    Mar 2008
    Location
    Toronto Canada
    Posts
    467
    OK, got this to work by putting it in exectbl.ini..

    "ONSCREENCHANGE","SEARCHFILES;folder.jpg",covers.s kin

    Now I'm having another issue...The larger picture is I want to import a list of folder.jpg paths into flash. I've got it somewhat working using CUSTOMDL.

    Originally I issued the searchfiles command from flash ,like this...

    fscommand("SEARCHFILES;folder.jpg");
    //fscommand("WAITEXEC");
    fscommand("GETDL","");

    This gets me what I want into flash....but I'm having a timing issue though, flash continues executing commands while the search is going on, as you can see I tried the "WAITEXEC" command, but that hangs the screen skin.

    Thats why I was hoping to run the search in RR, do a WAIT;5 then load the swf.

    The 5 second delay doesn't happen, the swf loads up right away...is this broken?

    I know the search is working and CUSTOMDL does get the populated with the paths...I have a button in my swf that also issues fscommand("GETDL","").

    On another note , why is GETDL needed? all my other lables auto update.

    Thx for any help or suggestions..

  6. #6
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    7,778
    Blog Entries
    32
    Quote Originally Posted by pcpete View Post
    OK, got this to work by putting it in exectbl.ini..

    "ONSCREENCHANGE","SEARCHFILES;folder.jpg",covers.s kin

    Now I'm having another issue...The larger picture is I want to import a list of folder.jpg paths into flash. I've got it somewhat working using CUSTOMDL.

    Originally I issued the searchfiles command from flash ,like this...

    fscommand("SEARCHFILES;folder.jpg");
    //fscommand("WAITEXEC");
    fscommand("GETDL","");

    This gets me what I want into flash....but I'm having a timing issue though, flash continues executing commands while the search is going on, as you can see I tried the "WAITEXEC" command, but that hangs the screen skin.

    Thats why I was hoping to run the search in RR, do a WAIT;5 then load the swf.

    The 5 second delay doesn't happen, the swf loads up right away...is this broken?

    I know the search is working and CUSTOMDL does get the populated with the paths...I have a button in my swf that also issues fscommand("GETDL","").

    On another note , why is GETDL needed? all my other lables auto update.

    Thx for any help or suggestions..
    You can create a check loop in flash with a variable that RR sets to acheive what you are looking for

    change RR's command to

    fscommand("SEARCHFILES;folder.jpg");
    //fscommand("WAITEXEC");
    fscommand("GETDL","");
    fscommand("SETFLASHVAR;COMMANDCOMPLETE;TRUE")


    then check for _root.COMMANDCOMPLETE. If true then perform your flash stuff... then set _root.COMMANDCOMPLETE to false.
    NOVA, MD, DC Monthly Meets Here
    Ride Runner and Centrafuse 3 plugin creator
    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

  7. #7

Similar Threads

  1. RockCar Front End v0.0.154 - Skin Editor Updates
    By Hessian in forum Software & Software Development
    Replies: 1
    Last Post: 11-21-2008, 11:40 PM
  2. Replies: 65
    Last Post: 07-23-2008, 03:03 AM
  3. Set label on a skin from an .ini file
    By jumbodogs in forum Road Runner
    Replies: 15
    Last Post: 05-02-2008, 02:41 PM
  4. The KEY tag in skin file
    By GuMiSZu in forum Road Runner
    Replies: 0
    Last Post: 05-10-2007, 04:37 AM
  5. Tutorial for installing pycar on Linux
    By kbyrd in forum PyCar
    Replies: 18
    Last Post: 11-01-2006, 01:59 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
  •