Community widgets

2018-10-10 Thread hh via use-livecode
The following community widgets are now available as "fat" widgets, that is they are installed or removed for both LC 8 and 9 and they work identically in both. All widgets are available on "Sample Stacks" or via livecodeshare (as given below). An asterisk (*) indicates a new feature (and/or a re

[ANN] This Week in LiveCode 149

2018-10-10 Thread panagiotis merakos via use-livecode
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #149 here: https://goo.gl/KQUHv1 This is a weekly newsletter about LiveCode, focussing on what's been going on in and around

Reading PDF Form Data in LiveCode?

2018-10-10 Thread Peter Reid via use-livecode
Does anyone have any code or suggestions for reading the data from PDF forms? I have several hundred form fields in 5 different design forms in PDF format that I need to extract. The data is mainly text fields but may include a few checkboxes and radio buttons. Any thoughts please? Thanks Pete

Re: Reading PDF Form Data in LiveCode?

2018-10-10 Thread Stephen Barncard via use-livecode
before wheel invention it might be prudent to see how the existing apps do this. especially if this is a one shot. https://pdf.wondershare.com/top-pdf-software/free-pdf-to-csv-converter.html -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Wed, Oct 10, 2018 at 7:45 AM Peter Reid via u

Re: Reading PDF Form Data in LiveCode?

2018-10-10 Thread Mike Kerner via use-livecode
That looks like an interesting list. We just started on a new app in LC for managing troves of scanned documents, and one of the tasks we were planning to add was connecting to an OCR service and a PDF-converter. On Wed, Oct 10, 2018 at 11:04 AM Stephen Barncard via use-livecode < use-livecode@lis

Re: Reading PDF Form Data in LiveCode?

2018-10-10 Thread Bob Sneidar via use-livecode
Have you heard of my app? :-) What I do on a Mac is tell Acrobat (via Applescript) to create an fdf file which is an xml formatted file of all the values in the form controls. I then have a function that parses that file into a livecode array. Windows is trickier, because you cannot tell acroba

Re: Reading PDF Form Data in LiveCode?

2018-10-10 Thread Bob Sneidar via use-livecode
I didn't see in any of the descriptions a way to script or automate conversions. I suppose if any has a watch folder auto conversion feature that could work. Bob S > On Oct 10, 2018, at 08:08 , Mike Kerner via use-livecode > wrote: > > That looks like an interesting list. > We just started

Re: Reading PDF Form Data in LiveCode?

2018-10-10 Thread Bob Sneidar via use-livecode
I should have mentioned, you need Acrobat for this, Reader won't do it, and any Acrobat alternative would need to be able to run javascripts. Bob S > On Oct 10, 2018, at 08:16 , Bob Sneidar via use-livecode > wrote: > > Have you heard of my app? :-) > > What I do on a Mac is tell Acrobat (

Re: Reading PDF Form Data in LiveCode?

2018-10-10 Thread Ludovic THEBAULT via use-livecode
On macOS, try PDFzone (on the App Store). Great app. ___ 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-liv

How to tell if a file path is just the path or includes a file name

2018-10-10 Thread Paul Dupuis via use-livecode
Lets say you have a bunch of file paths - some are just paths (all folders) and some end in a file name (and the file may or may not exist). i.e. /Folder1/Folder2/Folder3 /Folder1/AnotherFolder/Somefile.txt /Folder1/Folder2/Folderwith.intheName How would you test to tell whether a given record is j

Re: How to tell if a file path is just the path or includes a file name

2018-10-10 Thread Bob Sneidar via use-livecode
there is a folder returns false on Mac if it's a file. Unless the file is a bundle (app). A Mac app is in fact a folder that has been flagged as an application. Looking at your code, are you trying to extract the paths to all the files, or determine which are folders inside a given path? If yo

Re: How to tell if a file path is just the path or includes a file name

2018-10-10 Thread Paul Dupuis via use-livecode
Duh, you are right. No loop is needed for what I want! function isPath pSomePath   set itemDel to slash   if there is not a folder pSomePath then     -- remove the last item and try again     delete last item of pSomePath     if there is not a folder pSomePath then    return false -- neither t

Re: Community widgets

2018-10-10 Thread Ingar Roggen via use-livecode
Why not write a HyperCard-app to make the excellent SheepShaver solution freegy and generally accessible? Sendt fra min iPhone > 10. okt. 2018 kl. 11:48 skrev hh via use-livecode > : > > The following community widgets are now available as > "fat" widgets, that is they are installed or removed

