Why can't I use AS to change Keyboard prefpane settings?

Hey y'all, I got a question for you.
I have a windows keyboard that I plug into my iBook at home. A very common arrangement, I'm sure.
When I plug the keyboard in, I go into the Keyboard prefpane and use the controls there to swap the <COMMAND> and <OPTION> Keys, so the keys are more mac-like.
What I want to do is pretty simple: Create an applescript to do that for me, so I don't have to, everytime, go Apple -> System Preference -> Keyboard & Mouse -> Keyboard -> Modifier Keys etc.
As a total AS newbie, here are my questions:
1. Can AS do this?
2. If not, why not? This is a serious question: What good is AppleScript if it won't actually do the things -- especially an extremely simple thing like change a system preference -- that I want it to?
3. Is there a better way to do this?
Thanks for whatever guidance you can offer!
Alaska Jack
iBook G4   Mac OS X (10.4.6)  

Hi Jack and welcome to Apple Discussions!
To answer your questions:
1) Apparently so. See this thread in the Automator forum.
2) AppleScript is very good at automating repetitive tasks and inter-application communication - provided developers incorporate scriptability into their applications. In the case of System Preferences, Apple themselves haven't put in the "hooks" that allow preferences to be changed without resorting to UI scripting, as in the solution linked above.
3) It might be possible to parse the preference files themselves.
Hope this helps,
H

Similar Messages

  • Why can't i use the old remote control to change slides in the latest version

    why can't i use the old remote control to change slides in the latest version of keynote

    It would help to know what remote control your talking about, there are hundreds out there.

  • Why can't I use PayPal with Family Sharing? Have a US Visa card but foreign address, and Apple does not seem to be able to cope with that (even though it is a multinational corporation). Could we lean on Apple to change this policy?

    Paypal for Family Sharing - Why can't I use PayPal with Family Sharing? Have a US Visa card but a foreign address, and Apple does not seem to be able to cope with that (even though it is a multinational corporation). So I set up payment with Paypal, and it worked fine. Now I want to take advantage of Family Sharing, but Apple won't allow it. Could we lean on Apple to change this policy?

    If you are not in the US then you cannot use the US store, the store's terms say that you have to be in a country to use it - if you are using the US store then you are risking having your account disabled.
    In terms of feedback for Apple : http://www.apple.com/feedback/

  • Why can't I use my IPhone when it is charging? Is there a setting I need to change?

    Why can't I use my IPhone 4S when it is charging?? Is there a setting I need to change???

    markfromnewyork wrote:
    From my experiences with the same problem, I can tell you that it seems to only happen when the transformer is running on a modified sine-wave.
    What do you mean by that?  A "dirty" source of power where there are a lot of transients on the AC line?

  • Why can't I use the Basic brush tool?

    I'm learning the ropes of drawing in Illustrator and I've fallen at the first hurdle. Why can't I use the Basic brush tool? Whenever I select the brush tool and use the 'Basic' brush type, the cursor turns into a hashed circle indicating I can't draw. If I load other brushes, I can draw with other brush types, but I can't use the Basic one. If I select the Basic brush when I have other brushes loaded and try to draw with it, it always defaults to a different brush! I don't understand why.
    On a related matter, I'm also having trouble changing brush size. I know that using the [ and ] keys changes brush size, but I have no idea what the values are. If I try this in Photoshop, I can see the brush size in the Options bar, but in Illustrator it doesn't appear anywhere! Not in the Brushes palette, the Stroke palette or the Appearance palette. Where can I see the brush size?

    Glitcher,
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Why can´t i use face time call with on my ipod touch with ios6

    Why can´t i use face time call with on my ipod touch with ios6

    iTech, First change your apple password, than go to 'setting' and than click on 'Facetime' and make sure your facetime email is right than retry. Also calling apple support can help you or the best way is to go down to the apple store for direct help. I really hope that what i have told you have helped and try to reset your iphone.
          iTech Support Team

  • Why can't I use a pure blue RGB (0,0,255)?

    Why can't I use a pure blue RGB (0,0,255)? When I set this color it automatically changes to this muted blue RGB(56,82,164)!

    If you turn on either Overprint or Separation Preview the color previews in the document's CMYK space:
    You can see that Overprint is turned on in my title bar
    InDesign documents don't have a color space—you can have a mix of RGB, CMYK, Lab, and grayscale objects. However, if there's transparency anywhere on the page the document's Transparency Blend Space is used for the preview and flattening on export or output and that can be either RGB or CMYK
    CMYK blend space:
    RGB Blend Space:

  • It just don't make sense you say ICloud backs up my IPad so why can't I use the extra Gb then then who did I pay to get what I thought was GB to use on my IPad?

    It don't make sense then why sell the extra GB for the IPad I paid $100 thinking I use it for the extra storage who sold it to me? I thought it was apple I'll have to re check that!!! I'm disappointed for sure.if ICloud is for backup the why can't you use it for storage too!!!

    iCloud is for backup. It cannot magically change your device's hardware or storage capacity.
    "If you upgrade or renew your storage but no longer need it, you can cancel. If you cancel your storage plan within 15 days of an upgrade or within 45 days after a yearly payment, you can contact Apple for a full refund. After this period, you can downgrade your storage for the following year."

  • Why can't I use data connection for FaceTime on iPhone 4

    My iPhone 4 says I have to use wifi in order to use my FaceTime and I was wondering why can I just use my AT&amp;T data connection instead.Every other iPhone could use their FaceTime but the 4 cant.We have an update to be able to use both ?

    As already provided:
    "I believe AT&T requires that you be on one of the "shared" data plans in order to do FaceTime over cellular. If so, either change your plan or complain to AT&T, as this has nothing to do with Apple."

  • Why can I not use multi-touch gestures on my original iPad with iOS 5?

    Why can I not use multi-touch gestures on my original iPad with iOS 5?

    It would appear that apple has managed to p1ss off  alot of ipad one users in one fowl swoop, what makes it worse is that fact we were the early adoptors who got asked, why do you want a big iphone for? and then spent time showing people how good it was! actually promoting it for apple! and then to get this kick in the teeth is frustrating! i wish i had known about xcode before!
    however!
    keep sending feedback, i must have sent twenty yesterday and will keep sending them untill i get a reply from these idiots! and wont stop untill i do, the more feedback sheets we fill in the more they will have to listen, it takes less than a min, i just asking the same question! moaning on here wont do anything, feedback might
    also note they have changed the website now, but they have not changed the iOS5 spash screen :
    (•          AirPlay Mirroring for iPad 2 and iPhone 4S
              •          Multitasking Gestures for iPad
              ◦          Use four or five fingers to pinch to the Home Screen
              ◦          Swipe up to reveal the multitasking bar
              ◦          Swipe left or right to switch between apps)
    clearly they were planning on releasing this update to us, otherwise on the spalsh screen it would have stated ipad 2 only, note in the sentence above it states it CLEARLY makes a reference to ipad 2 for airplay, so, whatever the problem, they can fix it and they know it works!

  • HT204053 why can't I use my apple i.d. balance to purchase and gift songs?

    why can't I use my apple i.d. balance to purchase and gift songs?

    Is your Apple ID one of the old ones which isn't an email address but simply a username? you can't use that to make an iCloud account.
    I'm not sure whether you can change the ID to an email address (such as a free GMail address) at http://applied.apple.com - you could try that; if you can't do that you will have to create a new Apple ID for use with iCloud. You can still use the present one for these forums and iTunes.

  • Why can my daughter use my cell number on her iPad for FaceTime and I message

    Why can my daughter use my cell number on her iPad for FaceTime and I message

    That's an account-level setting on the iPad.  Presumably you use your cell number as your Facetime account credentials on your phone, and the iPad is linked to your account as well?  You can go into the Facetime settings on the iPad and change what accounts can be reached on the iPad or used to make Facetime calls.  Same goes for Messages.

  • Why can't I use iCloud it keeps saying my email not verified  .... ,,,?

    Why can't I use iCloud it keeps saying my email not verified but even tho I changed email in appleid.com and have signed into this forum with exactly same details it keeps telling me it's wrong .... Sooooooooo very very stressful

    You have to respond to the verification email that Apple sends you by clicking on the Verify Now link.  Make sure you are check the email address you used to set up your iCloud account.  Also make sure you check the spam/junk folder as well as the inbox. 
    If it isn't there, go to https://appleid.apple.com, click Manage your Apple ID, sign in, click on Name, ID and Email addresses on the left, then to the right click Resend under your Primary Email Address to resend the verification email.

  • Why can't I use my backup disk with Yosemite?

    Why can't I use my backup disk with Yosemite? It does not seem to recognize my back up disk. What do I do? I don't want to lose my backup by removing the disk.
    I can't find anyone else with the same problem.

    Hi, the phone was unlocked in UK and I have a UK PAYG sim but I am unable to change to an egyptian provider, this is my problem.

  • Hi, my MacBook Air is not working anymore if it's not connected with the power cable. It's pretty new so I can't imagine that the battery is dead already. Why can't I use my MacBook Air without the power cable even though I charged it for hours?

    Hi, my MacBook Air is not working anymore if it's not connected with the power cable. It's pretty new so I can't imagine that the battery is dead already. Why can't I use my MacBook Air without the power cable even though I charged it for hours?

    Please take the Mac to  Apple store to have it checked out.
    Genius Bar reservation
    http://www.apple.com/retail/geniusbar/
    Best.

Maybe you are looking for

  • Get Date +time from Oracle

    hi , i saw that i can take date and time in seperate from the ResultSet . how can i take the Time part as well from the date in the DB . is there a way to create a new Date with the Time from the DB concatinated to it ? doing as follows is apparently

  • HP Envy touch screen no longer working

    Not certain when but my touch screen is no longer working on my HP Envy?  Think it might have occurred during the Windows 8.1 upgrade.   Please provide a simple way to restore.  Pen and touch is no longer installed?  

  • Errors while creating customers in CRM 5.0

    when i create a new customer in CRM and check SMW01, the bdoc is failed for that customer and I get an error saying "No batch input data for screen SAPLV02Z 0100" any idea on why this is coming? Long text: The transaction sent a screen that was not e

  • Action

    Hi In our support  project they configured retiree action in such a way, When  I am executing retiree action payscale type,area and payscale group and levels will change to other groups. Even employee group and sub group will change.  example if empl

  • User exit to change item level data in purchase order

    Hi, Can anyone let me know the user exit to change item level data in purchase order . there is a badi ME_PROCESS_PO_CUST for this but the issue is its method process_item gets triggered only when the item is changed. My requirment is For purchase or