open URL in web browser

Brian O'Sullivan brian.os at verizon.net
Tue Mar 31 19:08:59 EDT 2015


Hi Mischa, Reg,
Thanks for the tip - so simple!  It’s still puzzling why the ActiveX only partially images the form, but it’s good to have a simple alternative.

regards,
-brian o’sullivan

On Mar 31, 2015, at 6:33 PM, Mischa <mischa at omnislab.com> wrote:

> Hi Reg,
> 
> I'm not a Mac user, so I just use the Apple script approach because it is
> said to work. However, when "Launch program ,[mLink]" works on both
> platforms, this is even better, thanks!
> I just wonder why TL does not provide a native command for opening a web URL
> - this is something nearly every application needs, and can't be that
> complicated to implement ...
> 
> Best greetings
> Mischa
> 
> ---------------------------------------------------
>  T H E   O M N I S   L /\ B     www.omnislab.com
> ---------------------------------------------------
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] Im Auftrag
> von Reg Paling
> Gesendet: Dienstag, 31. März 2015 22:44
> An: OmnisDev List - English
> Betreff: Re: open URL in web browser
> 
> Hi Mischa & all,
> 
> I had just changed to using "Launch program ,[mLink]" on both Mac and 
> Win. (See the recent thread on this list).
> 
> Is there any reason why the applescript is better on Mac?
> 
> Cheers,
> Reg
> 
> 
> On 1/04/2015 2:49 am, Mischa wrote:
>> Hi Brian,
>> 
>> Got this from Stefan and Kelly:
>> 
>> mLink = "http://www.omnislab.com"
>> 
>> On evClick     ;; Event Parameters - pRow( Itemreference )
>>    If sys(6)='N'     ;; windows
>>    Launch program ,[mLink]
>> Else If sys(6)='X'     ;; mac
>>    Calculate mScript as con('Open Location "',mLink,'"',chr(13))
>>    Calculate #F as $runapplescript(mScript,mResult)
>> End If
>> 
>> Works great
>> Best greetings
>> Mischa
>> ---------------------------------------------------
>>   T H E   O M N I S   L /\ B     www.omnislab.com
>> ---------------------------------------------------
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> 
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com


_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com



More information about the omnisdev-en mailing list