Re: [dabo-users] Shellexecute

Author: Jeff Johnson

Posted: 2011-08-13 at 11:41:54

On 08/13/2011 08:33 AM, Paul McNett wrote:

> On 8/13/11 7:23 AM, Jeff Johnson wrote:

>> I have a VFP application that will open up a document in its native

>> application by using shellexecute in the button click. I would like to

>> add that same ability on Mac& Linux. Most of them are PDF or XLS and

>> occasionally DOC. Is that possible?

> Easy on Mac:

>

> os.system("open %s" % document)

>

> Paul

>

Paul: Is that Python? Maybe it would work on Linux too? Ultimately I

want to run the application from a button click in Dabo just like I do

in VFP.

Thanks,

Jeff

-------------------

Jeff Johnson

jeff@dcsoftware.com

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/4E469B42.8080607@dcsoftware.com

©2011 Jeff Johnson