Hi Andy >> I_think_ that uses a generic button which calls hal_action_open, >> which in turn opens hal_filechooser.py, which seems to open a G-code >> file in LinuxCNC. Unfortunately that is not what I want to do.
Looks like all you have to do to change the default action in hal_filechooser.py once a file is selected, is to change the def _load_file(self, filename) function (line 115 in my copy) to do what you want with the filename. Might save re-inventing the file dialogue when there is one available. regards ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
