Re: Styled text on mobile

2020-07-18 Thread Terry Judd via use-livecode
Not if you are ok with using a LC field or a browser object to display it, but 
if you want to use a native single or multi-line text field - then yes.

Terry...

On 18/07/2020, 15:37, "use-livecode on behalf of Richard Gaskin via 
use-livecode"  wrote:

Am I dreaming the impossible dream?

-- 
  Richard Gaskin
  Fourth World Systems

___
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: What the heck? Writing and reading ios files??

2020-06-25 Thread Terry Judd via use-livecode
On 26/06/2020, 02:40, "use-livecode on behalf of William Prothero via 
use-livecode"  wrote:

Jacqueline:
Thanks for responding. I am really stuck on this. 

I can write the file, and get a list of the files I write, but when I try 
to read the file using the same code to create the filepaths, etc, the read 
routine says the file doesn’t exist. It all works in the dev environment. I had 
used a “_” char in the filenames, so I removed it. The read routine can’t find 
the file. Very wierd.

I’m going to try to make a very simple test case that I can run on my phone 
and post it, but I’m going to take a break. I’ve posted my file reading and 
writing code here, but there is probably too much to go through. 

Thanks for responding,
Bill


Hi  Bill - here's an example script that I use cross-platform (desktop, iOS and 
Android) for reading and writing a settings file using 
specialFoderPath("documents") on mobile and specialFolderPath("support") on 
desktop. In this case the 'settings' are an array that are stored in a 
multipurpose global array (gData).

Terry... 

global gData

on setPaths
   switch environment()
  case "mobile"
 put specialFolderPath("documents")&"/" into tFolder
 break
  default
 put specialFolderPath("support")&"/myAppName/" into tFolder
 if not (there is a folder tFolder) then
create folder tFolder
 end if
   end switch
   put tFolder&"settings.dat" into gData["paths"]["settings"]
end setPaths

on loadSettings
   put gData["paths"]["settings"] into tPath
   put url ("binfile:") into tSettings
   if tSettings is not empty then
  put arrayDecode(tSettings) into tSettingsA
  if tSettingsA is an array then
 put tSettingsA into gData["settings"]
  else
 # invalid settings data
  end if
   else
  # no settings file
   end if
end loadSettings

on updateSettings
   put gData["paths"]["settings"] into tPath
   put gData["settings"] into tSettings
   put arrayEncode(tSettings) into tSettings
   put tSettings into url ("binfile:")
end updateSettings

on clearSettings
   put gData["paths"]["settings"] into tPath
   if there is a file tPath then delete file tPath
end clearSettings

___
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: Anyone willing to share a basic webpage template for LC HTML5 apps?

2020-05-13 Thread Terry Judd via use-livecode
Hi - I've got a couple of HTML5 apps that I want to deploy to students at my 
uni and was wondering if anyone had a fairly basic starting webpage that I 
could use rather than the one that LC generates automatically.

If possible I'm looking to lose  the elements in the top section (LC logo, 
resize canvas and lock/hide mouse pointer checkboxes and the fullscreen button) 
and just retain a basic download indicator. There is also a debug? section that 
appears below the canvas that I would like to remove if possible.

My actual HTML skills are rudimentary at best so I'm reluctant to try editing 
the LC generated html file and the 'skeleton' page that is mentioned in the 
HTML5 deployment guide (via the dictionary) seems a bit too basic as it has no 
loader.

If anyone has a template page that they would be willing to share I'd be very 
grateful.

BTW, I have a HTML5 license so I think I'm ok to drop off the LC logo and links.

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: FormattedHeight

2020-05-02 Thread Terry Judd via use-livecode
Could you use a browser instance instead of a field?

On 03/05/2020, 03:27, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

I think the solution has to be in the engine. I'm in trouble.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 2, 2020 2:27:53 AM scott--- via use-livecode 
 wrote:

> I’ve run into that a few times but not recently. I couldn’t find anywhere 
> that I had worked around it. All I can imagine trying is
> 1. Swapping text in and out at some point (possibly just one giant 
stutter) or
> 2. Changing the size of the text that is not visible during the scroll… 
> though (the more I think about that one the more it seems like it would 
> make the scroll wacky in other ways)  Neither seems super-promising but 
> that’s all I can think of at the moment. If you find a solution, I would 
> love to know what it is.
> —
> Scott
>
>
>> On May 1, 2020, at 10:24 PM, J. Landman Gay via use-livecode 
>>  wrote:
>>
>> Yes, that seems to be the problem. I have a long text field that exceeds 
>> the maximum. There's an enclosing group to be compatible with 
>> acceleratedRendering on mobile. The same setup is used for all the 
>> field/group combinations in the stack and they all work except this one, 
>> but the others are all shorter.
>>
>> I set the inner field to its full formattedHeight inside the group, 
which 
>> is shorter. The group has a behavior that scrolls the content.
>>
>> I discovered today that if I set the behavior on the field instead of 
its 
>> enclosing group, I can make it scroll. But acceleratedRendering on a 
field 
>> is jerky and doesn't work very well on mobile. I can't break up the 
text, 
>> it has to be all one block. I have tried setting the group to container 
>> layermode without success.
>>
>> If you're wondering why the text exceeds the maximum, this is for a 
mobile 
>> app and there is not only a lot of heavy formatting with large headings 
and 
>> spaceBelow, but the text size is largish so that it is readable on a 
tiny 
>> phone. That makes the pixel count pretty high.
>>
>> I only have a very short time left to solve this.
>>
>> On 5/1/20 4:45 PM, scott--- via use-livecode wrote:
>>> Are you exceeding the maximum vertical scroll?
>>> (I haven’t run into this recently but I believe at one point the 
vScroll of 
>>> groups was limited at the engine level to 32780)
>>> Scott Morrow
>>> Elementary Software
>>> (Now with 20% less chalk dust!)
>>> web   https://elementarysoftware.com
>>> email sc...@elementarysoftware.com
>>> booth1-800-615-0867
>>> --
 On May 1, 2020, at 1:17 PM, J. Landman Gay via use-livecode 
  wrote:

 Is the formattedHeight of a group broken for anyone else? LC 9.6dp4 
(and 
 possibly dp3).

 I'm a little frantic.

 --
 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
>>
>>
>> --
>> 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: DataGrid question...

2020-03-29 Thread Terry Judd via use-livecode
This is rough but sort of works...

on selectionChanged
   set the itemDel to tab
   put word 2 of the selectedLine into tRow
   put word 2 of the selectedChunk into nChar
   put length(line 1 to tRow-1 of me) into tStart
   put char tStart+2 to nChar of me into tText
   put the number of items in tText into tCol
   put tRow&
end selectionChanged

On 30/3/20, 2:57 pm, "use-livecode on behalf of Pi Digital via use-livecode" 
 wrote:

Ah Bob. You misunderstand. We are asking in reference to the table field, 
not DG. Finding the index in data grid is very easy indeed. In a table field,  
it so much as I was to understand. But apparently there is some magic I’ve 
missed somewhere and perhaps I’m the only one. Do you know what it is? 

Sean Cole
Pi Digital


> On 30 Mar 2020, at 04:40, Bob Sneidar via use-livecode 
 wrote:
> 
> on mouseUp
>   put the mouseControl into tControl
>   put the long id of tControl into tID
>   put the short name of tControl into tName
> end mouseUp
> 
> The short name will reveal the column number. The dgHilitedLine will give 
you the line. 
> 
>> On Mar 29, 2020, at 8:37 PM, Bob Sneidar via use-livecode 
 wrote:
>> 
>> The mouseControl!
>> 
>> Bob S
>> 
>> On Mar 29, 2020, at 8:35 PM, Pi Digital via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> Hi Jerry
>> 
>> Thanks for the heads up about Bernd’s code. But I was interested in 
learning how to get the cell index of a table field when clicked as we are told 
it was solved a ‘long time’ ago. That makes it seem that it is general 
knowledge and I’m a dunce for not being aware of it (which is very possible). 
If you’ve got any pointers you know of that can steer me right I’d appreciate 
it.
>> 
>> Sean Cole
>> Pi Digital
>> 
>> ___
>> 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


Re: Hide stack change focus not supported 64bit

2020-03-29 Thread Terry Judd via use-livecode
You can certainly use AS to query the frontmost application but I'm guessing as 
soon as you click the button in your app then your app is it. You can also 
query the application processes - if they are sorted in order from frontmost to 
'rearmost' then maybe you could tell the second process in the list to come to 
the front?

Terry...

On 30/3/20, 9:39 am, "scott--- via use-livecode" 
 wrote:

This sounds like something AppleScript might be able to solve…


> On Mar 29, 2020, at 3:01 PM, Bill Vlahos via use-livecode 
 wrote:
> 
> Mark,
> 
> OK. That makes sense and matches the behavior as my window does hide.
> 
> However, the Mac doesn’t give any window the focus. My application 
doesn’t really hide. It just closes the window but staying as the frontmost 
application.
> 
> I need my whole application to hide to give the target window which had 
focus before I clicked the button on my floating window after it hides itself. 
> 
> Bill
> 
>> On Mar 29, 2020, at 2:43 PM, Mark Wieder via use-livecode 
 wrote:
>> 
>> On 3/29/20 2:17 PM, Bill Vlahos via use-livecode wrote:
>> 
>>> The documentation in 9.5.1 says that hide stack is not supported in 
64bit. What is the alternative for MacOS X 64bit to temporarily hide my 
application?
>> 
>> 
>> Er... no. The documentation says
>> 
>> Additionally QuickTime does not include 64 bit support and therefore can 
not be supported on OS X 64 bit builds of LiveCode.
>> 
>> So the hide command works as expected unless you try to use the QT 
modifications.
>> 
>> -- 
>> Mark Wieder
>> ahsoftw...@gmail.com
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
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: Powerpoint to LiveCode

2020-03-02 Thread Terry Judd via use-livecode
Hi Paul - I haven't done it although I have gone the other way, creating 
content/media with LiveCode and merging it (text, images, audio files) into a 
PPT template file (which is then converted to Keynote and exported as a video). 
Anyway, getting access to the screen content/media for each PPT screen is like 
you say relatively straightforward, not sure about parsing the slideX.xml files 
once you get it into an LC array though, like most MS generated files that 
structure looks very messy.

Terry...

On 3/3/20, 12:29 pm, "use-livecode on behalf of Paul Dupuis via use-livecode" 
 wrote:

Hi Rick,

Powerpoint can export to HTML, and while I have not looked at Keynote's 
HTML export, I think you would be just trading one problem at file 
parsing for another. Tools like PowerPoint and Keynote export to HTML 
with CSS, so you can't just:

set the htmlText of field x to URL tPresentationFile

You'd still have to parse the HTML/CSS into something LiveCode can 
understand.

Again, I know how to do this. My questions is: Has someone already done 
it or even part of it?


On 3/2/2020 7:39 PM, Rick Harrison via use-livecode wrote:
> Hi Paul,
>
> If you had access to a Mac you could import
> your Powerpoint presentation to Keynote, make
> whatever changes you want and then Export it
> as HTML. It’s really cool how it works.
>
> Keynote can also Export to Powerpoint too, as
> well as PDFs.
>
> Then import into LiveCode?
>
> Just my 2 cents.
>
> Rick
>
>> On Mar 2, 2020, at 4:04 PM, Paul Dupuis via use-livecode 
 wrote:
>>
>> Out of curiosity, has anyone created a library that will import  - the 
parts of a Powerpoint presentation that can be recreated in Livecode -  into a 
LiveCode stack?
>>
>> Of course .pptx files are actuall just ZIP archives with assorted XML 
files inside, while there is a path to importing .pptx files, it is not simple. 
Use revZIP to open the .pptx file, use revXML (or your howm grown xml parser) 
to extract the XML for each slide (each a separate file in the archive) and 
rectreate those slide elements support in LiveCode.
>>
>> So, I know HOW to do it.
>>
>> I am asking if any one has already built such a library (or even started 
it)?
>>
>> ___
>> 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


Re: Nested numeric lists that include number of parent list item

2020-02-11 Thread Terry Judd via use-livecode
Yeah, this isn't helpful either, but while we're on the shortcomings of ordered 
lists in Livecode if you render an alphabetically ordered list using htmlText 
then it is rendered as lowercase irrespective of whether you specify type='A' 
or type='a'. The only way to guarantee that it is right is to explicitly set 
the listStyle to 'upper latin' (or whatever).

Terry...

On 12/2/20, 3:13 pm, "use-livecode on behalf of Trevor DeVore via 
use-livecode"  wrote:

On Tue, Feb 11, 2020 at 7:11 PM Niggemann, Bernd via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I am not aware that listStyle decimal can show other then 1. No further
> sub numbering.
>
> However one could hack it. Although I know you are not particularly fond
> of those hacks...
>
> The code assumes that the listStyle of a field is set (any) will be "skip"
> afterwards and list depth is also set.
>

Thanks for the suggestion Bernd. I appreciate you taking the time. You are
right though, I'm not particularly fond of hacks in the field control when
the field is being used as a text editor (which is my use case).

Here is the reason why. When writing a text editor it doesn't take long for
the hacks to get out of hand and you end up with a control that becomes
hard to add features to and hard to perform maintenance on. In addition,
the field stops behaving or looking the way a user expects a text editor to
work. For example, if I were to add the hack for displaying nested numeric
lists I would need to add a hack for keeping track of other list styles the
user might select elsewhere in the field. I would also have to deal with
incorrect indentation for multi-line list items because the text would
appear flush with the list numbers. Then I would need to add a hack to
handle deletion of characters properly since the numbers are part of the
actual text rather than an ornament that is added by the engine. There is
this ripple effect which always makes me wish I hadn't implemented the hack
:-)

-- 
Trevor DeVore
ScreenSteps
www.screensteps.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: IOS scroller

2020-01-20 Thread Terry Judd via use-livecode
No, but thanks for pointing us in the right direction Brian.

Best regards,

Terry...

On 21/1/20, 11:06 am, "use-livecode on behalf of Brian Milby via use-livecode" 
 wrote:

Have you looked at the new data grid code?  They had to tackle the same 
problem.

Thanks,
Brian
On Jan 20, 2020, 6:45 PM -0500, Terry Judd via use-livecode 
, wrote:
> I spent a lot of time trying to do this on iOS and gave up (I was working 
with a per day calendar style scrolling object that you would swipe to change 
days). It worked some/most of the time but like you say, scrolling seems to 
override everything else. I even tried disabling scrolling until you had worked 
out whether you were scrolling or swiping but that was a dead end as well. 
Sorry - that's not very helpful though.
>
> Terry...
>
> On 21/1/20, 10:24 am, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:
>
> On 1/19/20 2:23 PM, J. Landman Gay via use-livecode wrote:
> > I'm using a native scroller for both Android and iOS. I track the
> > mouseDown position and the mouseUp position to see if the swipe is
> > vertical or horizontal. Vertical causes a scroll, horizontal is a swipe.
> > This works on Android.
> >
> > On iOS the mouseDown isn't registered fast enough and swiping doesn't
> > work unless you hold down for a second before continuing the swipe. I
> > think this must be related to the iOS-only properties delayTouches
> > and/or canCancelTouches but I've tried combinations of both without
> > success.
>
> Plodding through my own issues today: the above is marginally
> inaccurate. Swiping horizontally does work but only if the scroller is
> absolutely still. If you swipe even slightly upward (but mostly
> horizontal) it acts like a vertical scroll. One of those scroller
> properties I mentioned should be preventing that, right?
>
> --
> 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



___
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: IOS scroller

2020-01-20 Thread Terry Judd via use-livecode
I spent a lot of time trying to do this on iOS and gave up (I was working with 
a per day calendar style scrolling object that you would swipe to change days). 
It worked some/most of the time but like you say, scrolling seems to override 
everything else. I even tried disabling scrolling until you had worked out 
whether you were scrolling or swiping but that was a dead end as well. Sorry - 
that's not very helpful though.

Terry...

On 21/1/20, 10:24 am, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

On 1/19/20 2:23 PM, J. Landman Gay via use-livecode wrote:
> I'm using a native scroller for both Android and iOS. I track the 
> mouseDown position and the mouseUp position to see if the swipe is 
> vertical or horizontal. Vertical causes a scroll, horizontal is a swipe. 
> This works on Android.
> 
> On iOS the mouseDown isn't registered fast enough and swiping doesn't 
> work unless you hold down for a second before continuing the swipe. I 
> think this must be related to the iOS-only properties delayTouches 
> and/or canCancelTouches but I've tried combinations of both without 
> success.

Plodding through my own issues today: the above is marginally 
inaccurate. Swiping horizontally does work but only if the scroller is 
absolutely still. If you swipe even slightly upward (but mostly 
horizontal) it acts like a vertical scroll. One of those scroller 
properties I mentioned should be preventing that, right?

