if it'd be a wise choice or not: the
current syntax is ugly, but you can throw rocks at it and it's still
guaranteed to work, whereas once you start mucking with something as
complex and knotty as Python syntax, who knows what you might step on?
HTH
has
_
oject templates included in Xcode 3.2.
Its presence (or absence) in Xcode 4 should tell you something.
Regards,
has
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe:
args, e.g.
[obj foo: x bar: y] -> obj.foo(x, bar: y)
>>> What other options are there? Specify your GUI by hand?
>>
>> Is it just the Read/Write Class Files functionality that's affected,
>> or has Xcode 4 also lost the ability to specify IB classes
better
position to agitate, seeing as he's an Apple employee.
(http://www.macruby.org/)
> What other options are there? Specify your GUI by hand?
Is it just the Read/Write Class Files functionality that's affected,
or has Xcode 4 also lost the ab
()
>
> to access data on a specific cell on a specific worksheet. How do I do that
> with the AEM syntax you suggested?
excel = app('Microsoft Excel')
ws = excel.worksheets['Sheet1']
excel.AS_newreference(ws.AS_aemreference.elements('X117'
Christian Prinoth wrote:
> Just upgraded to Office 2011, and it appears appscript is not working
> correctly with Excel 2011.
>
> If I do the following:
>
> app(u'/Applications/Microsoft Office 2011/Microsoft
> Excel').ranges[u'B2'].value()
>
> I ge
Hi all,
Just to let you know that Python appscript 1.0.0 has finally been released:
http://pypi.python.org/pypi/appscript
Enjoy,
has
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
ASTranslate. Or you could use appscript's
interactive help system to browse objects in SE; see the appscript
manual for more info.
HTH
has
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
u
available that correct OS X 10.4 compatibility problems
introduced in the previous releases. (Many thanks to Karsten Wolf for
his assistance in fixing these.)
Thanks,
has
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.o
Hi all,
I've just posted new versions of ASDictionary and ASTranslate; no new
features but various bug fixes and internal updates to eliminate the
use of deprecated Carbon APIs. Appreciate it if folks could give them
a go and let us know of any problems.
Thanks,
has
--
Learn AppleScript
3.2.
Please let me know if you encounter any problems. If no issues are
reported, the 1.0.0 final release will follow shortly.
Enjoy,
has
--
Learn AppleScript, 3rd edition, Sanderson & Rosenthal:
http://apress.com/book/view/9781430223610
Control AppleScriptable applications from Python,
k.name.get(), track.album.get() for track in
iTunes.tracks.get()] # 2*N+1 commands
If you're already familiar with how relational DB queries operate,
it's not so different (as that is where the original AppleScript
engineers nicked half their ideas from).
HTH
has
--
Learn AppleScr
is able to test that
combination I would really appreciate it. (I've created the odd
compatibility problem in the past by using Python 2.4+ features
without realising.)
If no issues are reported, I will bump the version and make a final
1.0.0 release before the end of the year.
Thanks,
has
--
ly
> app, and getting it so that appscript is included.
Have you looked at py2app? That will identify and bundle all your
dependencies for you.
http://pypi.python.org/pypi/py2app/
HTH
has
--
Learn AppleScript, 3rd edition, Sanderson & Rosenthal:
http://apress.com/book/view/97814
seriously? Is this mailing list the
correct place for support?
It's supported, though I don't have much time for working on it these
days. You're best posting questions on this list as there are a number
of experienced users here who can often help.
Regards,
has
--
Learn AppleScri
r script was waiting for a reply. I would suggest
filing a bug report on QuickTime Player <http://bugreport.apple.com>,
ideally including an AppleScript that reproduces the problem.
HTH
has
--
Learn AppleScript, 3rd edition, Sanderson & Rosenthal:
http://apress.com/book/view/9781430
Ben Pedersen wrote:
> Working with py-appscript to automate testing and I'm getting an error
> deep in aemreference/aemcodecs. [...]
>
> class SuperTest():
> def getProcessHandle(procName="TextEdit"):
should read:
def getProcessHandle(self, procName=&qu
John Jackson wrote:
> I recently upgraded FileMaker to version 11, and discovered that my
> python-based application that relies on appscript to control a FileMaker
> database has broken.
I believe that's a bug in FMP 11, where sending an ascr/gdte (get terminology)
event to F
lication "Skim"
set r to item 1 of (get selection of note 1 of document 1)
get contents of r
end tell
-- error "Skim got an error: Invalid range." number -1720 from characters 222
thru 286 of text of page 4 of document "points-of-view.pdf"
So I would sugg
Adam Morris wrote:
> How can one refer to keywords (the k) given a variable?
from appscript import *
s = 'some_keyword'
print getattr(k, s)
# k.some_keyword
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.so
0.6.3)
> seems to run 4x slower than on Leopard (10.5.8), discounting hardware
> differences. Is there a way for me to setup the appscript
> installation to mitigate this performance hit?
Have you tried running 32-bit on both to see if it's a 32-/64-bit issue?
Otherwise, I'
neral Python error, as you say.
In which case, either pick a different variable name or use 'import appscript'
and 'appscript.k.KEYWORD_NAME'.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
aviour).
See chapter 7 of the appscript manual for more information.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.or
p(url='eppc://machine.local/System Events')
>
> does actually give me a reference. So is there something I'm misunderstanding?
app objects don't fetch terminology until you start building a reference or
command.
HTH
has
--
Control AppleScriptable applications from Pyt
ASDictionary error logs and send us those
if found, I'll add it to my TODO list.
Thanks,
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonmac-SIG maillist - Pythonmac-SIG@pyt
Tobias Weber wrote:
> Thanks! I made working examples for both, but I guess the first has
> AppleScript limitations like requiring a UI context.
No, a Window Manager connection is not required.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC
does. Check their docstrings for more information.
> I could use NDAlias via pyobjc and get an NSData out.
NSURL has a 'bookmark' feature in 10.6+.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
u consider how they work.
Though I still reckon redesigning the code to do all GUI stuff on the main
thread will be the best solution for the OP, painful as that might be.
Regards,
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
_
ocoa.
> As Carbon is deprecated anyway, I guess it's time for gestalt ( or
> platform.mac_ver ) to be re-written
Python's Carbon modules are deprecated in 2.x and gone in 3.x, so its
Carbon.gestalt module is a dead end for Python users. Mac OS X's gestalt APIs
are n
> Kevin Walzer wrote:
>
>> You don't pass self to a bound method in Python. Delete the ('', 'self',
>> ...) tuple.
>
> My app crashes when I do that. Here's the error message:
>
> TypeError: Can't install event handler '
e.kae.typeUnicodeText)
> )
You don't pass self to a bound method in Python. Delete the ('', 'self',
...) tuple.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
'd
need to pass global/local dicts to it and exchange values via that.
For what you're doing though, eval() might be a more appropriate choice.
Though personally I'd be looking to add a proper AE API, even if only
procedural, so that users can't just run arbitrary code. But t
Kevin Walzer wrote:
> Now my app responds to Apple Events and doesn't complain about a corrupted
> dictionary. However, I'm having some additional difficulty. It appears that
> Apple Events are bypassing the bundled Python and are going straight to the
> Tk framewor
ript Editor:
Sounds like you forgot to add an OSAScriptingDefinition entry containing the
sdef's filename to your info.plist.
Also, bear in mind that sdef-only apps won't work in 10.4 or earlier; if that's
a concern then you'll need to provide an aete as well.
HTH
has
--
Con
eloping a program to be used for (human) language educators.
Appscript on Python3 works fine here. Try installing the latest PyPI appscript
release using Distutils rather than the MacPorts appscript.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
on-standard timeout,
e.g. igor.Do_Script("some command", timeout=1200)
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
the command line actually works, which makes setting the AEDebug
> environment variable
> problematic.
Try setting it on EyeTV.
http://developer.apple.com/mac/library/technotes/tn2004/tn2124.html#SECAE
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript
) # works just fine
> app("EyeTV").stop() #works just fine
>
> go_do_other_stuff_possibly_in_other_threads_for_a_really_long_time()
>
> app("EyeTV").play(id) # has no effect
Is the EyeTV process running throughout, or does it quit and restart?
Are you sure all
her 2% of corner cases that are tricky to
fathom, but once you understand what's going on it should be straightforward to
rephrase your requests appropriately - in this case by sending a second 'get'
command yourself.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
Once you've got
Xcode building Python-based .app bundles that don't suck, you can look at
providing dependency bundling as an extra build phase.
Personally, I like py2app and I'm not a huge fan of Xcode for Python
development, but the first rule of sustainable OSS development ha
Hi all,
Just posted a bug-fix release to PyPI that corrects a problem when unpacking
Boolean values on Python 3.x.
(The 1.0 release date is pushed back accordingly.)
Please go beat harder on it. :)
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http
common cause of poor performance. See chapter 13 of the appscript manual for
more information, and post back here if you need more advice.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
_
Python.app icons no longer appear in the Dock when using appscript on Python
frameworks built for 10.5+
- Several bug fixes in 64-bit and Python 3.0 support.
A new version of the ASDictionary documentation tool has also been released.
ASDictionary 0.12.0 addresses occasional launch problems,
Ks/MacOSX10.4u.sdk/usr/include/stdarg.h
Any relation to the 2.6.3 problems? Or something else?
Ta,
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonmac-SIG maillist - Pythonmac-SIG@pyt
o use a non-Apple Python installation and be able to
access 10.5/10.6-only APIs (e.g. build your own Python framework?)?
Perhaps it's time python.org started distributing framework builds for 10.5 and
later?
Any thoughts, advice, etc?
Thanks,
has
--
Control AppleScriptable applications fro
really appreciate it.
Thanks,
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
lf) so that any time the Apple Event Manager's
AECreateAppleEvent function returns a new event with the known-to-be-bad return
ID, it chucks it and asks for a fresh one. I really don't have time to work on
this right now, but if anyone else wants to have a go and submit
fully this will help. If anything's unclear or incorrect, just let me know
and I'll improve it.
Enjoy,
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonmac-SIG maillist - Py
On 14 Sep 2009, at 16:28, Bill Janssen wrote:
has wrote:
You can install appscript from source using plain old distutils; the
setup.py script will use setuptools if it's available and distutils
if
not. Though if there are problems with setuptools then I'd suggest
filing bug
uptools if it's available and distutils if
not. Though if there are problems with setuptools then I'd suggest
filing bug reports on that as well.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
't complete within the allotted
timeout period (which should be error -1712, but the Apple Event
Manager sometimes returns the wrong code). So does the original
AppleScript work? If not, the problem is in what you're trying to do.
If it does, then see if the ASTransla
lling appscript for 2.5,
not 2.6, try specifying the exact version of easy_install to use, e.g.:
easy_install-2.6 appscript
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonma
Noel Rappin wrote:
I have a Python script that I've been using to communicate back and
forth with iTunes via py-appscript -- it's worked fine for a long
time.
Snow Leopard seems to have broken it -- everytime I run the script, it
stops, and then exits, claiming that one of the co
del. Work through the tutorials, and if it's still not clear
then ask. If you plan on implementing an AEOM, look into Cocoa
Scripting - it's a bit of a clunker (and has been since 10.2), but
it's better than nothing.
HTH
has
--
Control AppleScriptable applications from P
cation_files.ID(u'com.apple.Preview').open()
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
self, make sure
you're building your application with the same version of Python that
you're testing on. Also, make sure any third-party .eggs used by your
app are installed in unzipped form (easy_install -Z module_name);
py2app currently doesn't work with zipped .eggs.
HTH
nd it, this module is
designed more to allow Python apps to drive *other* AppleScriptable
apps via the OSA. I'm interested in the opposite. I understand that
there used to be some modules to support this, but they appear to be
deprecated.
If it's a PyObjC-based app then use Cocoa Sc
. I
don't have time to work on it myself, but could provide a few pointers
on where to start looking. How keen are you to get your hands dirty?
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
On 10 Jul 2009, at 14:45, Brendan Simon (eTRIX) wrote:
has wrote:
Brendan Simon (eTRIX) wrote:
I have an OS X python program that is invoked via a uri on a
webpage --
eg. "myapp:command"
[...]
You need to install an Apple event handler that responds to the
GetURL
event. Variou
o that, depending on whether your Python
application is Carbon or Cocoa based, has an event loop or runs in
batch mode, uses argvemulation, etc. For more specific advice, provide
more details.
HTH
has
--
Control AppleScriptable applications from Python, Ruby an
a different four-char code),
appscript appends an underscore to the application-defined term to
prevent any problems.
There was a known inconsistency in how older versions of appscript
applied these escapes; that has been fixed in the latest appscript and
ASDictionary releases, but I've
Sean DiZazzo wrote:
On a whim I tried the 0.20.0 version that was released today. To my
surprise, export() has grown a new keyword... timeout!
It's actually been around since the early days, although some older
documentation wasn't as clear about it. Chapter 11 of the appscrip
Hi all,
I am pleased to announce the release of Python appscript 0.20.0:
http://pypi.python.org/pypi/appscript
Py-appscript 0.20.0 adds support for Python 3.0 and fixes several bugs.
Enjoy,
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http
ame.get()
Don't suppose you have Default Folder X installed? There's been a
couple other recent compatibility reports with that - it's being
looked into.
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
emsend.py", line 82,
in send
aem.aemsend.EventError: Command failed: Application could not
handle this command. (-1708)
2009-05-31 15:42:43.946 ASDictionary[4551:10b] ASDictionary Error
2009-05-31 15:42:43.948 ASDictionary[4551:10b] ASDictionary Error
An unexpected error has occurred durin
that library shouldn't be
used at all.
Guessing it's a Carbon dependency, which in turn is a Cocoa
dependency. I've had similar reports from appscript users.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appsc
Or, if futzing with ctypes is too much hassle, consider grabbing the
source for the Carbon.AH extension and repackage it as part of the
project. This is what I did with Carbon.AE when developing appscript,
for example.
HTH
has
--
Control AppleScriptable applications from Python,
Save as 'Application Bundle' format.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
have my suspicions about
easy_install's abilities to make the best choice when multiple options
are available, but setuptools' shortcomings are a little beyond my ken.)
HTH
has
--
Control AppleScriptable applications from Python, Ruby and Obj
unexpectedly quitting while handling an event [1], you can
modify the timeout delay by adding a 'timeout' keyword argument to
your command. See Chapter 11 of the appscript manual for details.
HTH
has
[1] AESendMessage() often reports event timeout errors (-1712)
incorrectly as
>POSIX paths are converted, I'd
suggest writing up a test case in C to confirm the same behaviour
there, then submit a bug report to Apple on it as its their APIs that
are responsible for it.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sour
this.
BTW, Python modules/extensions are not officially binary compatible
across major Python releases, so you should be installing afresh anyway.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
__
dock when
you use appscript, as Has suggested. [...]
Agreed. Today's MacPython is, or should be, a superset of standard
*nix Python. OS X is *nix at the shell level, and tools that work on
other *nixes ought to work the same on OS X, otherwise you end up in a
situation where users have
27;t break any of
appscript's existing behaviour. It must be doable: Leopard's Scripting
Bridge manages to avoid triggering the upgrade process, and I'm
assuming (though have not checked) that it also targets processes by
pid.
Regards,
has
--
Control AppleScriptable ap
On 31 Jan 2009, at 20:18, Bill Janssen wrote:
has wrote:
...or prevent the OS from automatically upgrading your
python process to a GUI process (which it only does if it knows the
executable is located in an application bundle, e.g. Python.app/
Contents/MacOS/python).
Thanks!
I'
dle
incoming events, or prevent the OS from automatically upgrading your
python process to a GUI process (which it only does if it knows the
executable is located in an application bundle, e.g. Python.app/
Contents/MacOS/python).
Regards,
has
--
Control AppleScriptable
t,
otherwise you'll run into the same problem when building other fat
projects.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonmac-SIG maillist - Pythonmac-SIG@pyt
ying and unnecessary behaviour; the problem is that
the OS will automatically GUI-ify any non-GUI process launched from an
application bundle if it calls certain system APIs. Appscript uses the
Process Manager to locate applications and get their process ids, and
unfortunately that's o
and send it off to the
USPTO before it stops being a application and starts being awarded?
When it comes to software patents, 99 percent of them are bunk. I
agree that patents are necessary to let new ideas flourish, but the
concept has gone way too far. And especially so in computers.
P
AND+bridge)
Still making my own mind up if I should be worried or amused by it.
Not being familiar with the US patent system though, I'm curious if
anyone else has any thoughts.
Do companies like Apple automatically file patents on everything they
write, regardless of whether or not
ging most popular interpreters as OSA components is
a complete PITA due to design shortcomings in both. With Python, you
have two very limited options:
- Philip Aker's PythonOSA component, which provides basic OSA support
only (load/compile/run/store). It has no Apple event integratio
Python Package Index:
http://pypi.python.org/pypi/appscript
A Python 3.x-compatible version is currently under development and a
file release should be available shortly - see the appscript website
for more information.
Enjoy,
has
--
Control AppleScriptable applications from Python
) on
the appscript-users mailing list - you're bound to find some folks
there with more GUI Scripting experience than me, and they might have
some ideas as well.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
ow if I can just change 'i386' in the egg's filename to
'ppc', or does it really have to be built under a PPC process? (I can
probably build a ppc-only python2.6 interpreter for running on my
Intel box, but it won't be tonight.)
Thanks,
has
p.s. Happy py-apps
¬
of splitter group 1 of window "Untitled" to ""
return value of text field 1 of row 1 of table 1 of scroll area
3 ¬
of splitter group 1 of window "Untitled"
end
end
Thanks,
has
changes. I don't have an AppleScript, I'm
just doing this with appscript.
Ah, right. I misunderstood - I thought you had it working in
AppleScript but not appscript. Quick question: is the table field in
question editable? (i.e. Can you click in it and type text manually?)
Chee
nsole, that'll let me check for any differences
between the events they're sending that might explain it.
BTW, your code "app('AppName').windows['Untitled']" fails with
AttributeError: Unknown property, element or command:
d
little trouble identifying and accessing the UI controls from py-
appscript. However, progress has ground to a halt when I tried to
change a value in a table view cell. The code is the following:
[...]
Should work, although hard to say why it isn't without some more
detail. A couple
, it's revision 625 of the py-appscript trunk:
svn co http://appscript.svn.sourceforge.net/svnroot/appscript/py-appscript/trunk
py-appscript-0.19.0
Cheers,
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforg
xecutable links against the first
framework it finds on the host system, creating a likely source of
problems if you're using one version of Python and your users are
using another.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appsc
On 3 Nov 2008, at 16:00, Bill Janssen wrote:
So, how does the automatic GC in ObjC-2.0 play into this?
PyObjC doesn't work with ObjC 2.0's garbage collector.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourc
oc().init()
try:
...
finally:
del pool
I believe that's what the PyObjC documentation recommends.
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonmac-S
eads yourself.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
issue if you're dipping into the lower-level aem APIs).
Enjoy,
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.
nk
BTW, I'm aiming to get the long awaited 0.19.0 (beta 1) release out
this week (I'd hoped to have it out sooner but I'm still polishing
details), and will post an announcement when that happens.
Regards,
has
--
Control AppleScriptable applications from Python, Ruby and Obj
calls certain OS
APIs, OS X automatically upgrades it to full GUI status. e.g. Py-
appscript has this problem, despite having no need for a Window
Manager connection itself: it calls Process Manager, which is one of
the APIs in question, and the python interpreter is packaged as
an .app, s
ppscript-0.19.0
(If you're not familiar with Subversion, drop me an email and I can
send a .tar.gz.)
Many thanks,
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
Pythonmac-SIG mailli
tly or make sure there's a BOM.
After further digging, it looks like it's a manifestation of a known
issue in 2.6's C API:
http://bugs.python.org/issue4060
Anyway, I've added a workaround to my code as suggested.
Thanks,
has
--
Control AppleScript
;credits" or "license" for more information.
>>> '\x41\x00'.decode('utf16')
u'\u4100'
OS X 10.5.5/i386 using default 2.5.1 Python installation vs. the
Python 2.6 framework distribution from python.org.
has
--
Control AppleScriptable appli
S X
additions hiding beneath the surface as well, e.g.:
import subprocess
subprocess.call(['say', 'hello world'])
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
___
1 - 100 of 415 matches
Mail list logo