Re: Embedded PDFs in Windows Menu

2024-01-04 Thread Bob Sneidar via use-livecode
Curious to be sure. For my part I binary read my PDFs into an sql database large blob column then write them back out to disk when needed. That is the entire basis for my Forms Generator app. I have never encountered this issue. That may help narrow the scope of the problem. Bob S On Jan 3

Re: Embedded PDFs in Windows Menu

2024-01-03 Thread matthias rebbe via use-livecode
they were written to the user's documents folder. The different PDF files have different sizes on Windows and contain exact the same number of pages the real PDF has, but they are blank. The problem seems to be solved now. He will import/store the PDFs again in custom properties, but doing

Re: Embedded PDFs in Windows Menu

2024-01-03 Thread Bob Sneidar via use-livecode
e 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

Re: Embedded PDFs in Windows Menu

2023-12-31 Thread Matthias Rebbe via use-livecode
es 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

Re: Embedded PDFs in Windows Menu

2023-12-31 Thread Paul Dupuis via use-livecode
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

Embedded PDFs in Windows Menu

2023-12-31 Thread Charles Szasz via use-livecode
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

Re: Getting page counts of PDFs

2020-08-25 Thread Bob Sneidar via use-livecode
Me too. I stopped before my head exploded and my brain fell out onto the floor like scrambled eggs. :-) Bob S On Aug 23, 2020, at 7:17 AM, Ralph DiMola via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: PDF Widget will do the trick. I start reading the PDF spec 20 years ago and

RE: Getting page counts of PDFs

2020-08-23 Thread Ralph DiMola via use-livecode
Glasgow via use-livecode Sent: Sunday, August 23, 2020 8:07 AM To: How to use LiveCode Cc: David V Glasgow Subject: Getting page counts of PDFs Livecoders, In my day job, some of my income comes from the number of pages from a number of PDF documents thatI have to read for individual cases. I

Getting page counts of PDFs