-- 
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: mobile dev confusion

2019-12-28 Thread Terry Judd via use-livecode
Worth trying again I reckon - the Android Virtual Device Manager in Android 
Studio plays very nicely with LC now.

Terry...

On 29/12/19, 10:27 am, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

I remember Panos mentioning that one of the primary reasons for including 
X86 was so we could use the faster emulator. I know I stopped using the 
emulator years ago because it was too slow to be useful.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 28, 2019 4:05:11 PM JJS via use-livecode 
 wrote:

> So in fact the only great thing now for x86 and x86-64 is the high speed
> emulator.
>
> Makes it strange right, there are almost no x86 or x86-64 real phones,
> but in Android Studio you see as of Android 8 and up only x86 system
> images and no ARM at all.
>
>
> I don't get it, where is the logic behind this.
>
>
>
> Op 28-12-2019 om 20:48 schreef J. Landman Gay via use-livecode:
>> Actually after some research, I've decided not to bother with x86
>> builds. There are only one or two models that support it and those are
>> very old. The current user base is a fraction of one percent according
>> to some charts. Support for x86 chips on mobile devices apparently was
>> dropped some years ago.
>>
>> One stackOverflow comment implied that x86 would be useful if we
>> wanted to support Chromebooks, but those machines work well with
>> 32-bit Android apps and LC doesn't officially support Chromebooks anyway.
>>
>> If anyone has other info, hopefully they'll chime in here.
>>
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> On December 28, 2019 12:14:29 PM Tom Glod via use-livecode
>>  wrote:
>>
>>> I'm so relieved. Thank you.
>>>
>>> It didn't make sense to me, but I saw no explanation about that part
>>> of it
>>> anywhere.
>>>
>>> Full speed ahead. (ish)
>>>
>>> I am struggling a bit getting it to work in the emulator it seems
>>> like
>>> I can only do ARM architecture on V7 or below in the emulator. And using
>>> an X86 emulator gives me the "NO_MATCHING_ABM" error when I hit test.
>>>
>>> But at least there are no permanent obstacles.
>>>
>>> :) Thanks again.
>>>
>>> On Sat, Dec 28, 2019 at 11:47 AM J. Landman Gay via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>>
 LC uses the SDK primarily for its build tools, which allow the IDE to
 create standalones for Android. The SDK does not affect the versions of
 Android your app will require. For years we built apks using SDK 6, and
 apps built using those tools still run on Android 10 today.

 A while back the SDK 6 build tools no longer worked with the current
 version of LC and we had to update to SDK 8 for compatibility. I am
 building apks with that SDK that run on all versions of Android from
 4.x
 on
 up to 10.

 The Android versions you want to support are set in standalone
 settings.
 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software | http://www.hyperactivesw.com
 On December 27, 2019 8:37:23 PM Tom Glod via use-livecode
  wrote:

 > Hi folks, I'm following this tutorial
 >
 >
 http://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio
 >
 > and i've installed android 8.0 SDK as specified 
 >
 > the distribution chart says that only 6% of devices have this
 version of
 > android.
 >
 > Does this mean only 6% of devices will be able to correctly
 install my
 > application?
 >
 > ?
 >
 > --
 > Tom Glod
 > Founder & Developer
 > MakeShyft R.D.A (www.makeshyft.com)
 > Office:226-706-9339
 > Mobile:226-706-9793
 > ___
 > 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

>>>
>>>
>>> --
>>> Tom Glod
>>> Founder & Developer
>>> MakeShyft R.D.A 

Re: LC #48 @TIOBE

2019-12-10 Thread Terry Judd via use-livecode
TIOBE is obviously measuring a bunch of other things and assigning a fair bit 
of weight to them - if you compare the Trends data for RUST (#31/0.37%) and 
LiveCode (#48/0.18%) it's chalk and cheese...

https://trends.google.com/trends/explore?q=%2Fm%2F0490j1,%2Fm%2F0dsbpg6


On 11/12/19, 12:55 pm, "use-livecode on behalf of Mark Wieder via 
use-livecode"  wrote:

On 12/10/19 5:25 PM, J. Landman Gay via use-livecode wrote:
> Armenia?

I see a steady 50% linear decrease in interest over the last five years.
That can't be good.

-- 
  Mark Wieder
  ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC #48 @TIOBE

2019-12-10 Thread Terry Judd via use-livecode
Very similar results just with 'livecode' as the search term...

https://trends.google.com/trends/explore?date=today%205-y=%2Fm%2F0490j1,Livecode

...and the LiveCode website is the first search result on Google and the 
Wikipedia page on LiveCode the second so it would seem to be a reasonable 
approximation of general search interest. Might be interesting to do 
comparative Trends searches of some of the other languages just above LC on the 
TIOBE index to see how they fare.

Interestingly, Armenia doesn't rate a mention with livecode as a search term 
(vs livecode as a programming language).

On 11/12/19, 12:26 pm, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

Armenia?

There's also a livecode programming method, I wonder if that's conflated.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 10, 2019 6:37:17 PM Terry Judd via use-livecode 
 wrote:

> Some contrasting data...
>
> https://trends.google.com/trends/explore?date=today%205-y=%2Fm%2F0490j1
>
> ?On 11/12/19, 10:17 am, "use-livecode on behalf of Bob Sneidar via 
> use-livecode"  use-livecode@lists.runrev.com> wrote:
>
>Nothing in space and time is linear. ;-)
>
>Bob S
>
>
>> On Dec 7, 2019, at 18:20 , Richard Gaskin via use-livecode 
> wrote:
>>
>> LiveCode has moved up to #48 on the TIOBE Index of programming 
language 
>popularity:
>>
>> https://www.tiobe.com/tiobe-index/
>>
>> It's too early to tell if this upward ranking is due to reductions 
in 
>other languages or an actual trend with LC, but given that LC was #50 
in 
>October this seems a positive sign.
>>
>> Highlights from this month's index:
>>
>> - 1/3 as popular as Scratch
>>
>> - More than half as popular as Lua
>>
>> - 2/3 as popular as PowerShell
>>
>> - Surpassed Prolog, awk, bash, 4D, Clojure, WebAssembly, Erlang
>>
>> - Xojo, once seen as a competitor years ago, not even on the list
>>
>> --
>> Richard Gaskin
>> Fourth World Systems
>
>
>___
>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


Re: LC #48 @TIOBE

2019-12-10 Thread Terry Judd via use-livecode
Some contrasting data...

https://trends.google.com/trends/explore?date=today%205-y=%2Fm%2F0490j1

On 11/12/19, 10:17 am, "use-livecode on behalf of Bob Sneidar via 
use-livecode"  wrote:

Nothing in space and time is linear. ;-)

Bob S


> On Dec 7, 2019, at 18:20 , Richard Gaskin via use-livecode 
 wrote:
> 
> LiveCode has moved up to #48 on the TIOBE Index of programming language 
popularity:
> 
> https://www.tiobe.com/tiobe-index/
> 
> It's too early to tell if this upward ranking is due to reductions in 
other languages or an actual trend with LC, but given that LC was #50 in 
October this seems a positive sign.
> 
> Highlights from this month's index:
> 
> - 1/3 as popular as Scratch
> 
> - More than half as popular as Lua
> 
> - 2/3 as popular as PowerShell
> 
> - Surpassed Prolog, awk, bash, 4D, Clojure, WebAssembly, Erlang
> 
> - Xojo, once seen as a competitor years ago, not even on the list
> 
> -- 
> Richard Gaskin
> Fourth World Systems


___
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: iOS simulator not responding

2019-11-26 Thread Terry Judd via use-livecode
Great! I have a vague memory of trying to have a transparent entry field so 
that it could show some faint placeholder text when empty then change to opaque 
when any text was entered, and not being able to get it to work.

Terry...

On 27/11/19, 2:39 pm, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

Found it, it was the alpha. When I leave that out, it displays, is 
editable, and works.

Thank you!

On 11/26/19 8:16 PM, Terry Judd via use-livecode wrote:
> I primarily use single line input fields on my apps' login screens. 
Here's what I do for a password field - for a 'normal' field I just change the 
'contentType' to 'plain'.
> 
> mobileControlCreate "input", pControlName
> mobileControlSet pControlName, "rect", the rect of pObj
> mobileControlSet pControlName, "opaque", true
> mobileControlSet pControlName, "visible", true
> mobileControlSet pControlName, "contentType", "password"
> mobileControlSet pControlName, "borderStyle", "bezel"
> mobileControlSet pControlName, "fontSize", "18"
> mobileControlSet pControlName, "textAlign", "left"
> mobileControlSet pControlName, "returnKeyType", "default"
> mobileControlSet pControlName, "autoCorrectionType", "no"
> mobileControlSet pControlName, "autoCapitalizationType", "none"
> mobileControlSet pControlName, "keyboardStyle", "alert"
> 
> HTH,
> 
> Terry...
> 
> On 27/11/19, 1:00 pm, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:
> 
>  Thanks Terry. I keep finding new things. It turns out my multiline 
fields
>  are working, but the single input ones do not. Very strange.
>  
>  Do you have single line inputs?
>  
>  --
>  Jacqueline Landman Gay | jac...@hyperactivesw.com
>  HyperActive Software | http://www.hyperactivesw.com
>  On November 26, 2019 5:26:05 PM Terry Judd via use-livecode
>   wrote:
>  
>  > Not sure if it will help, but here's the code I use to create a 
multiline
>  > text control (pControlName) on iOS that 'overlays' an existing LC 
field (pObj)
>  >
>  > # create a native multiline text control
>  > put the rect of pObj into tRect
>  > # shrink the rect by 1 pixel all around to reveal the object's 
border
>  > add 1 to item 1 of tRect
>  > add 1 to item 2 of tRect
>  > add -1 to item 3 of tRect
>  > add -1 to item 4 of tRect
>  > mobileControlCreate "multiline", pControlName
>  > mobileControlSet pControlName, "rect", tRect
>  > mobileControlSet pControlName, "opaque", true
>  > mobileControlSet pControlName, "visible", true
>  > mobileControlSet pControlName, "contentType", "plain"
>  > mobileControlSet pControlName, "fontSize", "18"
>  > mobileControlSet pControlName, "textAlign", "left"
>  > mobileControlSet pControlName, "returnKeyType", "default"
>  > mobileControlSet pControlName, "autoCorrectionType", "default"
>  > mobileControlSet pControlName, "autoCapitalizationType", 
"sentences"
>  > mobileControlSet pControlName, "keyboardStyle", "default"
>  >
>  > You use 'editable' and 'enabled' as parameters for 
mobileControlSet but I
>  > don't use either of those. I use 'opaque' but you don't because 
you are
>  > after a transparent effect - I wonder whether 'opaque' can be used 
in
>  > conjunction with 'alpha' though?
>  >
>  > Terry...
>  >
>  >
>  > ?On 27/11/19, 6:46 am, "use-livecode on behalf of J. Landman Gay 
via
>  > use-livecode"   > use-livecode@lists.runrev.com> wrote:
>  >
>  >I have reduced the problem to iOS input fields. Some testing 
shows that:
>  >
>  >* The native fields exist
>  >* Their rect is correct
>  >* If I script their text data, it is there and can be retrieved
>  >
>  >But they are inactive, can't be tapped, don't show any text 
even if its
>  >entry is scripted, 

Re: iOS simulator not responding

2019-11-26 Thread Terry Judd via use-livecode
I primarily use single line input fields on my apps' login screens. Here's what 
I do for a password field - for a 'normal' field I just change the 
'contentType' to 'plain'.

mobileControlCreate "input", pControlName
mobileControlSet pControlName, "rect", the rect of pObj
mobileControlSet pControlName, "opaque", true
mobileControlSet pControlName, "visible", true
mobileControlSet pControlName, "contentType", "password"
mobileControlSet pControlName, "borderStyle", "bezel"
mobileControlSet pControlName, "fontSize", "18"
mobileControlSet pControlName, "textAlign", "left"
mobileControlSet pControlName, "returnKeyType", "default"
mobileControlSet pControlName, "autoCorrectionType", "no"
mobileControlSet pControlName, "autoCapitalizationType", "none"
mobileControlSet pControlName, "keyboardStyle", "alert"

HTH,

Terry...

On 27/11/19, 1:00 pm, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

Thanks Terry. I keep finding new things. It turns out my multiline fields 
are working, but the single input ones do not. Very strange.
    
    Do you have single line inputs?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On November 26, 2019 5:26:05 PM Terry Judd via use-livecode 
 wrote:

> Not sure if it will help, but here's the code I use to create a multiline 
> text control (pControlName) on iOS that 'overlays' an existing LC field 
(pObj)
>
> # create a native multiline text control
> put the rect of pObj into tRect
> # shrink the rect by 1 pixel all around to reveal the object's border
> add 1 to item 1 of tRect
> add 1 to item 2 of tRect
> add -1 to item 3 of tRect
> add -1 to item 4 of tRect
> mobileControlCreate "multiline", pControlName
> mobileControlSet pControlName, "rect", tRect
> mobileControlSet pControlName, "opaque", true
> mobileControlSet pControlName, "visible", true
> mobileControlSet pControlName, "contentType", "plain"
> mobileControlSet pControlName, "fontSize", "18"
> mobileControlSet pControlName, "textAlign", "left"
> mobileControlSet pControlName, "returnKeyType", "default"
> mobileControlSet pControlName, "autoCorrectionType", "default"
> mobileControlSet pControlName, "autoCapitalizationType", "sentences"
> mobileControlSet pControlName, "keyboardStyle", "default"
>
> You use 'editable' and 'enabled' as parameters for mobileControlSet but I 
> don't use either of those. I use 'opaque' but you don't because you are 
> after a transparent effect - I wonder whether 'opaque' can be used in 
> conjunction with 'alpha' though?
>
> Terry...
>
>
> ?On 27/11/19, 6:46 am, "use-livecode on behalf of J. Landman Gay via 
> use-livecode"  use-livecode@lists.runrev.com> wrote:
>
>I have reduced the problem to iOS input fields. Some testing shows 
that:
>
>* The native fields exist
>* Their rect is correct
>* If I script their text data, it is there and can be retrieved
>
>But they are inactive, can't be tapped, don't show any text even if its
>entry is scripted, can't be typed into, can't be focused. They act like
>they are invisible.
>
>Here is what I do to create them. This is a generic handler that 
creates
>all input fields throughout the app, and it works fine on Android.
>Usually I call it like this: createInputFld "email". The other params
>are used only occasionally.
>
>command createInputFld pName,pReturnKey,pMultiline -- native 
single-line
>input
>   -- pName = any valid fld identifier (long name, ID, etc)
>   -- pReturnKey = return key type, usually "search"
>   -- pMultiline = boolean, whether to create a multi-line input
>   put (the rect of control pName) into tRect
>   subtract 10 from item 2 of tRect -- adjust for mobile
>   add 10 to item 4 of tRect -- may not need for iOS
>   if pMultiLine = true then
> mobileControlCreate "multiline", pName
>   else
> mobileControlCreate "input", pName
>   end if
>   mobileControlSet pName, "rect", tRect
>   mobileControlSet pName, "auto

Re: iOS simulator not responding

2019-11-26 Thread Terry Judd via use-livecode
Not sure if it will help, but here's the code I use to create a multiline text 
control (pControlName) on iOS that 'overlays' an existing LC field (pObj)

# create a native multiline text control
put the rect of pObj into tRect
# shrink the rect by 1 pixel all around to reveal the object's border
add 1 to item 1 of tRect
add 1 to item 2 of tRect
add -1 to item 3 of tRect
add -1 to item 4 of tRect
mobileControlCreate "multiline", pControlName
mobileControlSet pControlName, "rect", tRect
mobileControlSet pControlName, "opaque", true
mobileControlSet pControlName, "visible", true
mobileControlSet pControlName, "contentType", "plain"
mobileControlSet pControlName, "fontSize", "18"
mobileControlSet pControlName, "textAlign", "left"
mobileControlSet pControlName, "returnKeyType", "default"
mobileControlSet pControlName, "autoCorrectionType", "default"
mobileControlSet pControlName, "autoCapitalizationType", "sentences"
mobileControlSet pControlName, "keyboardStyle", "default"

You use 'editable' and 'enabled' as parameters for mobileControlSet but I don't 
use either of those. I use 'opaque' but you don't because you are after a 
transparent effect - I wonder whether 'opaque' can be used in conjunction with 
'alpha' though?

Terry...


On 27/11/19, 6:46 am, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

I have reduced the problem to iOS input fields. Some testing shows that:

* The native fields exist
* Their rect is correct
* If I script their text data, it is there and can be retrieved

But they are inactive, can't be tapped, don't show any text even if its 
entry is scripted, can't be typed into, can't be focused. They act like 
they are invisible.

