Error launching a pdf after creation

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
Posts: 8
Joined: Wed Jan 21, 2015 5:17 am

Error launching a pdf after creation

Post by jackrarick » Thu Oct 10, 2019 7:25 pm

Have a standalone application. It creates .pdfs of student reports. All works good on a Mac. On my Windows computer I get this message when trying to launch the pdf both from INSIDE my standalone and as a document file from the desktop.

The message reads (From Adobe Acrobat): "There was an error opening the document. This file is already open or in use by another application."

Thank you all in advance.

Jack Rarick
Sherman Systems
Renton WA

VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Error launching a pdf after creation

Post by [-hh] » Fri Nov 01, 2019 11:55 pm

This works here without any problem on Mac/Win/linux

Code: Select all

launch document "/path/to/file.pdf" -- use full filePath
Of course Adobe Acrobat/Reader doesn't refresh an already open document.
So you have to close it first.
shiftLock happens

Post Reply

Return to “Windows”