opening a pdf file
Plum Hollow Software
plum_hollow at cogeco.ca
Tue Aug 28 17:13:04 EDT 2018
> 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
More information about the omnisdev-en
mailing list