Here is what I do to create them. This is a generic handler that creates 
all input fields throughout the app, and it works fine on Android. 
Usually I call it like this: createInputFld "email". The other params 
are used only occasionally.

command createInputFld pName,pReturnKey,pMultiline -- native single-line 
input
   -- pName = any valid fld identifier (long name, ID, etc)
   -- pReturnKey = return key type, usually "search"
   -- pMultiline = boolean, whether to create a multi-line input
   put (the rect of control pName) into tRect
   subtract 10 from item 2 of tRect -- adjust for mobile
   add 10 to item 4 of tRect -- may not need for iOS
   if pMultiLine = true then
 mobileControlCreate "multiline", pName
   else
 mobileControlCreate "input", pName
   end if
   mobileControlSet pName, "rect", tRect
   mobileControlSet pName, "autoCapitalizationType", "none"
   mobileControlSet pName, "autoCorrectionType", "no"
   mobileControlSet pName, "enabled", true
   mobileControlSet pName, "editable", true -- multiline only (?)
   mobileControlSet pName, "alpha", 0 -- transparent
   mobileControlSet pName, "textalign", the effective textalign of 
control pName
   mobileControlSet pName, "textColor", the effective textcolor of 
control pName
   if pReturnKey <> "" then mobileControlSet pName, "returnKeyType", 
pReturnKey -- usually "search"
   mobileControlSet pName, "visible", true
   if the platform contains "iPhone" then
 mobileControlSet pName, "borderStyle", "none"
 mobileControlSet pName, "clearButtonMode", "always"
   end if
end createInputFld

The fields on the first card are plain input fields, but I have a 
question about multiline fields. The docs are a bit confusing. I pass 
the parameter to Android and it does what I want. But I'm not clear 
whether that works on iOS. The docs say that multiline fields are 
applicable to both platforms, but mobileControlCreate info says it is 
Android only. There is also a separate iOS command to create a multiline 
field. How does all this work?

Multiline isn't applicable to the immediate issue, where I can't get 
past the first two plain input fields.

On 11/25/19 5:09 PM, J. Landman Gay via use-livecode wrote:
> Thanks Panos. Resetting didn't work, so now I'm wondering if it is 
> something about my LC native fields. The first thing the user needs to 
> do is log in, and I can't test beyond that until I can enter 
> credentials. There are two native fields, both are transparent. Would 
> transparency in iOS matter? They work on Android.
> 
> I forgot to mention that the only OS available in XCode 10.1 is iOS 12.1 
> but I assume that's okay.
> 
> On 11/25/19 4:11 PM, panagiotis merakos via use-livecode wrote:
>> Hello Jacque,
>>
>> So the iOS standalone is installed to the iOS simulator, but the 
>> simulator
>> does not respond to clicks / keyboard entry?
>>
>> I am on Mojave as well, but have not seen that happening.
>>
>> Maybe it is worth resetting the simulator 

Re: Slowdown when printing to PDF in a loop

2019-10-23 Thread Terry Judd via use-livecode
Hi Craig - nah, just tried and doesn't work in my situation. I'm creating 
multipage PDFs which requires the use of "print break" between each card, and 
if I don't "close printing" between reports the PDFs are corrupted (I suspect 
only one page of each reports gets printed and then something goes awry). I 
think I'll try automating a batch-based approach.

Thanks for the suggestion though.

Terry...

On 24/10/19, 7:16 am, "use-livecode on behalf of dunbarx--- via use-livecode" 
 wrote:

Terry.
Do this. Should be instantaneous:
on mouseUprepeat with y = 1 to 5put yourPathName && y into jobPathopen 
printing to pdf (jobPath & ".pdf")print this cardend repeatclose printingend 
mouseUp
You should get five PDF's in a flash.
Craig

    -----Original Message-
From: Terry Judd via use-livecode 
To: How to use LiveCode 
Cc: Terry Judd 
Sent: Wed, Oct 23, 2019 2:58 pm
Subject: Re: Slowdown when printing to PDF in a loop

Hi Craig - yes, I open and close printing for each report. I might be wrong 
(I’ve been using variations of the same printing routine for ages) but I seem 
to recall that I was unable to successfully or reliably create separate reports 
unless I closed printing after each one.

Terry...

Sent from my iPad

> On 24 Oct 2019, at 12:53 am, dunbarx--- via use-livecode 
 wrote:
> 
> Hi.
> Are you repeatedly using "open printing to PDF"?
    > Craig
    > 
> 
> -Original Message-
> From: Terry Judd via use-livecode 
> To: use-livecode@lists.runrev.com 
> Cc: Terry Judd 
> Sent: Tue, Oct 22, 2019 9:11 pm
> Subject: Slowdown when printing to PDF in a loop
> 
> I'm printing a whole bunch of PDFs (multipage feedback reports generated 
by populating a series of cards with individualised data - mix of text and 
graphics) and it starts off fast and then inevitably slows down - a lot. While 
it might start off printing say 14 reports per minute after a few minutes it's 
down to only 2 or 3. When you're printing 350 reports that obviously takes some 
time. I'm wondering whether there is something I can try to 'clear the pipes' 
every few minutes to speed the process up a bit? I've had some success in the 
past splitting the data up into batches and looping through one batch at a time 
but it would be great (or at least simpler) not having to do that.
> 
> Any ideas? I'm on a Mac BTW, so I'm not sure whether this is a 
cross-platform issue. LC 9.0.5.
> 
> 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
> 
___
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: Slowdown when printing to PDF in a loop

2019-10-23 Thread Terry Judd via use-livecode
Hi Craig - yes, I open and close printing for each report. I might be wrong 
(I’ve been using variations of the same printing routine for ages) but I seem 
to recall that I was unable to successfully or reliably create separate reports 
unless I closed printing after each one.

Terry...

Sent from my iPad

> On 24 Oct 2019, at 12:53 am, dunbarx--- via use-livecode 
>  wrote:
> 
> Hi.
> Are you repeatedly using "open printing to PDF"?
> Craig
> 
> 
> -----Original Message-
> From: Terry Judd via use-livecode 
> To: use-livecode@lists.runrev.com 
> Cc: Terry Judd 
> Sent: Tue, Oct 22, 2019 9:11 pm
> Subject: Slowdown when printing to PDF in a loop
> 
> I'm printing a whole bunch of PDFs (multipage feedback reports generated by 
> populating a series of cards with individualised data - mix of text and 
> graphics) and it starts off fast and then inevitably slows down - a lot. 
> While it might start off printing say 14 reports per minute after a few 
> minutes it's down to only 2 or 3. When you're printing 350 reports that 
> obviously takes some time. I'm wondering whether there is something I can try 
> to 'clear the pipes' every few minutes to speed the process up a bit? I've 
> had some success in the past splitting the data up into batches and looping 
> through one batch at a time but it would be great (or at least simpler) not 
> having to do that.
> 
> Any ideas? I'm on a Mac BTW, so I'm not sure whether this is a cross-platform 
> issue. LC 9.0.5.
> 
> 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
> 
___
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


Slowdown when printing to PDF in a loop

2019-10-22 Thread Terry Judd via use-livecode
I'm printing a whole bunch of PDFs (multipage feedback reports generated by 
populating a series of cards with individualised data - mix of text and 
graphics) and it starts off fast and then inevitably slows down - a lot. While 
it might start off printing say 14 reports per minute after a few minutes it's 
down to only 2 or 3. When you're printing 350 reports that obviously takes some 
time. I'm wondering whether there is something I can try to 'clear the pipes' 
every few minutes to speed the process up a bit? I've had some success in the 
past splitting the data up into batches and looping through one batch at a time 
but it would be great (or at least simpler) not having to do that.

Any ideas? I'm on a Mac BTW, so I'm not sure whether this is a cross-platform 
issue. LC 9.0.5.

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: Is there a command to display number of seconds as hrs:min:seconds?

2019-10-16 Thread Terry Judd via use-livecode
Not built-in but...

function formatRemainingTime pTime
   put trunc(pTime/3600) into tHours
   put pTime mod 3600 into tTimeX
   put trunc(tTimeX/60) into tMins
   put tTimeX mod 60 into tSecs
   if tHours < 10 then put "0" before tHours
   if tMins < 10 then put "0" before tMins
   if tSecs < 10 then put "0" before tSecs
   return tHours&":"&":"
end formatRemainingTime

On 17/10/19, 11:24 am, "use-livecode on behalf of Bill Vlahos via 
use-livecode"  wrote:

I’m writing a countdown timer application and want to display the remaining 
time not as the number of seconds but in the format of HR:MIN:SEC left.

For example 75 seconds would display as “0:1:15”.
130 seconds would display as “0:2:10”.

I know how to do the math to figure it out but I’m wondering if there is a 
built in function to do this.

Convert wants to deal with actual time so I would get something like 
“0:1:15 PM”.

Thanks,
Bill Vlahos
___
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: Give a bug a hug

2019-10-08 Thread Terry Judd via use-livecode
I feel like there are plenty of ways that a point system that avoids some of 
these issues with the previous one could be implemented - fewer total votes per 
person, single votes per bug only, no or reduced value votes for community 
users, forced re-allocation of votes on a regular basis...

Yep, comments are a useful measure too - give them a value as well, maybe even 
allow someone who has used up all their votes to 'mine' some new ones that way 
- I reckon it shows they are engaged and contributing.

Terry...

On 8/10/19, 4:34 pm, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

I think the politicking was a big factor in killing the voting system. I 
remember many times when people would post to the list, urging others to 
cast a vote for an issue so it would rise to the top. Those voters may 
never have seen the bug but it sounded important and they had a vote or two 
to spare.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 8, 2019 12:15:23 AM Richard Gaskin via use-livecode 
 wrote:

> Terry Judd wrote:
>
> > I'd totally forgotten about the Bugzilla voting system. I liked that
> > approach as well and agree that bringing it back could help both us
> > and LC to prioritise fixes.
>
> Voting is one of those things that has a certain ring of rightness about
> it (who doesn't love democracy?), and it's technically easy to do - so
> why not?
>
> It turns out that people are much more complicated than the systems we
> create. :)
>
> I had extensive discussion about the Bugzilla voting system with Kevin,
> Mark Waddingham, and others there at LiveCode Ltd., in response to the
> reactions many members of our community (including yours truly)
> expressed when the voting was removed from the bug DB.
>
> What I learned was that although it seems like a good idea, in practice
> it winds up being a less useful indicator of the "importance" of a bug
> than one might intuitively think.
>
> In dry terms, one of the issues with it is that it conflates two very
> different signals: one for the severity of a bug to the individual
> experiencing it, and another for the number of people affected by the bug.
>
> In practice, these are some of how it played out:
>
> If I happen to feel a bug is super important, but five others think it's
> merely worth reporting but isn't shutting down their work, my single
> five-vote click doubles the number of votes.  What does that mean?
>
> We know it doesn't mean ten people find it unimportant.  And it doesn't
> mean that two people find it extremely important.
>
> To fully understand exactly what a given tally score means requires
> looking at the vote distribution, and also at the individual voters and
> the details of their comments in the report.
>
> So if I feel like casting five votes against it there's no way to know
> whether I'm actually having an urgent need, or just having a mood to
> make a point about the age of the report, or any number of things. I
> might have also contributed a comment or example which could explain my
> intention, or no further information at all.
>
> And from time to time we may have a bug that's really critical, but so
> far seen by fewer people.  Such a report may have far fewer votes than
> one that has little harmful effect but has been seen more frequently.
>
> And then there are the times one of us will get particularly incensed
> about a pet issue (some of you may recall times I've done this myself),
> and we rant about it here and encourage votes for the pet issue.  I'm
> sure some of those votes were people who actually experienced the issue,
> but I'm equally sure some of those were just friendly people being
> supportive, and not votes that would have arrived there organically
> without the politicking.
>
> Give it some time and each of us can imagine other scenarios that muddy
> the clarity of that vote signal.
>
> By the time a developer working on the bug looks at the various aspects
> relevant to understanding what the vote tally really means, there's
> enough familiarity with the details that an assessment of priority can
> be made just as easily without it.
>
>
> There remains at least one element which could loosely be seen as a sort
> of voting: a bug's CC list.
>
> Usually an address will wind up there after that person has experienced
> the bug, searched the DB for it, and found that it had been reported.
> When that happens organically, the number of people subscribing to a bug
> can be a useful addition that, with the other details of the report,
> help the team evaluate priority.
>
> 

Re: Give a bug a hug

2019-10-07 Thread Terry Judd via use-livecode
On 8/10/19, 11:02 am, "use-livecode on behalf of Mark Wieder via use-livecode" 
 wrote:

Back in the old days LC/RR had a voting system on bugzilla. You had five 
votes you could allocate to bug reports, and this gave an indication of 
how many people were affected by a given bug. Since you have a limited 
number of votes, you get to select your Top Five - if a bug no longer 
affects you as much you can rescind that vote and allocate it to another 
report. I think reinstating this would be part of the solution.

But there's another quantitative ranking which has to come from the 
team, and that involves both bug severity and urgency/priority. I think 
with those three vectors of information (and perhaps a fourth, an 
estimate of the amount of work required to address the bug; although 
I've always hated to have to estimate that and end up being wildly 
optimistic) it might be possible to have a reasonable estimate of what 
it would take to get a given bug fixed.

I'd totally forgotten about the Bugzilla voting system. I liked that approach 
as well and agree that bringing it back could help both us and LC to prioritise 
fixes. I like your other suggestions as well. Hopefully the additional workload 
(for LC) to implement them would be manageable though and wouldn't place 
unnecessary additional strain on their bug fixing efforts ;)

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: Give a bug a hug

2019-10-07 Thread Terry Judd via use-livecode
These seem to be bounties for finding critical (mostly security-related) bugs 
rather than fixing them - hard to see large tech companies outsourcing their 
security fixes.

We already have an established system for reporting bugs, and LC are actively 
attending to fixing some/most of them. The problem (real or perceived) seems to 
be that either some bugs are left unattended for too long, or appear to attract 
such a low priority that they are effectively abandoned. Maybe a bounty system 
could work if LC were prepared to tag bugs all bugs with a priority level, with 
each level having an estimated fix time associated with it. This would provide 
us (as potential clients of bounty hunters) with a semi-objective indication of 
whether it was worth stumping up some cash for a quick fix or simply waiting 
for LC to act. More work for LC though, tagging bugs and updating those tags 
fairly regularly.

Terry...

On 8/10/19, 9:57 am, "use-livecode on behalf of Richard Gaskin via 
use-livecode"  wrote:

Bob Sneidar wrote:

 > What other software company shares the burden of bug fixing with
 > it's clientele?


Bug  bounties are pretty common.

https://www.guru99.com/bug-bounty-programs.html


https://gadgets.ndtv.com/internet/features/bug-bounty-hunters-and-the-companies-that-pay-them-820636


https://gadgets.ndtv.com/internet/features/bug-bounty-hunters-and-the-companies-that-pay-them-820636

-- 
  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



___
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 now #49 at TIOBE Index!

2019-10-05 Thread Terry Judd via use-livecode
Given that the rankings are based on search query frequencies and that Google 
searches seem to be the biggest contributor to the data they use I wonder why 
they don’t just do a series of Google Trends searches to come up with the 
relative rankings?

Terry...

Sent from my iPad

> On 6 Oct 2019, at 11:01 am, JB via use-livecode 
>  wrote:
> 
> Hi Mark,
> I just visited the link Richard provided and it shows the following;
> 
> It is important to note that the TIOBE index is not about the best 
> programming language or the language in which most lines of code have been 
> written.
> 
> The index can be used to check whether your programming skills are still up 
> to date or to make a strategic decision about what programming language 
> should be adopted when starting to build a new software system. The 
> definition of the TIOBE index can be found here 
> .
> 
> Basically the calculation comes down to counting hits for the search query.
> 
> JB
> 
> 
>> On Oct 5, 2019, at 3:59 PM, Mark Wieder via use-livecode 
>>  wrote:
>> 
>>> On 10/5/19 3:36 PM, Richard Gaskin via use-livecode wrote:
>>> 
>>> But this month LC broke new ground:
>>> For the first time since I've been tracking TIOBE, LC IS NOW IN THE UPPER 
>>> 50, ranked as the 49th most popular language:
>>> https://www.tiobe.com/tiobe-index/
>> 
>> Great news!, I think... note that the TIOBE rating is based on lines of code 
>> written, not popularity.
>> 
>> I'm not fond of metrics based on lines of code written. Since LiveCode packs 
>> so much power into a single statement vs the number of line of code it takes 
>> to do the same job in most other languages, I'd think that we're actually 
>> much higher in the standings than a simple quantitative statistic would 
>> indicate.
>> 
>> What did we knock out of place to get there? I see we're only 0.001% above 
>> Crystal, whatever that is.
>> 
>> -- 
>> Mark Wieder
>> ahsoftw...@gmail.com
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
___
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: LC apps on iOS 13?

