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

Thread: Mouse commands

  1. #1
    Constant Bitrate
    Join Date
    Nov 2005
    Location
    Missouri
    Posts
    200

    Mouse commands

    Is there any such thing?

    I use keyboard commands such as "SENDKEY;^{UP}","Page Up" with RR buttons to control things like Street Atlas and RR Earth.

    What I need is a mouse command, specifically mouse scroll up/down.
    I have a skin with the interactive weather map at weather.com. I can zoom in by clicking the screen, but I cant scroll out without using the mouse. I'd like to try creating a button with mouse scroll out to control this function.

    So are there any such commands? Will RR recognise them?

    Thanks...Paul

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    There's no current mouse "emulation" commands in RR (like the ones for the keyboard) mainly because it's hard to tell the positioning or the placement of the mouse over the window (and which window), without knowing where exactly it is embedded.

    RR Earth however, has commands to set the zoom and tilt levels without using the mouse.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  3. #3
    Constant Bitrate
    Join Date
    Nov 2005
    Location
    Missouri
    Posts
    200
    Quote Originally Posted by guino View Post
    There's no current mouse "emulation" commands in RR (like the ones for the keyboard) mainly because it's hard to tell the positioning or the placement of the mouse over the window (and which window), without knowing where exactly it is embedded.

    RR Earth however, has commands to set the zoom and tilt levels without using the mouse.
    Guino,
    I see your point, For what I had in mind it would certainly be necessary for the mouse to be over the correct area of the display.

    Just thinking out loud (dangerous I know)
    Would: The ACTIVATE command, followed by a command to position the cursor (assuming it existed), followed by the mouse command (assuming it existed) work?

    ...Paul

  4. #4
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,691
    Blog Entries
    1
    If you are using the interactive map I think that you are, there is a scroll bar in the top left of the window. Be it pretty small, but it will let you zoom in and out.

    When I get a chance to mess with it, I am going to see if I can send some control-Clicks with an AutoIt script, to be able to control the buttons on the map, with Road Runner buttons. This should work, as the interactive map can not be resized, and the coordinates will be from the top left of the map, and not the top left of the Road Runner skin.
    Attached Images Attached Images  
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  5. #5
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    Quote Originally Posted by pshadwick View Post
    Guino,
    I see your point, For what I had in mind it would certainly be necessary for the mouse to be over the correct area of the display.

    Just thinking out loud (dangerous I know)
    Would: The ACTIVATE command, followed by a command to position the cursor (assuming it existed), followed by the mouse command (assuming it existed) work?

    ...Paul
    Possibly would work, right up until that program (or outside application) throws in a window on top of it cause RR to click on something it wasn't supposed to, which could either do nothing, or do something you didn't want it to do.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  6. #6
    Constant Bitrate
    Join Date
    Nov 2005
    Location
    Missouri
    Posts
    200
    Quote Originally Posted by JohnWPB View Post
    If you are using the interactive map I think that you are, there is a scroll bar in the top left of the window. Be it pretty small, but it will let you zoom in and out.

    When I get a chance to mess with it, I am going to see if I can send some control-Clicks with an AutoIt script, to be able to control the buttons on the map, with Road Runner buttons. This should work, as the interactive map can not be resized, and the coordinates will be from the top left of the map, and not the top left of the Road Runner skin.
    Unfortunatly the window does not resize, to get the animation controls I had to move the window way (-66 I think), so I lose the scroll bars off the top.
    ...Paul

  7. #7
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    i can whip up something in autoIT pretty quick that will do this.
    Ill also assume for now that the control u need to activate is in the center of the screen, so what will happen when click the button is it will first move your mouse to the center of the screen and make one click, then scroll the mouse wheel up or down.

    If this is what u want let me know and i ll post it up.
    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.

  8. #8
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    Darn...to late. thought that I might have another small challenge to pursue...unless LS chicken's out...LOL
    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
    Constant Bitrate
    Join Date
    Nov 2005
    Location
    Missouri
    Posts
    200
    Quote Originally Posted by liquid_smoke View Post
    i can whip up something in autoIT pretty quick that will do this.
    Ill also assume for now that the control u need to activate is in the center of the screen, so what will happen when click the button is it will first move your mouse to the center of the screen and make one click, then scroll the mouse wheel up or down.

    If this is what u want let me know and i ll post it up.
    That sounds just what I what looking for.
    Thanks...Paul

  10. #10
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    here you go.

    This version is configurable so if you need to change anything its supereasy.


    place the unzipped files into your skins directory.

    Add this line to your ExecTBL.ini


    Code:
    "mousewheel_UP","Run;$skinpath$\mousewheel.exe|300 400 up 3"
    "mousewheel_DOWN","Run;$skinpath$\mousewheel.exe|300 400 down 3"
    the application receives commands from RR as to what position to move the mouse to, what direction to scroll the wheel and how many times to scroll it.

    Using the First line of code above as an example.
    300 is X position
    400 is Y position
    up is direction
    3 is number of times to scroll

    each option should have a space between them and all options must have a value or it wont work.



    Create a button that uses "mousewheel_UP" or "mousewheel_DOWN" as its button code.

    Customize and create buttons as needed.
    Attached Files Attached Files
    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 2 12 LastLast

Similar Threads

  1. Girder, RR.GML, and mouse input
    By Sidewalksalvage in forum Road Runner
    Replies: 6
    Last Post: 06-18-2007, 12:59 AM
  2. SpeakEasy Voice Recognition - Beta 1
    By ruairi in forum Road Runner
    Replies: 31
    Last Post: 08-22-2006, 11:12 PM
  3. PS2 3 Button(Rotary Wheel) Mouse Properties?
    By nFiniteTuning in forum Input Devices
    Replies: 4
    Last Post: 03-12-2005, 09:43 PM
  4. Replies: 4
    Last Post: 02-15-2005, 07:13 AM
  5. Smallest Touch PAd Mouse... or Shuttle Mouse QUESTION!!!
    By Boozshey in forum General Hardware Discussion
    Replies: 1
    Last Post: 01-23-2005, 02:38 AM

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
  •