Text formatting in LC HTML5 apps?

2017-03-28 Thread Terry Judd via use-livecode
Is there any way to display styled text in HTML5 apps? There only seems to be one font supported and I can change the colour and size but nothing else sticks (LC Community 9.0.0 dp5). Terry... ___ use-livecode mailing list

Re: Generating frames of video from LC

2017-03-26 Thread Terry Judd via use-livecode
I asked about this a while back – would be great to have video export built-in but I think you’re stuck with one of the other options for now. I need to create personalized (templated) videos for students (feedback on assessment) and while I’d rather be using LC for this I’ve had to switch to a

Re: Text formatting in LC HTML5 apps?

2017-03-28 Thread Terry Judd via use-livecode
t;use-livecode on behalf of Terry Judd via use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of use-livecode@lists.runrev.com> wrote: OK, thanks Peter – I’ve got it displaying a different font now. Still struggling with styles but I’m sure I’ll get there

Re: Set Layer bug?

2017-03-28 Thread Terry Judd via use-livecode
Have you tried the relayer command? It has a number of useful options. Terry... On 29/03/2017 9:28 am, "use-livecode on behalf of Dan Friedman via use-livecode" wrote: Is this a bug or am I losing my mind?

Re: Text formatting in LC HTML5 apps?

2017-03-28 Thread Terry Judd via use-livecode
use-livecode@lists.runrev.com> wrote: On 28/03/2017 10:32, Terry Judd via use-livecode wrote: > Is there any way to display styled text in HTML5 apps? There only > seems to be one font supported and I can change the colour and size > but nothing else sticks (LC Community

Hanging indents in LC fields?

2017-03-20 Thread Terry Judd via use-livecode
Has anyone used livecode’s text formatting commands to create paragraphs with hanging indents (all lines but the first indented)? If so, any clues on how to do it? Best regards, Terry... ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Hanging indents in LC fields?

2017-03-20 Thread Terry Judd via use-livecode
agraph. Then set the first indent property of the paragraph to a negative number. Devin Sent from my iPhone > On Mar 20, 2017, at 5:15 PM, Terry Judd via use-livecode <use-livecode@lists.runrev.com> wrote: > > Has anyone used livecode’s tex

Re: HTML5 export broken in 9.0.0-dp-6?

2017-03-17 Thread Terry Judd via use-livecode
he release email (but not the release notes unfortunately). Here is the bug: http://quality.livecode.com/show_bug.cgi?id=19399 On Fri, Mar 17, 2017 at 7:04 AM Terry Judd via use-livecode < use-livecode@lists.runrev.com> wrote: > Is it just me or is HTML5 expor

HTML5 export broken in 9.0.0-dp-6?

2017-03-17 Thread Terry Judd via use-livecode
Is it just me or is HTML5 export not working in 9.0.0-dp-6? A stack that worked in 8.1.2 just a few minutes ago now throws an exception... To use dlopen, you need to use Emscripten's linking support, see https://github.com/kripken/emscripten/wiki/Linking ...and I seem to get the same thing

Gradients with transparency?

2017-04-03 Thread Terry Judd via use-livecode
Is it possible to have a gradient with one of its end-points being transparent instead of a solid colour? I want to overlay a graphic with a vertical gradient that blends from transparent to white to give the effect that the underlying content is fading out as you move down the screen. I’m

Re: Gradients with transparency?

2017-04-03 Thread Terry Judd via use-livecode
Thanks for all the responses. I really wanted to use a graphic rather than importing an image for all the reasons that Scott mentioned. Mark’s method works of adding an alpha value to the ramp settings of the fillgradient property of the graphic works perfectly so there is a (relatively) simple

Re: Gradients with transparency?

2017-04-03 Thread Terry Judd via use-livecode
Thanks Mark, I'll try that out. Regards, Terry... Sent from my iPad > On 3 Apr 2017, at 8:30 pm, Mark Waddingham via use-livecode > <use-livecode@lists.runrev.com> wrote: > >> On 2017-04-03 11:37, Terry Judd via use-livecode wrote: >> Is it possible to have a g

Re: mergMicrophone - audio format suitable for Windows playback?

2017-04-11 Thread Terry Judd via use-livecode
s bit completely. Cheers, David Glasgow > On 11 Apr 2017, at 1:36 pm, Terry Judd via use-livecode <use-livecode@lists.runrev.com> wrote: > > Yeah, this is a bit of a bodged together process. I have a ‘template’ Powerpoint file that I modify by swappin

Re: LC and OneSignal

2017-04-11 Thread Terry Judd via use-livecode
Hi Dan - when you say you have it running on iOS, do you mean within an LC iOS app? If so, some info on how you got it to work would be fantastic (I couldn’t figure out how to implement it). No experience with using it with Android, sorry. Terry... On 12/04/2017 2:54 pm, "use-livecode on

Re: Trying to make an HTML5 app

2017-04-06 Thread Terry Judd via use-livecode
Using the community license - 9.0.0 (dp 5) - I couldn’t get a HTML5 app to run if it included any SVG widgets. I’m not sure if this problem extends to other widget types or not but as a workaround I converted all the SVGs to bitmaps. I’d try taking out the SVGs to start with and see if that

Re: MDM and App deployment

2017-04-06 Thread Terry Judd via use-livecode
now if I’ missing something in the plist file…. Thank you! > On Apr 5, 2017, at 7:35 PM, Terry Judd via use-livecode <use-livecode@lists.runrev.com> wrote: > > I missed the start of this thread so I might be off target but the app needs

Re: MDM and App deployment

2017-04-05 Thread Terry Judd via use-livecode
I missed the start of this thread so I might be off target but the app needs to be server from a secure (https) server. If it isn’t and/or if your manifest file isn’t perfect then you will get that sort of message as well. Terry... On 6/04/2017 12:18 pm, "use-livecode on behalf of J. Landman

Import or export snapshot at current scaleFactor

2017-04-05 Thread Terry Judd via use-livecode
I’m automating the creation of a series of images (mostly graphs or similar) to include in some non LC generated reports and I need to be able to produce them at a higher than screen resolution so that they will look ok. I was thinking that I could just increase the scaleFactor of the stack and

mergMicrophone - audio format suitable for Windows playback?

2017-04-11 Thread Terry Judd via use-livecode
I’m using mergMicrophone (on OSX) with default settings to record audio (from revSpeech) for inclusion in Powerpoint presentations, but when I open the PPT files on a Windows computer (so that I can export them to video, retaining the sound) it complains about the sound files being in an

Re: mergMicrophone - audio format suitable for Windows playback?

2017-04-11 Thread Terry Judd via use-livecode
se Apple centric formats. I would let Windows PPT convert the audio, then if playback is suitable on both platforms, distribute the converted file. On Apr 11, 2017 2:53 AM, "Terry Judd via use-livecode" < use-livecode@lists.runrev.com> wrote: &g

Re: Import or export snapshot at current scaleFactor

2017-04-05 Thread Terry Judd via use-livecode
Thanks Jim, that’s perfect! I don’t know how many times I’ve looked at the import/export command in the dictionary and not seen the size modifier. Much appreciated. Terry... On 6/04/2017 9:14 am, "use-livecode on behalf of Jim Lambert via use-livecode"

Recording audio with LC on OSX?

2017-04-06 Thread Terry Judd via use-livecode
I want to record sound from within LC on a Mac – actually I want to get LC to speak some text and have it recorded to file (using Sound Siphon to capture it directly rather than via the inbuilt mike and speakers). Is setting the dontUseQT to false and going with ‘record sound’ the only option

Re: Recording audio with LC on OSX?

2017-04-07 Thread Terry Judd via use-livecode
OK – looks like mergMicrophone is an option on OSX – I’ll give that a try. Terry... On 7/04/2017 12:04 pm, "use-livecode on behalf of Terry Judd via use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of use-livecode@lists.runrev.com> wrote: I want to record s

Re: Recording audio with LC on OSX?

2017-04-07 Thread Terry Judd via use-livecode
my apps uses sox to create voice recordings, but I've never tried recording synthetic speech output. Food for thought - Phil Davis On 4/6/17 11:12 PM, Terry Judd via use-livecode wrote: > OK – looks like mergMicrophone is an option on OSX – I’ll give that a try

Couple of questions about the browser widget

2017-08-15 Thread Terry Judd via use-livecode
I’m thinking about replacing a field object that contains text, inline images and simple tables with the browser widget but there are a couple of issues I’d need to work through first and would welcome any suggestions or ideas. The first one concerns displaying local images – either stored

Re: Couple of questions about the browser widget

2017-08-15 Thread Terry Judd via use-livecode
the example code there for the "set the javascripthandlers..' part.. but the example needs to be fixed. You need to specify the widget. set the javascripthandlers of widget "mywidge" to "whatever* On Tue, Aug 15, 2017 at 6:34 PM, Terry Judd

Re: Couple of questions about the browser widget

2017-08-15 Thread Terry Judd via use-livecode
. On Tue, Aug 15, 2017 at 5:55 PM, Terry Judd via use-livecode < use-livecode@lists.runrev.com> wrote: > I’m thinking about replacing a field object that contains text, inline > images and simple tables with the browser widget but there are a couple of > i

Re: Couple of questions about the browser widget

2017-08-16 Thread Terry Judd via use-livecode
Thanks hh that's really helpful stuff. Thanks also to Jonathan and Mike. Regards, Terry... Sent from my iPad > On 16 Aug 2017, at 9:00 pm, hh via use-livecode > wrote: > > Additional to Jonathan's instructions. > > Basic: >

Re: $1,000 Bounty For LiveCode Bug 20240

2017-08-14 Thread Terry Judd via use-livecode
Yeah, sometimes, but in my experience not always. I’ve had to resort to closing the affected tab at least. Terry... Terry Judd| Senior Lecturer in Medical Education Department of Medical Education The University of Melbourne

Re: common code patterns

2017-08-11 Thread Terry Judd via use-livecode
Even better - the mobile commands could an error rather than spitting the dummy when called from a non-mobile environment. I usually add my own mobile get and set handlers/functions that do the environment test and then pass the necessary parameter to either mobileControlGet or

Re: [ANN] Release 8.1.6 RC-1

2017-07-11 Thread Terry Judd via use-livecode
I’ve just had a quick play with the enhanced script editor and these all seem like good suggestions to me, and in the script editor pane of the preferences window I’d allow the user to (i) hide/show the list of available common handlers and (ii) hide/show included comments on their

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread Terry Judd via use-livecode
On 13/07/2017 2:56 am, "use-livecode on behalf of Richard Gaskin via use-livecode" wrote: I would caution against adding more stuff to the Prefs window, for reasons too lengthy to indulge in here.

Re: Mobile - missing? files added in copy files pane of standalone builder

2017-07-16 Thread Terry Judd via use-livecode
ecode" <use-livecode-boun...@lists.runrev.com on behalf of use-livecode@lists.runrev.com> wrote: On 7/15/17 8:05 PM, Terry Judd via use-livecode wrote: > If I add files that are in the same folder as the stack file in the copy and then in the app (simulator or real device)

Re: Mobile - missing? files added in copy files pane of standalone builder

2017-07-16 Thread Terry Judd via use-livecode
; automatically when the standalone is built. Just make the other folders > sub-directories of the mainstack's folder and include them in the copy files > pane. > >> On 7/16/17 3:09 PM, Terry Judd via use-livecode wrote: >> Ok, so when adding files in the ‘copy files’ pane I can only i

Mobile - missing? files added in copy files pane of standalone builder

2017-07-15 Thread Terry Judd via use-livecode
If I add files that are in the same folder as the stack file in the copy and then in the app (simulator or real device) if I ‘put the files’, then the added files are included in the listing. However, if the added files are in a different folder (e.g. “stuff/test.pdf”) then they don’t show up.

Re: SORT by length

2017-08-07 Thread Terry Judd via use-livecode
sort lines of fld “myGuff” descending numeric by length(each) – should do it. Terry... On 8/08/2017 8:23 am, "use-livecode on behalf of Richmond Mathewson via use-livecode" wrote: I have a listField

Re: Couple of questions about the browser widget

2017-08-16 Thread Terry Judd via use-livecode
're just not allowed to set a bar to false when the > content is too wide or high and vice versa. > > On Wed, Aug 16, 2017 at 2:10 PM, Terry Judd via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > Perfect!

Re: Couple of questions about the browser widget

2017-08-16 Thread Terry Judd via use-livecode
lcHeight pHeight set the height of widget 1 to pHeight + 23 -- +23 because I have the horizontal scrollbar showing set the topleft of widget 1 to the topleft of this card end lcHeight On Wed, Aug 16, 2017 at 6:42 AM, Terry Judd via use-livecode < use-liveco

Re: Couple of questions about the browser widget

2017-08-16 Thread Terry Judd via use-livecode
the content is too wide or high and vice versa. On Wed, Aug 16, 2017 at 2:10 PM, Terry Judd via use-livecode < use-livecode@lists.runrev.com> wrote: > Perfect! Interesting about the hScrollbar setting – I seem to be unable to > deselect that (or vScrol

Loss of internet connectivity in IDE after a while

2017-05-14 Thread Terry Judd via use-livecode
I’m using 8.1.3 (Business licence) on the Mac and I’ve notice a few times that the IDE seems to be unresponsive to URL requests after a while. If for example I do something simple like... Put url http://www.google.com then I get the following error... Message execution error: Error

Re: Loss of internet connectivity in IDE after a while

2017-05-14 Thread Terry Judd via use-livecode
7 8:51 PM, Terry Judd via use-livecode wrote: > I’m using 8.1.3 (Business licence) on the Mac and I’ve notice a few times that the IDE seems to be unresponsive to URL requests after a while. If for example I do something simple like... > > Put url http://www.google.com >

Re: Instantiaing Grouped Controls - Templates - Responsive

2017-06-07 Thread Terry Judd via use-livecode
Hi BR - for me it depends on how many instances of the control I’m likely to need on the screen. If I only ever display one at a time then I usually include it as a shared group and place it on any card that might require it and show/hide, populate and layer it dynamically as required. If I

using tsNet external

2017-05-23 Thread Terry Judd via use-livecode
Couple of questions about the tsNet external... # if I’m just using get or post url (i.e. no special tsNet commands) do I still need to call tsNetInit? # what is the default timeout for a synchronous get or post url call, and how do I change it? TIA, Terry...

urgent iOS internet issue (url request timeout setting?)

2017-05-31 Thread Terry Judd via use-livecode
OK – I have a bit of a serious issue on iOS where if I lose wifi connectivity the first attempt to get data from a url causes problems. I’m attempting to upload a file to Dropbox (that stuff all works fine) and I do an initial test to see whether the device is online (by trying to access a

Re: urgent iOS internet issue (url request timeout setting?)

2017-05-31 Thread Terry Judd via use-livecode
. Terry... On 1/06/2017 11:44 am, "use-livecode on behalf of Terry Judd via use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of use-livecode@lists.runrev.com> wrote: OK – I have a bit of a serious issue on iOS where if I lose wifi connectivity the first att

Re: urgent iOS internet issue (url request timeout setting?)

2017-06-04 Thread Terry Judd via use-livecode
17, 3:44 PM, "use-livecode on behalf of Terry Judd via use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of use-livecode@lists.runrev.com> wrote: OK – I have a bit of a serious issue on iOS where if I lose wifi connectivity the

Re: urgent iOS internet issue (url request timeout setting?)

2017-06-01 Thread Terry Judd via use-livecode
ot;no_reuse"] > put tsNetGetSync("http://www.livecode.com;, tHeaders, tRecvHeaders, tResult, > tBytes, tSettings) into tData > > Best Regards, > > Charles > > > >> On 1/06/2017 1:24 PM, Terry Judd via use-livecode wrote: >> OK, I think I have a workar

Re: using tsNet external

2017-06-02 Thread Terry Judd via use-livecode
e: Hi Terry, On 24/05/2017 11:55 AM, Terry Judd via use-livecode wrote: > Couple of questions about the tsNet external... > > # if I’m just using get or post url (i.e. no special tsNet commands) do I still need to call tsNetInit? No. tsNetInit is automatically

LC HTML5 apps on Windows - what browsers are supported?

2017-05-02 Thread Terry Judd via use-livecode
Anybody know which browsers will run LC’s HTML5 apps successfully under Windows? So far I’ve only been able to get one I’ve created working in Firefox. It gets stuck at the ‘downloading’ phase on both Chrome and IE (I’m running Windows 7) and on the Mac it works on Safari and Firefox but also

Re: LC HTML5 apps on Windows - what browsers are supported?

2017-05-02 Thread Terry Judd via use-livecode
Great, thanks for that. Hadn’t occurred to me that I’d need to run from a server to test under Chrome. I’ll give that a go. Terry... On 3/05/2017 2:07 pm, "use-livecode on behalf of hh via use-livecode" wrote:

Converting iOS app build to .ipa file (latest iTunes update stops you doing this)

2017-09-13 Thread Terry Judd via use-livecode
I’ve always just created a .ipa file from my LC iOS app builds by dragging them into iTunes and then back out again. Now Apple has gone and removed apps from the latest version of iTunes (which appears to have automatically updated on my Mac) and I’m left without a way to do this. Are there any

Re: Converting iOS app build to .ipa file (latest iTunes update stops you doing this)

2017-09-13 Thread Terry Judd via use-livecode
1037126344?mt=12 <https://itunes.apple.com/us/app/apple-configurator-2/id1037126344?mt=12> > On Sep 13, 2017, at 3:14 PM, Terry Judd via use-livecode <use-livecode@lists.runrev.com> wrote: > > I’ve always just created a .ipa file from my LC iOS app

Re: remote debugging just stopped being available.

2017-09-04 Thread Terry Judd via use-livecode
Actually, what is the process for getting remote debugging to work on iOS – I’d be happy to get it working in the simulator to start with. I know that you need to use a business licensed version of LC 9 to have access to it, but beyond that... Terry... On 5/09/2017 11:26 am, "use-livecode on

Re: remote debugging just stopped being available.

2017-09-04 Thread Terry Judd via use-livecode
are using isn’t doing what it’s meant to do. Cheers Monte > On 5 Sep 2017, at 12:11 pm, Terry Judd via use-livecode <use-livecode@lists.runrev.com> wrote: > > Hi Monte - something like this? > > Sep 5 12:07:27 51002-B114578 md

Re: remote debugging just stopped being available.

2017-09-04 Thread Terry Judd via use-livecode
Bug 20327. Terry... On 5/09/2017 1:19 pm, "use-livecode on behalf of Terry Judd via use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of use-livecode@lists.runrev.com> wrote: OK will do – it seems to be present in all version of LC 8 that I have (8.1.3,

Re: remote debugging just stopped being available.

2017-09-04 Thread Terry Judd via use-livecode
use-livecode@lists.runrev.com> wrote: > On 5 Sep 2017, at 1:08 pm, Terry Judd via use-livecode <use-livecode@lists.runrev.com> wrote: > > Seems like it’s not required anyway. Would be interested to know what it does (or doesn’t do) though. Can you open a report wit

Re: remote debugging just stopped being available.

2017-09-04 Thread Terry Judd via use-livecode
and it not being found looks like a crash at startup. If you look at the simulator log and there’s something like Startup error - then that could be it. If it’s that then the remote debugger won’t have a chance to start at that point. > On 5 Sep 2017, at 11:52 am, Terry Judd via

Re: remote debugging just stopped being available.

2017-09-04 Thread Terry Judd via use-livecode
Seems like it’s not required anyway. Would be interested to know what it does (or doesn’t do) though. Terry... On 5/09/2017 1:01 pm, "use-livecode on behalf of Terry Judd via use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of use-livecode@lists.runr

Re: remote debugging just stopped being available.

2017-09-04 Thread Terry Judd via use-livecode
> On 5 Sep 2017, at 11:36 am, Terry Judd via use-livecode <use-livecode@lists.runrev.com> wrote: > > Actually, what is the process for getting remote debugging to work on iOS – I’d be happy to get it working in the simulator to start with. I know that you need to use a bu

Re: remote debugging just stopped being available.

2017-09-04 Thread Terry Judd via use-livecode
;use-livecode-boun...@lists.runrev.com on behalf of use-livecode@lists.runrev.com> wrote: Hmm…. I actually don’t know which date support library you are referring to. > On 5 Sep 2017, at 12:30 pm, Terry Judd via use-livecode <use-livecode@lists.runrev.com> wrote: &g

Re: remote debugging just stopped being available.

2017-09-05 Thread Terry Judd via use-livecode
I think was used for the calendar widget example - I don't think it comes with the ide. You should be able to uninstall it using the extension manager, should you wish! On Tue, 5 Sep 2017 at 04:28, Terry Judd via use-livecode < use-livecode@lists.runrev.com> wrote: > Bug

Re: Subscript and Superscript

2017-09-10 Thread Terry Judd via use-livecode
Hi Roger – you can set subscripts and superscripts by settings the htmlText. So, something like: set the htmlText of word 5 of fld “x” to “m2” Terry... On 11/09/2017 1:07 pm, "use-livecode on behalf of Roger Guay via use-livecode"

Re: Print to PDF output dodgy on Windows

2017-09-04 Thread Terry Judd via use-livecode
ev.com> wrote: On 2017-09-04 09:20, Terry Judd via use-livecode wrote: > Thanks Mark - I wasn't aware of that setting. I'll try setting it to > true before I print each report and see what happens. Based on the > dictionary entry it sounds like I'll need to set it back to

Re: Print to PDF output dodgy on Windows

2017-09-04 Thread Terry Judd via use-livecode
and reopen the stack before turning it back on and printing the next report? Terry... Sent from my iPhone > On 4 Sep 2017, at 4:20 pm, Mark Waddingham via use-livecode > <use-livecode@lists.runrev.com> wrote: > >> On 2017-09-04 06:43, Terry Judd via use-livecode wrote: &

Print to PDF output dodgy on Windows

2017-09-03 Thread Terry Judd via use-livecode
Before I bug report this, has anyone else had problems printing styled text to PDF on Windows? I’ve been printing multipage reports (lots of formatting, graphics etc) to PDF using LC on a Mac for ages without any problems (well, not this particular problem at least). However, when I try to do

Displayed publication date of LC iOS apps in iTunes

2017-08-31 Thread Terry Judd via use-livecode
This is something that I’ve been wondering about for a while. Not a problem as such but it looks odd. I develop all my apps using an enterprise iOS developer license so it might be that it is peculiar to that license type but I don’t have anything to compare it to. Anyway, when I install one

Re: [off]macbook model

2017-08-31 Thread Terry Judd via use-livecode
I’m a bit like you, I have an aging Air and will probably replace it soon with a 13 inch Macbook Pro (without the touch bar). Portability is important to me so 15 inch is too big to lug around (I had couple of Macbook Pro 15 inch models prior to the Air, so know what that’s like). Screen real

Re: The coming of SVG

2017-11-05 Thread Terry Judd via use-livecode
If not picture (or canvas) then another couple of names that might work and don’t have baggage associated with them are figure and drawing. I perhaps like the look/sound of drawing better but it doesn’t really capture the ability of the object to contain an image particularly well. If you think

Re: OT : need help understanding why my web page isn't behaving right :-)

2017-11-07 Thread Terry Judd via use-livecode
Hi Alex – those links work fine for me on Chrome on a Mac. Terry... On 8/11/2017 10:27 am, "use-livecode on behalf of Alex Tweedly via use-livecode" wrote: I just discovered a problem with one of my

Re: Mac color chooser swatches do not work?

2017-12-05 Thread Terry Judd via use-livecode
Hi Klaus - the swatches work fine for me (and from memory always have). I'm still on Yosemite (10.10.5) though, so perhaps it's a High Sierra thing? Terry... On 6/12/2017 8:56 am, "use-livecode on behalf of Klaus major-k via use-livecode"

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Terry Judd via use-livecode
Are you using a native mobile field? If not then... on returnInField focus on nothing exit returnInField end returnInField HTH, Terry... On 11/05/2018 12:41 pm, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode"

Re: Splitting long elements into two lines in an Option Menu

2018-04-26 Thread Terry Judd via use-livecode
Or perhaps use a form type datagrid - which will allow you to present and select multi-lined option more readily. Regards, Terry... On 27/04/2018 2:33 pm, "use-livecode on behalf of dunbarx via use-livecode"

problem with fullscreen option on HTML5 apps

2018-01-24 Thread Terry Judd via use-livecode
I’ve been trying out the fullscreen option (via the checkbox on the automatically generated HTML page) on a couple of interactive learning apps I’m working on, and while they display nicely it seems to muck up the object coordinates (9.0.0 dp 10/11 – Mac, any browser) so that clicking or

Re: Features and shortcomings of html5

2018-02-20 Thread Terry Judd via use-livecode
I've converted a couple of interactive simulations to HTML5 and they worked and performed surprisingly well (once I'd removed and coded around a few wait statements). Multiple cards are fine but I haven't tried switching between stacks. Text display isn't that great out of the box but that

Re: Features and shortcomings of html5

2018-02-20 Thread Terry Judd via use-livecode
rectly with their web site. At any rate, thanks for the feedback. On 2/20/18 9:05 PM, Terry Judd via use-livecode wrote: > I've converted a couple of interactive simulations to HTML5 and they worked and performed surprisingly well (once I'd removed and coded around a few wai

Re: Trouble getting Browser Widget to work on iOS

2018-07-25 Thread Terry Judd via use-livecode
Hi Bill - I had similar problems last week. Assuming you have the browser widget inclusion checked then the other thing to look for is whether there are any mobile scrollers on the screen that overlap with the location of the widget as they appear to interfere with it being rendered. If this is

Re: Determine if device is a tablet

2018-08-14 Thread Terry Judd via use-livecode
Can you do it based on the aspect ratio of the screen? I wouldn't have thought that there were many phones that were as 'squat' as a typical tablet. Terry... On 15/08/2018 9:16 am, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: I need to determine whether the current

Re: Determine if device is a tablet

2018-08-15 Thread Terry Judd via use-livecode
So, iPhones (5 and above) have an aspect ratio of something like 1.78, versus 1.33 for an iPad. Don't know what sort of range you are likely to find with Android devices but perhaps using a value of below 1.4-1.5 to indicate the device is a tablet would work for the majority? Terry... On

Re: "Effective" characters in a line in a field

2018-08-16 Thread Terry Judd via use-livecode
Check out the formattedText property. Terry... On 17/08/2018 8:39 am, "use-livecode on behalf of Peter Bogdanoff via use-livecode" wrote: Hi, On the subject of chunk references… I want to add a carriage return at the end of every visual line of a paragraph. This would

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread Terry Judd via use-livecode
On 20 Aug 2018, at 4:50 pm, Richard Gaskin via use-livecode wrote: > > Terry Judd wrote: > > > Yeah, I've used FSM in combination with scripting in the android > > versions a couple of apps (admittedly they were only designed to work > > in portrait mode) and it seemed to work well enough. >

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread Terry Judd via use-livecode
On 20/08/2018 2:45 pm, "use-livecode on behalf of Richard Gaskin via use-livecode" wrote: Most of the lengthier discussions I've seen about layout handling here and on the forums stem from attempting to get precise control from FSM. In some cases it may be possible to mix FSM with

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread Terry Judd via use-livecode
On 20/08/2018 5:01 pm, "use-livecode on behalf of Terry Judd via use-livecode" wrote: On 20 Aug 2018, at 4:50 pm, Richard Gaskin via use-livecode wrote: > > Terry Judd wrote: > > > Yeah, I've used FSM in combination with scripting in the android

Browser widget on iOS

2018-07-17 Thread Terry Judd via use-livecode
Hi - is there some magic for getting the browser widget to work on iOS? Most of the time it displays nothing in either the simulator or on an actual device (the URL is definitely set) and when it does (not sure what gets the display to work in these situations), it doesn’t scroll and none of

Re: Browser widget on iOS

2018-07-17 Thread Terry Judd via use-livecode
on behalf of Terry Judd via use-livecode Reply-To: How to use LiveCode Date: Wednesday, 18 July 2018 1:52 pm To: How to use LiveCode Cc: Terry Judd Subject: Browser widget on iOS Hi - is there some magic for getting the browser widget to work on iOS? Most of the time it displays nothing in either

Question about HTML5 and accessing urls

2018-03-26 Thread Terry Judd via use-livecode
Hi - I’m updating a HTLM5-based simulation that we use for training assessors. It captures some usage data so that we can confirm a) that someone has attempted it and b) that they completed all the necessary elements. It was built with an older version of LC community (not sure which version)

Finding common words and phrases in a large block of text?

2018-10-24 Thread Terry Judd via use-livecode
Hi – I’m looking to analyse some large block of text (journal abstracts from key educational technology journals over a several year period) to find common words and phrases. Finding common words should be easy enough but I’m not clear on what approach to take for finding common phrases

Re: Finding common words and phrases in a large block of text?

2018-10-25 Thread Terry Judd via use-livecode
tList into tA2[tLength] end repeat return tA2 end getWordAndPhraseCounts On Thu, Oct 25, 2018 at 4:27 AM Terry Judd via use-livecode < use-livecode@lists.runrev.com> wrote: > OK - was easier than I thought. I have something that works fast enough by &

Re: Finding common words and phrases in a large block of text?

2018-10-25 Thread Terry Judd via use-livecode
t;use-livecode on behalf of Terry Judd via use-livecode" wrote: Hi – I’m looking to analyse some large block of text (journal abstracts from key educational technology journals over a several year period) to find common words and phrases. Finding common words should be easy enou

Re: Array editing or Validate JSON string?

2018-11-15 Thread Terry Judd via use-livecode
Hi Bill - I convert the JSON (jsonImport) to an array then use a treeview widget to display it. I then use an actionDoubleClick handler in the widget script to grab the appropriate array element and display it in an ask dialog. The value goes back into the array and I export the array back to

Re: App Dead on iOS 12

2018-09-20 Thread Terry Judd via use-livecode
> On 21 Sep 2018, at 11:48 am, Terry Judd via use-livecode wrote: > > Panos did some sleuthing of my console output and it appears that my iOS 12 crashes (which occurred with even the most very basic of stacks/apps) are related to the fact that I use an iOS enterprise

Re: App Dead on iOS 12

2018-09-20 Thread Terry Judd via use-livecode
Panos did some sleuthing of my console output and it appears that my iOS 12 crashes (which occurred with even the most very basic of stacks/apps) are related to the fact that I use an iOS enterprise developer license to sign/distribute my apps - so not a LC issue as such. Will just have to wait

Re: Opening a url in an external browser on mobile? (ignore - launch works after all)

2019-01-21 Thread Terry Judd via use-livecode
So (answering my own question) - it seems that I misread the dictionary and that launch is also supported on mobile. Terry... On 22/01/2019 12:08 pm, "use-livecode on behalf of Terry Judd via use-livecode" wrote: After going to the trouble of implementing a mobile browser w

Re: Opening a url in an external browser on mobile? (ignore - launch works after all)

2019-01-21 Thread Terry Judd via use-livecode
available there. Thanks, Brian On Jan 21, 2019, 7:11 PM -0600, Terry Judd via use-livecode , wrote: > So (answering my own question) - it seems that I misread the dictionary and that launch is also supported on mobile. > > Terry... > > On 22/01/2019 12:08 pm