2019-09-23 Thread Terry Judd via use-livecode
That should have read 'hoping' rather than 'assuming' I think ;)

On 23/9/19, 7:47 pm, "use-livecode on behalf of Terry Judd via use-livecode" 
 wrote:

I was assuming that LC apps would continue to run OK on iOS 13 but I've 
already received a report from a user with some pretty interesting error 
screens attached.

I recall we had some problems when iOS 12 came out because we are using an 
enterprise developer license to distribute outside of the app store - from 
memory the fix was to regenerate the app profile before building a new version 
of the app. This time around however the user is getting messages along the 
lines of "This app is currently not available in your country or region" and 
"You must purchase this app to install it" even though it is not and has never 
been distributed through the app store. Weird.

Any ideas?

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


LC apps on iOS 13?

2019-09-23 Thread Terry Judd via use-livecode
I was assuming that LC apps would continue to run OK on iOS 13 but I've already 
received a report from a user with some pretty interesting error screens 
attached.

I recall we had some problems when iOS 12 came out because we are using an 
enterprise developer license to distribute outside of the app store - from 
memory the fix was to regenerate the app profile before building a new version 
of the app. This time around however the user is getting messages along the 
lines of "This app is currently not available in your country or region" and 
"You must purchase this app to install it" even though it is not and has never 
been distributed through the app store. Weird.

Any ideas?

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: V9.5 may still have issues

2019-08-01 Thread Terry Judd via use-livecode
Thanks Mathias - I'll give that a try.

Terry...

On 1/8/19, 4:53 pm, "use-livecode on behalf of Matthias Rebbe via 
use-livecode"  wrote:


Matthias Rebbe

free tools for Livecoders:
InstaMaker <https://instamaker.dermattes.de/>
WinSignMaker Mac <https://winsignhelper.dermattes.de/>
> Am 01.08.2019 um 08:39 schrieb Terry Judd via use-livecode 
mailto:use-livecode@lists.runrev.com>>:
> 
> Can't say I've been experiencing too many crashes (I'm currently using 
9.0.4 and 9.5.0 dp1) but the problem where the breakpoint dots (and line 
numbers) don't keep up with or align with the appropriate script line seems to 
be a very common occurrence in 9.5 (haven't tried the 'stable' version of 9.5 
yet).
> 

Btw, if this happens here, i can fix it by pressing Tab to format the 
script  and all is aligned correctly again.

Matthias
> Terry...
> 
> On 1/8/19, 12:26 pm, "use-livecode on behalf of J. Landman Gay via 
use-livecode" mailto:use-livecode-boun...@lists.runrev.com> on behalf of 
use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>> wrote:
> 
>On 7/31/19 4:10 PM, Bob Sneidar via use-livecode wrote:e
>> I regularly crash to desktop about once every hour or two.
> 
>Only once an hour? ;)
> 
>Yeah, something is off.
> 
>-- 
>Jacqueline Landman Gay | jac...@hyperactivesw.com 
<mailto:jac...@hyperactivesw.com>
>HyperActive Software   | http://www.hyperactivesw.com 
<http://www.hyperactivesw.com/>
> 
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com <mailto: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 
<http://lists.runrev.com/mailman/listinfo/use-livecode>
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com <mailto: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: V9.5 may still have issues

2019-08-01 Thread Terry Judd via use-livecode
Can't say I've been experiencing too many crashes (I'm currently using 9.0.4 
and 9.5.0 dp1) but the problem where the breakpoint dots (and line numbers) 
don't keep up with or align with the appropriate script line seems to be a very 
common occurrence in 9.5 (haven't tried the 'stable' version of 9.5 yet).

Terry...

On 1/8/19, 12:26 pm, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

On 7/31/19 4:10 PM, Bob Sneidar via use-livecode wrote:e
> I regularly crash to desktop about once every hour or two.

Only once an hour? ;)

Yeah, something is off.

-- 
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: XML To Array

2019-07-02 Thread Terry Judd via use-livecode
So admittedly I have modified Trevor's code a bit (mainly so I don't get the @ 
symbols associated with parameters but also so that instead of ["someNode[1]"] 
I get ["someNode"][1],  but for me that XML snippet creates an array that looks 
like...

["combine"]["class"] = TV_show
["combine"]["sources"]["agent"][1] = com.plexapp.agents.none
["combine"]["sources"]["agent"][2]  = com.plexapp.agents.localmedia

...which seems ok?

Terry...

On 3/7/19, 9:17 am, "use-livecode on behalf of Mark Wieder via use-livecode" 
 wrote:


What are you hoping to get out of xml-to-array? Given that keys aren't 
guaranteed to be unique, I think what you're seeing there makes sense. 
Otherwise you'll stand the chance of losing data in translation. If you 
don't convert to a numeric form with a concordance, as Trevor has done, 
I don't see you you could possibly convert this xml to an array:


 
 com.plexapp.agents.none
 com.plexapp.agents.localmedia
 


-- 
  Mark Wieder
  ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Groups do not receive mouseEnter messages?

2019-06-24 Thread Terry Judd via use-livecode
Hi Paul - so, you could create a grc object the same size as the group, send it 
to the back and set its cantSelect property to true. That should give you the 
behaviour you want as well as preventing your user from selecting the 
'background' object in the group that switches to the pointer tool.

Terry...

On 25/6/19, 9:28 am, "use-livecode on behalf of Paul Dupuis via use-livecode" 
 wrote:

In LC9.0.5rc1 under Windows, I have a test stack with 2 opaque groups 
with show borders  - one covering the top half of the card and one 
covering the bottom half of the card. In side the top group are a couple 
buttons with plenty of white space around them and inside the bottom 
group are a couple of graphic objects with plenty of white space around 
them.

The buttons and graphics have no scripts (currently). Each group has an 
"on mouseEnter" handler that "choose browse tool" for the top group and 
"choose pointer tool" for the bottom group.  The simple idea being when 
the user moves the mouse into the bottom group, the pointer tool is 
chosen so they could click on and resize the graphics. And when the 
mouse enter the top group, the browse tool is chosen so the user can 
click on the buttons without selecting them.

Neither group seems to receive the mouseEnter messages. Instead, the 
groups mouseEnter handler is executed for the top group only when the 
mouse is moved over one of the buttons (which has no mouseEnter handler 
and so the message is passed to the group) and likewise, the bottom 
groups mouseEnter handler is executed only when the mouse is moved over 
one of the graphics.

Do GROUPs not receive mouseEnter directly? This seems like a bug?Or is 
there some trick (property settings) for a group to receive mouseEnter 
messages?

___
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

Seeking clarification on which Android versions to build against in LC 9.5.0 (dp 1)

2019-06-03 Thread Terry Judd via use-livecode
OK - so I'm trying out 9.5.0 (dp 1) and am loving the fact that we now have a 
functional emulator (I'm using Android Studio) that we can use to test Android 
apps. Thanks dev team! But, I'm not entirely clear which processors I need to 
build against in order to publish the app. I'm *not* distributing the app via a 
store but am instead just allowing users (students) to download and install it 
directly. In the past I just had to select to build against 'Android' but now 
there are 4 possible build options. I'm assuming that I can ignore both x86 
ones unless I am using the emulator, which leaves me with armv7 and arm64 (same 
as armv8?) to choose from. Do I need both, and if I do, how might I go about 
advising our students which one they should download and install?

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: [ANN] Release 9.0.4 RC-3

2019-05-01 Thread Terry Judd via use-livecode
OK, you're right. Seems like something went astray on that iPad when I restored 
it from a backup last week. I've just done a factory reset on it and my apps 
now install just fine under iOS 12.2.

Terry...

On 2/5/19, 8:39 am, "use-livecode on behalf of Terry Judd via use-livecode" 
 wrote:

Really? I ran into trouble a couple of days ago trying to install a couple 
of my apps onto an iPad that I had recently updated to iOS 12.2 and assumed it 
wasn't possible. LC 9.0.4 (rc2), Xcode 10.1.

Terry...

On 2/5/19, 12:49 am, "use-livecode on behalf of Ralph DiMola via 
use-livecode"  wrote:

I have no problem running LC apps on iOS 12.2 and submitting to store 
using Xcode 10.1(12.1 SDK)

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 Sannyasin Brahmanathaswami via use-livecode
Sent: Wednesday, May 01, 2019 9:11 AM
To: How to use LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Re: [ANN] Release 9.0.4 RC-3

Thanks to the team for the acceleratedRendering fix.

But we can't build for iOS 12.2.

So we are out of luck 

a) to test in our own iPhones
b) to go live to the AppleApp store.

Well anyway, if it works on Android, it has always worked on 
iPhone...I'll assume if it works on my Moto6, that we are good, for 
development. 

I am two weeks away from an interim release...I need to keep the two 
platforms in sync.

Any chance 9.0.3 RC4 for iOS 12.2. is around the corner?






 panagiotis merakos wrote:

We are pleased to announce the release of LiveCode 9.0.4 RC-3.



___
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

Re: [ANN] Release 9.0.4 RC-3

2019-05-01 Thread Terry Judd via use-livecode
Really? I ran into trouble a couple of days ago trying to install a couple of 
my apps onto an iPad that I had recently updated to iOS 12.2 and assumed it 
wasn't possible. LC 9.0.4 (rc2), Xcode 10.1.

Terry...

On 2/5/19, 12:49 am, "use-livecode on behalf of Ralph DiMola via use-livecode" 
 wrote:

I have no problem running LC apps on iOS 12.2 and submitting to store using 
Xcode 10.1(12.1 SDK)

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 Sannyasin Brahmanathaswami via use-livecode
Sent: Wednesday, May 01, 2019 9:11 AM
To: How to use LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Re: [ANN] Release 9.0.4 RC-3

Thanks to the team for the acceleratedRendering fix.

But we can't build for iOS 12.2.

So we are out of luck 

a) to test in our own iPhones
b) to go live to the AppleApp store.

Well anyway, if it works on Android, it has always worked on iPhone...I'll 
assume if it works on my Moto6, that we are good, for development. 

I am two weeks away from an interim release...I need to keep the two 
platforms in sync.

Any chance 9.0.3 RC4 for iOS 12.2. is around the corner?






 panagiotis merakos wrote:

We are pleased to announce the release of LiveCode 9.0.4 RC-3.



___
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: LC application running on lab computers

2019-03-28 Thread Terry Judd via use-livecode
How about specialFolderPath("temporary") ?

Terry...

On 28/3/19, 5:46 pm, "use-livecode on behalf of Peter Bogdanoff via 
use-livecode"  wrote:

I get "can't create that directory (13)”

The challenge is to write a pref file to a non-user directory so the file 
is available to all users in a lab setting.

Peter

> On Mar 27, 2019, at 11:36 PM, Richard Gaskin via use-livecode 
 wrote:
> 
> Peter Bogdanoff wrote:
> 
> > In attempting to create this folder in MacOS:
> >
> > put specialFolderpath("asup") & “/My Folder" into tURL
> >
> >  [which yields tURL: /Library/Application Support/My Folder ]
> >
> > create folder tURL
> >
> >  returns a result: can't create that directory
> >
> >
> > Why the error?
> 
> All file I/O is best accompanied with an error check. If that includes a 
call to sysError you'll see exactly what the OS is trying to tell you.
> 
>   create folder tURL
>   if the result is not empty then
>   answer the result &" ("& sysError() &")"
>   exit to top
>end if
> 
> 
> I'd wager permissions. /Library is a system folder. 
/Users//Library should be writable, though.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.com 
http://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 

___
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: Go in Window on Mobile / Not Obeying Purge?

2019-03-03 Thread Terry Judd via use-livecode
Haven't noticed any problems but the honest answer is that I don't know. How 
would you go about testing for issues?

Terry...

On 4/3/19, 5:28 am, "use-livecode on behalf of Richard Gaskin via use-livecode" 
 wrote:

Terry Judd wrote:

 > While there don't appear to be suspend or resume messages on mobile
 > you can sort of script your own resume message using a timer.

I had thought both iOS and Android would reclaim memory by closing 
backgrounded apps if needed.

Is that no longer the case?

Does the use of the timer prevent the OS from being able to manage its 
apps, perhaps similar to how LC on the desktop won't quit if timers are 
pending?

-- 
  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



___
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: Go in Window on Mobile / Not Obeying Purge?

2019-03-02 Thread Terry Judd via use-livecode
While there don't appear to be suspend or resume messages on mobile you can 
sort of script your own resume message using a timer. If the timer is updated 
regularly using a send in time approach then the send will be delayed while the 
app is in the background. If the interval between the current and previous 
timer update is longer than expected then the app has been suspended and 
resumed. Some example code below...

on updateSessionTimer pCmd
   if pCmd = "clear" then
  put empty into pSessionTimer
  put the pendingMessages into tPM
  filter tPM with "*updateSessionTimer*"
  repeat for each line tX in tPM
 cancel (item 1 of tX)
  end repeat
  exit updateSessionTimer
   end if
   if (pCmd = "reset") or (pSessionTimer is empty) then
  # initialise sessionTimer
  put seconds() into pSessionTimer
  send "updateSessionTimer" to me in 5 secs
   else
  put seconds() into tNow
  put tNow-pSessionTimer into tElapsed
  put tNow into pSessionTimer
  send "updateSessionTimer" to me in 5 secs
  if tElapsed > 10 then
 answer "resuming after suspend" ##
  end if
   end if
end updateSessionTimer


On 3/03/2019 4:10 am, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

On Android, if you leave the app, the OS will remove it from RAM if it 
needs the memory. It sounds like iOS is doing the same thing. Since 
SivaSiva is so big, memory may be tight enough to drop the puzzle stack 
when you come back to the app. It would depend on the RAM in the device.

I don't know of any resume messages, though I wish we had them.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On March 2, 2019 7:43:20 AM Sannyasin Brahmanathaswami via use-livecode 
 wrote:

> Good morning Richard
>
>"But just to clarify, the stack in question is a separate stack file, 
and
>not a substack of the one you're going to, yes?"
>
> @ Peter & Ralph
>
>  "inspectors still open for closed stack" -- that would be only 
desktop. But 
>  this is on mobile. In a standalone.
>
> I am seeing runtime changes to the UI -- a puzzle game, you can leave it 
> mid-way through the game, all the "tiles" left in a new location... go to 
> another stack, go third stack, and back to the puzzle. Tiles are still 
> where you left them So, we deem this a "bug"?  But... could be a possible 
> use case to leave it the way it is?
>
> Navigation is now using  a  "back" script call
>
> Lib_SivaSivaPortal.livecodescript
>
> Handler: portal_GoStack (trimmed version for this mail)
>
> command portal_GoStack cardOrStackObject
>
>   put the short name of this stack into oStackName
>
>   # cannot pass quotes to these strings or you will
>   # break the JSON, BR added utilities section to lib_SivaSiva
>
>   put removeQuotes(cardOrStackObject) into pTrackdata["contentTarget"]
>
>   if oStackName <> empty then # this is not the first run boot of portal
>  deleteAllMobileControls # will destroy all except audioPlayer
>   end if
>
>   set the acceleratedRendering of stack oStackName to false
>
>   if isMobile() then
>  go cardOrStackObject in stack oStackName
>
> else
>
> # desktop: does not work to go from portrait to landscape
> # hence:
>
>  close stack oStackName
>  go cardOrStackObject
>
>   end if
>
> end portal_GoStack
>
> It appears that a simple hack would be
>
> if isMobile() then
>  go cardOrStackObject in stack oStackName
>  close stack oStackName
> [snip]
>
> ... Which I tried... it works and does not affect performance.
>
> But the use case could be:
>
> 
> Put "wordpuzzles,journal,myTracking" into tNoCloseStacks
>
> if isMobile() then
>  go cardOrStackObject in stack oStackName
>   If oStackname notI(is among) items of tNoCloseStacks then
>   close stack oStackName
>   end if
> [snip]
>
> My puzzle fanatic users will love that! Users as the  "high end" - Level 
4 
> with 206-270 characters, (really hard!) means they can came back to it...
>
> but oops? On iOS, if leave the app, but don't close the app. And come 
back 
> to it, the puzzle reverts to the original, default save state. (no tiles, 
> waiting to choose "New Puzzle"
>
> :-(
>
> Aside: This means that there *is* a resume app message that is sent on 
> mobile! Jacque has asked about this in the past
>
> Now I don't know, it is a bug or not? I don’t see "this close the 
previous 
> stack" anyway in the "Go" entry of the dictionary
>
> " Use the go command to move to another 

Re: [ANN] Release 9.0.3 RC-1

2019-02-25 Thread Terry Judd via use-livecode
FWIW I've seen similar issues to this going back a while (I'm on MacOS but not 
sure what LC versions were involved). No recipe that I could find but 
restarting LC generally got things moving again.

Terry...

On 26/2/19, 1:19 pm, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

Just an update. I relaunched and have been working fine in 9.0.3 for 
several hours now. I'm at a loss to explain it.

On 2/25/19 1:43 PM, J. Landman Gay via use-livecode wrote:
> On 2/21/19 8:00 AM, panagiotis merakos via use-livecode wrote:
>> We are pleased to announce the release of LiveCode 9.0.3 RC-1.
> 
> I was hoping the strange problems would diminish with this release but I 
> lasted about 5 minutes before I had to quit and return to an earlier 
> version. I'm not sure how anyone can trace this, but thought I'd just 
> post what the circumstances were. Maybe someone will find a commonality 
> in their experience.
> 
> I'm working on a splash app that opens a separate mainstack, call it 
> StackA. The script of the app stack is inserted into the back. I was 
> debugging a handler on a card in StackA. The script editor was open and 
> a red-dot breakpoint was set.
> 
> I called the handler from the message box. -> Can't find handler
> The message box indicated that StackA was the target stack, and typing 
> "the defaultstack" in the message box also returned "StackA"
> 
> Repeated the message box call. -> Can't find handler.
> 
> Used the keyboard shortcut to summon the contextual menu and send the 
> handler name's message to the card. -> Works. Handler runs. Stops at 
> breakpoint.
> 
> I immediately saw a problem and aborted the handler in the middle. Made 
> some corrections and applied the script.
> 
> Called the handler from the message box. -> Can't find handler.
> Tried the contextual menu -> No response, no menu
> Tried "edit script of this cd" -> No response
> Tried "edit script of this cd of stack "StackA" -> no response
> Use keyboard shortcut to switch to Edit tool -> no response
> Tried clicking the Edit tool on the palette -> hilites, returns to 
> browse tool
> Repeated Edit tool selection from tools palette -> hilites, returns to 
> browse tool, but now I see it actually did choose the edit tool. I see 
> arrow-with-cross cursor.
> Double-click a field just to test -> no response
> Type in msg box: there is a fld "blah" -> true
> Use Application Browser to get the field property inspector -> works
> Click the Script button in property inspector -> no response
> 
> At this point I know I'm a hair's breadth away from a crash, so I quit 
> and return to LC 9.0.2 where this happens frequently but not quite as 
soon.
> 
> Anyone have anything in common with this sequence? I don't know what 
> triggers it, but the symptoms are usually the same: loss of keyboard 
> control, inability to find the current stack or card (although the 
> message box knows what it is,) inability to select or edit objects 
> except via Application Browser, and eventually a crash if you persist 
> long enough.
> 


-- 
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: sending email and file with mail client

2019-02-18 Thread Terry Judd via use-livecode
No worries Tom - glad it was helpful.

Terry...

Sent from my iPhone

> On 19 Feb 2019, at 2:58 pm, Tom Glod via use-livecode 
>  wrote:
> 
> Terry, I learned so much from your answer, thanks for taking the time.
> 
> On Mon, Feb 18, 2019 at 5:38 PM Terry Judd via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hi Hershel - If it's a desktop app then you can control the user's email
>> app using either applescript (MacOS) or VBscript (Windows). I've included
>> some template scripts below to get you started (assuming your users have
>> either Mail or Outlook). I store these in custom properties, use merge to
>> replace the quoted variables and the do as applescript or vbscript
>> depending on what platform you are targeting.
>> 
>> Couple of gotchas to do with line breaks in 'theBody' text...
>> Pretty sure that Apple Mail doesn't know what to do with html (at least
>> not using the script below)
>> Outlook expects html formatted text so if you're passing plain text you'll
>> need to replace CR with ''
>> If you are using VBscript then you need to do something like...
>> 
>> put quote before theBody
>> replace CR with (quote&" & VbCrLf & _" & return & quote) in theBody
>> put quote after theBody
>> 
>> Hope that helps,
>> 
>> Terry...
>> 
>> 
>> Mail app (MacOS):
>> 
>> tell application "Mail"
>>   activate
>>   set messageSubject to "[[theSubject]]"
>>   set messageBody to "[[theBody]]"
>>   set recipientName to "[[theRecipientName]]"
>>   set recipientAddress to "[[theRecipientAddress]]"
>>   set attachmentPath to "[[theFileName]]"
>>   set theMessage to make new outgoing message with properties
>> {visible:true, subject:messageSubject, content:messageBody}
>>   tell theMessage
>>   make new to recipient with properties {name:recipientName,
>> address:recipientAddress}
>>   make new attachment at the end of theMessage with
>> properties {file name:attachmentPath}
>>   end tell
>>   delay 1
>>   send theMessage
>> end tell
>> 
>> Outlook app (MacOS):
>> 
>> tell application "Microsoft Outlook"
>>   activate
>>   set messageSubject to "[[theSubject]]"
>>   set messageBody to "[[theBody]]"
>>   set recipientName to "[[theRecipientName]]"
>>   set recipientAddress to "[[theRecipientAddress]]"
>>   set attachmentPath to "[[theFileName]]"
>>   set theMessage to make new outgoing message with properties
>> {subject:messageSubject, content:messageBody}
>>   make new recipient at theMessage with properties {email
>> address:{name:recipientName, address:recipientAddress}}
>>   make new attachment at the end of theMessage with properties
>> {file:attachmentPath}
>>   send theMessage
>> end tell
>> 
>> Outlook app (Windows):
>> 
>> Set MyApp = CreateObject("Outlook.Application")
>> Set MyItem = MyApp.CreateItem(0)
>> With MyItem
>> .To = "[[theRecipientAddress]]"
>> .Subject = "[[theSubject]]"
>> .Body = [[theBody]]
>> .Attachments.Add("[[theFileName]]")
>> .Send
>> End With
>> 
>> On 19/2/19, 8:00 am, "use-livecode on behalf of Hershel F via
>> use-livecode" > use-livecode@lists.runrev.com> wrote:
>> 
>>   Hi every one, wondering how i can send an email with an attachment
>> (invoice) direct from my app with user’s email client (mail)?
>>   using the revMail only give the possibility for contents of fields,
>> any work arounds or printing into a fld then putting the fld into the email?
>> 
>>   Thanks in advanced. HershelF
>>   ___
>>   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

suspendStack and resumeStack equivalents on mobile?

2019-02-18 Thread Terry Judd via use-livecode
Pretty sure this has been covered before but couldn’t locate the email thread. 
I’m using the ‘Enable background execution’ option on iOS in order to avoid 
having to use iOS’s guided access feature to lock users (examiners in this) 
into our app (thereby avoiding any loss of data/state), and would like to be 
able to flag if an when they switch away from and back to the app. Guided 
access is great BTW, but I suspect that it is occasionally flakey and a 
possible contributor to unexpected app crashes – which is why I’d prefer to 
avoid using it if possible.

Anyway, the only idea that has come to mind so far is to use send at regular 
intervals to update an internal ‘timer’ - if the time gap between timer updates 
is longer than expected then the assumption is that the app has been suspended 
and resumed. Does that sound reasonable? Any other possible approaches?

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: sending email and file with mail client

2019-02-18 Thread Terry Judd via use-livecode
Hi Hershel - If it's a desktop app then you can control the user's email app 
using either applescript (MacOS) or VBscript (Windows). I've included some 
template scripts below to get you started (assuming your users have either Mail 
or Outlook). I store these in custom properties, use merge to replace the 
quoted variables and the do as applescript or vbscript depending on what 
platform you are targeting.

Couple of gotchas to do with line breaks in 'theBody' text...
Pretty sure that Apple Mail doesn't know what to do with html (at least not 
using the script below)
Outlook expects html formatted text so if you're passing plain text you'll need 
to replace CR with ''
If you are using VBscript then you need to do something like...

put quote before theBody
replace CR with (quote&" & VbCrLf & _" & return & quote) in theBody
put quote after theBody

Hope that helps,

Terry...


Mail app (MacOS):

tell application "Mail"
activate
set messageSubject to "[[theSubject]]"
set messageBody to "[[theBody]]"
set recipientName to "[[theRecipientName]]"
set recipientAddress to "[[theRecipientAddress]]"
set attachmentPath to "[[theFileName]]"
set theMessage to make new outgoing message with properties 
{visible:true, subject:messageSubject, content:messageBody}
tell theMessage
make new to recipient with properties {name:recipientName, 
address:recipientAddress}
make new attachment at the end of theMessage with properties 
{file name:attachmentPath}
end tell
delay 1
send theMessage
end tell

Outlook app (MacOS):

tell application "Microsoft Outlook"
activate
set messageSubject to "[[theSubject]]"
set messageBody to "[[theBody]]"
set recipientName to "[[theRecipientName]]"
set recipientAddress to "[[theRecipientAddress]]"
set attachmentPath to "[[theFileName]]"
set theMessage to make new outgoing message with properties 
{subject:messageSubject, content:messageBody}
make new recipient at theMessage with properties {email 
address:{name:recipientName, address:recipientAddress}}
make new attachment at the end of theMessage with properties 
{file:attachmentPath}
send theMessage
end tell

Outlook app (Windows):

Set MyApp = CreateObject("Outlook.Application")
Set MyItem = MyApp.CreateItem(0)
With MyItem
.To = "[[theRecipientAddress]]"
.Subject = "[[theSubject]]"
.Body = [[theBody]]
.Attachments.Add("[[theFileName]]")
.Send
End With

On 19/2/19, 8:00 am, "use-livecode on behalf of Hershel F via use-livecode" 
 wrote:

Hi every one, wondering how i can send an email with an attachment 
(invoice) direct from my app with user’s email client (mail)?
using the revMail only give the possibility for contents of fields, any 
work arounds or printing into a fld then putting the fld into the email?

Thanks in advanced. HershelF
___
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: Replacing GlobalNames with Global Values

2019-02-11 Thread Terry Judd via use-livecode
Something like...

put merge("[[gGlobal1]]*[[gGlobal2]]/[[gGlobal3]]") into tEquation


On 12/2/19, 1:58 pm, "use-livecode on behalf of Roger Guay via use-livecode" 
 wrote:

Granted, this may be too esoteric for me to understand, but I can’t seem to 
make this do what I want to do

Let’s say that I have 3 globals: gGlobal1 = 10.1, gGlobal2 = 20.2 and 
gGlobal3 = 30.3  

I have an expression like   gGlobal1*gGlobal2/gGlobal3 

I want to transform this to the expression 10.1*20.2/30.3. 

Seems simple enough and I can do it in my usual inelegant way, but there 
must be a simpler way to do this???

Sorry for my confusion.

Roger



> On Feb 11, 2019, at 2:53 PM, Monte Goulding via use-livecode 
 wrote:
> 
> put format(“%f*%f/cos(%f) = %f”, gGlobal1, gGlobal2, gGlobal3, 
gGlobal1*gGlobal2/cos(gGlobal3))

___
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: Swipe over native scroller

2019-01-31 Thread Terry Judd via use-livecode
On 1/31/19 11:03 AM, J. Landman Gay via use-livecode wrote:
>> Did you try Terry script? Elanor did something similar this in the 
>> Listen module, it not very refined. Terry put time in it with subtle 
>> time parameters. I have yet to try it. It here on the list

I didn't read this carefully enough. I'll try it without a scroller. 
Past experiments showed manual scrolling to be too jerky but I'll try it 
again.

Yeah, certainly not perfect but the lists I had to scroll weren't all that long 
so I thought even with the very basic scrolling that I implemented that it was 
acceptable.

Like you I tried a truckload of workarounds to try and get swiping working with 
scrolling. That included making the scroller area narrower than the card (not 
great) and starting with the scroller hidden and then activating it depending 
on what touchmove was telling me (couldn't make it work). At one stage I had 
something that worked about half the time on iOS, but I never could get 
anything that was remotely usable on Android.

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: Swipe over native scroller

2019-01-30 Thread Terry Judd via use-livecode
Not much of a workaround I'm afraid, but for a recent app (iOS and Android) I 
got rid of the native scroller and used the touch messages to both scroll the 
object and detect the swipes.

Terry...

On 31/1/19, 10:16 am, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

Has anyone found a workaround for this (very old) bug:


It isn't currently possible to implement a swipe on mobile if the swipe 
gesture is over a native scroller. LC doesn't send a mouseUp or a 
touchEnd message.

-- 
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: iOS simulator issue - LC 9.0.2, Xcode 10.0

2019-01-29 Thread Terry Judd via use-livecode
Thanks Curry - seems to be working for now at least after a full restart.  
Command line tools were set to the right version but interestingly although the 
iOS12 simulator runs, it doesn't show up in the list of installed simulators in 
the components pane of the Xcode prefs window.

Terry...


On 30/1/19, 12:05 pm, "use-livecode on behalf of Curry Kenworthy via 
use-livecode"  wrote:


Terry:

 > can’t get the simulator to run - it launches OK but LC throws an
 > error part way through the test/build process.
 > Unable to start simulator

I've seen that! Can't remember which fix is for which error, but the 
handiest fix that I use most for Simulator is xCode's prefs: Command 
Line Tools version. Never leave home (or stay home and use Sim) without 
it. :)

Best wishes,

Curry Kenworthy

Custom Software Development
"Better Methods, Better Results"
LiveCode Training and Consulting
http://livecodeconsulting.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

iOS simulator issue - LC 9.0.2, Xcode 10.0

2019-01-29 Thread Terry Judd via use-livecode
I’m running LC 9.0.2 on OSX Mojave and can’t get the simulator to run - it 
launches OK but LC throws an error part way through the test/build process.

Unable to start simulator: 634,0,0,unknown
C++ exception
573,228,1,revIPhoneSetSimulatorSDK

Any ideas?
Building direct to a phone works fine BTW.

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: Problem building Android app - 'could not compile service support class' error message

2019-01-22 Thread Terry Judd via use-livecode
Seems like I didn't look hard enough - I found it in 
revsavesasandroidstandalone.livecodescript in the revSaveAsMobileStandaloneMain 
command script. The relevant bit is...


executeShellCommand pathToJavaC(), "-target 1.5 -source 1.5 -Xlint:none -d", 
tClassesBuildFolder, "-cp", tClassPath, tClassFile
if the result is not empty then
   throw "could not compile service support class"
end if

...which doesn't really mean a lot to me. I tried adding a breakpoint so I 
could see what was in those various parameters but that didn't fire when I 
tried to build the 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 returned. I also had a poke/search around in a 
couple of rev stacks with Android in their names but I was none the wiser after 
that either.

At least I have one dev machine that it works on I guess. It used to work 
on the Macbook Air as well but something seems to have gone amiss along the 
way, probably when I was required to update my Android install. I thought 
starting from scratch installing Android Studio and making sure the correct 
SDKs were installed would help but the same error occurs.

Terry...

On 23/01/2019 8:12 am, "Ralph DiMola via use-livecode" 
 wrote:

I've seen similar messages when building for mobile. I enable the IDE 
stacks in prefs then search for the error string and look at the result of the 
previous operation. Usually the reason for the fail is apparent. Not pretty but 
fast. (one of the advantages of having the IDE written in LCS)

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 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 
support class' error message

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 with a similar setup (the only 
difference being that it is running OSX Mojave) – same Android Studio setup and 
Java version installed.

Any ideas?

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


___
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: Problem building Android app - 'could not compile service support class' error message

2019-01-22 Thread Terry Judd via use-livecode
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 returned. I also had a poke/search around in a couple of 
rev stacks with Android in their names but I was none the wiser after that 
either.

At least I have one dev machine that it works on I guess. It used to work on 
the Macbook Air as well but something seems to have gone amiss along the way, 
probably when I was required to update my Android install. I thought starting 
from scratch installing Android Studio and making sure the correct SDKs were 
installed would help but the same error occurs.

Terry...

On 23/01/2019 8:12 am, "Ralph DiMola via use-livecode" 
 wrote:

I've seen similar messages when building for mobile. I enable the IDE 
stacks in prefs then search for the error string and look at the result of the 
previous operation. Usually the reason for the fail is apparent. Not pretty but 
fast. (one of the advantages of having the IDE written in LCS)

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 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 support 
class' error message

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 with a similar setup (the only 
difference being that it is running OSX Mojave) – same Android Studio setup and 
Java version installed.

Any ideas?

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


___
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

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 with a similar setup (the only 
difference being that it is running OSX Mojave) – same Android Studio setup and 
Java version installed.

Any ideas?

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

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 url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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

2019-01-21 Thread Terry Judd via use-livecode
Cool - thanks Brian.

Terry...

On 22/01/2019 12:17 pm, "use-livecode on behalf of Brian Milby via 
use-livecode"  wrote:

Yes, you are correct.

By the way, even though revGoUrl was deprecated, it should now work on 
mobile since the Common Library is now 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, "use-livecode on behalf of Terry Judd via 
use-livecode"  wrote:
>
> 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...
> ___
> 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

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 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...
___
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

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...
___
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: How to give swiping precedence over scrolling on mobile?

