The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner > RR Bug Tracker

Reply
 
LinkBack Thread Tools Display Modes
Old 03-06-2008, 12:42 AM   #1
Road Runner & Mp3car Gatherings Moderator
 
JohnWPB's Avatar
 
Join Date: Sep 2005
Location: West Palm Beach, Florida
Posts: 2,924
Kinda of a bug, but nore really :)

Guino, hope all is well in Brazil. Hope you are able to get things worked out, and are able to see you back here sometime soon!

The problem I am having is with the hotkeys in the keytbl.ini. Is there a way that say, a /NOKEYS command or something could be seen in a skin file and ignore the hotkeys for that skin? The OSK is the big one Also when using the webbrowser screen, and an actual keyboard to reply to email and such.

Basically just a way to turn the hot keys on and off on the fly. Even if its just done as a command that would be perfect, as NOKEYS||OSK nor NOKEYS||WEB could be used, and the close and enter keys could have code on them as well to reinstate the hotkeys.
__________________
Front End of Choice: Road Runner (Is there anything else??? )
& Powered by the DigitalFX 4.0 Skin
Available at www.JohnWPB.com
JohnWPB is online now   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 03-06-2008, 11:05 PM   #2
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
I'm getting settled in now.. trying to get documents to rent a place now...

Anyway, idealistically you'd set the keys you watn to the commands you want to perform (in keytbl.ini), then filter out those commands by screen in ExecTBL.INI...

KeyTBL:

65,"KEYAUDIO"

ExecTBL (main or skin's):

"KEYAUDIO","",osk.skin
"KEYAUDIO","AUDIO"

The above makes it so "KEYAUDIO" does nothing in osk.skin and executes "AUDIO" in any other screen -- keyaudio being the command associated with the keypress.

KeyTBL is more of a USER customization of what to do with keyboard shortcuts (anywhere in the software), while ExecTBL may be more related to the skin itself... if a user makes a command in KeyTBL he is *LIKELY* wanting to use this command in any skin and any screen of the software. If a user defines something dependent on ExecTBL, then it would allow a skin to interfere with it...

You could also do something on the fly using variables... with the same keytbl entry above, you could have an exectbl like:

"KEYAUDIO","BYVAR;NOKEY;AUDIO<<" (To execute "AUDIO" or "" depending on value of variable NOKEY) -- so a SETVAR;NOKEY;0/1 would enable/disable that key in the software regardless of the screen.

It is not suitable to make a command to disable "all" keys in the software for obvious reasons (that you'd not be able to do even basic things like highlighting with the keyboard). Any other solution to disable only certain keys would depend on what the user has placed in keytbl (to ensure global hotkeys always work unless the user wants the skin to control it somehow)...
__________________
Road 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."
guino is offline   Reply With Quote
Old 03-07-2008, 07:35 AM   #3
Road Runner & Mp3car Gatherings Moderator
 
JohnWPB's Avatar
 
Join Date: Sep 2005
Location: West Palm Beach, Florida
Posts: 2,924
glad to hear all is going well.

That looks like a simple solution, just overriding the key for certain skins. Is there a way to do this with the "65" instead of the command? something like:

"65","",osk.skin

This way it would override no matter what someone has in their keytbl. Otherwise, there would no way to override it on a per user basis.
__________________
Front End of Choice: Road Runner (Is there anything else??? )
& Powered by the DigitalFX 4.0 Skin
Available at www.JohnWPB.com

Last edited by JohnWPB; 03-07-2008 at 07:39 AM.
JohnWPB is online now   Reply With Quote
Old 03-07-2008, 08:32 AM   #4
Variable Bitrate
 
tigergibb's Avatar
 
Join Date: Nov 2006
Location: Snellville, GA
Posts: 267
I'd like to override using a key that is never used for web browsing, like a !. The ideal thing would be that ! turns hotkeys on/off and when hotkeys are off, ! is the only hotkey that works.
__________________
2003 Nissan Xterra Worklog

Total amount spent so far: $1196.64

You will probably spend AT LEAST 2x what you initially budget for your CarPC Project!

2003 Nissan Xterra - Modifications
tigergibb is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gesture based bug recorder/tracker Iceman_jkh Road Runner 2 12-25-2007 09:28 PM
StreetDeck Bug Reporting System RedGTiVR6 StreetDeck 0 12-10-2007 02:07 PM
Bug Tracking (sorry long but please read) liquid_smoke Software & Software Development 23 04-22-2005 03:12 PM
RR 2-20-05 ... Bug Fixes ... guino Road Runner 123 03-01-2005 01:27 AM


All times are GMT -5. The time now is 11:37 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics