Re: Rotated Text?
If you want better print result you can scale the textfield first by factor 2 or 4, import a snapshot and then rescale the image. LiveCode will now use the extra data when printing. I’ve tried this code on a button: on mouseUp lock screen put the rect of field 1 into tRect put the textSize of field 1 into tSize set the width of field 1 to the formattedWidth of field 1 set the height of field 1 to the formattedHeight of field 1 import snapshot from field 1 set the angle of the last image to 90 set the loc of image 1 to 100,100 set the textSize of field 1 to the textSize of field 1 * 4 set the width of field 1 to the formattedWidth of field 1 set the height of field 1 to the formattedHeight of field 1 import snapshot from field 1 set the resizeQuality of the last image to best set the angle of the last image to 90 put the rect of the last image into tImgRect repeat with i = 1 to 4 put item i of tImgRect / 4 into item i of tImgRect end repeat set the lockloc of the last image to true — important if you want the resize to stick when unlocking screen set the rect of the last image to tImgRect set the loc of the last image to 140,100 set the textSize of field 1 to tSize set the rect of field 1 to tRect unlock screen end mouseUp and if you then print the card you will see a clear difference between the two fields. You of course need a ”field 1” with some text for it to work ;) :-Håkan 26 mar 2014 kl. 22:10 skrev proth...@earthednet.org: Richmond: Thanks! I'm using 14pt fonts, so that is pretty important. Best, Bill proth...@earthednet.org http://es.earthednet.org On Mar 26, 2014, at 11:04 AM, Richmond wrote: http://forums.runrev.com/viewtopic.php?f=6t=19764 I prefer getting my hands dirty :) Download my 'stuff' at the URL above. 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 ___ 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
Page Curl revisited
This is a bit like Leslie Nielson in one of the 'Naked Gun' films when he separated from Priscilla Presley: I faked my page curls (something slightly wrong with that quote; obviously age is getting to me . . . LOL): anyway, for what it's worth: http://forums.runrev.com/viewtopic.php?f=5t=19771 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: Quitting a Standalone Problem
Hi Charles, No, I don't think the bug was solved. The bug you're referring ro is probably that the engine stays running in memory after closing all stacks. This is my standard script: on quitThisApp lock messages -- MySql -- put revOpenDatabases() into myDatabases -- repeat for each item myBase in myDatabases --revCloseDatabase myBase -- end repeat -- stop using stacks put the stacksInUse into myStacks repeat for each line myStack in myStacks stop using stack myStack end repeat -- stacks put the openStacks into myStacks put message box,home,tool,Message Box,revTools,revMenubar \ comma the short name of me into myDontClose repeat for each line myStack in myStacks if myStack is not among the items of myDontClose then close stack myStack end if end repeat -- messages put the pendingmessages into myMsgs repeat for each line myMsg in myMsgs cancel item 1 of myMsg end repeat set the backdrop to none if the platform is Win32 then close me if the environment is not development then quit end if end quitThisApp You need to adjust this to your own needs. E.g. uncomment the database part or replace that by code for SQLite etc. You may want to alter the list of stacks that stay open. The script should close all stacks and quit properly. It should also prevent crashes. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/27/2014 03:55, Charles Szasz wrote: Is there a standard script for quitting windows standalones? I have run into this problem on Windows XP, Windows 7 and 8. The Rev Archives indicate that there was a bug In quitting standalones. Was this bug resolved in LC 5.5.5? A link to a solution in the archives is no longer active. 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
Re: Quitting a Standalone Problem
Hi , Had no problem using quit in all versions , How do you intent to initiate the quit ? Regards Camm - Original Message - From: Charles Szasz csz...@me.com To: use-livecode@lists.runrev.com Sent: Thursday, 27 March, 2014 2:55:35 AM Subject: Quitting a Standalone Problem Is there a standard script for quitting windows standalones? I have run into this problem on Windows XP, Windows 7 and 8. The Rev Archives indicate that there was a bug In quitting standalones. Was this bug resolved in LC 5.5.5? A link to a solution in the archives is no longer active. 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
Re: HTTPS Proxy and PAC files
On Wed, Mar 26, 2014 at 9:06 PM, J. Landman Gay jac...@hyperactivesw.comwrote: Nakia, did you report this yet? I don't see it in the bug database. I started to do it myself but realized I just don't have enough information. Or Trevor, maybe you could? You seem to know what's wrong. I need this fixed but I'm not sure what to say. I don't have things set up to properly to file a bug report on this. I just know what might be going on under the hood as I previously added support for PAC and WPAD detection to the GLX Ap Framework version of libURL. Based on what Nakia describes it sounds like LiveCode is not picking up the system assigned PAC file. Based on the 6.6 release notes it should so I would report a bug: LibURL has been updated to add support for proxy auto configuration files (PAC). If no global proxy server has been set using the HTTPProxy property, when fetching a URL, LibURL will attempt to parse the systems .pac file in order to extract the proxy server (if any) to use for the given URL. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com-www.clarify-it.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
Print margins
I want to make software to generate a printed newsletter. First I did the page layout in HTML so I could use revBrowserPrint to print it. But to my amazement it didn't fill the whole A4 sheet. The layout was scaled down to 16 cm wide (instead of 21). So I did the math and scaled up the entire layout by 132%. I tried again: still 16 cm wide. I thought it might be a revBrowserPrint problem, so I printed a stack instead. What was supposed to be the top left corner was printed on a distance of 25,4 mm from the top and from the left of the paper (1 inch). I finally understood the weird scaling. Apparently every print from LC needs a margin of an inch, because 21 cm minus 2 inches is around 16 cm. I hope I'm wrong on this; I hope this can be adjusted and I like to know how. In my opinion, this margin is so wide that it looks quite silly. I understand that printers cannot use the outermost edges, but that should be around 4 mm, or 1 cm at most. Not an inch! How can I teach LC some sanity here? I would be fine with a margin of 1 cm on each side. Kind regards, 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: Print margins
Have a look at printMargins in the Language Dictionary On 27 Mar 2014, at 12:42, Terry Vogelaar tvogel...@de-mare.nl wrote: I want to make software to generate a printed newsletter. First I did the page layout in HTML so I could use revBrowserPrint to print it. But to my amazement it didn't fill the whole A4 sheet. The layout was scaled down to 16 cm wide (instead of 21). So I did the math and scaled up the entire layout by 132%. I tried again: still 16 cm wide. I thought it might be a revBrowserPrint problem, so I printed a stack instead. What was supposed to be the top left corner was printed on a distance of 25,4 mm from the top and from the left of the paper (1 inch). I finally understood the weird scaling. Apparently every print from LC needs a margin of an inch, because 21 cm minus 2 inches is around 16 cm. I hope I'm wrong on this; I hope this can be adjusted and I like to know how. In my opinion, this margin is so wide that it looks quite silly. I understand that printers cannot use the outermost edges, but that should be around 4 mm, or 1 cm at most. Not an inch! How can I teach LC some sanity here? I would be fine with a margin of 1 cm on each side. Kind regards, 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
OT: PencilCase
Anybody hear of PencilCase yet? According to their site, it’s “HyperCard reimagined”. This seems to be specifically targeted at mobile apps, so LiveCode still has some major advantages, but this does provide some interesting features. Thoughts? -- Chris Sheffield Read Naturally, Inc. www.readnaturally.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: OT: PencilCase
Thanks for the link, Colin. I forgot to share that. On Mar 27, 2014, at 10:43 AM, Colin Holgate co...@verizon.net wrote: Had not heard of that. Here’s the web page: http://robotsandpencils.com/pencilcase/ The video is worth watching: https://www.youtube.com/watch?v=ViKORN8URAQ There are some things about it that are a bit like GameSalad, and it does use Javascript for programming, if the standard modules don’t foo everything you need. Some of their claims seem dubious. Like how you can instantly publish to the App Store, implying that you don’t need a developer account with Apple. Also talk of there being their own app store, which is normally disallowed in the App Store. ___ 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
iOS: auto-capitalization with ask dialog
I thought this was possible, but now I’m not finding anything. How does one set the auto-capitalization options when using the basic ask dialog in an iOS app? Is it not possible? I see you can set it when creating a native text input control. I’m probably missing something obvious… Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.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: OT: PencilCase
On 27/03/14 18:43, Colin Holgate wrote: Had not heard of that. Here’s the web page: http://robotsandpencils.com/pencilcase/ The video is worth watching: https://www.youtube.com/watch?v=ViKORN8URAQ There are some things about it that are a bit like GameSalad, and it does use Javascript for programming, if the standard modules don’t foo everything you need. Some of their claims seem dubious. Like how you can instantly publish to the App Store, implying that you don’t need a developer account with Apple. Also talk of there being their own app store, which is normally disallowed in the App Store. ___ Well, I for one, am not going to stump up $119 for something that has no Demo on the basis of what I see on their website. What is an AppDrop spot ? Who is going to pay money on the basis of a bunch of promises and a 10 second (10 second) video? Absolutely nothing to tell us what the programming language looks like. If it is Java then it is Java, it is NOT Hypercard reimagined. There have been dozens of these before; obviously believing that 'Hypercard' is a magic word some 20 years down the road. What RunRev has, and all these wannabees don't is a track record and a code-base built on the bones of Metacard. 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: OT: PencilCase
The video I linked to is over 3 minutes long. The language it uses is JavaScript, not Java. My guess about AppDrop is that documents get stored there, and an app shell can download and run the document. As part of the deal you get, you can have a certain number of slots, 5 in the case of the $119 product. That might be enough for say a teacher who wants to hand out up to 5 apps for students to use, without having to publish the apps to the App Store. ___ 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: HTTPS Proxy and PAC files
No I haven't listed a bug yet as I am kind of in the same situation as Jacque. They will ask for details relating to the network and PAC file which I can't provide as I am operating from a work network. Disclosing any of the details Will likely land me in trouble. This really needs to someone better than me to lodge a descriptive bug... Nakia Brewer | Technology Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ACN 009 342 572 -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Trevor DeVore Sent: Thursday, 27 March 2014 11:34 PM To: How to use LiveCode Subject: Re: HTTPS Proxy and PAC files On Wed, Mar 26, 2014 at 9:06 PM, J. Landman Gay jac...@hyperactivesw.comwrote: Nakia, did you report this yet? I don't see it in the bug database. I started to do it myself but realized I just don't have enough information. Or Trevor, maybe you could? You seem to know what's wrong. I need this fixed but I'm not sure what to say. I don't have things set up to properly to file a bug report on this. I just know what might be going on under the hood as I previously added support for PAC and WPAD detection to the GLX Ap Framework version of libURL. Based on what Nakia describes it sounds like LiveCode is not picking up the system assigned PAC file. Based on the 6.6 release notes it should so I would report a bug: LibURL has been updated to add support for proxy auto configuration files (PAC). If no global proxy server has been set using the HTTPProxy property, when fetching a URL, LibURL will attempt to parse the systems .pac file in order to extract the proxy server (if any) to use for the given URL. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com-www.clarify-it.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 COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. ___ 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: OT: PencilCase
Hmm this quite interesting. Not knowing Hypercard how is this that re-imagined. I don't see any options to use Hypercard Syntax as it states that you write code in Javascript... Nakia Brewer | Technology Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ACN 009 342 572 -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Colin Holgate Sent: Friday, 28 March 2014 3:43 AM To: How to use LiveCode Subject: Re: OT: PencilCase Had not heard of that. Here's the web page: http://robotsandpencils.com/pencilcase/ The video is worth watching: https://www.youtube.com/watch?v=ViKORN8URAQ There are some things about it that are a bit like GameSalad, and it does use Javascript for programming, if the standard modules don't foo everything you need. Some of their claims seem dubious. Like how you can instantly publish to the App Store, implying that you don't need a developer account with Apple. Also talk of there being their own app store, which is normally disallowed in the App Store. ___ 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 COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. ___ 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: OT: PencilCase
LOL... but young man, you do know 'hyperTalk' and so 'hyperCard' as you use 'liveCode' ! Hmm this quite interesting. Not knowing Hypercard how is this that re-imagined. I don't see any options to use Hypercard Syntax as it states that you write code in Javascript... Nakia Brewer | Technology Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ___ 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: OT: PencilCase
LOL.. Yeah that is true I suppose. I was just trying to make sense of the statement 'Hypercard reimagined' Nakia Brewer | Technology Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ACN 009 342 572 -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of John Dixon Sent: Friday, 28 March 2014 9:15 AM To: How to use LiveCode Subject: RE: OT: PencilCase LOL... but young man, you do know 'hyperTalk' and so 'hyperCard' as you use 'liveCode' ! Hmm this quite interesting. Not knowing Hypercard how is this that re-imagined. I don't see any options to use Hypercard Syntax as it states that you write code in Javascript... Nakia Brewer | Technology Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ___ 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 COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. ___ 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: OT: PencilCase
My thought about that is that if you are trying to make a tool for “the rest of us” to be able to program interesting apps, in 1987 it would be HyperCard, and in 2014 it would be PencilCase. So, it’s reimagining the intent of the tool, not the implementation. On Mar 27, 2014, at 6:18 PM, Nakia Brewer nakia.bre...@westrac.com.au wrote: I was just trying to make sense of the statement 'Hypercard reimagined' ___ 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: OT: PencilCase
Nakia Brewer wrote: I was just trying to make sense of the statement 'Hypercard reimagined' It's HyperCard reimagined as something that bears almost no resemblance to HyperCard. :) Ah, the power the imagination... -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys ___ 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: OT: PencilCase
On 28/03/14 00:18, Nakia Brewer wrote: LOL.. Yeah that is true I suppose. I was just trying to make sense of the statement 'Hypercard reimagined' Personally I think Hypercard reimagined is just a way to attract people and has little basis in reality. It may be quite a good thing; once it becomes available. But as there's no FREE version like the Livecode Community version anybody who pays for the $119 Personal version is risking their money. As PencilCase uses Javascript, it may be A WYSIWYG RAD IDE that resembles Hypercard visually, but it is not a Hypercard clone+ as it uses a quite different programming language, which is rather harder to learn than Hypertalk/xTalk/Revolution (the latter being not at all difficult if, in fact, you are old enough to have done some Hypercard programming). Richmond. snip ___ 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: OT: PencilCase
On 28/03/14 00:36, Richard Gaskin wrote: Nakia Brewer wrote: I was just trying to make sense of the statement 'Hypercard reimagined' It's HyperCard reimagined as something that bears almost no resemblance to HyperCard. :) That is why describing it as Hypercard Reimagined is naughty. Richmond. Ah, the power the imagination... ___ 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: OT: PencilCase
All the 'pencilCase' blurb is doing at the moment is 'talking a good job'... late 2014 is a long wat away.. That is why describing it as Hypercard Reimagined is naughty. Richmond. Ah, the power the imagination... ___ 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: OT: PencilCase
They should have named it NaughtyCard. ;-) Sent from my Android tablet On Mar 27, 2014 6:41 PM, Richmond richmondmathew...@gmail.com wrote: On 28/03/14 00:36, Richard Gaskin wrote: Nakia Brewer wrote: I was just trying to make sense of the statement 'Hypercard reimagined' It's HyperCard reimagined as something that bears almost no resemblance to HyperCard. :) That is why describing it as Hypercard Reimagined is naughty. Richmond. Ah, the power the imagination... ___ 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