2020-08-23 Thread David V Glasgow via use-livecode
full of PDFs. I didn’t imagine it would be too hard, because both Mac and Win OSs report page number instantly and accurately in the file information windows. I discovered that in a small sample of PDFs a line… << /Type /Pages /MediaBox [0 0 612 792] /Count 149 /Kids [ 1396 0 R 13

Re: Browser widget and PDFs

2018-11-26 Thread Bob Sneidar via use-livecode
I thing there is an Open With option likw Wndows has. Try right clicking apdf and see if you can see an always open with option. Bob S > On Nov 22, 2018, at 08:53 , Tore Nilsen via use-livecode > wrote: > > I have come across a puzzling phenomenon in how the browser widget han

Re: Browser widget and PDFs

2018-11-22 Thread Tore Nilsen via use-livecode
>>>> I have come across a puzzling phenomenon in how the browser widget handles >>>> pdfs. On my iMac I do no have Adobe Reader or Adobe Acrobat installed. >>>> Here, the browser widget displays pdf-files without any hiccups. On my >>>> MacBook I have

Re: Browser widget and PDFs

2018-11-22 Thread hh via use-livecode
If the PDF is embedded by ordinary HTML (= set url of the browser widget or use in its htmlText , or ) then you can't decide for the user which plugin to use. But the user can force this for himself by moving the corresponding plugin(s) in/out of the plugins-folder (which is on Mac

Re: Browser widget and PDFs

2018-11-22 Thread Klaus major-k via use-livecode
app that handles PDF on your Mac? >> Thanks, >> Brian >>> I have come across a puzzling phenomenon in how the browser widget handles >>> pdfs. On my iMac I do no have Adobe Reader or Adobe Acrobat installed. >>> Here, the browser widget displays pdf-files

Re: Browser widget and PDFs

2018-11-22 Thread Tore Nilsen via use-livecode
on your Mac? > > Thanks, > Brian > On Nov 22, 2018, 11:53 AM -0500, Tore Nilsen via use-livecode > , wrote: >> I have come across a puzzling phenomenon in how the browser widget handles >> pdfs. On my iMac I do no have Adobe Reader or Adobe Acrobat installed. Here, &

Re: Browser widget and PDFs

2018-11-22 Thread Brian Milby via use-livecode
Could this be related to the default app that handles PDF on your Mac? Thanks, Brian On Nov 22, 2018, 11:53 AM -0500, Tore Nilsen via use-livecode , wrote: > I have come across a puzzling phenomenon in how the browser widget handles > pdfs. On my iMac I do no have Adobe Reader or Adobe A

Browser widget and PDFs

2018-11-22 Thread Tore Nilsen via use-livecode
I have come across a puzzling phenomenon in how the browser widget handles pdfs. On my iMac I do no have Adobe Reader or Adobe Acrobat installed. Here, the browser widget displays pdf-files without any hiccups. On my MacBook I have Adobe Acrobat installed, and the browser widget seems to use

Set quality/compression of images in PDFs?

2018-10-17 Thread Ben Rubinstein via use-livecode
Is there any way to control the quality/compression of images in PDFs generated by LiveCode? Putting a 1MB JPG on a card, and printing from the rect of the image to the page rect, makes about a 6MB PDF file. Changing the jpeg quality of the input JPG seems to make no difference. Replacing

Re: iOS Browser Widget and PDFs? SOLVED

2017-07-07 Thread Jonathan Lynch via use-livecode
When I was testing this > aspect of the app I had it point to specialFolderPath(“Desktop"). Naturally, > on the iPad I changed it to specialFolderPath(“engine”) thinking that would > cover the iOS app. Nope. Apparently you can’t save files (pdfs) to the > “engine” folder

Re: iOS Browser Widget and PDFs? SOLVED

2017-07-07 Thread JOHN PATTEN via use-livecode
FWIW… The issue was related to the specialFolderPath. When I was testing this aspect of the app I had it point to specialFolderPath(“Desktop"). Naturally, on the iPad I changed it to specialFolderPath(“engine”) thinking that would cover the iOS app. Nope. Apparently you can’t save files

Re: iOS Browser Widget and PDFs?

2017-07-06 Thread JOHN PATTEN via use-livecode
I had it “Answer" me the path to the pdf in the iOS app on the iPad and it reports back: /var/containerns/Bundle?Application?CA0B0721-80F7-4B24-92C4-0B156D/PTP System.app/Teacher Laptop Replacement Quote (19).dpf This should be the path that the - set url of the widget “quoteBrowser” - is set

iOS Browser Widget and PDFs?

2017-07-06 Thread JOHN PATTEN via use-livecode
Hi All! I have little app that I’m using track our department quotes/purchases etc. It pulls the info out of a mySQl db. I have an issue with browser widget displaying the pdf quotes on iOS. The app pulls the PDF out of mysql via: Put "SELECT attachment FROM quotes WHERE name ='" & jQuote & "'"

launch document fails sometimes with PDFs

2014-09-23 Thread Tiemo Hollmann TB
Hello, I am using launch document to show a PDF file since long time. Sometimes on some Windows machines LiveCode doesn't find the associated program to the PDF file extension and the launch fails, though the Adobe Reader IS associated with the PDF file extension. It seems to me, that it is the

Viewing PDFs in Android...

2013-06-18 Thread Paul Maguire
Hi all. My porting to Android saga continues - last chapter... I've just identified that PDFs cannot be loaded into the browser native control in Android. This breaks my app quite badly. I see there is a workaround to: launch URL http://blah.com/someFile.pdf ... but this is going to cause

Re: Viewing PDFs in Android...

2013-06-18 Thread Terry Judd
porting to Android saga continues - last chapter... I've just identified that PDFs cannot be loaded into the browser native control in Android. This breaks my app quite badly. I see there is a workaround to: launch URL http://blah.com/someFile.pdf ... but this is going to cause the app

Re: Viewing PDFs in Android...

2013-06-18 Thread Monte Goulding
For what it's worth this appears to be a problem for Java developers too... and Terry's solution is one I've seen on StackOverflow for them too... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that!

Re: Viewing PDFs in Android...

2013-06-18 Thread Terry Judd
: Hi all. My porting to Android saga continues - last chapter... I've just identified that PDFs cannot be loaded into the browser native control in Android. This breaks my app quite badly. I see there is a workaround to: launch URL http://blah.com/someFile.pdf ... but this is going

Re: Viewing PDFs in Android...

2013-06-18 Thread Paul Maguire
I've hacked a workaround which loads up a jpeg equivalent meantime but i'd be interested in see how to implement the google docs approach. Kind regards, Paul. On 18 Jun 2013, at 20:59, Monte Goulding mo...@sweattechnologies.com wrote: For what it's worth this appears to be a problem for

Re: Viewing PDFs in Android...

2013-06-18 Thread Paul Maguire
back at work tomorrow. Terry... On 18/06/2013, at 10:16 PM, Paul Maguire m...@paulmaguire.me wrote: Hi all. My porting to Android saga continues - last chapter... I've just identified that PDFs cannot be loaded into the browser native control in Android. This breaks my app quite badly

copying embedded pdfs

2012-12-28 Thread Jean Rioux
for pdfs, so I've been looking for a workaround. sturgis (on the LiveCode Forum) supplied me with an applescript workaround for the Mac (it copies the selected contents of the pdf to the clipboard, at which point I can access it via code), but I haven't been able to do the same for Windows. Any

Re: PDFs Not Downloading Properly From FTP Server

2012-01-03 Thread Gregory Lypny
Thank you, Roger. Works like a charm! Gregory On Tue, Jan 3, 2012, at 12:37 AM, Roger wrote: Have you tried binfile: instead of file: to prevent alteration? In certain cases, you may not need the // either. ?Roger ___ use-livecode

PDFs Not Downloading Properly From FTP Server

2012-01-02 Thread Gregory Lypny
Hello everyone, I use LiveCode to upload PDFs to a remote Mac using put url (binfile: longFileName) into url (ftp://; aFTPAddress newFileName) but when I download those same PDFs by using put url (ftp://; aFTPAddress newFileName) into url(file:// aLocalAddress

Re: PDFs Not Downloading Properly From FTP Server

2012-01-02 Thread Roger Eller
On Mon, Jan 2, 2012 at 5:42 PM, Gregory Lypny wrote: Hello everyone, I use LiveCode to upload PDFs to a remote Mac using put url (binfile: longFileName) into url (ftp://; aFTPAddress newFileName) but when I download those same PDFs by using put url (ftp://; aFTPAddress

PDFs

2011-11-02 Thread Richmond
on the Supercard list: Re: [SC] Importing PDF files Set pictureData of card graphic PDF to myPDFfilepath I wonder ? ? ? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: PDFs

2011-11-02 Thread Mark Schonewille
Hi Richmond, This imports only the first page of the PDF. IIRC, in the recent discussion on this list, OP wanted to browse a PDF. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter:

Re: PDFs

2011-11-02 Thread Richmond
On 11/02/2011 12:40 PM, Mark Schonewille wrote: Hi Richmond, This imports only the first page of the PDF. IIRC, in the recent discussion on this list, OP wanted to browse a PDF. Notwithstanding, that would be better than the 'nothing' currently available in Livecode. -- Best regards,

Re: PDFs

2011-11-02 Thread tkuyp...@telenet.be
And what's wrong with: on mouseUp answer file Select a PDF if it = then exit mouseUp set the filename of player test to it end mouseUp Met vriendelijke groeten, Warm Regards, Ton Kuypers +32 (0) 477 739 530 Aardbemden 11 • B-2400 • Mol • Belgium www.publishingtools4u.com On

Re: PDFs

2011-11-02 Thread Mark Schonewille
Hi Ton, Nothing is wrong with that, as long as you're on a Mac. It won't work on other platforms. (Of course, SuperCard is Mac-only). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter:

Re: PDFs

2011-11-02 Thread tkuyp...@telenet.be
I rest my case ;-) Met vriendelijke groeten, Warm Regards, Ton Kuypers +32 (0) 477 739 530 Aardbemden 11 • B-2400 • Mol • Belgium www.publishingtools4u.com On 2-nov-2011, at 16:53, Mark Schonewille wrote: Hi Ton, Nothing is wrong with that, as long as you're on a Mac. It won't work on

Re: PDFs

2011-11-02 Thread Richmond
On 11/02/2011 05:56 PM, tkuyp...@telenet.be wrote: I rest my case ;-) Which case is that? Certainly no joy on Linux (which, by-the-way, is supposedly now outstripping Mac). Met vriendelijke groeten, Warm Regards, Ton Kuypers +32 (0) 477 739 530 Aardbemden 11 • B-2400 • Mol • Belgium

Re: PDFs

2011-11-02 Thread Graham Samuel
As one of the most persistent LC developers to try to incorporate PDFs as humble bitmaps, I can report that I have actually made the ImageMagick/GhostScript route work, but the installation side is messy on Macs - don't know about Linux. It is kind of acceptable on PCs, but there I am getting

Re: PDFs

2011-11-02 Thread Ken Ray
On Nov 2, 2011, at 1:21 PM, Richmond wrote: On 11/02/2011 05:56 PM, tkuyp...@telenet.be wrote: I rest my case ;-) Which case is that? Certainly no joy on Linux (which, by-the-way, is supposedly now outstripping Mac). What he means is that SuperCard and LiveCode do the same thing, just

Re: PDFs

2011-11-02 Thread Bob Sneidar
I knew that! Bob On Nov 2, 2011, at 5:40 PM, Ken Ray wrote: On Nov 2, 2011, at 1:21 PM, Richmond wrote: On 11/02/2011 05:56 PM, tkuyp...@telenet.be wrote: I rest my case ;-) Which case is that? Certainly no joy on Linux (which, by-the-way, is supposedly now outstripping Mac).

Re: Reading PDFs in LC (again)

2011-10-08 Thread Graham Samuel
So that I can hoover up my other requirement to read TIFFs. Sadly LC doesn't help with that either. Graham Sent from my iPad OnDate: Fri, 7 Oct 2011 21:57:26 - 0500, Chipp Walters ch...@chipp.com wrote: Graham, I'm puzzled why you're using ImageMagick when even with ImageMagick you

Reading PDFs in LC (again)

2011-10-07 Thread Graham Samuel
Folks, I have been reading all the responses I got on this issue that appeared under a number of different subject headings in the last couple of weeks. I thought people might be interested in my current position. First, my intention was to read PDFs as images (bitmaps) into an LC-authored app

Re: Reading PDFs in LC (again)

2011-10-07 Thread Richard Gaskin
Graham Samuel wrote: I was scared of ImageMagick both because of the Windows-specific technical warnings on the download site and because of the license terms. The good news is that people on this list have persuaded me that I should not be scared. There is still some question over the

Re: Reading PDFs in LC (again)

2011-10-07 Thread Chipp Walters
was to read PDFs as images (bitmaps) into an LC-authored app written to be run under Windows. This is clearly quite a restricted way of using PDFs, since they can contain readable text and much else which I don't currently care about. However, even with these restrictions it is not an easy thing

[OT] chopping up PDFs into image files

2011-03-19 Thread Richmond
Unlike Mac's PREVIEW (where pages have to be saved one by one), GraphicConverter will chop a PDF up and export it as a set of numbered images. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe