opening a pdf file
Michael Matthews
omnis at lineal.co.uk
Wed Aug 29 05:59:32 EDT 2018
Use both, so if one fails, the other might work. :)
Mike
<http://www.lineal.co.uk/>
<https://twitter.com/linealsoftware> <https://www.facebook.com/linealsoftware?fref=ts&ref=br_tf> <https://plus.google.com/112982815000763473226/about> <https://www.linkedin.com/company/1859834?trk=tyah&trkInfo=clickedVertical%3Acompany%2Cidx%3A1-1-1%2CtarId%3A1437729256906%2Ctas%3Alineal%20s>
Mike Matthews
omnis at lineal.co.uk <mailto:omnis at lineal.co.uk>
Lineal Software Solutions
01271 375999
Commercial House, The Strand
Barnstaple, Devon, EX31 1EU
www.lineal.co.uk <http://www.lineal.co.uk/>
<http://www.lineal.co.uk/windows-support/> <http://www.lineal.co.uk/microsoft-office-365/> <http://www.lineal.co.uk/wifi-networks/> <http://www.lineal.co.uk/wifi-networks/> <http://www.lineal.co.uk/it-systems/> <http://www.lineal.co.uk/gamma-horizon-voip/> <http://www.lineal.co.uk/kerio/> <http://www.lineal.co.uk/apple-upgrades-repairs/> <http://www.lineal.co.uk/eset-security-software/> <http://www.lineal.co.uk/shoretel/>
> On 28 Aug 2018, at 22:19, Plum Hollow Software <plum_hollow at cogeco.ca> wrote:
>
> Moving forward, should I use launch program or use applescript?
>
>> On Aug 28, 2018, at 5:15 PM, Michael Matthews via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
>>
>> It should use whatever you have set your Mac to use. The default is for Preview to open PDF docs, but you could override it.
>>
>> Mike
>>
>>
>>
>>> On 28 Aug 2018, at 22:13, Plum Hollow Software <plum_hollow at cogeco.ca> wrote:
>>>
>>>> pcFilePath is the path to file to open - path to the file is not the application but let say a .pdf?
>>>
>>> Does launch program just look at the .extension to determine what app to open?
>>>
>>>> On Aug 28, 2018, at 11:13 AM, Alex Clay via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
>>>>
>>>> Hi Randy,
>>>>
>>>> On macOS, we use this command to open files using the default application:
>>>>
>>>> Launch program ,[pcFilePath] (Do not quit Omnis)
>>>>
>>>> pcFilePath is the path to file to open.
>>>>
>>>> This works just fine in 8.1.x.
>>>>
>>>> Alex
>>>>
>>>>
>>>>> On Aug 28, 2018, at 11:07, Plum Hollow Software <plum_hollow at cogeco.ca> wrote:
>>>>>
>>>>> Hi List,
>>>>>
>>>>> In Omnis Studio 5.1I could open a pdf from a list using the follow code:
>>>>>
>>>>> Set event recipient {FINDER}
>>>>> Send core event Open Documents (pRow.iPDF_Path)
>>>>> Send core event Open Documents (pRow.c2)
>>>>>
>>>>> But in Studio 8.1 I get this:
>>>>>
>>>>> Set event recipient OBSOLETE COMMAND {FINDER}
>>>>> Send core event OBSOLETE COMMAND Open Documents (pRow.iPDF_Path)
>>>>> Send core event OBSOLETE COMMAND Open Documents (pRow.c2)
>>>>>
>>>>> What would be the equivalent to replace this.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Randy
>>>>>
>>>>> _____________________________________________________________
>>>>> Manage your list subscriptions at http://lists.omnis-dev.com
>>>>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>>>
>>>> _____________________________________________________________
>>>> Manage your list subscriptions at http://lists.omnis-dev.com
>>>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>>
>>> _____________________________________________________________
>>> Manage your list subscriptions at http://lists.omnis-dev.com
>>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>
>>
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>
More information about the omnisdev-en
mailing list