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

Thread: EXIT_FS (small utility)

  1. #1
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842

    EXIT_FS (small utility)

    This small utility when run, will create a button in the top right corner that is allways on top, when clicked it will activate RR and send a keystroke, then exit.

    By default the keystroke it is sending to RR is Alt+L (4076)

    what you can do with this, and why i made it?

    If you notice in all of the skins, when an application window is embeded, it never fills the entire screen. This is because if the entire screen is filled with the embeded application, you dont have any controls for RR, so you are stuck in the application, so no one does this.
    What you can do now is make the embed window the same size as the skin (fullscreen), mostly only usefull for GPS where you want the map to be 100% fullscreen, like oem, but also easily return to RR.

    How i have it setup:
    In KeyTBL.ini add this line somewhere
    Code:
    4076,"ESC||CLOSEWINDOW;EXIT_FS"
    4076 is ALT+L, EXIT_FS is the window name of the utility i wrote. So basicly when RR recieves the keystroke it will go back one screen (ESC) then close the utility.

    In my skin, in the External_GPS.skin file, i have a button that loads External_GPS_FS.skin file that has the application window set to 800x600 and completely covers the screen. It also runs the app when this screen is called.

    That was probably a little winded, so here are some screenshots that i hope explain it better.
    Attached Images Attached Images   
    Attached Files Attached Files
    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.

  2. #2
    FLAC
    Join Date
    May 2005
    Location
    Vienna, VA
    Posts
    1,375
    Good stuff, man. Cheers.

  3. #3
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    also, this is ment for skinners and people who know how to edit skins to use this. There is a .bmp file included so you can change the way the utility looks to go with your skin. Im not going to explain every step on how to setup RR to use the app, but the info above should be enough.
    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.

  4. #4
    FLAC
    Join Date
    May 2005
    Location
    Vienna, VA
    Posts
    1,375
    Can we specify the location of the button?

  5. #5
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    Quote Originally Posted by b8bboi
    Can we specify the location of the button?
    yes, ill update the download and include the source.
    This is a autoIT3 script compiled to a .exe, so you will need autoIT3 installed to edit the files but you dont need it to run the .exe

    you can edit the size and positon of the button and what keyboard shortcut gets sent to RR (or any other window) when clicked, or if you know how to write autoIT3 scripts, you can make the button do whatever you want it to do.
    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.

  6. #6
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    download updated
    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.

  7. #7
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    OK, here is a small tut on how to edit the script file:
    below is the script source (included in download)

    Code:
    #include <GUIConstants.au3>
    GUICreate("EXIT_FS", 115, 90,673,-20,$DS_CONTEXTHELP,$WS_EX_TOOLWINDOW)
    WinSetOnTop("EXIT_FS", "", 1)
    WinSetTrans("EXIT_FS", "", 200)
    $okbutton = GUICtrlCreateButton("EXIT FS", -5, -5, 120, 80,$BS_BITMAP+0x0E00A)
    GUICtrlSetImage( -1,"FS.bmp" )
    GUISetState(@SW_SHOW)
    
    While 1
      $msg = GUIGetMsg()
    
      Select
        Case $msg = $okbutton
          WinActivate ("RoadRunner")
           Send("!l")
    
        Case $msg = $GUI_EVENT_CLOSE
          ;While GuiGetMsg() <> $GUI_EVENT_CLOSE
          ExitLoop
      EndSelect
    WEnd
    This line is where you change the positon of the button and also the width and height
    Code:
    GUICreate("EXIT_FS", 115, 90,673,-20,$DS_CONTEXTHELP,$WS_EX_TOOLWINDOW)
    WIDTH=115
    HEIGHT=90
    X=673
    Y=-20

    This line sets the transparency of the button
    Code:
    WinSetTrans("EXIT_FS", "", 200)
    value=200
    goes from 0-255

    This line controls what happens when you click the button, you can insert your own code here.
    Code:
    WinActivate ("RoadRunner")
           Send("!l")
    WinActivate=focus window (window title) in quotes
    Send("!l")= the keyboard shortcut sent to RR
    note: in autoIT3 to send the ALT key you use ! (exclamation point) followed by the key in lowercase. The above is ALT+L but a lowercase L
    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.

  8. #8
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    I did something like this to use the compass FS...two buttons at the bottom to close it or to hide it and go back to RR...works like a charm...
    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."

  9. #9
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    One suggestion that I have would be to use the "GUIonevent" option instead of the message loop, for anyone that has a slower system...uses lot less cpu resource(s)...thats all looks good though
    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."

  10. #10
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    Quote Originally Posted by Blue ZX3
    One suggestion that I have would be to use the "GUIonevent" option instead of the message loop, for anyone that has a slower system...uses lot less cpu resource(s)...thats all looks good though

    i thought about useing that for that reason, but when i was looking at the help file, it said that when no events are sent the msg loop wouldnt suck up cpu cycles. So on my machine (taskman) it uses 0 cpu cycles waiting for the click, but in a more advanced script im sure it would do more.
    also, im still relatively new at scripting with autoIT3,
    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.

Page 1 of 3 123 LastLast

Similar Threads

  1. Small (~4") VGA compatible touchscreen
    By DeSloth in forum LCD/Display
    Replies: 2
    Last Post: 09-11-2005, 07:56 AM
  2. Small Case Design
    By pirate_king00 in forum General Hardware Discussion
    Replies: 14
    Last Post: 01-09-2005, 11:13 PM
  3. looking for a 5.1 channel SMALL amplifier
    By RogerWilco in forum General Hardware Discussion
    Replies: 3
    Last Post: 09-21-2004, 04:19 PM
  4. Replies: 4
    Last Post: 02-04-2004, 10:28 PM
  5. small size Video card
    By jtk in forum General Hardware Discussion
    Replies: 4
    Last Post: 11-24-2002, 10:21 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
  •