RE: Android on Speed
Ok I get it now. The Academy Awards Oscar on the red carpet snorting coke. A metaphor for the Hollywood mindset. Shows you where my head is at. I was thinking some paint or something. I'm not that artistically creative, I'll stick to music and coding. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Earthednet-wp Sent: Sunday, March 22, 2015 1:06 PM To: How to use LiveCode Subject: Re: Android on Speed Snorting a couple lines of coke?? Bill William Prothero http://es.earthednet.org On Mar 22, 2015, at 9:58 AM, J. Landman Gay jac...@hyperactivesw.com wrote: On 3/22/2015 11:02 AM, Richmond wrote: http://images.huffingtonpost.com/2015-02-19-2015021914.30.38.jpg Cool. :) I like the credit card. But what's it drawing? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.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 ___ 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: printPaperRectangle LC7
On 22 Mar 2015, at 01:28, Paul Hibbert p...@livecode.org wrote: Long answer to a short question, skip this if you're not interested in printing on a Mac… Paul, Thanks for the feedback. So, I was exploring this method of printing to overcome the fact that print card [from topLeft to rightBottom] [into pageRect] does not work in LC 7. I was using it to centre the printing of a group. Is there really no way to do this in LC7 or do I have another option? If the answer is no then it really is imperative that LC get print card [from topLeft to rightBottom] [into pageRect]” working. If a solution is not available then it’s back to LC 6.7.3. All the best Terry ___ 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: Speed on Android
Jacque, GET and POST are perfectly supported on both iOS and Android. If you send them to an LC server script (connected to the DB in localhost mode), you will no more have to compose with any latency anymore. working example : on the iOS/Android mobile client app side : set the socketTimeoutInterval to 6 set httpHeaders to Content-type: application/x-www-form-urlencoded return post URLEncode(gAppVars[MobileAppID] = hexDigest(publicmclt) prevSession stock_decrement=-1) to URL MIAS put it into tResponse on the server side, each DB opened connexion (PostgreSQL 8.4 on Pancake in my case) need to be closed before the request is returned to the mobile app. This kind of procedure respond in just some ticks (+ network latency itself witch is 100-300 ms from pancake witch is, in my case, hosted at less than 600 miles from my office) Pierre Le 21 mars 2015 à 20:01, Richard Gaskin ambassa...@fourthworld.com a écrit : Ralph DiMola wrote: Richard Gaskin wrote: How does LC connect to the database socket on platforms where it provides no socket support? Magic. I'm intrigued. Does this magic work on Android as well? I wonder if we can leverage this for other socket comms... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.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
Re: 7.0 just let me paste from a PDF!
On 21/03/15 23:43, Dr. Hawkins wrote: OSX/Yosemite. I apparently selected the entire page by accident while selecting text to cut and paste. I ended up with the entire page as an image when pasting into livecode. But I can't replicate it. This would be *really* useful . . . Even better would be converting it to fields, but . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 What's wrong? Dr. Hawkins wrote something positive about Livecode! If one could copy-paste from a PDF into Livecode that would be super. -- While I'm here . . . When I want to paste something from the script editor into either my e-mail client (Thunderbird) or a comment box on the Forums (Firefox) I have to do this, err, merry dance: select-and-copy from the Livecode script editor to a text editor (on Linux: Gedit or Leafpad), then select-and-copy what I have just pasted into the text editor and paste into the e-mail client or Firefox. I wonder why copy-paste does NOT work directly? Richmond. ___ 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: 7.0 just let me paste from a PDF!
On Sun, Mar 22, 2015 at 5:43 AM, Dr. Hawkins doch...@gmail.com wrote: OSX/Yosemite. I apparently selected the entire page by accident while selecting text to cut and paste. I ended up with the entire page as an image when pasting into livecode. But I can't replicate it. This would be *really* useful . . . Even better would be converting it to fields, but . . .) This has 'sorta' worked since RR 2.x 1) Select some text in a pdf and select Copy. 2) Go to LC and in an appropriate place* : put the clipboardData[text'] into fld 1 * an appropriate place might be a btn that has the above script in it or it could be in the field's script within a mouseEnter handler or whatever. I've just checked again and it still 'sorta' works in 7.0.3 and Mavericks. The 'sorta' is a problem with OS X not LC. Prior to Snow Leopard you could 'option select' text in a pdf and if there were columns of data they would be pasted into LC in the same column format. This was perfect. Unfortunately since Snow Leopard, and including every OS X / Preview / Reader combination ever since, the 'option select' no longer works. What happens is if there is any multi-column text it is reproduced sequentially - just find any two column pdf, select all, Copy and Paste it into TextEdit and you'll see the problem. HTH ___ 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: printPaperRectangle LC7
On 22 Mar 2015, at 01:28, Paul Hibbert p...@livecode.org wrote: Long answer to a short question, skip this if you're not interested in printing on a Mac… The mystery is growing: printPaperRect LC 7.0.3 First pass = 18,18,801,577 Subsequent passes = 8,8,834,587 LC 6.7.3 First pass = 0,0,842,596 Subsequent passes = 0,0,842,596 Can someone explain this please? All the best Terry ___ 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: 7.0 just let me paste from a PDF!
On 22/03/15 00:13, Mike Bonner wrote: Some pdf's are just that. An image of a page, so it would probably only work for some pdfs. However, if you can get an entire page showing on screen appearing as you like it, you might be able to set up a hotkey for import snapshot with no other arguments, at which point you get a crosshair cursor and can drag around the pdf page and end up with an image that way. Probably not the best method but it does work. Yup! This will ONLY work if the PDF has an embedded text layer. --- Tedious personal story starts now - I found a PDF of a nascent PhD thesis of my wife's (she got her PhD on the basis of an entirely different thesis at a different University to the first attempt) lurking on a ZIP disk. So I thought Yippee . . . I could not have been more wrong. While the document was a PDF it had been prepared on Mac OS 8.1 and did not contain an embedded text layer. In the end I had to install Mac OS 9.2 on my G3 iMac, crack open the original ClarisWorks document and copy-paste into a Microsoft Word 6 document to port it to LibreOffice 4.3 on my wife's Linux box. --- Finished my burble If you want to extract text from a PDF which does not contain an embedded text layer you have to mess around with OCR and so on; and, frankly, that is more trouble than it is worth in 90% of situations. What would be jolly nice would be if Livecode could import embedded text from PDF documents that have a text layer directly into a field. Richmond. ___ 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: LiveCode 8 Library Component: MLT Video Editing Framework
Thanks so much for the reply Mark. I would like to understand the difference between module and dependent code sufficiently to be able to look at C code and its documentation and understand this issue. When a package manager (like brew) lists a bunch of things it is going to install is there a way to know what sort of dependency is being fetched? Other questions (related to the one above) I'd like to get a handle on - specifically in this area of wrap-able command line tools: what are the advantages to wrapping a library in a widget over creating a library in livescript that makes shell calls? * is there a speed advantage (its usually only one shell call out per library handler) Taking MLT as an example - it uses / depends on FFMPEG. My assumption is that this is a module, and that if it were installed on my machine with an appropriate package manager then would my MLT widget library would be able to use FFMPEG? Any pointers on reading / how to gain this level of knowledge would be greatly appreciated. On Sun, 22 Mar 2015 at 06:40, Mark Wilcox m...@sorcery-ltd.co.uk wrote: The framework is free of dependencies and probably quite easy to wrap as a component for LiveCode 8. However, on it's own it doesn't do anything. There are lots of modules that make it incredibly powerful but they do have dependencies, some of them huge, like Qt. The video rendering is via SDL, so it's not immediately clear how you'd integrate that with the rest of your LiveCode app. It might be necessary to replace that module. If you wanted to write video editing tools in LiveCode this might be a good place to start. For other AV related functionality it'd probably be better to go for simpler single purpose libraries. Mark Sent from my iPhone On 21 Mar 2015, at 17:16, David Bovill david@viral.academy wrote: This framework is great and written in C - http://www.mltframework.org/bin/view/MLT/Framework It's the basis for most of the best cross platform video editors. On OSX I can recommend http://www.shotcut.org/ Does that look like a good candidate for a new LiveCode 8 library component? ___ 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
Re: printPaperRectangle LC7
On 22 Mar 2015, at 01:28, Paul Hibbert p...@livecode.org wrote: Long answer to a short question, skip this if you're not interested in printing on a Mac… The issue for me seems to be that the first time I open the page setup dialog box my default printer is not selected, “Any Printer” is selected. This seems to throw the dimensions and hence calculations. On the first pass if I select the printer actually connected to my computer the printout is correct. So, the question is: How can I ensure that the default printer is showing in the Page Setup Dialog Box? My default printer is selected correctly in the System Preferences. All the best Terry ___ 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: printPaperRectangle LC7
On 22 Mar 2015, at 11:06, Terence Heaford t.heaf...@icloud.com wrote: How can I ensure that the default printer is showing in the Page Setup Dialog Box? There appears to be a bug in LC 7’s implementation of the Page Setup Dialogue Box. On LC 6.7.3 if you select a printer in the Page Setup Dialogue Box that selection is retained the next time you open it. On LC 7.0.3 if you select a printer in the Page Setup Dialogue Box the selection is not retained as next time you visit it it says “Any Printer” This may only apply to Mac, as I have no means of testing on other systems. All the best Terry ___ 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: Speed on Android
On Mar 21, 2015, at 2:57 PM, Ralph DiMola wrote: Richard Gaskin wrote: How does LC connect to the database socket on platforms where it provides no socket support? Magic. Any sufficiently advanced technology is indistinguishable from magic. -- Arthur C. Clark -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ 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: LiveCode 8 Library Component: MLT Video Editing Framework
Hi David, Module is a generic term with a specific meaning in MLT (and slightly different meanings in lots of other projects). Dependencies and how they're resolved tends to be platform specific. C code is just code and can be packaged up to be linked in a static or dynamic way. You have to research each platform (and in some cases project) separately to understand how things are managed. I'd love to give some high level article pointers but I've never read any (although some probably exist). I think most people learn the details by trying to build these things for themselves, or port them to new platforms. LiveCode widget vs. shell command - a widget will be much more integrated. It depends what the library does as to whether this just adds convenience and performance, or makes the previously impossible possible. Sorry those are very generic answers but you're opening up a very big topic and I'm typing on a phone. :) Mark Sent from my iPhone On 22 Mar 2015, at 07:58, David Bovill david@viral.academy wrote: Thanks so much for the reply Mark. I would like to understand the difference between module and dependent code sufficiently to be able to look at C code and its documentation and understand this issue. When a package manager (like brew) lists a bunch of things it is going to install is there a way to know what sort of dependency is being fetched? Other questions (related to the one above) I'd like to get a handle on - specifically in this area of wrap-able command line tools: what are the advantages to wrapping a library in a widget over creating a library in livescript that makes shell calls? * is there a speed advantage (its usually only one shell call out per library handler) Taking MLT as an example - it uses / depends on FFMPEG. My assumption is that this is a module, and that if it were installed on my machine with an appropriate package manager then would my MLT widget library would be able to use FFMPEG? Any pointers on reading / how to gain this level of knowledge would be greatly appreciated. On Sun, 22 Mar 2015 at 06:40, Mark Wilcox m...@sorcery-ltd.co.uk wrote: The framework is free of dependencies and probably quite easy to wrap as a component for LiveCode 8. However, on it's own it doesn't do anything. There are lots of modules that make it incredibly powerful but they do have dependencies, some of them huge, like Qt. The video rendering is via SDL, so it's not immediately clear how you'd integrate that with the rest of your LiveCode app. It might be necessary to replace that module. If you wanted to write video editing tools in LiveCode this might be a good place to start. For other AV related functionality it'd probably be better to go for simpler single purpose libraries. Mark Sent from my iPhone On 21 Mar 2015, at 17:16, David Bovill david@viral.academy wrote: This framework is great and written in C - http://www.mltframework.org/bin/view/MLT/Framework It's the basis for most of the best cross platform video editors. On OSX I can recommend http://www.shotcut.org/ Does that look like a good candidate for a new LiveCode 8 library component? ___ 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
API
Richard Gaskin stated elsewhere; LiveCode Builder is providing OS API access to us within our LiveCode scripts. Where is the documentation pertaining to this? The inbuilt Documentation in LC 8 for the Livecode Builder comes up with nothing after a search for 'API', the online Documentation is currently taking a holiday. Richmond. ___ 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: Speed on Android
Glad it worked out for you! It was bugging me. I wasn't going to let it go. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of J. Landman Gay Sent: Saturday, March 21, 2015 9:22 PM To: How to use LiveCode Subject: Re: Speed on Android On 3/21/2015 7:34 PM, Ralph DiMola wrote: Brain storm. How about the true I put in the revOpenDatabase after the password, Could this be it? Oh man. That was it. I think I love you. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.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
Android on Speed
http://images.huffingtonpost.com/2015-02-19-2015021914.30.38.jpg Richmond. ___ 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: Speed on Android
On 3/22/2015 8:45 AM, Pierre Sahores wrote: GET and POST are perfectly supported on both iOS and Android. If you send them to an LC server script (connected to the DB in localhost mode), you will no more have to compose with any latency anymore. Thanks Pierre. I'm actually doing that with another project and it works great. For this project I wanted to keep everything in the app if possible. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.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
Re: Android on Speed
On 3/22/2015 11:02 AM, Richmond wrote: http://images.huffingtonpost.com/2015-02-19-2015021914.30.38.jpg Cool. :) I like the credit card. But what's it drawing? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.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
Re: Speed on Android
On 3/22/2015 10:37 AM, Ralph DiMola wrote: It was bugging me. I wasn't going to let it go. For which I am grateful. Thank you for being stubborn. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.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
Re: Android on Speed
Snorting a couple lines of coke?? Bill William Prothero http://es.earthednet.org On Mar 22, 2015, at 9:58 AM, J. Landman Gay jac...@hyperactivesw.com wrote: On 3/22/2015 11:02 AM, Richmond wrote: http://images.huffingtonpost.com/2015-02-19-2015021914.30.38.jpg Cool. :) I like the credit card. But what's it drawing? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.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: Android on Speed
On 22/03/15 19:06, Earthednet-wp wrote: Snorting a couple lines of coke?? Bill William Prothero http://es.earthednet.org Snorting a couple of lines of code? Richmond. ___ 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: printPaperRectangle LC7
On 3/22/2015 2:47 PM, Paul Hibbert wrote: I couldn't find a bug report to cover this issue, so I'll submit one just to see what LiveCode's answer is, and to see if there is any chance of a fix. It might be related to this one: http://quality.runrev.com/show_bug.cgi?id=9023 Marked as closed, probably because the cause couldn't be fixed but the documentation could. It isn't quite what you're describing but it's close. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.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
Re: 7.0 just let me paste from a PDF!
On Sat, Mar 21, 2015 at 3:13 PM, Mike Bonner bonnm...@gmail.com wrote: Some pdf's are just that. An image of a page, so it would probably only work for some pdfs. However, if you can get an entire page showing on screen appearing as you like it, you might be able to set up a hotkey for import snapshot with no other arguments, at which point you get a crosshair cursor and can drag around the pdf page and end up with an image that way. This was *definitely *not a bitmapped image. Pure text/box/lines, and some code that copies single fields to others. You can see it at http://www.uscourts.gov/uscourts/FormsAndFees/Forms/Bankruptcy/B_22C2.pdf I got an image that was the full form, formatted and with the lines. I couldn't do anything with it in livecode, though. And I haven't managed to do it again :( -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ 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: printPaperRectangle LC7
You are just slowly coming to the same conclusions I did, apart from the fact that this is an Apple bug, not a LC bug, I'm sure if you continue with LC6.7.3 you will see the same problems occur, I just tested it again and saw the same problem, and in LC 5.5.5 too. It also happens in Apple's own Pages app. In my long reply I did explain one reliable way to use the print system by reversing the order that the dialogue boxes are shown, try it and I'm sure you will find it works fine, but it's just not so intuitive! Although at least in LC you can do it that way. on mouseUp answer printer as sheet if the result is Cancel then exit to top answer page Setup as sheet if the result is Cancel then exit to top print card end mouseUp I'm also quite confident the print into rect will be working in the next release, so that should overcome your original problem, but I'm also equally confident the issue you are seeing right now can't be fixed by LiveCode, however, I couldn't find a bug report to cover this issue, so I'll submit one just to see what LiveCode's answer is, and to see if there is any chance of a fix. As a point of interest, take a look at Apple's latest Preview app, the Page Setup is combined with the Print dialogue, I hope LC will have the option go the same way soon. Happy LiveCoding :) Paul On Mar 22, 2015, at 4:20 AM, Terence Heaford t.heaf...@icloud.com wrote: On 22 Mar 2015, at 11:06, Terence Heaford t.heaf...@icloud.com wrote: How can I ensure that the default printer is showing in the Page Setup Dialog Box? There appears to be a bug in LC 7’s implementation of the Page Setup Dialogue Box. On LC 6.7.3 if you select a printer in the Page Setup Dialogue Box that selection is retained the next time you open it. On LC 7.0.3 if you select a printer in the Page Setup Dialogue Box the selection is not retained as next time you visit it it says “Any Printer” This may only apply to Mac, as I have no means of testing on other systems. All the best Terry ___ 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: printPaperRectangle LC7
On 22 Mar 2015, at 19:47, Paul Hibbert p...@livecode.org wrote: You are just slowly coming to the same conclusions I did, apart from the fact that this is an Apple bug, not a LC bug, I'm sure if you continue with LC6.7.3 you will see the same problems occur, I just tested it again and saw the same problem, and in LC 5.5.5 too. It also happens in Apple's own Pages app. I am not convinced there is a bug at all (LC or Apple). My workflow: 1. Open PageSetup 2. Note in the PageSetup Format For: - On first run this says “Any Printer” 3. I press OK to continue. 4. Continue with Answer Printer etc. 5. Printout is offset I think because printPaperRect picks up a set of default dimensions associated with “Any Printer” Close down LiveCode and open my project again. Using the same workflow except for 2. 1. Open PageSetup 2. Select my default printer from the popup menu. 3 4. As before 5. Printout is correct I think because printPaperRect has now picked up the dimensions associated with my printer selection. I have done a little Cocoa programming before and think this is the way Apple intends it to work. If you want to read more, see this link. https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Printing/osxp_aboutprinting/osxp_aboutprt.html#//apple_ref/doc/uid/1083-SW1 As a point of interest, take a look at Apple's latest Preview app, the Page Setup is combined with the Print dialogue, I hope LC will have the option go the same way soon. Yes, that would solve the page setup all together. There is an image of the dialogue in the link above. All the best Terry ___ 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: printPaperRectangle LC7
Paul any others interested, Here is a snippet from the thread below that may help: http://developer.apple.com/documentation/Printing/Conceptual/ About_MacOSX_Printing/abtprt_chap2/chapter_2_section_2.html#// apple_ref/doc/uid/20001017-CH205-TPXREF127 http://developer.apple.com/documentation/Printing/Conceptual/About_MacOSX_Printing/abtprt_chap2/chapter_2_section_2.html#//apple_ref/doc/uid/20001017-CH205-TPXREF127 Particularly: It’s important to keep in mind that the formatting printer does not specify the destination printer—that is, the printer to which the document is printed. The destination printer is specified in the Print dialog, which by default is the default printer in Print Center. The user can change the destination printer in the Print dialog, but changing the formatting printer in the Page Setup dialog does not change the destination printer.” http://www.cocoabuilder.com/archive/cocoa/179023-detecting-printer-changes-in-nspagelayout-question.html http://www.cocoabuilder.com/archive/cocoa/179023-detecting-printer-changes-in-nspagelayout-question.html All the best Terry ___ 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: API
Richmond I believe that Richard’s “providing OS API access” is a simplification, probably an over simplification, of “providing the ability to access the OS API”. As I understand, LiveCode Builder will allow us to write code which can directly call an OS API but, of course, we will need to define the OS API function in LiveCode Builder. I had a quick scan of the LiveCode Builder files in Github but didn’t see any examples so the facility may not even be in the current release . Regards Peter On 22 Mar 2015, at 22:57, Richmond richmondmathew...@gmail.com wrote: Richard Gaskin stated elsewhere; LiveCode Builder is providing OS API access to us within our LiveCode scripts. Where is the documentation pertaining to this? The inbuilt Documentation in LC 8 for the Livecode Builder comes up with nothing after a search for 'API', the online Documentation is currently taking a holiday. Richmond. ___ 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: LiveCode 8 Library Component: MLT Video Editing Framework
The framework is free of dependencies and probably quite easy to wrap as a component for LiveCode 8. However, on it's own it doesn't do anything. There are lots of modules that make it incredibly powerful but they do have dependencies, some of them huge, like Qt. The video rendering is via SDL, so it's not immediately clear how you'd integrate that with the rest of your LiveCode app. It might be necessary to replace that module. If you wanted to write video editing tools in LiveCode this might be a good place to start. For other AV related functionality it'd probably be better to go for simpler single purpose libraries. Mark Sent from my iPhone On 21 Mar 2015, at 17:16, David Bovill david@viral.academy wrote: This framework is great and written in C - http://www.mltframework.org/bin/view/MLT/Framework It's the basis for most of the best cross platform video editors. On OSX I can recommend http://www.shotcut.org/ Does that look like a good candidate for a new LiveCode 8 library component? ___ 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: printPaperRectangle LC7
Particularly: It’s important to keep in mind that the formatting printer does not specify the destination printer—that is, the printer to which the document is printed. The destination printer is specified in the Print dialog, which by default is the default printer in Print Center. The user can change the destination printer in the Print dialog, but changing the formatting printer in the Page Setup dialog does not change the destination printer.” I guess that's where Apple and I don't agree, to my mind, setting the printer in Page Setup is a conscious choice and it should update the destination printer and therefore, the printerName, the printSettings in LC, but it does none of this, however it does update the printPaperRect. So in the case of an app that can display the Page Setup, to ensure the printPaperRect is as you expect, you would need to set the formatting printer in Page Setup, along with the paper size/options and orientation to match the destination printer that you are going to choose in the Print dialogue. Not doing any of this, as stated here… https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Printing/osxp_flexible/osxp_flexible.html#//apple_ref/doc/uid/1083i-CH1-SW6 Some apps also provide users with the option to setup the page through the Page Setup pane as shown in Figure 1-5. Most of the time users shouldn’t need to perform any setup through this panel. So if your app doesn’t need it, make the user experience simpler by not providing a Page Setup command. …Can cause unexpected results, as you found out. I guess the clue is in if your app doesn’t need it! I really can't see why anybody would want the formatting printer to be different from the destination printer, but that's probably just me. At least I guess there's no need for a bug report. :) Paul ___ 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
[OT} Why Computer Color Is Broken
http://digg.com/video/why-computer-color-is-broken?utm_source=diggutm_medium=email ___ 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