2018-12-20 Thread Terry Judd via use-livecode
So, it seems like this approach works ok. Turned out there was an addition 
complication in that the items in my scrolling list are also selectable and I 
needed to prevent them being toggled on or off during a left/right swipe 
action. Anyway, this is what I ended up doing...

In the card script...

local pLoc, pTime, pV, pScroll

on touchStart pTouchID
   put the mouseLoc into pLoc
   put the millisecs into pTime
   put the scroll of grp "checkList" into pScroll
   put the mouseV into pV
end touchStart

on touchMove pTouchID, pTouchX, pTouchY
   put pV-pTouchY into tY
   put pScroll+tY into tScroll
   set the scroll of grp "checkList" to tScroll
end touchMove

on touchEnd pTouchID
   put the mouseLoc into pLoc1
   put (item 1 of pLoc)-(item 1 of pLoc1) into tX
   put (item 2 of pLoc)-(item 2 of pLoc1) into tY
   put the millisecs - pTime into tElapsed
   if abs(tX)>100 then # horizontal swipe
  if abs(tY)< 50 then # small vertical movement
 if tElapsed < 500 then # not too slow
if tX > 0 then
   send "mouseUp" to grp "nextBtn"
else
   send "mouseUp" 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 mouseUp

On 21/12/2018 9:18 am, "use-livecode on behalf of Terry Judd via use-livecode" 
 wrote:

Thanks Brahmanathaswami - was thinking about this again last night and in 
my case I think I might be able to get it to work for me if I just use 
touchmove (and only track the y delta) for the vertical scrolling and touchend 
for the swiping, which is for card to card navigation rather than horizontal 
scrolling.

Regards,

Terry...

On 20/12/2018 11:53 pm, "use-livecode on behalf of Sannyasin 
Brahmanathaswami via use-livecode"  wrote:

Terry, I'm interested in this also.

Get the SivaSiva app ( no space... from iOS and Google Play)

In the Listen Module, with Elanor's help, I tried to set up a "Spotify" 
UX with categories of audio scroll and up and down, and within on categories, 
left to right.

I also get, what is a probably the same as you get, a "conflict" 
between Elanor touch events -- from scrolling left with right and up and down. 

In this case we don’t use the mobileScroller at all in mobile, both up 
and down, left and right,  are implement with touch. But I think it is the same 
thing as you have... 

What I am seeing is: when the up and down in active, the left to right 
touch is disabled. It "kinda" works for the user but is very "clunky". I tried 
playing with touch startx and y numbers. It gets "worse" as you go down in size.

The script is small enough to put here. Would be nice of this were 
fixed but I don’t seeing how the engine would do it. It would seem that the 
pTouchX and pTouchY are managing the scroll independently. 

So you try a "swipe" gesture with your thumb that goes "diagonally"  
that is, changes is location on the  both "x" and "y" axes ... the engine is 
going to focus on say just the "y" cords -- you get an up to down scroll or 
vice-versa-- but "x" coord are not "seen" and  you don't get any left of right 
behavior -- in you case, a card swipe, in my case a group swipe left to right 
fails. 

Until you stop and "focus" carefully on "x" axes gesture (left to 
right, or vice versa). then you get you Card/Group swipe horizontally...

on touchStart pTouchID
   put empty into sStartX
   put empty into sStartY
   
   put the vScroll of grp "all-collections" into sStartYScroll
   
   put the long owner of the target into tHGroup  
   put the hScroll of tHGroup into sStartHScroll
end touchStart

on touchMove pTouchID, pTouchX, pTouchY
  if sStartY is empty then 
 put pTouchY into sStartY
  end if
  
  if sStartX is empty then
 put pTouchX into sStartX
  end if
  
  // Check for vertical scroll
  
  if pTouchY > (sStartY + 20) or pTouchY < (sStartY - 20) then
 set the vScroll of group "all-collections" to sStartYScroll + 
(sStartY-pTouchY)
  else
 
 if pTouchX > (sStartX + 10) or pTouchX < (sStartX - 10) then
// Check for horizontal scroll
  

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

2018-12-20 Thread Terry Judd via use-livecode
Thanks Brahmanathaswami - was thinking about this again last night and in my 
case I think I might be able to get it to work for me if I just use touchmove 
(and only track the y delta) for the vertical scrolling and touchend for the 
swiping, which is for card to card navigation rather than horizontal scrolling.

Regards,

Terry...

On 20/12/2018 11:53 pm, "use-livecode on behalf of Sannyasin Brahmanathaswami 
via use-livecode"  wrote:

Terry, I'm interested in this also.

Get the SivaSiva app ( no space... from iOS and Google Play)

In the Listen Module, with Elanor's help, I tried to set up a "Spotify" UX 
with categories of audio scroll and up and down, and within on categories, left 
to right.

I also get, what is a probably the same as you get, a "conflict" between 
Elanor touch events -- from scrolling left with right and up and down. 

In this case we don’t use the mobileScroller at all in mobile, both up and 
down, left and right,  are implement with touch. But I think it is the same 
thing as you have... 

What I am seeing is: when the up and down in active, the left to right 
touch is disabled. It "kinda" works for the user but is very "clunky". I tried 
playing with touch startx and y numbers. It gets "worse" as you go down in size.

The script is small enough to put here. Would be nice of this were fixed 
but I don’t seeing how the engine would do it. It would seem that the pTouchX 
and pTouchY are managing the scroll independently. 

So you try a "swipe" gesture with your thumb that goes "diagonally"  that 
is, changes is location on the  both "x" and "y" axes ... the engine is going 
to focus on say just the "y" cords -- you get an up to down scroll or 
vice-versa-- but "x" coord are not "seen" and  you don't get any left of right 
behavior -- in you case, a card swipe, in my case a group swipe left to right 
fails. 

Until you stop and "focus" carefully on "x" axes gesture (left to right, or 
vice versa). then you get you Card/Group swipe horizontally...

on touchStart pTouchID
   put empty into sStartX
   put empty into sStartY
   
   put the vScroll of grp "all-collections" into sStartYScroll
   
   put the long owner of the target into tHGroup  
   put the hScroll of tHGroup into sStartHScroll
end touchStart

on touchMove pTouchID, pTouchX, pTouchY
  if sStartY is empty then 
 put pTouchY into sStartY
  end if
  
  if sStartX is empty then
 put pTouchX into sStartX
  end if
  
  // Check for vertical scroll
  
  if pTouchY > (sStartY + 20) or pTouchY < (sStartY - 20) then
 set the vScroll of group "all-collections" to sStartYScroll + 
(sStartY-pTouchY)
  else
 
 if pTouchX > (sStartX + 10) or pTouchX < (sStartX - 10) then
// Check for horizontal scroll

put the long owner of the target into tHGroup  
set the hScroll of 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 fix...but I suspect "not"

Brahmanathaswami
 

On 12/19/18, 2:58 PM, "use-livecode on behalf of Terry Judd via 
use-livecode"  wrote:

This is a problem that I have run into before and have never been able 
to solve satisfactorily. I’m using touchStart and touchEnd handlers to detect 
the direction and speed of a finger movement and if it is within certain bounds 
(large enough x, small enough y, and fast enough) then the user can swipe back 
and forwards through a series of cards. Good so far except when the area they 
are swiping on also includes a mobile scroller (to scroll a list selection 
widget/thingy). In that situation the swiping becomes a bit of a hit and miss 
thing – works sometimes but not others. On iOS there are a few scroller 
parameters look potentially useful (canCancelTouches, delayTouches, and 
lockDirection) but it’s not really clear (to me at least) which of these might 
help and if so whether I should be setting them to true or false.

Any ideas?

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

How to give swiping precedence over scrolling on mobile?

2018-12-19 Thread Terry Judd via use-livecode
This is a problem that I have run into before and have never been able to solve 
satisfactorily. I’m using touchStart and touchEnd handlers to detect the 
direction and speed of a finger movement and if it is within certain bounds 
(large enough x, small enough y, and fast enough) then the user can swipe back 
and forwards through a series of cards. Good so far except when the area they 
are swiping on also includes a mobile scroller (to scroll a list selection 
widget/thingy). In that situation the swiping becomes a bit of a hit and miss 
thing – works sometimes but not others. On iOS there are a few scroller 
parameters look potentially useful (canCancelTouches, delayTouches, and 
lockDirection) but it’s not really clear (to me at least) which of these might 
help and if so whether I should be setting them to true or false.

Any ideas?

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: .app to .ipa converter and Xcode version for Mojave?

2018-12-10 Thread Terry Judd via use-livecode
Thanks for the confirmation Panos.

Terry

Sent from my iPad

> On 11 Dec 2018, at 12:44 am, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hello Terry,
> 
> Yes you'll need Xcode 10.0 (NOT Xcode 10.1) with LC 9.0.2 on Mojave.
> 
> Kind regards,
> Panos
> --
> 
> On Mon, Dec 10, 2018 at 3:17 PM Sannyasin Brahmanathaswami via use-livecode
>  wrote:
> 
>> I use Jacque's "AirLaunch"
>> 
>> So simple... create the HTML files necessary for others to download.
>> 
>> Works fine under Mojave.
>> 
>> BR
>> 
>> On 12/10/18, 12:19 AM, "use-livecode on behalf of Terry Judd via
>> use-livecode" > use-livecode@lists.runrev.com> wrote:
>> 
>>. I have other ways of installing apps onto devices and extracting
>> files from apps on devices but I still need a simple way of converting .app
>> files to .ipa. Any ideas?
>> 
>> ___
>> 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: .app to .ipa converter and Xcode version for Mojave?

2018-12-10 Thread Terry Judd via use-livecode
Thanks Randy - I’ll give that a whirl.

Terry

Sent from my iPad

> On 10 Dec 2018, at 11:06 pm, Randy Hengst via use-livecode 
>  wrote:
> 
> Hi Terry,
> 
> I’ve been using Sean Cole’s wonderful plugin: IPA_Builder… he announced it in 
> an email September 27… I’ve pasted it below in case you don’t have access to 
> emails from then…
> 
> Hi LC Community,
> 
> I needed to create IPAs of my iOS software so that I could upload them to
> my website for Enterprise distribution but all the old tools for doing this
> have been deprecated by Apple. So I've created this simple one to meet
> Apple's new standard way to produce them. Simply extract it into your
> LiveCode plugins folder and you will be able to open it from the LC menu,
> Development>Plugins>IPA_Builder. Let me know if you have any problems with
> it.
> 
> https://livecode.pidigital.co.uk/IPA_Builder.zip 
> <https://livecode.pidigital.co.uk/IPA_Builder.zip>
> 
> Sean Cole
> *Pi Digital Productions Ltd*
> www.pidigital.co.uk <http://www.pidigital.co.uk/>
> 'Don't try to think outside the box. Just remember the truth: There is no
> box!'
> 'For then you realise it is not the box you are trying to look outside of,
> but it is yourself!'
> 
> eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf 
> <http://pidigital.co.uk/emailTCs.rtf>>   Pi Digital
> Productions Ltd is a UK registered limited company, no. 5255609
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com <mailto: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 
> <http://lists.runrev.com/mailman/listinfo/use-livecode>
> ################
> 
> be well,
> randy
> www.classroomFocusedSoftware.com
> 
> 
>> On Dec 10, 2018, at 4:18 AM, Terry Judd via use-livecode 
>>  wrote:
>> 
>> I’ve just (perhaps prematurely) upgraded a fairly new Macbook Pro to OS X 
>> Mojave and it seems that iTunes 12.6.3 (the last version that let you manage 
>> apps) is no longer supported. I have other ways of installing apps onto 
>> devices and extracting files from apps on devices but I still need a simple 
>> way of converting .app files to .ipa. Any ideas?
>> 
>> And while I’m here, will Xcode 10 work with Mojave 10.14.1 and LC 9.02 or do 
>> I need Xcode 10.1 (wasn’t at all clear from the 9.0.2 release notes)?
>> 
>> 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
___
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

.app to .ipa converter and Xcode version for Mojave?

2018-12-10 Thread Terry Judd via use-livecode
I’ve just (perhaps prematurely) upgraded a fairly new Macbook Pro to OS X 
Mojave and it seems that iTunes 12.6.3 (the last version that let you manage 
apps) is no longer supported. I have other ways of installing apps onto devices 
and extracting files from apps on devices but I still need a simple way of 
converting .app files to .ipa. Any ideas?
 
And while I’m here, will Xcode 10 work with Mojave 10.14.1 and LC 9.02 or do I 
need Xcode 10.1 (wasn’t at all clear from the 9.0.2 release notes)?
 
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: 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 JSON 
(jsonExport). Works well as long as the JSON elements don't contain large 
amounts of text - in which case you might need a custom dialog for displaying 
and editing the contents.

Terry...

On 16/11/2018 10:10 am, "use-livecode on behalf of William Prothero via 
use-livecode"  wrote:

Hi, I’m editing a json string (for development uses) and wonder if there is 
an easy way to validate whether the string is a valid JSON string. 

Or, perhaps there is an easier way to display and edit a pretty simple 
array.

Suggestions would be helpful. Currently, I convert the array to JSON, put 
it in a text field, then edit the text field. It would be convenient if it 
could trap editing errors I might make. The simple way seems to just throw an 
error and stop execution of the script.

Best,
Bill

William A. Prothero
http://earthlearningsolutions.org

___
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: Finding common words and phrases in a large block of text?

2018-10-25 Thread Terry Judd via use-livecode
On 26/10/2018 4:27 am, "use-livecode on behalf of Tom Glod via use-livecode" 
 wrote:

Hi Terry, glad you found a solution.

I have a similar challenge.

I did a word count, but would love to recognize the same phrases.  Did you
just compare chunks? ... hash them? (probably redundant?)

Are there any more hints you can drop about this?

Thanks,

Tom

Hi Tom - I've just done something like the code below, which accepts a block of 
text and the maximum 'phrase' length as input and provides an array with sorted 
counts of word runs (so not necessarily sensible phrases) of different lengths 
as output. I think it will be good enough for my purposes.

function getWordAndPhraseCounts pText, pMaxPhraseLength
   put empty into tA1
   set the itemDel to tab
   repeat for each sentence tSentence in pText
  put the number of words in tSentence into tMax
  repeat with i = 1 to pMaxPhraseLength
 repeat with j = 1 to (tMax-i+1)
put word j to j+i-1 of tSentence into tPhrase
add 1 to tA1[i][tPhrase]
 end repeat
  end repeat
   end repeat
   put empty into tA2
   repeat for each line tLength in the keys of tA1
  put empty into tList
  repeat for each line tPhrase in the keys of tA1[tLength]
 put tPhrase& tA1[tLength][tPhrase] after tList
  end repeat
  delete last char of tList
  sort lines of tList descending numeric by item 2 of each
  put 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
> iterating through runs of words in each sentence in a block of text,
> incrementing counts into an array and then sorting the contents of that
> array by phrase length and frequency.
>
> Terry...
>
> On 25/10/2018 4:56 pm, "use-livecode on behalf of Terry Judd via
> use-livecode"  use-livecode@lists.runrev.com> 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 enough but I’m not clear on what approach to take for finding common
> phrases (iterating through the text capturing overlapping word runs of
> various lengths?). Any ideas on how best to proceed?
>
> TIA,
>
> 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
___
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: Finding common words and phrases in a large block of text?

2018-10-25 Thread Terry Judd via use-livecode
OK - was easier than I thought. I have something that works fast enough by 
iterating through runs of words in each sentence in a block of text, 
incrementing counts into an array and then sorting the contents of that array 
by phrase length and frequency.

Terry...

On 25/10/2018 4:56 pm, "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 enough but I’m 
not clear on what approach to take for finding common phrases (iterating 
through the text capturing overlapping word runs of various lengths?). Any 
ideas on how best to proceed?

TIA,

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

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 (iterating through the text 
capturing overlapping word runs of various lengths?). Any ideas on how best to 
proceed?

TIA,

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: 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 developer license to 
sign/distribute my apps - so not a LC issue as such. Will just have to wait for 
a fix from Apple I guess.

Did you try your new builds on older versions of iOS to see if it is just 
an iOS 12 issue? Also did you try with a new profile?

Cheers

Monte
___

Hi Monte - I was able to get an app to run if I used the older of my two 
Macbooks, which is running OSX 10.10.5 and Xcode 7.2.1 to build it. No go with 
OSX 10.13.5 and Xcode 9.4 on my newer Macbook though.

Haven't tried a new profile yet, although the current one was generated only 3 
weeks ago.

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: 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 for 
a fix from Apple I guess.

Terry...

Monte:

 > We have not been able to replicate the crash so it’s pretty
 > important that we get a report with a recipe ASAP.

It's been a day or two. Has anyone reported/recipe'd this yet? If not I 
will.

I suspect that a test stack needs more than one card to trigger the bug.

