Re: [ANN] This Week in LiveCode 78

2017-04-10 Thread Peter TB Brett via use-livecode
On 10/04/2017 16:10, Richard Gaskin via use-livecode wrote: Thank you, Panos. This item was particularly interesting: Add a new script library implementing unified diff generation and patch application: Expected in LiveCode 9.0 DP-7

LiveCode Android Demo

2017-04-10 Thread Alejandro Tejada via use-livecode
Hi All, Where I could download an .APK that demonstrate (with user interaction) all LiveCode features available for Android Platform? For example, check this Interactive OpenCV Demo (for Win32 platforms) http://www.tsdconseil.fr/log/opencv/demo/index-en.html This interactive OpenCV demo allows

Re: Passing Variables in a non-CGI LC Server?

2017-04-10 Thread Mike Bonner via use-livecode
If you're interested in trying session variables again, I got word back that the issue I was having is fixed in 8.1.4 rc1 and it does indeed solve it. (hoping on-rev updates soon) The newer version also solves the error you were having (which required using sessionsavepath as a workaround) I have

Re: LC crashing when trying to save a standalone

2017-04-10 Thread Jonathan Lynch via use-livecode
As both Monte and Tom have suggested, moving to 8.1.4 rc 1 fixed the problem for me. I am usually wary of using rc versions, but if you are going to use a browser widget, it is probably a good idea. On Mon, Apr 10, 2017 at 10:22 AM, Tom Glod via use-livecode < use-livecode@lists.runrev.com>

Re: [ANN] This Week in LiveCode 78

2017-04-10 Thread Richard Gaskin via use-livecode
Peter TB Brett wrote: > On 10/04/2017 16:10, Richard Gaskin via use-livecode wrote: >> Thank you, Panos. >> >> This item was particularly interesting: >> >>Add a new script library implementing unified diff generation and >>patch application: Expected in LiveCode 9.0 DP-7 >>

Re: Passing Variables in a non-CGI LC Server?

2017-04-10 Thread Rick Harrison via use-livecode
Hi Mike, Thanks, I’ll check it out! Rick > On Apr 10, 2017, at 1:22 PM, Mike Bonner via use-livecode > wrote: > > If you're interested in trying session variables again, I got word back > that the issue I was having is fixed in 8.1.4 rc1 and it does indeed

Re: OT (?): Bookmarking GPS coords

2017-04-10 Thread Alex Tweedly via use-livecode
Thanks - lots of useful info there. The big issue in this approach is (as you say) I would think it would be relatively simple to define a procedure (less simple to have the kids actually follow it) where the kids send you an email In my case, I have a large number of addresses to define

manipulating attributes of text in fields from scripts

2017-04-10 Thread Dr. Hawkins via use-livecode
I have a number of label fields which inadvertently have bold text in them. I can identify these in a loop from their text, and put the long id of the field into tgTg. Shouldn't one of *set* the textStyle of tgTg to "plain" or *set* the textStyle of char 1 to -1 of the text of tgTg to

Re: OT (?): Bookmarking GPS coords

2017-04-10 Thread Jonathan Lynch via use-livecode
Rather than travel physically, could you just move in the map, and program it to record your click locations in a map? Sent from my iPhone > On Apr 10, 2017, at 7:41 PM, Alex Tweedly via use-livecode > wrote: > > Thanks - lots of useful info there. > > The big

Re: manipulating attributes of text in fields from scripts

2017-04-10 Thread Richard Gaskin via use-livecode
To clear all styles, links, etc.: put field "Whatever" into field "Whatever" To clear only bold and leave everything else: set the textStyle["bold"] of char 1 to -1 of fld "Whatever" to false -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop,

Re: OT (?): Bookmarking GPS coords

2017-04-10 Thread Alan via use-livecode
Hi Alex It's pretty straightforward to record current location on mobile - using mobileStartTrackingSensor, mobileSensorReading (when you want to grab current location) and so on. Just make sure you start tracking when the user starts your app to give the GPS system time to get going and you

Re: OT (?): Bookmarking GPS coords

2017-04-10 Thread Kay C Lan via use-livecode
On Sun, Apr 9, 2017 at 10:58 AM, Alex Tweedly via use-livecode wrote: > I'm looking for any help or suggestions for existing apps that can do > (something like) what I want to do - could even be a clever way to use a > feature I've not found in Google maps, or pple

Re: manipulating attributes of text in fields from scripts

2017-04-10 Thread Jonathan Lynch via use-livecode
Try Set the textstyle of char 1 to -1 of field "my field" to empty You can also do this: Put field "my field" into field "my field" That will put the text - without formatting - into the field content Sent from my iPhone > On Apr 10, 2017, at 8:29 PM, Dr. Hawkins via use-livecode >

Re: manipulating attributes of text in fields from scripts

2017-04-10 Thread Jonathan Lynch via use-livecode
Also - to affect the field by id you need to say this: Set the textstyle of char 1 to -1 of field id tgtg to empty There is a difference between bolded chars and a bolded field. So, you would need to know which is the source of bolding, or just fix them both. Sent from my iPhone > On Apr 10,

Re: LC crashing when trying to save a standalone

2017-04-10 Thread Jonathan Lynch via use-livecode
Hi Swami, Does your app have a browser widget? Sent from my iPhone > On Apr 10, 2017, at 12:41 AM, Sannyasin Brahmanathaswami via use-livecode > wrote: > > interesting I was having exactly this problem this week… slightly different > scenario, but smells like

[ANN] This Week in LiveCode 78

2017-04-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 #78 here: https://goo.gl/s78DY5 This is a weekly newsletter about LiveCode, focussing on what's been going on in and around

Re: Sort on two sortTypes

2017-04-10 Thread Randy Hengst via use-livecode
Hi Craig, Yes, I was able to sort in the way you described… the problem I ran into was... where to place the dateTime sortType when using a multiple sort when one sortKey was date time and the other text. be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Apr 10, 2017, at

Re: Sort on two sortTypes

2017-04-10 Thread dunbarx via use-livecode
Since HC days, you have been able to: sort yourData by sortKey1 & sortKey2 & sort yourData by item 1 of each & item 2 of each Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sort-on-two-sortTypes-tp4713821p4713855.html Sent from the

Re: any secrets printing only a section from a card?

2017-04-10 Thread dunbarx via use-livecode
A couple of things you can try. You can print into a specified "pageRect". See the dictionary. You can also set the "printScale" to a value other than 1. See the dictionary. Craig Newman -- View this message in context:

Re: Sort on two sortTypes

2017-04-10 Thread dunbarx via use-livecode
Ah. Then you will have to do what, I think, Jacque suggested and sort by two functions: sort yourData by functionA() & functionB(). This because once you set the sortStyle (sort numeric, sort dateTime,...) that must hold through the entirety of the "multiSortKey" method. This may be more

Re: LC crashing when trying to save a standalone

2017-04-10 Thread Tom Glod via use-livecode
there was a bug in that version...try 8.14...I had the same issue...solved now. On Mon, Apr 10, 2017 at 5:20 AM, Jonathan Lynch via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Swami, > > Does your app have a browser widget? > > Sent from my iPhone > > > On Apr 10, 2017, at 12:41

Re: this stack gets every closeStack message

2017-04-10 Thread Matt Maier via use-livecode
I think I figured it out. Thanks for the ideas about troubleshooting but none of those rabbit holes were particularly informative. Eventually while doing something else I went back through the dictionary entries for the various commands that make use of external stacks. It finally dawned on me

any secrets printing only a section from a card?

2017-04-10 Thread Tiemo Hollmann TB via use-livecode
Hello, LC 8.1.4, Win 10. (Same with LC 6-9) When printing a whole card with just "print card" everything of the card is being printed fine, only stretched to the papersize. But when trying to print only a part of the card by "print card from myLeftTop to myRightBottom into page Rect" I never

Re: [ANN] This Week in LiveCode 78

2017-04-10 Thread Richard Gaskin via use-livecode
Thank you, Panos. This item was particularly interesting: Add a new script library implementing unified diff generation and patch application: Expected in LiveCode 9.0 DP-7 It wasn't immediately clear to me from the notes in that PR