Re: Reading PDF Form Data in LiveCode?

2018-10-10 Thread Mark via use-livecode
I have used https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ server version in the past. Mark On Oct 10, 2018, 8:48 AM -0700, Peter Reid via use-livecode , wrote: > Does anyone have any code or suggestions for reading the data from PDF forms? > I have several hundred form fields in 5 differ

Re: Community widgets

2018-10-10 Thread Ingar Roggen via use-livecode
Freely, of course Sendt fra min iPhone > 10. okt. 2018 kl. 17:54 skrev Ingar Roggen via use-livecode > : > > Why not write a HyperCard-app to make the excellent SheepShaver solution > freegy and generally accessible? > > Sendt fra min iPhone > >> 10. okt. 2018 kl. 11:48 skrev hh via use-live

Re: Community widgets

2018-10-10 Thread prothero--- via use-livecode
This is really nice stuff. I love the datepicker! Thanks so much for contributing to the community, Herman. hh? Bill William Prothero http://es.earthednet.org > On Oct 10, 2018, at 8:54 AM, Ingar Roggen via use-livecode > wrote: > > Freely, of course > > Sendt fra min iPhone > >> 10. okt. 20

Re: Stacks whose names start with "rev"

2018-10-10 Thread J. Landman Gay via use-livecode
Thanks very much Monte, that's exactly what I wanted to know. For simple editing it sounds like I could just turn off messages, open the stack from Finder, and turn messages back on, bypassing preOpenStack entirely. If that doesn't work you've given me a couple of other things to try. I'd stil

Re: Community widgets

2018-10-10 Thread hh via use-livecode
> Bill P. wrote: > I love the datepicker! Relating to the datepicker widget I should once again acknowledge the basic work of Elanor (calendar widget) and Bernd (additions to the calendar widget) and hints/comments by Bernd. [The algorithms I used are translated to LCB from the LCS of Raspi stack

Re: Reading PDF Form Data in LiveCode?

2018-10-10 Thread Bob Sneidar via use-livecode
Doesn't seem to work. I enter this syntax in a terminal session: pdftk "/Users/bobsneidar/Documents/Installs/3PL Logistics/Hawthorne/20130815-3PL Logistics Site Survey.pdf" output "/Users/bobsneidar/Documents/Installs/3PL Logistics/Hawthorne/20130815-3PL Logistics Site Survey_data.fdf" generate

Re: Reading PDF Form Data in LiveCode?

2018-10-10 Thread Mark Wieder via use-livecode
On 10/10/2018 10:16 AM, Bob Sneidar via use-livecode wrote: Doesn't seem to work. I enter this syntax in a terminal session: pdftk "/Users/bobsneidar/Documents/Installs/3PL Logistics/Hawthorne/20130815-3PL Logistics Site Survey.pdf" output "/Users/bobsneidar/Documents/Installs/3PL Logistics/Ha

Re: Reading PDF Form Data in LiveCode?

2018-10-10 Thread Mark via use-livecode
Have you tried leaving off the output filename? Should dump it to stdout then. Mark On Oct 10, 2018, 10:29 AM -0700, Mark Wieder via use-livecode , wrote: > On 10/10/2018 10:16 AM, Bob Sneidar via use-livecode wrote: > > Doesn't seem to work. I enter this syntax in a terminal session: > > > > pdf

Re: Reading PDF Form Data in LiveCode?

2018-10-10 Thread Bob Sneidar via use-livecode
That's why I enclosed them in quotes. Dragging the files into the terminal creted paths with delimited spaces, but I got the same result. Bob S > On Oct 10, 2018, at 10:28 , Mark Wieder via use-livecode > wrote: > > On 10/10/2018 10:16 AM, Bob Sneidar via use-livecode wrote: >> Doesn't seem

Re: Reading PDF Form Data in LiveCode?

2018-10-10 Thread Bob Sneidar via use-livecode
Still locks up. I have an email in to the guy who maintains it. I just thought if someone had this working they could provide me with proper syntax. I cannot get the prompt working either. This from the man page: pdftk [ input_pw ] [ ] [ output ] I'm not

Re: Stacks whose names start with "rev"

2018-10-10 Thread J. Landman Gay via use-livecode
For anyone following this, simply opening the stack with messages turned off doesn't work for very long. As soon as you perform any significant action (click a control, change cards, etc.) the stack is reset to mode 2. But doing this in the message box does persist: set the _ideoverride of s