New edition of Programming LiveCode for the Real Beginner

2019-11-05 Thread Mark via use-livecode
I'm very happy to announce the second edition of my book Programming 
LiveCode for the Real Beginner. The previous edition stems from the time 
of LiveCode 6 and since then many features have been added to --and some 
removed from-- LiveCode. One of the major changes concerns Unicode. 
While I haven't deleted any of the valuable information about Unicode 
form the book, I have added a paragraph and made several changes to take 
into account the much easier way LiveCode deals with unicode nowadays.


Everywhere in the book, small corrections and bigger changes have been 
applied. Where necessary, scripts have been updated and minor remarks 
have been added, making the text more comprehensible. The paragraphs 
about the standalone builder and the properties inspector have been 
renewed. Pictures have been updated with improved quality and doing more 
justice to LiveCode's multi-platform character.


The red cover with scripts and mainboard has been replaced with a fresh 
yellow cover exhibiting four fields in which one might find LiveCode 
projects making a significant contribution. I intend to write a blog 
post about this when I have collected the necessary info.


In response to feedback, we have decided to abandonthe bubble plastic 
envelopes and replace them with carton board book cases. Your book 
should now arrive in perfect condition. If it doesn't, contact us.


Important to know:
- 250 pages with many examples
- This book is not available as e-book and it won't be. Don't ask.
- Read more at 
https://ecxtalk.nl/file.php?node=programming-livecode-for-the-real-beginner 
(we still need to update the website but most information still applies)

- The book costs 32 euro, including packaging and shipping costs
- We ship globally with only a few (four or five) exceptions
- Not receiving your purchase (e.g. sometimes in China)? Use our website 
to contact us and ask for a solution


Have you written or are you writing a book and do you own the 
copyrights? I'd like to explore the possibilities to print more 
LiveCode-related books. Contact me if you think this is an awesome idea. 
(I'm a registered publisher).


--
Kind regards,

Drs. Mark Schonewille

Economy-x-Talk Consultancy and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
Facebook: http://facebook.com/LiveCode.Beginner
KvK: 50277553


___
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


Re: What format is an FDF file?

2018-10-18 Thread Mark via use-livecode
I believe it’s proprietary...

https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/fdf_data_exchange.pdf

They also offer some api’s...

https://www.adobe.com/devnet/acrobat/fdftoolkit.html

Mark
On Oct 18, 2018, 4:10 PM -0700, Bob Sneidar via use-livecode 
, wrote:
> Hi all.
>
> Just curious, I've been calling an FDF file produced by exporting fillable 
> PDF form data, an XML file. Clearly it is not, I see now. The beginning of 
> one looks soomething like this, and I'm wondering if this is a standard file 
> format, or if it is something proprietary that Adobe came up with:
>
> %FDF-1.2
> %âãÏÓ
> 1 0 obj
> < Form.pdf)/Fields[<>< Feeder)>>< Stand)>><><>< Finisher)>><>< Filter)>><><><><><>]/T(accessorydescrip)>><><
> Bob S
> ___
> 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

Re: pdftk issue solved

2018-10-18 Thread Mark via use-livecode
Looks like the link for pdftk on the pdflabs website has not been updated. The 
version available from this link works fine for me on Mojave.

https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg

Mark
On Oct 18, 2018, 11:30 AM -0700, Bob Sneidar via use-livecode 
, wrote:
> Looks like it's just for Windows and Linux. 
>
> Bob S
>
>
> > On Oct 18, 2018, at 10:17 , Matthias Rebbe via use-livecode 
> >  wrote:
> >
> > Bob,
> >
> > isn´t Ghostscript able to do what you are want to accomplish?
> >
> >
> > Matthias Rebbe
>
> ___
> 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

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:
> >
> > 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_fdf
> >
> > Doesn't throw an error, just doesn't do anything. I have to ctrl-c to get 
> > my terminal back. Do you see any issue with my statement?
>
> Dunno. But I'd immediately suspect the spaces in the pathnames.
>
> --
> Mark Wieder
> ahsoftw...@gmail.com
>
> ___
> 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


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 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
>
> Peter
> --
> Peter Reid
> Loughborough, UK
>
>
> ___
> 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


Re: Server-side xml validator anyone ?

2018-01-13 Thread Mark via use-livecode
If your XML is UTF8-enconded and your UTF8 data is correct, it will 
work. Your probably isn't invalid XML but either a problem with the 
encoding of the entire file or a particular string.


The best way to validate XML on your server is to install a little 
command line utility and use the shell function.



Op 12-01-18 om 13:19 schreef jbv via use-livecode:

Hi list,
I have several server-side LC scripts that transform text and data
uploaded by end users on web pages into xml to be stored in a database and
used later in other web pages or apps.
The problem is, despite all the correction scripts I have added, that
sometimes the uploaded content corrupts the xml structure. This happens
for instance when some weird UTF-8 text is uploaded.
Is there a ready-to-use piece of code that would check the conformity of
some xml data that I could include in my LC scripts ?

Thanks in advance,
jbv




___
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


Re: Finding the 'Applications' folder on a Mac

2018-01-04 Thread Mark via use-livecode

On Mac OS X, user applications are in

"~"& $USER & "/Applications"

Global applications are in

/Applications

On Windows, you use specialfolderpath(38).

My book has an appendix with all folder numbers and names.


Op 04-01-18 om 23:46 schreef Graham Samuel via use-livecode:

It looks to me that specialFolderPath doesn’t give a way of finding the 
/Applications folder on a Mac (or presumably the equivalent on a PC). If one is 
running a standalone which has been placed in the Applications folder, then it 
is possible to start with specialFolderPath(“engine”) and work back to the 
Applications directory, but I suspect this is fraught with uncertainty. Has 
anyone a solution?

Graham


___
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