Best wishes,

Curry Kenworthy

Custom Software Development
LiveCode Training and Consulting
http://livecodeconsulting.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: App Dead on iOS 12

2018-09-18 Thread Terry Judd via use-livecode
Well - I can't send the stack I am having problems with unfortunately but I did 
just create a new stack with only a single card containing a single text field 
- assigned it the same app id and profile that I use on the 'real' one, and 
'tested' it onto my iPad. It immediately crashed when launched on the iPad 
(splash image displayed very briefly).

On a brighter note - I did manage to get the app icon to display if I made it 
144x144 instead to 152x152.

Terry...

LC version 9.0.1, build 15103, Xcode 9.4.1, OSX 10.13.5

On 18/09/2018 8:08 pm, "use-livecode on behalf of Monte Goulding via 
use-livecode"  wrote:

If you could also give us the result of `put the version && the 
buildNumber` that would be helpful.

> On 18 Sep 2018, at 8:01 pm, panagiotis merakos via use-livecode 
 wrote:
> 
> @Dan and @Terry (and everyone that still sees a crash on iOS 12)
> 
> Could you please send a sample stack that crashes on iOS 12 for you to
> panos.mera...@livecode.com?
> 
> Moreover, could you also mention:
> 
> 1. The MacOS version
> 2. The iOS 12 device you used
> 
> I had tested with 9.0.1 RC-2 (which is almost identical to 9.0.1 STABLE 
but
> without a fix related to OSX clipboard) on an iPhone7 running the latest
> iOS 12 beta and there was no crash.
> 
> Kind regards,
> Panos
> --
> 
> On Tue, Sep 18, 2018 at 10:11 AM panagiotis merakos 
> wrote:
> 
>> Hello Terry,
>> 
>> RE the icons, make sure you are using the correct version of command line
>> tools:
>> 
>> 1. Open Xcode 9.4.1
>> 2. Go to Xcode's menubar : Xcode -> Preferences -> Locations -> Command
>> Line Tools and choose "9.4.1"
>> 
>> Hope this helps.
>> 
>> Best,
>> Panos
>> --
>> 
>> On Tue, Sep 18, 2018 at 9:13 AM Terry Judd via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Hi Monte - I've just fired up my other MacBook that is running LC 9.0.1
>>> in combo with Xcode 9.4.1 under OSX 10.13.5 and I see the same thing as
>>> Dan. App starts up, shows the splash screen and then immediately quits.
>>> Also, still no app icon - and I'm pretty sure I installed those extras
>>> along with Xcode as I did it fairly recently.
>>> 
>>> Regards,
>>> 
>>> Terry...
>>> 
>>> On 18/09/2018 9:37 am, "use-livecode on behalf of Monte Goulding via
>>> use-livecode" >> use-livecode@lists.runrev.com> wrote:
>>> 
>>>Hi Dan
>>> 
>>>Are you using the 9.0.1 stable or are you using one of the RCs? It
>>> sounds like you are hitting a bug that we fixed for RC 2.
>>> 
>>>Cheers
>>> 
>>>Monte
>>> 
>>>> On 18 Sep 2018, at 9:02 am, Dan Friedman via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>> Terry,
>>>> 
>>>> So, here's what I've discovered in the last 40 minutes…
>>>> 
>>>> If you add, "set the acceleratedRendering of stack myStack to
>>> true", then things start working again.  However, I did find that if I 
had
>>> more than one stack open, and the second stack did not have
>>> acceleratedRendering enabled, then the app crashed.
>>>> 
>>>> Most everything seems to be working ok once the app is open.
>>> Visual Effects are working fine, but I’m having some issues with moving
>>> controls (on mouseMove) and the like…  S—l—u—g—i—s—h !!
>>>> 
>>>> 
>>>> Thank you!
>>>> 
>>>> Dan Friedman
>>>> CEO, ClearVision Technologies, LLC
>>>> Voice: 909/484-2052
>>>> http://www.clearvisiontech.com
>>>> 
>>>> 
>>>> On 9/17/18, 3:51 PM, "use-livecode on behalf of Terry Judd via
>>> use-livecode" >> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>>   Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were
>>> already installed on it now just show a black screen (with the outlines 
of
>>> a couple of native fields) after the splash screen. I kinda assumed they
>>> would just still work.
>>>> 
>>>>   Te

Re: App Dead on iOS 12

2018-09-18 Thread Terry Judd via use-livecode
Hi Monte - I've just fired up my other MacBook that is running LC 9.0.1 in 
combo with Xcode 9.4.1 under OSX 10.13.5 and I see the same thing as Dan. App 
starts up, shows the splash screen and then immediately quits. Also, still no 
app icon - and I'm pretty sure I installed those extras along with Xcode as I 
did it fairly recently.

Regards,

Terry...

On 18/09/2018 9:37 am, "use-livecode on behalf of Monte Goulding via 
use-livecode"  wrote:

Hi Dan

Are you using the 9.0.1 stable or are you using one of the RCs? It sounds 
like you are hitting a bug that we fixed for RC 2.

Cheers

Monte

> On 18 Sep 2018, at 9:02 am, Dan Friedman via use-livecode 
 wrote:
> 
> Terry,
> 
> So, here's what I've discovered in the last 40 minutes…
> 
> If you add, "set the acceleratedRendering of stack myStack to true", then 
things start working again.  However, I did find that if I had more than one 
stack open, and the second stack did not have acceleratedRendering enabled, 
then the app crashed.
> 
> Most everything seems to be working ok once the app is open.   Visual 
Effects are working fine, but I’m having some issues with moving controls (on 
mouseMove) and the like…  S—l—u—g—i—s—h !!
> 
> 
> Thank you!
> 
> Dan Friedman
> CEO, ClearVision Technologies, LLC
> Voice: 909/484-2052
> http://www.clearvisiontech.com
    > 
    > 
> On 9/17/18, 3:51 PM, "use-livecode on behalf of Terry Judd via 
use-livecode"  wrote:
> 
>Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were 
already installed on it now just show a black screen (with the outlines of a 
couple of native fields) after the splash screen. I kinda assumed they would 
just still work.
> 
>Terry...
> 
>On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman via 
use-livecode"  wrote:
> 
>I see that all my apps are launching and immediately crashing on 
iOS 12.  I rebuilt the app using 9.0.1 and I get the same result.  Since this 
list isn't blowing up with people complaining about this, I have must have 
missed the meeting about the secret button to click to get things working.   
Anyone have any words of wisdom?
> 
>HELP!
> 
>-Dan
> 
>___
>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


___
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: App Dead on iOS 12

2018-09-17 Thread Terry Judd via use-livecode
Right, thanks Monte - I suspect they are already installed then. I tried 
Colin's suggestion of adding the assets.car file using the 'copy files' pane of 
the standalone builder but that didn't seem to work either.

Terry..

On 18/09/2018 11:04 am, "use-livecode on behalf of Monte Goulding via 
use-livecode"  wrote:



> On 18 Sep 2018, at 10:51 am, Terry Judd via use-livecode 
 wrote:
> 
> Umm - spoke to soon. How do I do that? I assumed that there would be 
something in the downloads pane of Xcode that I could install.


There is usually a dialog when you first run Xcode. You could try 
`xcode-select —install` on the command line.

Cheers

Monte
___
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: App Dead on iOS 12

2018-09-17 Thread Terry Judd via use-livecode
Umm - spoke to soon. How do I do that? I assumed that there would be something 
in the downloads pane of Xcode that I could install.

Terry...

On 18/09/2018 10:43 am, "use-livecode on behalf of Terry Judd via 
use-livecode"  wrote:

Thanks Monte. I'll try installing the additional component to my old 
version of XCode in the meantime.

Regards,

Terry...

On 18/09/2018 10:22 am, "use-livecode on behalf of Monte Goulding via 
use-livecode"  wrote:



> On 18 Sep 2018, at 10:18 am, Monte Goulding via use-livecode 
 wrote:
> 
> 
> 
>> On 18 Sep 2018, at 10:15 am, Colin Holgate via use-livecode 
 wrote:
>> 
>> Is what you said true for older LiveCode, or just 9.0.1?
> 
> Should be true back to late 2011.


FWIW I just opened this report so we can remove the need to have Xcode 
additional components installed 
https://quality.livecode.com/show_bug.cgi?id=21588 
<https://quality.livecode.com/show_bug.cgi?id=21588>

Cheers

Monte
___
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: App Dead on iOS 12

2018-09-17 Thread Terry Judd via use-livecode
Thanks Monte. I'll try installing the additional component to my old version of 
XCode in the meantime.

Regards,

Terry...

On 18/09/2018 10:22 am, "use-livecode on behalf of Monte Goulding via 
use-livecode"  wrote:



> On 18 Sep 2018, at 10:18 am, Monte Goulding via use-livecode 
 wrote:
> 
> 
> 
>> On 18 Sep 2018, at 10:15 am, Colin Holgate via use-livecode 
 wrote:
>> 
>> Is what you said true for older LiveCode, or just 9.0.1?
> 
> Should be true back to late 2011.


FWIW I just opened this report so we can remove the need to have Xcode 
additional components installed 
https://quality.livecode.com/show_bug.cgi?id=21588 


Cheers

Monte
___
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: App Dead on iOS 12

2018-09-17 Thread Terry Judd via use-livecode
OK - just to follow up on that, I rebuilt one of the apps using LC 9.0.1 - I'm 
still on OSX 10.10.5 so I'm using an older version of XCode - anyway, the app 
installs and launches on the iPad OK but the app icon is missing. Any ideas on 
how to get it to show up?

Terry...

On 18/09/2018 8:52 am, "use-livecode on behalf of Terry Judd via use-livecode" 
 wrote:

Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were already 
installed on it now just show a black screen (with the outlines of a couple of 
native fields) after the splash screen. I kinda assumed they would just still 
work.

Terry...

On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman via 
use-livecode"  wrote:

I see that all my apps are launching and immediately crashing on iOS 
12.  I rebuilt the app using 9.0.1 and I get the same result.  Since this list 
isn't blowing up with people complaining about this, I have must have missed 
the meeting about the secret button to click to get things working.   Anyone 
have any words of wisdom?

HELP!

-Dan

___
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: App Dead on iOS 12

2018-09-17 Thread Terry Judd via use-livecode
Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were already 
installed on it now just show a black screen (with the outlines of a couple of 
native fields) after the splash screen. I kinda assumed they would just still 
work.

Terry...

On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman via 
use-livecode"  wrote:

I see that all my apps are launching and immediately crashing on iOS 12.  I 
rebuilt the app using 9.0.1 and I get the same result.  Since this list isn't 
blowing up with people complaining about this, I have must have missed the 
meeting about the secret button to click to get things working.   Anyone have 
any words of wisdom?

HELP!

-Dan

___
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: 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
> > versions a couple of apps (admittedly they were only designed to work
> > in portrait mode) and it seemed to work well enough.
> 
> If you make a button that looks HIG-savvy finger-sized on a 4" phone, 
what happens when you run the app on an 11" tablet?
> 
My guess is that it would look pretty bad ;)

I was only targeting phones in portrait mode though so things looked 
reasonable as long as the phone wasn’t huge. I’d probably develop a separate 
interface for tablets.

Oh, and my apps probably weren't terribly HIG compliant either. I used 
custom buttons and controls that looked and functioned identically on Android 
and iOS versions of the same app. So I guess it depends on what you are trying 
to achieve (these were teaching/research related apps).

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: 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.
> 
> If you make a button that looks HIG-savvy finger-sized on a 4" phone, what 
> happens when you run the app on an 11" tablet?
> 
My guess is that it would look pretty bad ;)

I was only targeting phones in portrait mode though so things looked reasonable 
as long as the phone wasn’t huge. I’d probably develop a separate interface for 
tablets.

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: 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 scripted placement, but 
as you suggest it's often murkier than just having precise control over 
everything without bringing FSM into it at all.

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. In those cases I developed the app using 
fairly squat stack aspect ratio and set the fullscreenmode to letterbox in my 
preopenstack handler. Then in each opencard handler (and this was pre navbar 
etc. widgets) used something like the following as the basis for sizing/placing 
elements on the screen (relative to tB). Seemed to work fine for a range of 
actual device aspect ratios (that all equivalent to or larger than my original 
stack).

if environment() = "mobile" then
  put the working screenrect into tWR
  put (item 4 of tWR)/(item 3 of tWR) into tAspectRatio
  put (item 3 of tWR)/320 into tScaleFactor
  put 10*(trunc (tAspectRatio*320/10)) into tB
  set the height of this stack to tB
 else
  put the height of this card into tB
 end if

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: "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 keep the characters of a visual line constant when 
transferring from Mac to Windows, and set to any font.

Is there a way to find out what is the last character of any visual line of 
a paragraph to automatically add the CR? Or do I have to do some brute force 
method?

Peter Bogdanoff
ArtsInteractive
___
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: 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 15/08/2018 4:32 pm, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

On 8/14/18 11:13 PM, Richard Gaskin via use-livecode wrote:
> J. Landman Gay wrote:
> 
>  > I need to determine whether the current mobile device is a tablet or a
>  > phone. On iOS I can use "the machine" but on Android it only provides
>  > the manufacturer's name.
>  >
>  > Does anyone know a way to do that?
> 
> For screen metrics or device capabilities?
> 

Metrics. I want to allow landcape orientation on tablets but only 
portrait for phones.

Phil suggested getting device info, but mobileBuildInfo doesn't return 
anything better than "the machine." The server idea doesn't return 
specific enough info either if it isn't an i-thing.

Monte mentioned the screenrect, which is what I started with, but it's a 
wild guess. Right now I'm using an arbitrary screen pixel width but I 
don't think it will work everywhere.

I thought about using a ratio but I'm not sure what would be most 
accurate. And I'm not clear on how different resolutions affect it.

-- 
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: 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 mobile device is a tablet or a 
phone. On iOS I can use "the machine" but on Android it only provides 
the manufacturer's name.

Does anyone know a way to do that?

-- 
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: 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 the case (and 
you are effectively hiding and showing the browser) then set the visible of the 
scroller to false when the browser is active and back to true when you’re no 
longer using it.

HTH,

Terry

From: use-livecode  on behalf of William 
Prothero via use-livecode 
Reply-To: How to use LiveCode 
Date: Thursday, 26 July 2018 10:13 am
To: Use-livecode Use-livecode 
Cc: William Prothero 
Subject: Trouble getting Browser Widget to work on iOS

I’ve been having trouble getting the browser widget to work in ios. I’m in 
livecode 9.0.0 Business edition. It works fine in the IDE, but won’t load on 
the iPhone.

I’m wondering if I could have left out any required inclusions. No help in the 
dictionary for that, tho. I’ve added everything that seems related to internet 
access.

If anybody has any ideas on this, I’d appreciate it. I haven’t tried going back 
tot he cef browser, but will unless somebody has a great idea of what I could 
be missing.

Best,
Bill

William A. Prothero
http://earthlearningsolutions.org

___
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: Browser widget on iOS

2018-07-17 Thread Terry Judd via use-livecode
OK – looks like there is some interaction with other components on the card 
going on (iOS scrollers maybe?) that is stopping it displaying as a new browser 
object on a card without any scrollers seems to work just fine. I’ll poke 
around some more I guess.

Terry...

From: 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 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 the links 
are active.

It works more reliably in the IDE (Mac) although it still fails to show any 
content sometimes.

I’m just trying to load a single URL and display the page so nothing fancy.

I’m using LC 8.2 DP2 at the moment but have tried 8.1.10 and 9.0.0 with similar 
results.

Any ideas?

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<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

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 the links 
are active.

It works more reliably in the IDE (Mac) although it still fails to show any 
content sometimes.

I’m just trying to load a single URL and display the page so nothing fancy.

I’m using LC 8.2 DP2 at the moment but have tried 8.1.10 and 9.0.0 with similar 
results.

Any ideas?

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: 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"  wrote:

Just tried in minutes ago

didn't work.

in the field

on inputReturnKey
 focus on nothing
end inputReturnKey

did not work.

Plus there is  whole card "raised" on so that bottom is the top of keyboard

Mike Kerner wrote:

The sequence is
return key is pressed
focus is removed

___
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: 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" 
 wrote:

Hi.

If I were you, with the task you laid out, I would not use an option menu.
It is not good with wide menuItems, and it is not natural, if even possible,
to select multiple lines in the way you want.

Use a list field instead. A field has many properties that are denied an
optionMenu, which is really just a button.

You can have multiple lines selected, by trapping "mouseUp", say, and with
the clickLine, select the following line as well. Or the following five. Or
the previous. That sort of thing. A field just is far more able in this
regard.

Craig Newman



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
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

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) and relied 
on the do as javascript thing to export the data to a server via a php routine 
someone wrote for me.

Anyway, now that the HTML5 engine handles urls internally I thought I’d do away 
with the do as javascript and php combo (which I not sure was completely 
reliable – either that or there were a lot of assessors who said they had 
completed the training when they hadn’t) I thought I could switch to uploading 
the data to Dropbox (which is something that I’m more familiar with and doesn’t 
require me to pester our server administrator every time I want to check the 
uploaded data).

I’ve just done a quick test using the community version of LC 9.0.0 (rc-1) and 
my own version of a dropbox library and it seems to upload and download data 
just fine when I use the ‘test’ option in the IDE to launch it in a browser. My 
question is, will this still work once I serve the ‘app’ up from a real server 
given that it and dropbox are occupying different domains? I seem to recall 
something about url access being restricted but wasn’t sure what the actual 
implications of that were.

As an extra thing – even though it appears to be supported, I wasn’t able to 
add and use LC’s JSON Library (for parsing the response from dropbox) to my 
basic test app as it immediately throws and exception. Any ideas on what might 
be going on there? I’ve switched to a script-based jsonToArray routine that I  
picked up from the forum (fastJson), which seems to work really well, in the 
meantime.

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: Features and shortcomings of html5

2018-02-20 Thread Terry Judd via use-livecode
Yeah, you are still in for a bit of a wait for the initial load to complete but 
that doesn't seem to have deterred my users yet (they were pre-warned about the 
delay), even those who were accessing the sims from outside the university 
network. Not sure that I'd want to attempt to deliver it over anything less 
than a 4G mobile network though, and if the cost of data use is an issue for 
the end user then...

Terry

On 21/02/2018 3:46 pm, "use-livecode on behalf of J. Landman Gay via 
use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of 
use-livecode@lists.runrev.com> wrote:

Thanks Terry, that's helpful. I get the feeling that we can do almost 
anything internal to LC's engine, but things that require a call out to 
the OS are harder.

I did a quick conversion of a simple stack way back when HTML5 was first 
released and got pretty good results, but the load time was murderous 
and I dropped it as unusable until it got faster. I haven't tried it 
since that was improved, maybe it's okay now.

The deal is, my client and I have fast internet connections and we're 
willing to wait a bit for the stack to load, but if this project goes 
through it could be used by anyone including, as she told me, "by people 
in Nairobi" who may be on slow connections or even cell data.

We're also considering writing mobile apps instead, but her customer is 
hoping to integrate directly 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 
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 shouldn't be too 
much of an issue unless you have pretty strict formatting requirements (you can 
load fonts but I'm not sure whether it's worth the trouble). The biggest 
drawback for me has been around networking but that seems to have been 
substantially improved in recent releases (I haven't had a chance to explore 
these yet).
> 
> It's certainly worth a quick try of exporting an existing stack with LC 
community and seeing what works and what doesn't to get a sense of whether a 
full on conversion is warranted.
> 
> Terry...
> 
> On 21/02/2018 10:25 am, "use-livecode on behalf of J. Landman Gay via 
use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of 
use-livecode@lists.runrev.com> wrote:
> 
>  I've been asked if I can convert a stack to HTML5, which I haven't
>  worked with yet. I'd like to know, in general, what can be done and 
what
>  can't. What are the limitations?
>  
>  The examples I've seen are mostly basic, usually just a one-card 
stack
>  with image or graphic manipulations. I'm also aware of the fairly 
long
>  initial load time, though I guess that's been cut back a bit. The 
stack
>  I will be working with will require many cards, navigation, and 
possibly
>  changing stacks (probably in the same window.)
>  
>  What else would I need to consider?
>  
>  --
>  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
> 


-- 
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: 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 shouldn't be too 
much of an issue unless you have pretty strict formatting requirements (you can 
load fonts but I'm not sure whether it's worth the trouble). The biggest 
drawback for me has been around networking but that seems to have been 
substantially improved in recent releases (I haven't had a chance to explore 
these yet).

It's certainly worth a quick try of exporting an existing stack with LC 
community and seeing what works and what doesn't to get a sense of whether a 
full on conversion is warranted.

Terry...

On 21/02/2018 10:25 am, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

I've been asked if I can convert a stack to HTML5, which I haven't 
worked with yet. I'd like to know, in general, what can be done and what 
can't. What are the limitations?

The examples I've seen are mostly basic, usually just a one-card stack 
with image or graphic manipulations. I'm also aware of the fairly long 
initial load time, though I guess that's been cut back a bit. The stack 
I will be working with will require many cards, navigation, and possibly 
changing stacks (probably in the same window.)

What else would I need to consider?

-- 
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

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 dragging an 
object is a hit and miss affair (or doesn’t work at all). Does anyone have any 
insights on whether it is possible to work around this issue, or if it’s a 
known bug (couldn’t find anything in the QA centre) whether it’s likely to get 
some attention in the near future?

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: 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"  wrote:

Hi friends,

before I create a report, can someone please confirm that we
cannot use the "swatches" at the bottom of the Mac color chooser?

Clicking them does nothing, we have to"re-create" the color with 
the sliders (or Crayons or whatever we choose for selecting a color).

Works of course in e.g. "TextEdit" etc.

Thank you!


Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
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 : 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 web pages - but can't figure 
out just where it's coming from. Anyone know their way around chrome 
tools and able to help ?

If you load the page

https://www.kilmelford.com/igniter.lc/basic/Services

the links in the body of the page (to "Netherlorn Churches") don't act 
as links, they aren't clickable.

Same page on Safari works fine.

I think the reason they don't work in Chrome is that it won't load the 
font file because it is loaded as an "http" rather than "https", and 
chrome won't downgrade the security level.

Turning on "Developer tools" in Chrome, I see an error, that it is 
failing to load

css?family=Source+Sans+Pro:300,300italic,600,600italic

I don't (afaict) have any unchanged reference to


http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,600,600italic

the only reference I have is in the main.css, and has been changed to https.

Is there any way to find out exactly where this is being (indirectly) 
loaded from ?

Many thanks,

Alex.

___
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: 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 
about figure, in the way it is used in presenting visual information in 
books/articles etc then a figure can contain all sorts of visual elements, 
graphics, drawings, images, text, whatever.

Terry...

On 5/11/2017 11:19 pm, "use-livecode on behalf of Mark Waddingham via 
use-livecode"  wrote:

On 2017-11-05 00:59, Niggemann, Bernd via use-livecode wrote:
> I like "Canvas" from LCB but unfortunately that is already taken. It
> would have been my favorite.

Hmmm - actually, why not 'canvas'?



___
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: Converting iOS app build to .ipa file (latest iTunes update stops you doing this)

2017-09-13 Thread Terry Judd via use-livecode
Hi Colin – I’m not that familiar with Xcode (apart from occasionally using it 
to manage profiles). Very briefly, what do I need to do to get started there.

Terry...

On 14/09/2017 8:49 am, "use-livecode on behalf of Colin Holgate via 
use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of 
use-livecode@lists.runrev.com> wrote:

You can use Xcode to drag apps onto connected devices. It works with .app 
as well as .ipa.

Apple have a configurator app. It also works with LiveCode .app:

https://itunes.apple.com/us/app/apple-configurator-2/id1037126344?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 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 easy alternatives?
> 
> For example will putting the app in a folder called ‘Payload’, zipping it 
and renaming it as a .ipa file work or is there some extra stuff than happens 
as part of the .app to .ipa conversion?
> 
> And on a related note. Now that iTunes is out of the picture, are there 
any other simple tools that I can use to move apps onto an off a number of 
devices? I have a set of about 50 iPads that I build apps for but I’ve always 
just managed these using iTunes as most of the dedicated apps like Configurator 
are overkill for what I need to do.
> 
> 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


___
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

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 easy alternatives?

For example will putting the app in a folder called ‘Payload’, zipping it and 
renaming it as a .ipa file work or is there some extra stuff than happens as 
part of the .app to .ipa conversion?

And on a related note. Now that iTunes is out of the picture, are there any 
other simple tools that I can use to move apps onto an off a number of devices? 
I have a set of about 50 iPads that I build apps for but I’ve always just 
managed these using iTunes as most of the dedicated apps like Configurator are 
overkill for what I need to do.

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: 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" 
 wrote:

Since one can set the subscript or superscript of a character from the Text 
menu, presumably there are commands to do so as well? I can’t find such a 
thing! Help please.

Thanks,

Roger
___
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: remote debugging just stopped being available.

2017-09-05 Thread Terry Judd via use-livecode
Thanks Ali – I’ll probably just ignore it from now on ;)

Terry...

On 5/09/2017 5:26 pm, "use-livecode on behalf of Ali Lloyd via use-livecode" 
<use-livecode-boun...@lists.runrev.com on behalf of 
use-livecode@lists.runrev.com> wrote:

The date support library 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 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, 8.1.4 and 8.1.6) as well as LC 9.0.0 (dp 8).
>
> Terry...
>
> On 5/09/2017 1:09 pm, "use-livecode on behalf of Monte Goulding via
> use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of
    > 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 with a screenshot of the offending
> inclusion. Something isn’t right but I’m not sure what it is at this 
stage,
>
> Cheers
>
> Monte
> ___
> 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


___
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: 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, 8.1.4 and 8.1.6) as well as LC 9.0.0 (dp 8).

Terry...

On 5/09/2017 1:09 pm, "use-livecode on behalf of Monte Goulding via 
use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of 
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 with a screenshot of the offending inclusion. 
Something isn’t right but I’m not sure what it is at this stage,

Cheers

Monte
___
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: remote debugging just stopped being available.

2017-09-04 Thread Terry Judd via use-livecode
OK will do – it seems to be present in all version of LC 8 that I have (8.1.3, 
8.1.4 and 8.1.6) as well as LC 9.0.0 (dp 8).

Terry...

On 5/09/2017 1:09 pm, "use-livecode on behalf of Monte Goulding via 
use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of 
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 with a screenshot of the offending inclusion. 
Something isn’t right but I’m not sure what it is at this stage,

Cheers

Monte
___
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: 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.runrev.com> wrote:

Interesting! If you go into the inclusions tab of the standalone builder 
it’s the first listed one that has an icon that looks like a black book (comes 
after the clock widget in my list).

Terry...

On 5/09/2017 12:35 pm, "use-livecode on behalf of Monte Goulding 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:
> 
> Ah, ok. Looks like it’s the date support library then. Not sure 
whether I actually need this – I just ticked it a while back (I’m using the 
select inclusions option in the standalone builder) because I do various 
date-based conversions (date items to seconds etc.) and assumed it was 
required??

___
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: remote debugging just stopped being available.

2017-09-04 Thread Terry Judd via use-livecode
Interesting! If you go into the inclusions tab of the standalone builder it’s 
the first listed one that has an icon that looks like a black book (comes after 
the clock widget in my list).

Terry...

On 5/09/2017 12:35 pm, "use-livecode on behalf of Monte Goulding 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:
> 
> Ah, ok. Looks like it’s the date support library then. Not sure whether I 
actually need this – I just ticked it a while back (I’m using the select 
inclusions option in the standalone builder) because I do various date-based 
conversions (date items to seconds etc.) and assumed it was required??

___
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: remote debugging just stopped being available.

2017-09-04 Thread Terry Judd via use-livecode
Ah, ok. Looks like it’s the date support library then. Not sure whether I 
actually need this – I just ticked it a while back (I’m using the select 
inclusions option in the standalone builder) because I do various date-based 
conversions (date items to seconds etc.) and assumed it was required??

Terry...

On 5/09/2017 12:15 pm, "use-livecode on behalf of Monte Goulding via 
use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of 
use-livecode@lists.runrev.com> wrote:

Yes exactly like that. So it’s a matter of trying to work out which of the 
externals you 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 mdQuiz_QA[38329]: Startup error: failed to 
load module
> Sep  5 12:07:28 51002-B114578 assertiond[38283]: assertion failed: 
14F2511 13C75: assertiond + 12188 [8CF1968D-3466-38B7-B225-3F6F5B64C552]: 0x1
> Sep  5 12:07:28 51002-B114578 SpringBoard[38279]: HW kbd: Failed to set 
(null) as keyboard focus
> Sep  5 12:07:28 51002-B114578 SpringBoard[38279]: BSXPCMessage received 
error for message: Connection interrupted
> Sep  5 12:07:28 51002-B114578 SpringBoard[38279]: BSXPCMessage received 
error for message: Connection invalid
> Sep  5 12:07:28 51002-B114578 
com.apple.CoreSimulator.SimDevice.65EDADBA-A52F-46BB-B1D8-77671CAB8234.launchd_sim[38262]
 (UIKitApplication:com.unimelb.mdassess.quiz[0x13e2][38329]): Service exited 
due to signal: Abort trap: 6
> Sep  5 12:07:28 51002-B114578 SpringBoard[38279]: Application 
'UIKitApplication:com.unimelb.mdassess.quiz[0x13e2]' crashed.
> 
> Terry...
> 
> 
> On 5/09/2017 12:00 pm, "use-livecode on behalf of Monte Goulding via 
use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of 
use-livecode@lists.runrev.com> wrote:
> 
>Hmm… sometimes the engine expecting an external 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 use-livecode 
<use-livecode@lists.runrev.com> wrote:
>> 
>> Thanks Monte - that sounds pretty simple  :)
>> 
>> Problem is that my app loads in the simlulator then immediately quits – 
this is on LC 9.0.0 (dp 8) - it works fine in 8.1.6  :(
>> 
>> The first time I try ‘testing’ it I get a message along the lines of...
>> 
>> Unable to start simulation: The operation couldn’t be completed.
>> (PBSOpenApplicationErrorDomain error 1.)
>> 
>> ...if that means anything.
>> 
>> Terry...
>> 
>> 
>> On 5/09/2017 11:40 am, "use-livecode on behalf of Monte Goulding via 
use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of 
use-livecode@lists.runrev.com> wrote:
>> 
>> 
>>> 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 business licensed version of LC 9 to have access to it, 
but beyond that...
>> 
>>   Well in theory just click the Test button ;-)
>> 
>>   It does depend on being able to open sockets to communicate with the 
standalone so the most likely issues will be firewall related. There was an 
issue with android requiring internet permission but that should be resolved in 
the latest DPs.
>> 
>>   Cheers
>> 
>>   Monte
>>   ___
>>   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
>

Re: remote debugging just stopped being available.

2017-09-04 Thread Terry Judd via use-livecode
Hi Monte - something like this?

Sep  5 12:07:27 51002-B114578 mdQuiz_QA[38329]: Startup error: failed to load 
module
Sep  5 12:07:28 51002-B114578 assertiond[38283]: assertion failed: 14F2511 
13C75: assertiond + 12188 [8CF1968D-3466-38B7-B225-3F6F5B64C552]: 0x1
Sep  5 12:07:28 51002-B114578 SpringBoard[38279]: HW kbd: Failed to set (null) 
as keyboard focus
Sep  5 12:07:28 51002-B114578 SpringBoard[38279]: BSXPCMessage received error 
for message: Connection interrupted
Sep  5 12:07:28 51002-B114578 SpringBoard[38279]: BSXPCMessage received error 
for message: Connection invalid
Sep  5 12:07:28 51002-B114578 
com.apple.CoreSimulator.SimDevice.65EDADBA-A52F-46BB-B1D8-77671CAB8234.launchd_sim[38262]
 (UIKitApplication:com.unimelb.mdassess.quiz[0x13e2][38329]): Service exited 
due to signal: Abort trap: 6
Sep  5 12:07:28 51002-B114578 SpringBoard[38279]: Application 
'UIKitApplication:com.unimelb.mdassess.quiz[0x13e2]' crashed.

Terry...


On 5/09/2017 12:00 pm, "use-livecode on behalf of Monte Goulding via 
use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of 
use-livecode@lists.runrev.com> wrote:

Hmm… sometimes the engine expecting an external 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 use-livecode 
<use-livecode@lists.runrev.com> wrote:
> 
> Thanks Monte - that sounds pretty simple  :)
> 
> Problem is that my app loads in the simlulator then immediately quits – 
this is on LC 9.0.0 (dp 8) - it works fine in 8.1.6  :(
> 
> The first time I try ‘testing’ it I get a message along the lines of...
> 
> Unable to start simulation: The operation couldn’t be completed.
> (PBSOpenApplicationErrorDomain error 1.)
> 
> ...if that means anything.
> 
> Terry...
> 
> 
> On 5/09/2017 11:40 am, "use-livecode on behalf of Monte Goulding via 
use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of 
use-livecode@lists.runrev.com> wrote:
> 
> 
>> 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 business licensed version of LC 9 to have access to it, 
but beyond that...
> 
>Well in theory just click the Test button ;-)
> 
>It does depend on being able to open sockets to communicate with the 
standalone so the most likely issues will be firewall related. There was an 
issue with android requiring internet permission but that should be resolved in 
the latest DPs.
> 
>Cheers
> 
>Monte
>___
>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

  1   2   >