Thanks Nicholas,
The general CF rule is that if you use a function named *Get*, then
you don't need to CFRelease; if you use a function named *Copy* or
*Create*, you do. So, what you've written looks fine.
With that in mind one further modification seems to be necessary.
Take three attac
Try again...that last file was my scratch file I was using for
development. Here's the real thing. Sorry for the mess.
~ Daniel
def getproxies_internetconfig():
"""Return a dictionary of scheme -> proxy server URL mappings.
This function has 'internetconfig' in its name for histo
I am getting file not found errors from appscript.
I manually open my OmniOutliner file Projets.oo3 first then from a xterm
window:
python
from appscript import *
oop = app('OmniOutliner Professional')
pod = oop.documents['Projects.oo3']
A second copy of OmniOutliner Professional is started and
On 14 Apr, 2008, at 14:24, Daniel Miller wrote:
Thanks Nicholas,
The general CF rule is that if you use a function named *Get*, then
you don't need to CFRelease; if you use a function named *Copy* or
*Create*, you do. So, what you've written looks fine.
With that in mind one further modi
In article <[EMAIL PROTECTED]>,
John Ott <[EMAIL PROTECTED]> wrote:
> I am getting file not found errors from appscript.
>
> I manually open my OmniOutliner file Projets.oo3 first then from a xterm
> window:
>
> python
> from appscript import *
> oop = app('OmniOutliner Professional')
> pod = o
Kevin Horton wrote:
> I have two scripts - the
> program is started by running the GUI script, which calls wx, and
> sets up the whole GUI. This script imports another script, which
> holds all the functions that perform the calculations that are the
> whole purpose of this application. T