It sounds like he is dealing with file permissions. His app can create but not write. I’ll bet the PDF file is 0 kbytes.
I would try saving the file using open file <filename> for binary write; write to file <filename>; put the result into tResult, close file <filename> then check for tResult Bob S > On Dec 31, 2023, at 8:52 AM, Matthias Rebbe via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Paul, > > the subject of Charles post is a bit misleading. > The problem does not have to do with the menu. > > Charles problem is the following. He stored several PDF files on macOS as > custom properties. His program allows the user to save the PDF to hard disk > using a menu entry. > The command for creating the PDF is > put the PDFfile1 of this stack into URL “binfile:……..“ > > When the PDF is saved on macOS the PDF is readable (on Windows and macOS), > when the PDF is saved on Windows, a PDF with blank pages is created. > > I am not sure, if this maybe has to do with encoding or so? > > Regards, > Matthias > > Von meinem iPad gesendet >> Am 31.12.2023 um 16:18 schrieb Paul Dupuis via use-livecode >> <use-livecode@lists.runrev.com>: >> >> I'm not sure exactly what you are talking about? >> >> Are you asking about launching a PDF from a menu item under a "Windows" menu? >> >>> On 12/31/2023 9:41 AM, Charles Szasz via use-livecode wrote: >>> I have found that a method I use (proposed by LC tech support a few years >>> ago to embed PDFs in a Windows menu (using custom properties) does not work >>> in LC 9+. It does work on a Mac. Anybody have solution for this problem? >>> >>> >>> Sent from my iPad >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode