[Pythonmac-SIG] Create a new tab with index 1?

2010-01-09 Thread Seiya
I would like to use appscript to realize the following applescript: tell application "Safari" tell window 1 make new tab at beginning end tell end tell that is, I want to make a new tab with index 1. The following code safari = app("Safari").windows[1].make(new=k

[Pythonmac-SIG] font-choice dialog in Snow Leopard

2010-01-09 Thread Charles Hartman
I admit I haven't looked into it in detail yet, and I will, but maybe somebody can simplify the hunt. In an app I last built with py2app under Leopard, a standard dialog to choose a font (using wxPython's wx.GetFontFromUser() ) appears on the screen for a brief flash and then vanishes when I ru

Re: [Pythonmac-SIG] Create a new tab with index 1?

2010-01-09 Thread Ned Deily
In article , Seiya wrote: > I would like to use appscript to realize the following applescript: > > tell application "Safari" > tell window 1 > make new tab at beginning > end tell > end tell > > that is, I want to make a new tab with index 1. The following code > sa