Re: [Pythonmac-SIG] Best way to do full-screen mode?

2006-07-22 Thread Robert Stephenson
Thanks, Bob, that works nicely!  I grokked the signature format and discovered that cases like ('CGContextSetGrayFillColor', 'iiff') work, too.For CGContextFillEllipseInRect(ctxt, rect), I was able to make it as ('CGContextFillEllipseInRect', 'ii{CGRect={CGPoint=ff}{CGSize=ff}}')and then pass it a

[Pythonmac-SIG] Best way to do full-screen mode?

2006-07-21 Thread Robert Stephenson
My app needs a full-screen mode, and am looking for examples or advice how to do it.  CoreGraphics allows you to capture the display and then draw on it, but since it's not written in ObjC my understanding is that it's not easily accessible from PyObjC.  An alternative would be to bring up a border

Re: [Pythonmac-SIG] appscript equivalent of launch?

2006-07-20 Thread Robert Stephenson
Thanks, folks,  I thought I might have missed something.  I appreciate the suggestions and comments.  You guys are great!- RobOn Jul 20, 2006, at 9:33 AM, has wrote:Laurent Pierron wrote: Try that : os.system('osascript -e \'launch application "textedit"\'') Yeah, calling AS is a last-ditch option,

[Pythonmac-SIG] appscript equivalent of launch?

2006-07-20 Thread Robert Stephenson
As far as I can see, appscript lacks an equivalent of Applescript's launch verb, which opens an app without running it (useful for apps like Textedit or Keynote that create default documents when they run).  Did I miss something, or how can you open a file without the default run action? * * * * *