 |
 |
How do I hack Safari to have a keyboard shortcut for a preference checkbox?
|
 |
|
 |
|
Mac Elite
Join Date: Aug 2000
Location: Vancouver B.C.
Status:
Offline
|
|
I want to be able to enable/disable "Universal Access" on the fly for min font size on a page. right now I need to go into preferences and then check/uncheck "Universal Access." Having a simple command key would be a massive help as I have to change this countless times each day.
Thanks all
|
Get busy living or get busy dying --Stephen King
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jul 2001
Location: New York, NY
Status:
Offline
|
|
not sure if this works or not, but have you tried just using a shortcut key, and/or assigning a shortcut key for this? (Command-+ perhaps? - I'm not at home to check)
edit:
ps - if you use OmniWeb, it will store font size preferences on a per-site basis, so once you've changed it, you wont have to change it again.
|
|
cpac
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Aug 2000
Location: Vancouver B.C.
Status:
Offline
|
|
I don't want it on a per site basis, and I will only use Safari.
|
Get busy living or get busy dying --Stephen King
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jul 2001
Location: New York, NY
Status:
Offline
|
|
Originally posted by Mac Write:
I don't want it on a per site basis, and I will only use Safari.
ok bitter man. What about my first few suggestions?
I've checked and you can hit command-+ (command-= works) to make text larger, and command-minus to make text smaller...
|
|
cpac
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Aug 2000
Location: Vancouver B.C.
Status:
Offline
|
|
Originally posted by cpac:
ok bitter man. What about my first few suggestions?
I've checked and you can hit command-+ (command-= works) to make text larger, and command-minus to make text smaller...
First off short cut keys only work for menu items, second cammand +/- is SLOWER then my current method. and I am not bitter you are. Help people with their current app instead of telling them to use a different app. Geesh
|
Get busy living or get busy dying --Stephen King
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2001
Status:
Offline
|
|
Originally posted by Mac Write:
I am not bitter you are. Help people with their current app instead of telling them to use a different app. Geesh
He didn't tell you to use a different app, he merely suggested that if you did use OmniWeb, you could do it with per-site preferences. That's like you asking how to make a hammer screw screws, and being annoyed when he answers with "If you use a screwdriver you could simply turn it" 
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
You could probably use a macro program like iKey combined with GUI AppleScripting to open the preferences window and click the button...
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jul 2001
Location: New York, NY
Status:
Offline
|
|
Originally posted by Mac Write:
First off short cut keys only work for menu items, second cammand +/- is SLOWER then my current method. and I am not bitter you are. Help people with their current app instead of telling them to use a different app. Geesh
no kidding they only work with menu items. They work with the menu items for "make text larger" and "make text smaller" in Safari, which, I thought, was what you wanted to do - but if you're dead set on doing it with Universal Access, then I don't think it can be done short of some scripting/hotkey application combination.
sorry for trying to help...
|
|
cpac
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Aug 2000
Location: Vancouver B.C.
Status:
Offline
|
|
Originally posted by cpac:
no kidding they only work with menu items. They work with the menu items for "make text larger" and "make text smaller" in Safari, which, I thought, was what you wanted to do - but if you're dead set on doing it with Universal Access, then I don't think it can be done short of some scripting/hotkey application combination.
sorry for trying to help...
Normal font size is 16, Universal access font size is 24. Having to change that back and forth can get messy. Hopefully Tiger will allow for shortcuts in preferences, or Univseral Access in Safari will become a menu item.
|
Get busy living or get busy dying --Stephen King
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jul 2001
Location: New York, NY
Status:
Offline
|
|
Originally posted by Mac Write:
Normal font size is 16, Universal access font size is 24. Having to change that back and forth can get messy. Hopefully Tiger will allow for shortcuts in preferences, or Univseral Access in Safari will become a menu item.
you can hope/dream -but I sincerely doubt it will happen.
Maybe if you explained the exact process you're going through, and your reasons for going through it, we'd be able to offer alternative suggestions.
Hell, maybe there's a way to hack Safari's preferences so there's a larger increment on the make-text-bigger/small commands so that 16-24 will only be one click...
|
|
cpac
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Aug 2000
Location: Vancouver B.C.
Status:
Offline
|
|
I just switched to browsing in full screen at 1152x870 from having a 800x600 window since 1995! I set Universal Access to 24 so I can read the text since I am visually impaired. Since I work on websites, I need to switch off Universal Access so I can see how the site looks. I also turn UA off to check out how difference sites look etc. As of a week ago (no more going Safari>Preferences) I have it down to a science of Cammand+, check/uncheck (since it's the preference pane that is always selected) then Cammand+. to close Preferences. This takes 3 steps and at least 2-4 seconds. Allot of the time I only need to view the page in reqular font for a few seconds. This means to view it for 3 seconds takes 4-8 seconds of setting preferences.
I just thought Fast User Switching would work, but it would be slower.
|
Get busy living or get busy dying --Stephen King
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
Originally posted by Mac Write:
I just switched to browsing in full screen at 1152x870 from having a 800x600 window since 1995! I set Universal Access to 24 so I can read the text since I am visually impaired. Since I work on websites, I need to switch off Universal Access so I can see how the site looks. I also turn UA off to check out how difference sites look etc. As of a week ago (no more going Safari>Preferences) I have it down to a science of Cammand+, check/uncheck (since it's the preference pane that is always selected) then Cammand+. to close Preferences. This takes 3 steps and at least 2-4 seconds. Allot of the time I only need to view the page in reqular font for a few seconds. This means to view it for 3 seconds takes 4-8 seconds of setting preferences.
I just thought Fast User Switching would work, but it would be slower.
Well, in that case, you could assign a key shortcut for the check box by editing the nib file in Interface Builder. You'd still have to use command-, to open the Preferences window, but it'd be just another keystroke to toggle the check box.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Aug 2000
Location: Vancouver B.C.
Status:
Offline
|
|
Originally posted by CharlesS:
Well, in that case, you could assign a key shortcut for the check box by editing the nib file in Interface Builder. You'd still have to use command-, to open the Preferences window, but it'd be just another keystroke to toggle the check box.
hmm there's a good idea. Now sure how to mode the nib do add a shortcut (not a programer, not done tweaking in Interface builder either). should make the turnaround time 1-2 seconds - still three keystrokes, but no mouse.
Can you step me through adding the keyboard shortcut in Interface builder? I have an idea but since I have never done more then do up looks in Interface builder. I assume you add select the checkbox then in it's properties you add the shortcut there. But of course I don't know how to do that (or which Nib to edit).
Thanks
|
Get busy living or get busy dying --Stephen King
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
Originally posted by Mac Write:
hmm there's a good idea. Now sure how to mode the nib do add a shortcut (not a programer, not done tweaking in Interface builder either). should make the turnaround time 1-2 seconds - still three keystrokes, but no mouse.
Can you step me through adding the keyboard shortcut in Interface builder? I have an idea but since I have never done more then do up looks in Interface builder. I assume you add select the checkbox then in it's properties you add the shortcut there. But of course I don't know how to do that (or which Nib to edit).
Thanks
It's really easy - just click the check box, choose Show Info (command-shift-I), and add a shortcut key. The nib file you want is AdvancedPreferences.nib, I think, but you can find out by opening nib files until you see the one with the stuff you want to edit in it.
The only thing really to tell you is to make a backup of the nib file before making any changes.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|