Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Interesting Skin Question

  1. #1
    Calm
    Down
    Or
    Get
    A
    2
    Week
    Vacation
    -Love
    The
    Forum
    Policeman
    Wiredwrx's Avatar
    Join Date
    Jan 2003
    Posts
    3,605

    Interesting Skin Question

    All,

    I am setting up RR to work with my mobile internet connection.

    Running latest version of RR
    Using IE.
    The connection to the net is accomplished through my BlackBerry (BB) acting as a modem. The process to make a connection is as follows

    Connect BLackberry with USB cable
    Start Blackberry Desktop software
    Wait for the software to "connect" to the BB
    Start a dial up connection using the BB as the modem
    wait for connection
    start IE

    Through some trial and error, and lots of reading about AutoIt, I have gotten written a script that does the above. I have made the script that is anything fails, or remains running, the script knows, and deals with it, such as if the BB Software is already running, it skips that parts, what have you.

    I have modified my skin, so that the "menu" has a button that calls the browser skin (I used the rr skin editer program to do that). I have the rr.ini set for IE, and the path to the broswer set as the script (which I have compiled into an .exe).

    Basically, everything ALMOST works.
    RR loads the proper skin, runs the .exe which does what it is suposed to do, IE loads, BUT it does not embed. If I exit the browser skin, back to the main menu, and re enter the browser, it embeds perfectly. That is a minor problem, and I am willing to live with that, unless someone knows a way to fix it.

    The other issue is
    I use standby. The problem is, that when I come out of standby, the "dial up connection" part of the process closes. This is not a problem, because all I have to do it run the script, and it will do what it needs, HOWEVER, since I went into standby, RR just continues where it left off. That means, if I press the browser/internet button on the main menu, it thinks that IE is already opened, and doesn't execute the script again.

    Unfortunately, there is really no way to see if the dial up connection is active. It doesn't open up a window, all it does it minimize into the systray (that is the bottom right of the screen, next to the clock, right?)

    All I want to do is press a button/hold the original button for a while/whatever, to re-run the script to re-establish the "dial up connection"

    The button to re-establish the connection can even be a button on the browser skin, I just need to run that script again, even though IE is already running.

    Anyone have any ideas.

    Michael
    ...I love the French language...especially to curse with...Nom de Dieu de putain de bordel de merde de saloperies de connards d'enculés de ta mère. You see, it's like wiping your *** with silk, I love it.

  2. #2
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    without knowing what code you are using on your button and how you have it formated etc, i would say i think the script that you are running is holding up RR from properly embeding IE (timeing). I would try to format the code so it loads IE and embeds it first, then.. execute your script and let it do its thing. Only issue you may have with this order is IE will display a 403 until your connecton is active, and if that annoys you (it would annoy me) you can create a generic web page thats not so ugly as the 403 and set that as your homepage.
    There is also a place i believe to have RR execute things when it comes out of hybernation/standy (not sure 100% as i never use these states)

    as for your second issue, you can use the click hold feature on any button and have it set to execute your script. The way the click hold feature works;
    This is my play button in my skin
    B,312,363,159,76,"PLAY",@MUTE@
    click it normally and it functions as a normal play/pause button
    click and hold for 2sec and it mutes the audio.
    instead of placeing your commands inside quotes, you place them inside the @ symbol, and in RRSkineditor the code goes into the tooltip box. Really easy to do, if you copy and past the above code into a skin and look at it in the skineditor, you will get it instantly.
    01101100 01101001 01110001 01110101 01101001 01100100 01011111 01110011
    01101101 01101111 01101011 01100101

    beer replenishment fund
    http://www.mp3car.com/vbulletin/rr-faq/
    mp3car live search

    i have joost invites, just hit me up for one.

  3. #3
    Calm
    Down
    Or
    Get
    A
    2
    Week
    Vacation
    -Love
    The
    Forum
    Policeman
    Wiredwrx's Avatar
    Join Date
    Jan 2003
    Posts
    3,605
    Quote Originally Posted by liquid_smoke
    without knowing what code you are using on your button and how you have it formated etc, i would say i think the script that you are running is holding up RR from properly embeding IE (timeing). I would try to format the code so it loads IE and embeds it first, then.. execute your script and let it do its thing. Only issue you may have with this order is IE will display a 403 until your connecton is active, and if that annoys you (it would annoy me) you can create a generic web page thats not so ugly as the 403 and set that as your homepage.
    There is also a place i believe to have RR execute things when it comes out of hybernation/standy (not sure 100% as i never use these states)

    as for your second issue, you can use the click hold feature on any button and have it set to execute your script. The way the click hold feature works;
    This is my play button in my skin
    B,312,363,159,76,"PLAY",@MUTE@
    click it normally and it functions as a normal play/pause button
    click and hold for 2sec and it mutes the audio.
    instead of placeing your commands inside quotes, you place them inside the @ symbol, and in RRSkineditor the code goes into the tooltip box. Really easy to do, if you copy and past the above code into a skin and look at it in the skineditor, you will get it instantly.
    LS, thanks for the help. I will look into modding the script to try and get it to embed correctly the first time.

    As for holding the button to "re-execute" the script, how do add/can I add, a program path for the hold down command. I am gonna just try and add the path in the .skin file, and see what happens.

    EDIT: O.K., when I put the following in the "menu.skin" file
    B15,652,415,135,110,"WEB",@C:\Documents and Settings\The Boss\Desktop\rr-inet.exe@
    and then hold the button for 2 seconds, all that happens is that RR reads the entire string. So, I think I got it wrong.

    Thanks again for the help.
    Michael
    ...I love the French language...especially to curse with...Nom de Dieu de putain de bordel de merde de saloperies de connards d'enculés de ta mère. You see, it's like wiping your *** with silk, I love it.

  4. #4
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    the command looks wrong to me, you need double pipes to execute multiple commands and it looks like your just putting a path in there.
    A few tips.
    ExecTBL.ini you can list out all your custom commands and just reference them in the skin files. For example.
    Take the command "CUSTOM", this can be anything you want.
    in ExecTBL.ini you will have an entry like this
    "CUSTOM","AUDIO"
    using the command "CUSTOM" anywhere in your skin will take you to the audio player. replace audio with any command u want, mix and repeat as needed.

    another sample

    "MYSCRIPT","WEB||RUN;C:\Program Files\apps\myapp.exe"
    this will go to the web screen then run myapp.exe, there are 2 commands seperated by double pipes ||

    specific to what your doing try this

    in ExecTBL.ini
    "INET","RUN;C:\Documents and Settings\The Boss\Desktop\rr-inet.exe"

    in your skin file use "INET" same way you would use the "AUDIO" command.

    B15,652,415,135,110,"WEB",@INET@

    hope that helps.
    01101100 01101001 01110001 01110101 01101001 01100100 01011111 01110011
    01101101 01101111 01101011 01100101

    beer replenishment fund
    http://www.mp3car.com/vbulletin/forumdisplay.php?f=93
    mp3car live search

    i have joost invites, just hit me up for one.

  5. #5
    Maximum Bitrate kpjuk's Avatar
    Join Date
    Dec 2003
    Location
    West Midlands
    Posts
    474
    Wiredwrx,

    in your example, you missed out the run command, try

    B15,652,415,135,110,"WEB",@RUN;C:\Documents and Settings\The Boss\Desktop\rr-inet.exe@

    but I agree with LS, it is much cleaner to do this in ExeTBL.ini, and then reference your custom command in your skin.

    cheers
    KPJUK
    M1000, 512MB, 512MB CF, 6GB Disk (4200rpm),
    DVD/RW, Dynamix 8" screen, M2-ATX, Custom case,Too many hours building and rebuilding and rebuild.......

  6. #6
    Calm
    Down
    Or
    Get
    A
    2
    Week
    Vacation
    -Love
    The
    Forum
    Policeman
    Wiredwrx's Avatar
    Join Date
    Jan 2003
    Posts
    3,605
    K, got things pretty worked out, but have a question.

    In my menu.skin, I now have

    "...coordinates..." "WEB",@INET@

    in ExecTBL.ini, I defined INET to be the "run;path to my script exe||WEB".

    My queston is, where is "WEB" defined? Or better yet, is there a way to just call the wbrowser skin, with out using "WEB", becuase I believe my problem with embeding is that, "WEB" is calling the skin AND opening IE, and then my script tries to open another instance of IE, and that is causing a problem. I would like to try just one starting IE. I tried removing the ||WEB in ExecTBL.ini, but then nothing calls the wbrowser skin.

    Thanks again for all your help.

    Michael
    ...I love the French language...especially to curse with...Nom de Dieu de putain de bordel de merde de saloperies de connards d'enculés de ta mère. You see, it's like wiping your *** with silk, I love it.

  7. #7
    FLAC
    Join Date
    May 2005
    Location
    Vienna, VA
    Posts
    1,375
    Why would your script need to open IE? I think your script should only worry about the "connecting to the BB" part.
    iGMon - Integration between iGuidance and Road Runner
    CFX - Skin for Road Runner

  8. #8
    Calm
    Down
    Or
    Get
    A
    2
    Week
    Vacation
    -Love
    The
    Forum
    Policeman
    Wiredwrx's Avatar
    Join Date
    Jan 2003
    Posts
    3,605
    Quote Originally Posted by b8bboi
    Why would your script need to open IE? I think your script should only worry about the "connecting to the BB" part.
    The only reason I have the script start IE is because I can delay the start of IE till I have established the connection to the net, so no 404 error, or to hit the small refresh icon on the small TS.
    ...I love the French language...especially to curse with...Nom de Dieu de putain de bordel de merde de saloperies de connards d'enculés de ta mère. You see, it's like wiping your *** with silk, I love it.

  9. #9
    FLAC
    Join Date
    May 2005
    Location
    Vienna, VA
    Posts
    1,375
    If that's the case, you can use the RUNW command. RR will wait until your tool is done before executing the next command.
    iGMon - Integration between iGuidance and Road Runner
    CFX - Skin for Road Runner

  10. #10
    Maximum Bitrate kpjuk's Avatar
    Join Date
    Dec 2003
    Location
    West Midlands
    Posts
    474
    Hi Wiredwrx,

    B8bboi has offered a good way forward. RUNW will wait for the execution of the app its calling before it moves on, so it could be a good choice to do what you want, without having to "guess" with a timer delay which seems to be what you are doing. It seems to be similar to the RUNWAIT command in AutoIT.

    The WEB command is a default RR command which looks at rr.ini for your choice of web browser and the path, the equivalent is

    Bxx,10,10,200,150,"LOAD;wbrowser.skin;!MozillaUIWi ndowClass;C:\Program Files\Mozilla Firefox\Firefox.exe;Firefox","" (I obviously use Firefox as my browser)

    Be aware though I recently had a problem with getting my On Screen Keyboard working using wbrowser.skin, and so I changed its name to www.skin and the problem sorted itself out.

    cheers
    KPJUK
    M1000, 512MB, 512MB CF, 6GB Disk (4200rpm),
    DVD/RW, Dynamix 8" screen, M2-ATX, Custom case,Too many hours building and rebuilding and rebuild.......

Page 1 of 3 123 LastLast

Similar Threads

  1. Pure Skin
    By theminor in forum RR Skins
    Replies: 12
    Last Post: 01-11-2008, 01:07 AM
  2. Skin Question for Favorites Buttons
    By chuckster in forum Road Runner
    Replies: 1
    Last Post: 12-03-2005, 08:40 AM
  3. Thoughts on skin design guidelines?
    By Arathranar in forum RR Skins
    Replies: 2
    Last Post: 06-13-2005, 05:54 PM
  4. im making a skin and got a question
    By damixt in forum FrodoPlayer
    Replies: 2
    Last Post: 12-31-2004, 03:30 PM
  5. Arby's winamp skin question.
    By skoda in forum Software & Software Development
    Replies: 0
    Last Post: 03-28-2003, 01:45 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
  •