A Message Board, Guestbook, or Poll hosted for your website.
Houdah Software Forums

Register Login New Posts
Houdah Software > Forums > HoudahSpot 1.5: Tiger Edition > 1.5 question
 
Username:
Password:
 

Thread Tools  | Search This Thread 
Reply
 
Author Comment
 
bobthebob
Registered: 03/01/09
Posts: 4

    03/01/09 at 06:53 PM
Reply with quote#1

hey there - i realize that i should be posting this in the 1.5 forum but seeing as there's only one post in there and it's more than a year old i figured i'd have better luck here... anyway my question is pretty small: is there any way to change the default hot keys in HS 1.5? i can't seem to do it...
i'd really like to change em...
let me know.
bvb
houdah
Moderator
Registered: 11/15/07
Posts: 986

    03/01/09 at 09:59 PM
Reply with quote#2

Hi!

There is no user-friendly way of setting the keyboard shortcuts.

There are two user defaults settings: bringToFrontHotKey and bringToFrontAndCreateHotKey

Both keys point to dictionaries with the following keys: modifiers and keyCode

The default values are:cmdKey+controlKey, respectively cmdKey+optionKey+controlKey and 124

The constants are defined as follows in Events.h:

Code:
cmdKey                        = 1 << cmdKeyBit,
shiftKey                      = 1 << shiftKeyBit
controlKey                    = 1 << controlKeyBit


where

Code:
cmdKeyBit                     = 8,    /* command key down?*/
shiftKeyBit                   = 9,    /* shift key down?*/
optionKeyBit                  = 11,   /* option key down?*/
controlKeyBit                 = 12,   /* control key down?*/

Best,
Pierre Bernard

__________________
Houdah Software s. à r. l.
http://www.houdah.com

HoudahGeo: One-stop photo geocoding
HoudahSpot: Powerful Spotlight frontend
bobthebob
Registered: 03/01/09
Posts: 4

    03/01/09 at 10:45 PM
Reply with quote#3

thanks pierre - i'll try it out!
cheers,
bvb
bobthebob
Registered: 03/01/09
Posts: 4

    03/01/09 at 10:48 PM
Reply with quote#4

sorry - one more question... what format are these key codes? hex? sorry but i'm fairly ignorant! i'm willing to operate on a duplicate however!
bvb
houdah
Moderator
Registered: 11/15/07
Posts: 986

    03/02/09 at 12:00 AM
Reply with quote#5

Hi!

These key codes are numeric values. E.g. command key is 2^8 = 128.

I'd suggest you use Plist Editor to add the bringToFrontHotKey and bringToFrontAndCreateHotKey dictionaries to the HoudahSPot preferences file.

Best,
Pierre Bernard

__________________
Houdah Software s. à r. l.
http://www.houdah.com

HoudahGeo: One-stop photo geocoding
HoudahSpot: Powerful Spotlight frontend
bobthebob
Registered: 03/01/09
Posts: 4

    03/02/09 at 07:39 AM
Reply with quote#6

thanks for the prompt helpful reply!
once i upgrade to leo i'm definitely buying houdah!
cheers,
bvb
Previous Thread | Next Thread
Reply

 
Bookmarks
 
Digg Diggdel.icio.us del.icio.usStumbleUpon StumbleUponGoogle Google