Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reset safari



Wouldn't it be easy to replace Safari's preferences plist file with a
default one and restart it ?

> Christopher Hickman :

> On Tuesday, August 19, 2003, at 09:13 PM, Rhon Fitzwater wrote:
>
>> I was aware of this way of doing it, unfortunately I cannot do it this
>> way. I was hoping there was another way. Possible editing the
>> MainMenu.nib file and adding a button, then attaching it to the
>> confirmResetSafari: action?
>
> You know, this brings to mind a question I've had for a while. I know
> you can "call method" for your own objects (objects in your project).
> Is there any way (in AppleScript or in Cocoa) to call methods of other
> processes? For example, would Rhon be able to accomplish the above
> without editing the Safari NIB, calling Safari's "confirmResetSafari:"
> method from his own application?
>
> If this *is* possible, it would solve a lot of trouble for me. I've
> been wanting to "patch" Safari to put the bookmarks menu into its Dock
> menu. If I were able to call methods of Safari from another process, I
> could just call its methods to set the Dock menu...
>
> Anyway, if anyone knows anything about this, it would be greatly
> appreciated.
>
> Topher
> _______________________________________________
> applescript-studio mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/applescript-studio
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: reset safari (From: Christopher Hickman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.