Daniel Lord wrote: >I am writing an app combining excel and python/appscript to fetch quotes from >the web and value stock portfolios . >But I give up on using appscript with Excel--some things just don't work >because I think the terminology is seriously warped if no broken. >Applescriptworks but appscript doesn't.
Please send examples of where breakage occurs so I can figure out why. >I instead build a text Applescript from strings and use popen2 to invoke >osascript like this example which reads in the stock symbols from a named >range in an excel spreadsheet: The osax module provides a runscript() function that's easier to use if you're just wanting to pass in parameters. (It's a simple wrapper around Standard Additions' 'run script' command.) Or I can supply a rough version of osawrapper, which is a high-level wrapper around CarbonX.OSA; gives you much more power/flexibility when using AS from Python. Just ask. HTH has -- http://freespace.virgin.net/hamish.sanderson/ _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig