an0malaus opened this issue on Dec 19, 2004 ยท 6 posts
an0malaus posted Sun, 19 December 2004 at 3:48 AM
I'm trying to create a simplistic workaround for a part of the Poser CFM/Python Tkinter MachO brokeness. I need to be able to edit some parameters stored in a text file. I can already do this if I bind the text file to a Python script button and Ctrl-click the button, but I'd like to find a way to determine the path to the Text Editor defined in the Poser 5 General Preferences. I haven't found a hook for this in the Python Manual on Mac OS X (If it's there, I must be truly blind ;-) ). I've looked at the script which launches the text editor, but it appears poser is probably passing in the file to edit in the command line parameters (argv) or something, as I can't see a separate parameter for which file to open. Can anyone help? (Ockham, stewer)?
Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.