Re: osx open url vs osascript FYI

2017-03-13 Thread Keisuke Miyako via 4D_Tech
for opening documents plugin https://github.com/miyako/4d-plugin-shell-execute component (internally LAUNCH EXTERNAL PROCESS) https://github.com/miyako/4d-component-sublaunch in particular, the escaping of paths is quite robust, not just double-quoting the whole string. but going back to the

Re: osx open url vs osascript FYI

2017-03-13 Thread Nigel Greenlee via 4D_Tech
id Ringsmuth via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Bernd, > > Yes, html was what I first tried. > > David Ringsmuth > > From: Bernd Fröhlich via 4D_Tech > Sent: Saturday, March 11, 2017 4:57 AM > To: 4d_tech@lists.4d.com > Cc: Bernd Fröhli

RE: osx open url vs osascript FYI

2017-03-13 Thread David Ringsmuth via 4D_Tech
Bernd, Yes, html was what I first tried. David Ringsmuth From: Bernd Fröhlich via 4D_Tech Sent: Saturday, March 11, 2017 4:57 AM To: 4d_tech@lists.4d.com Cc: Bernd Fröhlich Subject: Re: osx open url vs osascript FYI David Ringsmuth: > I tried many different things to launch a .htm on

Re: osx open url vs osascript FYI

2017-03-11 Thread Bernd Fröhlich via 4D_Tech
David Ringsmuth: > I tried many different things to launch a .htm on OSX using OPEN URL, and it > would not automatically open the document. Have you tried using ".html" instead of ".htm"? What happens if you doubleclick your .htm-document in the finder? Greetings from Germany, Bernd Fröhlich

Re: osx open url vs osascript FYI

2017-03-10 Thread John DeSoi via 4D_Tech
Hi David, > On Mar 10, 2017, at 5:04 PM, David Ringsmuth via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > It should be “open”. (SORRY) Applescript is a good option if you need to do something complicated. If you just want to open an application or document (or application with a document),

RE: osx open url vs osascript FYI

2017-03-10 Thread David Ringsmuth via 4D_Tech
d tell"+$LF > LAUNCH EXTERNAL PROCESS("osascript > -";$script_t;$outputStream_t;$errorStream_t) David Ringsmuth From: Tim Nevels via 4D_Tech Sent: Friday, March 10, 2017 5:03 PM To: 4d_tech@lists.4d.com Cc: Tim Nevels Subject: Re: osx open url vs osascript FYI On Mar 10, 2017, at 9:12 A

Re: osx open url vs osascript FYI

2017-03-10 Thread Tim Nevels via 4D_Tech
On Mar 10, 2017, at 9:12 AM, David Ringsmuth wrote: > 4D v15.2 > OSX 10.12+ > > I tried many different things to launch a .htm on OSX using OPEN URL, and it > would not automatically open the document. > > Included “safari” in the OPEN URL. > Used the “*” parameter in OPEN URL. > Stripped the