C
CRP
Version: 2008 Operating System: Mac OS X 10.6 (Snow Leopard) Processor: Intel Hi,
has anyone else here used Python as a scripting language? One of the (maybe unintended) consequences of MS making Applescript the only scripting possibility is that through AppScript (http://appscript.sourceforge.net/) one can also use Python (and Ruby and Cocoa/Objective C).
This allows for great new possibilities (just think of the many libraries available for Python), although I have three issues:
1) being used to Excel's VBA api I still have to adapt to the AS dictionary (and I am also finding many "idiosincracies", a few of which might be actual bugs, see my separate message on "get address of rows"
2) speed is not great, I think macros should be rewritten by minimizing access to table objects. in other words cycling over cells is not a good idea
3) I think there is no way to write user defined functions
Besides that, I really like being able to use "serious" scripting languages with Office, so I really do hope MS makes some effort to address the three issues I pointed out above, especially 1 and 3, instead of wasting time porting obsolete VBA to the next release of Office.
Cheers
Chris
has anyone else here used Python as a scripting language? One of the (maybe unintended) consequences of MS making Applescript the only scripting possibility is that through AppScript (http://appscript.sourceforge.net/) one can also use Python (and Ruby and Cocoa/Objective C).
This allows for great new possibilities (just think of the many libraries available for Python), although I have three issues:
1) being used to Excel's VBA api I still have to adapt to the AS dictionary (and I am also finding many "idiosincracies", a few of which might be actual bugs, see my separate message on "get address of rows"
2) speed is not great, I think macros should be rewritten by minimizing access to table objects. in other words cycling over cells is not a good idea
3) I think there is no way to write user defined functions
Besides that, I really like being able to use "serious" scripting languages with Office, so I really do hope MS makes some effort to address the three issues I pointed out above, especially 1 and 3, instead of wasting time porting obsolete VBA to the next release of Office.
Cheers
Chris