Changing settings in System Preferences using cocoa api

  • Hi all,

    I want to change setting of "Keyboard & Mouse" preference pane (which is in
    System Preferences) through Cocoa program. I know I can use applescript
    integrated in my cocoa program which will use System Event application(UI
    scripting) but I can't do that because limitation is through System Events,
    whatever I do through program(using applescript), that will be visible to
    user & I do not want that to happen.

    So is there any framework/sample program/url which will be useful to me?
    Please suggest.

    Thanks,
    Parag

    --

    There are many things in your life that will catch your eye but only a few
    will catch your heart....pursue those'.
  • What is your reasoning behind doing this? What are you trying to
    achieve?

    --
    m-s

    On 08 Nov, 2007, at 10:25, parag vibhute wrote:

    > Hi all,
    >
    > I want to change setting of "Keyboard & Mouse" preference pane
    > (which is in
    > System Preferences) through Cocoa program. I know I can use
    > applescript
    > integrated in my cocoa program which will use System Event
    > application(UI
    > scripting) but I can't do that because limitation is through System
    > Events,
    > whatever I do through program(using applescript), that will be
    > visible to
    > user & I do not want that to happen.
    >
    > So is there any framework/sample program/url which will be useful to
    > me?
    > Please suggest.
    >
    > Thanks,
    > Parag
    >
    > --
    >
    > There are many things in your life that will catch your eye but only
    > a few
    > will catch your heart....pursue those'.
  • My requirement is to disable keyboard shortcuts which are provided in
    'Keyboard & Mouse' preference for certain time. But I do not want to
    show this(disabling of shortcuts) to user. So can't use UI scripting.

    Thanks,
    Parag

    On 11/8/07, Michael Watson <mikey-san...> wrote:
    > What is your reasoning behind doing this? What are you trying to
    > achieve?
    >
    >
    > --
    > m-s
    >
    > On 08 Nov, 2007, at 10:25, parag vibhute wrote:
    >
    >> Hi all,
    >>
    >> I want to change setting of "Keyboard & Mouse" preference pane
    >> (which is in
    >> System Preferences) through Cocoa program. I know I can use
    >> applescript
    >> integrated in my cocoa program which will use System Event
    >> application(UI
    >> scripting) but I can't do that because limitation is through System
    >> Events,
    >> whatever I do through program(using applescript), that will be
    >> visible to
    >> user & I do not want that to happen.
    >>
    >> So is there any framework/sample program/url which will be useful to
    >> me?
    >> Please suggest.
    >>
    >> Thanks,
    >> Parag
    >>
    >> --
    >>
    >> There are many things in your life that will catch your eye but only
    >> a few
    >> will catch your heart....pursue those'.
    >
    >

    --

    There are many things in your life that will catch your eye but only a
    few will catch your heart....pursue those'.
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today