Opening a url in an external browser on mobile?

2019-01-21 Thread Terry Judd via use-livecode
After going to the trouble of implementing a mobile browser widget I’ve decided that I’d prefer to open and display the url in the user’s default browser. I’m assuming this is possible (?) but can’t work out how to do it. Any ideas? Terry... ___

Clearing the notification badge value on Android?

2019-01-22 Thread Terry Judd via use-livecode
On iOS you can clear the notification badge number using iPhoneSetNotificationBadgeValue (by setting it to zero), but how do you achieve the same thing on Android? Terry... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Problem building Android app - 'could not compile service support class' error message

2019-01-22 Thread Terry Judd via use-livecode
I’m having a problem building/testing an Android app on one of my two development laptops (Macbook Air, LC 9.0.2, OSX Yosemite) – it comes up with the following error message... Unable to build app for testing: could not compile service support class. It seems to work fine on another laptop

Re: Problem building Android app - 'could not compile service support class' error message

2019-01-22 Thread Terry Judd via use-livecode
app. Terry... On 23/01/2019 9:59 am, "use-livecode on behalf of Terry Judd via use-livecode" wrote: Thanks Ralph - so, I enabled the Livecode UI stacks in the pref window and then used the find window to search for the error string (or part of it at least) but no results were r

Re: Problem building Android app - 'could not compile service support class' error message

2019-01-22 Thread Terry Judd via use-livecode
al Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Terry Judd via use-livecode Sent: Tuesday, January 22, 2019 4:02 PM To: How to use LiveCode Cc: Terry Judd Subject: Problem building Android app - 'could not compile service supp

Re: How to give swiping precedence over scrolling on mobile?

2018-12-20 Thread Terry Judd via use-livecode
tHGroup to sStartHScroll + (sStartX-pTouchX) end if end if end touchMove on touchEnd pTouchID -- code end touchEnd on touchRelease pTouchID -- code end touchRelease I wish there was are easy fi

Re: How to give swiping precedence over scrolling on mobile?

2018-12-20 Thread Terry Judd via use-livecode
to grp "backBtn" end if end if end if end if end touchEnd And in the "checklist" script... local pX on mouseDown put the mouseH into pX end mouseDown on mouseUp if abs((the mouseH)-pX) > 50 then exit mouseUp # list selection code end mo

  1   2   >