Re: How to do Save As... in Lion

2011-09-18 Thread Gerriet M. Denkmann
On 18 Sep 2011, at 10:13, Quincey Morris wrote: > On Sep 17, 2011, at 19:59 , Gerriet M. Denkmann wrote: > >> My app had (before Lion) a Menu Item Save As... which brought up a save >> panel with a SavePanelAccessory, which contained a PopUpButton with all >> available stringEncodings. >> >>

Launching an app with extended rights

2011-09-18 Thread Tito Ciuro
Hello, When my app launches, I'd like it to listen to port 80 or 443. To do that, I believe I need to use Security Framework Authorization API to obtain extended rights. A potential solution is to split the app's executable int two parts: 1) one executable, the main one that first gets launched

Re: Launching an app with extended rights

2011-09-18 Thread Nick Zitzmann
On Sep 18, 2011, at 10:05 AM, Tito Ciuro wrote: > Hello, > > When my app launches, I'd like it to listen to port 80 or 443. To do that, I > believe I need to use Security Framework Authorization API to obtain extended > rights. A potential solution is to split the app's executable int two part

Re: How to do Save As... in Lion

2011-09-18 Thread Quincey Morris
On Sep 18, 2011, at 03:05 , Gerriet M. Denkmann wrote: > No, this is not what I really want. Yet that is what you asked about. :) > Think of a file which contains Englisch text, and which has been saved as > Ascii or Mac Roman. > Now I enter some Chinese characters and it has to be saved in Utf

[SOLVED] Re: Launching an app with extended rights

2011-09-18 Thread Tito Ciuro
Hi Nick, Thank so much for the heads up. Works fine! Thanks for the help, -- Tito On Sep 18, 2011, at 10:13 AM, Nick Zitzmann wrote: > > On Sep 18, 2011, at 10:05 AM, Tito Ciuro wrote: > >> Hello, >> >> When my app launches, I'd like it to listen to port 80 or 443. To do that, I >> believe

Looking for Tab framework

2011-09-18 Thread Todd Freese
I am looking for recommendations for a open source framework to create small tabs. I have looked at PSMTabBarControl and Chromium Tabs. Just wondering if there are any others out there? Todd Freese The Filmworkers Club __ This

Re: Launching an app with extended rights

2011-09-18 Thread Kyle Sluder
The modern way to do this is to split the server portion into a separate process and use SMJobBless to submit it as a privileged launchd task. --Kyle Sluder (Sent from the road) On Sep 18, 2011, at 9:05 AM, Tito Ciuro wrote: > Hello, > > When my app launches, I'd like it to listen to port 80

Re: Launching an app with extended rights

2011-09-18 Thread Tito Ciuro
Hi Kyle, This is exactly what I've done, except that I'm not using SMJobBless. -- Tito On Sep 18, 2011, at 2:08 PM, Kyle Sluder wrote: > The modern way to do this is to split the server portion into a separate > process and use SMJobBless to submit it as a privileged launchd task. > > --Kyle

Re: Launching an app with extended rights

2011-09-18 Thread Kyle Sluder
The modern way is to use SMJobBless. ;-) Apple is discouraging people from using AuthorizationExecuteWithPrivileges directly. Your scenario sounds like the perfect use case for launchd. --Kyle Sluder (Sent from the road) On Sep 18, 2011, at 2:27 PM, Tito Ciuro wrote: > Hi Kyle, > > This is e

Canceling text-completion

2011-09-18 Thread Shane Stanley
I'm sure I'm missing something simple... I'm using text-completion in a text view. It's generally working as I want, but I can't figure out how, programmatically, to do the equivalent of hitting the esc key to cancel it (which I want to do if the user does something like tries to save, etc). An

Re: Launching an app with extended rights

2011-09-18 Thread Tito Ciuro
I just downloaded SMJobBless. Thanks for the info Kyle. Regards, -- Tito On Sep 18, 2011, at 4:25 PM, Kyle Sluder wrote: > The modern way is to use SMJobBless. ;-) > > Apple is discouraging people from using AuthorizationExecuteWithPrivileges > directly. Your scenario sounds like the perfect

Re: Launching an app with extended rights

2011-09-18 Thread Kyle Sluder
On Sun, Sep 18, 2011 at 6:16 PM, Tito Ciuro wrote: > I just downloaded SMJobBless. Thanks for the info Kyle. SMJobBless is a function in SerivceManagement.framework. Confusingly, there is also a sample project named SMJobBless. Hopefully you have not confused the two. You can study the sample c

Re: How to do Save As... in Lion

2011-09-18 Thread Gerriet M. Denkmann
On 19 Sep 2011, at 02:02, Quincey Morris wrote: > On Sep 18, 2011, at 03:05 , Gerriet M. Denkmann wrote: > >> No, this is not what I really want. > > Yet that is what you asked about. :) > >> Think of a file which contains Englisch text, and which has been saved as >> Ascii or Mac Roman. >> N

Re: How to do Save As... in Lion

2011-09-18 Thread Ron Hunsinger
On Sep 18, 2011, at 9:33 PM, Gerriet M. Denkmann wrote: > Peviously if a user wanted a specific encoding, Save As... was the only > choice (with choosing the original filename). That's not what I would expect as a user. "Save as..." means "Save as a different file". I wouldn't expect to use it

Re: How to do Save As... in Lion

2011-09-18 Thread Graham Cox
Save As is used for saving as a different format - not just in many apps, but by default if you have NSDocument set up just so. I'm not sure how that behaviour is handled with Lion's autosave enabled, but in 10.6 and earlier, Save As automatically adds a format menu if your document supports mul

Re: How to do Save As... in Lion

2011-09-18 Thread Kyle Sluder
On Sep 18, 2011, at 9:59 PM, Graham Cox wrote: > Save As is used for saving as a different format - not just in many apps, but > by default if you have NSDocument set up just so. I'm not sure how that > behaviour is handled with Lion's autosave enabled, but in 10.6 and earlier, > Save As autom