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: 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&&tCol
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: 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: 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: 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:"&tPath) 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:"&tPath)
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: Styled text on mobile

2020-07-17 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


Setting the browser widget user-agent to impersonate Chrome

2021-06-06 Thread Terry Judd via use-livecode
I’m trying to get the browser widget to identify itself as Chrome so that I can 
(attempt to) load a particular site. Is there a trick to how you format the 
user-agent string when you set the widget’s user-agent in its object inspector 
or should I just be able to enter something along these lines…

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/91.0.4472.77 Safari/537.36

This doesn’t work BTW (the page I attempt to load tells me to get Chrome).

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: Setting the browser widget user-agent to impersonate Chrome

2021-06-06 Thread Terry Judd via use-livecode
Never mind - it seems to be working now __

On 7/6/21, 12:43 pm, "use-livecode on behalf of Terry Judd via use-livecode" 
 wrote:

I’m trying to get the browser widget to identify itself as Chrome so that I 
can (attempt to) load a particular site. Is there a trick to how you format the 
user-agent string when you set the widget’s user-agent in its object inspector 
or should I just be able to enter something along these lines…

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, 
like Gecko) Chrome/91.0.4472.77 Safari/537.36

This doesn’t work BTW (the page I attempt to load tells me to get Chrome).

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


Read barcodes on Mac with mergAV?

2021-08-03 Thread Terry Judd via use-livecode
So, I’m trying to get mergAV to recognise any sort or barcode on a Mac but when 
I query mergAVCamBarcodeTypes() it returns empty.

Pretty sure this used to work – at least when I last tried it (admittedly 
probable 3 or 4 years ago) I was at least able to get it to recognise QR codes.

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: Read barcodes on Mac with mergAV?

2021-08-04 Thread Terry Judd via use-livecode
Thanks Monte - now that you mention it, I think the QR code scanning I did 
previously was on iOS. It does mean that the dictionary entry is wrong though 
as it says that both iOS and Mac are supported.

Best regards,

Terry...

On 04/08/2021, 19:07, "use-livecode on behalf of Monte Goulding via 
use-livecode"  wrote:

Hi Terry

Sorry to say but mergAV has never supported barcode scanning on macOS

Cheers

Monte

> On 4 Aug 2021, at 4:44 pm, Terry Judd via use-livecode 
 wrote:
> 
> So, I’m trying to get mergAV to recognise any sort or barcode on a Mac 
but when I query mergAVCamBarcodeTypes() it returns empty.
> 
> Pretty sure this used to work – at least when I last tried it (admittedly 
probable 3 or 4 years ago) I was at least able to get it to recognise QR codes.
> 
> 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


Re: Suggestion: Non-Appbuilding Community Edition

2021-09-05 Thread Terry Judd via use-livecode
Not sure how this would work - but what if only licensed versions of LC could 
produce and run distributable/shareable stacks while the free version could 
only run stacks produced by that particular instance of the app?

On 5/9/21, 3:57 pm, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

You wouldn't necessarily even need that much. Tell them to install the free 
version and open your stack from the File menu. It isn't an app but they'd 
have all the capabilities.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 4, 2021 7:53:43 PM Alex Tweedly via use-livecode 
 wrote:



___
use-livecode mailing list
use-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: Smile for Christmas.

2021-12-16 Thread Terry Judd via use-livecode
Surely we should be sending them straight to the US ;)

Terry…


From: use-livecode  on behalf of doc 
hawk via use-livecode 
Date: Friday, 17 December 2021 at 1:05 pm
To: How to use LiveCode 
Cc: doc hawk 
Subject: Re: Smile for Christmas.

rick ruminated,


>Combining two arrays is nice, but it really shouldn’t spell correct “color” to 
>“colour”.

Oh, dear I almost forgot.

It’s time for my annual vowel drive!

Please send all your excess “u” and other vowels (I’m looking at *you*, 
Britain!).

I will package them, and send them to the vowel-starved folks in czch, srb, and 
so forth . . .

:_)


___
use-livecode mailing list
use-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: Message box failure in 10.0.0?

2022-02-20 Thread Terry Judd via use-livecode
Just downloaded and tested and it works ok for me on Monterey.

Terry

From: use-livecode  on behalf of J. 
Landman Gay via use-livecode 
Date: Monday, 21 February 2022 at 3:26 pm
To: How to use LiveCode 
Cc: J. Landman Gay 
Subject: Re: Message box failure in 10.0.0?
Thanks for the reply. I should have mentioned I'm on Mac OS X Big Sur.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
On February 20, 2022 6:21:01 PM Paul Dupuis via use-livecode
 wrote:

> These are working for me in the message box under LC 10.0.0dp2 (64bit)
> under Windows 10
>
> On 2/20/2022 6:48 PM, J. Landman Gay via use-livecode wrote:
>> I'm trying out LC 10.0.0dp2 and the message box doesn't seem to be
>> working. I'm just checking here before I report it, in case it's just
>> me. None of the following work, the message box doesn't error but no
>> response appears:
>>
>> put the number of cds
>> put the number of cds of this stack
>> put the number of cards of stack "mystack"
>> the rect of stack "mystack"
>> edit script of 
>> etc.
>>
>> This works sometimes:
>> set the rect of this stack to 
>>
>> I'm not positive but it seems that "put" isn't working but "set" does.
>> Maybe.
>>
>> Also, keyboard shortcuts do not open the script editor, nor do
>> contextual menus show when Cmd-Control-Shift clicking. The only way I
>> can currently get to scripts is via the property inspector button or
>> the Objects menu. Cmd-opt-click doesn't open scripts of controls, and
>> since those aren't in the Object menu I need to use the property
>> inspector since typing "edit script of btn > box does nothing.
>>
>> I've double-checked the Messages button in the toolbar and toggled it
>> a few times, but no change. I tested on a couple of stacks in case it
>> was stack-related.
>>
>> Just me?
>>
>
>
> ___
> use-livecode mailing list
> use-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: Speaking of Filter and Match...

2022-03-12 Thread Terry Judd via use-livecode
There are sure to be more elegant ways but you could just rebuild the list 
skipping the duplicates as you go

# tList1 contains original list
put cr into tList2
repeat for each line x in tList1
if tList2 contains cr&x&cr then # ensures you check whole not partial lines
# do nothing
   else
put x&cr after tList2
end if
end repeat
put char 2 to -2 of tList2 into tList2 # delete the leading and trailing returns

If you need to retain line specific formatting in the field though you’ll need 
a different approach.

Terry…

Terry Judd | Senior Lecturer in Medical Education
Department of Medical 
Education
The University of Melbourne
M: 61-435 961 594
E: terry.j...@unimelb.edu.au
Publications


From: use-livecode  on behalf of Roger 
Guay via use-livecode 
Date: Sunday, 13 March 2022 at 1:55 pm
To: use-livecode@lists.runrev.com 
Cc: Roger Guay 
Subject: Speaking of Filter and Match...
I have a field with about a thousand lines with many duplicate lines, and I 
want to delete the duplicates. Seems like this should be simple but I am 
running around in circles. Can anyone help me with this?

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: Pixel 5

2022-04-20 Thread Terry Judd via use-livecode
I haven’t done any iOS apps for a little while but when I was - using an 
enterprise developer license - getting iOS apps onto our users’ (students and 
staff) phones was easy as. The hardest thing was finding a server to host the 
files (ipa, plist etc.) on.

Terry..

From: use-livecode  on behalf of Richard 
Gaskin via use-livecode 
Date: Thursday, 21 April 2022 at 8:00 am
To: use-livecode@lists.runrev.com 
Cc: Richard Gaskin 
Subject: Re: Pixel 5
Mike Kerner wrote:

 > I am on my second droid phone, and I agree, I probably could never
 > go back - but, for corporate app deployment and deployment, ios is
 > happier place.

What have I been missing?  Last time I did native mobile Apple was still
making devs jump through hoops just to install apps that aren't even
going into their app store. On Android we just turn off the sideloading
protection, install, and turn it back on again - no
handholding/gatekeeping from the  OS provider needed, no contact with
them needed at all.

All this time I thought Apple's message for orgs making apps for
internal use was to use Android. I sometimes do medical apps, where iOS
is strongly represented. I'd love it if Apple has a way to beat Android
for ease of deployment.

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


Can Xavvi generate sensible text output as well as code?

2023-05-17 Thread Terry Judd via use-livecode
Let’s say I have a whole lot of input statements/info, some of which is generic 
but some of which varies according by user. Any thoughts on whether it might be 
possible to leverage Xavvi to process and combine that info into useful prose 
summaries for each user in a way that I can’t already do in Livecode - ie 
generative AI text rather than merging into template text)?

Terry

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


Re: Can Xavvi generate sensible text output as well as code?

2023-05-18 Thread Terry Judd via use-livecode
My day to day work is in medical education – and assessment specifically. I’m 
interested in using LLMs to (1) help generate assessment items (well draft 
versions of them at least) and (2) individualised descriptive feedback based on 
assessment performance.

But, rather than trying to get LC/Xavvi to do it all I think I’ll likely end up 
using LC draw on the relevant data to construct an appropriate query, passing 
that to the LLM (ChatGPT, BioMedLM or whatever) via API to generate and return 
the response, and then having LC deal with it from there (e.g. upload to 
assessment item bank for further work; assemble and distribute feedback report).

A few hours yesterday spent crafting and refining inputs and queries suggests 
that’s all entirely possible.

Should be fun!

> How to integrate the AI part with the LC part? Again, one could acquire
> just the list, and then let LC generate the output string. But at least all
> would end up in a handler, fully in LC, where I assume additional “real”
> work would then be done.
>
> What I mean is, how can one best integrate the “outside” AI work with the
> “inside” LC work? That is what I have to get my head around.
>
> Lurking in the background,I do not want AI to put LC out to pasture. I did
> that once with HC, and still have not gotten over 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


Re: Return Total of a Given Repeated Number in a List

2024-05-23 Thread Terry Judd via use-livecode
Probably not the shortest approach, but I’d probably do either this…

function countItemRepsInList pList, pItem
   replace comma with cr in pList
   filter pList with pItem
   return (the number of lines in pList)
end countItemRepsInList

or this

function countItemRepsInList pList, pItem
   put 0 into tCount
   repeat for each item tItem in pList
  if (tItem = pItem) then add 1 to tCount
   end repeat
   return tCount
end countItemRepsInList

Terry

From: use-livecode  on behalf of Roger 
Guay via use-livecode 
Date: Friday, 24 May 2024 at 12:09 PM
To: How to use LiveCode 
Cc: Roger Guay 
Subject: Return Total of a Given Repeated Number in a List

Hi all,

Please, what’s the easiest way to return the total number of a given repeated 
number in a list of numbers? IOW, how many times is 2 repeated in a list 
containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help.


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: I seem to have missed something

2024-07-25 Thread Terry Judd via use-livecode
Presumably(?) being in an educational setting means the whole internal apps 
licensing model doesn’t apply but I agree with James that it doesn’t seem quite 
equitableas it is currently designed and that there is a case for 
differentiating between developers and users. By way of comparison, a number of 
people in my work group use Trello and those users that need to create boards 
and edit board pay, but those who just need to access them don’t. What about a 
lower cost ‘player’ application that can run internal stacks/apps but not 
create or modify them?

Terry

From: use-livecode  on behalf of James 
At The Hales via use-livecode 
Date: Friday, 26 July 2024 at 10:38 AM
To: use-livecode@lists.runrev.com 
Cc: James At The Hales 
Subject: Re: I seem to have missed something
Perhaps it would help if there was a definition of a seat, re licensing.
There seems to be confusion in parts.

Making an app and selling it is fine, 5% of sale price per sale. Crystal clear.

But, making an app and distributing it for free (via app store of whatever) or 
within a company is muddled.

Some of Kevin’s replies seem to point to a cost for the distributed app 
equivalent to a “seat”.

This doesn’t make sense to me unless the distributed app is using LC resources 
(e.g web systems or AI).
I mean if the app is standalone (not using LC services) what does it matter if 
I give it freely to my friends or work colleagues? It is still a free app (from 
their point of view.)

Surely a “seat” refers to developers accessing the Create IDE, to make apps.
Not users of the app?

So shouldn’t a distinction be made between “developer seats” and client/user 
seats that do or not access LC services?

James



___
use-livecode mailing list
use-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: Lockscreen and progress bar

2024-07-25 Thread Terry Judd via use-livecode
How about taking a screengrab just before you run the loop, place that over the 
top of the content that changes, layer the progress thingy over that and then 
delete the screengrab and hide the thingy when the loop is done?

From: use-livecode  on behalf of jbv via 
use-livecode 
Date: Friday, 26 July 2024 at 4:44 PM
To: How to use LiveCode 
Cc: j...@souslelogo.com 
Subject: Lockscreen and progress bar
Hi list,

I have a main loop that does a lot of things, like resizing images,
precessing imagedata, creating fields and groups, etc.
On top of the loop I have added "lock screen" to speed things up, and
also because I don't want users to see what is going on, only the final
layout when the loop is over.
However, while the loop is running, I would like to have a progress bar
and a message such as "step 1/20" etc.

How can I handle that ? I took a look at callbacks, but unless I missed
something, it seems limited to players.

Thank you in advance.
jbv

___
use-livecode mailing list
use-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: Lockscreen and progress bar

2024-07-26 Thread Terry Judd via use-livecode
I was thinking you would omit the lock screen altogether. Or if things are too 
slow without it can you move to a different card while all that other stuff is 
happening?

From: use-livecode  on behalf of jbv via 
use-livecode 
Date: Friday, 26 July 2024 at 5:13 PM
To: How to use LiveCode 
Cc: j...@souslelogo.com 
Subject: Re: Lockscreen and progress bar
Hello Terry,

Yes I thought of that. The problem is that "lock screen" hinders
the progress bar to be updated while the loop is running.
I also tried to shortly "break" the lock screen by inserting
   unlock screen
   lock screen
within the loop, hoping that it would update the display, but
to no avail.

Thank you anyway for the idea.

Le 2024-07-26 02:54, Terry Judd via use-livecode a écrit :
> How about taking a screengrab just before you run the loop, place that
> over the top of the content that changes, layer the progress thingy
> over that and then delete the screengrab and hide the thingy when the
> loop is done?
>
> From: use-livecode  on behalf of
> jbv via use-livecode 
> Date: Friday, 26 July 2024 at 4:44 PM
> To: How to use LiveCode 
> Cc: j...@souslelogo.com 
> Subject: Lockscreen and progress bar
> Hi list,
>
> I have a main loop that does a lot of things, like resizing images,
> precessing imagedata, creating fields and groups, etc.
> On top of the loop I have added "lock screen" to speed things up, and
> also because I don't want users to see what is going on, only the final
> layout when the loop is over.
> However, while the loop is running, I would like to have a progress bar
> and a message such as "step 1/20" etc.
>
> How can I handle that ? I took a look at callbacks, but unless I missed
> something, it seems limited to players.
>
> Thank you in advance.
> jbv
>
> ___
> use-livecode mailing list
> use-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: I seem to have missed something

2024-07-26 Thread Terry Judd via use-livecode
I get what you are saying James, I’m just suggesting that there could be a 
lower cost version of create for ‘non-developer’ seats. That version doesn’t 
have access to the IDE and it’s only purpose run stacks or ‘apps’ that are 
produced by the full version of create. You would still need the same number of 
seats but at a more reasonable cost. Otherwise, I’m kinda struggling to see why 
you might choose LiveCode over other less constrained tools in an in-house 
commercial setting.

Regards,

Terry

From: use-livecode  on behalf of James 
Hale via use-livecode 
Date: Friday, 26 July 2024 at 4:55 PM
To: use-livecode@lists.runrev.com 
Cc: James Hale 
Subject: Re: I seem to have missed something
Terry asked:
"What about a lower cost ‘player’ application that can run internal stacks/apps 
but not
create or modify them?”

You misunderstand me Terry, I think it is perfectly clear to count the use of a 
stack as a seat given it must use the LC IDE (either desktop or Web.)

My confusion is in regard to compiled/standalone apps.

The discussion so far seems to count them in the "needing a seat" group if they 
are say distributed in a company etc.

So, to clarify, does a “seat” mean the use of the IDE is required? Which is 
pretty much the current situation.

OR does a “seat” mean anyone using the app created by LC?

James
___
use-livecode mailing list
use-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


Polygrid or polylist as datagrid form replacement?

2024-08-15 Thread Terry Judd via use-livecode
I’ve been using datagrid form objects for a number of years and am 
investigating the viability of replacing them with polygrids or polylist 
widgets but on first look it seems that both have fixed/uniform row heights, 
whereas datagrid form rows can dynamically resize their height according to 
their content - ie individual rows can have different heights.

Is that right, or am I missing something?

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: Polygrid or polylist as datagrid form replacement?

2024-08-16 Thread Terry Judd via use-livecode
Thanks Andreas – that lesson explains how it works for Mark much more clearly 
than I could in the space of an email.

Form datagrids are great but they can be a bit slow to render when they contain 
a lot of stuff. I use them to create fairly complex asssessment feedback 
reports (PDFs) to students and I was looking for possible ways to speed up the 
generation process. I guess I’ll just stick with what works.

Regards – Terry

So, Terry is correct: Polygrid and Polylist currently have fixed/uniform row 
heights. I hope that might be enhanced one day. So if variable row height is a 
requirement, you’ll have to stick with the Datagrid for now.

This was also discussed in the Forum last year, including hints on how to 
achieve variable row heights in a Datagrid:
https://forums.livecode.com/viewtopic.php?f=8&t=37819&p=222950&hilit=datagrid#p222950

/Andreas

> 16 aug. 2024 kl. 12:02 skrev Mark Smith via use-livecode 
> :
>
> Hi Terry, I can’t answer your question but I am curious if you have any code 
> you use to dynamically resize the row height in a datagrid. I am very 
> interested in doing this.
>
> Thanks
> Mark
>
> Sent from my iPhone
>
>> On Aug 16, 2024, at 7:35 AM, Terry Judd via use-livecode 
>>  wrote:
>>
>> I’ve been using datagrid form objects for a number of years and am 
>> investigating the viability of replacing them with polygrids or polylist 
>> widgets but on first look it seems that both have fixed/uniform row heights, 
>> whereas datagrid form rows can dynamically resize their height according to 
>> their content - ie individual rows can have different heights.
>>
>> Is that right, or am I missing something?
>>
>> 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: 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

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

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: 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: 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: "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: fullscreenmode and rect of a substack on mobile device ?

2018-08-19 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: 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 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: 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: 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
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
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
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
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-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 wor

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


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

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&tab& tA1[tLength][tPhrase]&cr 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: 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

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

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

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

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 horiz

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

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

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


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

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

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

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

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: 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: common code patterns

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

Terry...

On 11/08/2017 2:54 pm, "use-livecode on behalf of Scott Morrow via 
use-livecode"  wrote:

What about the use of mobile-only commands… needing to always wrap them in 
something to keep the IDE from touching.

if "mobile" is in the environment then
  mobileControlSet tObject, tProp, tValue
end if  


> On Aug 10, 2017, at 6:50 PM, Monte Goulding via use-livecode 
 wrote:
> 
> 
>> On 11 Aug 2017, at 11:45 am, Mark Wieder via use-livecode 
 wrote:
>> 
>> You know, if you'd post what you're trying to do it might be more 
possible to stay on target here. For instance, I regularly have to fill an 
array with constants in an initialization routine or use a custom property 
array filled with constants. Is that any help? Or are you looking to make a 
macro processor? Or a library of common ? Or something else?
> 
> A library of common  is probably the best description at the 
moment but the use case is not reusable handlers as we have other means for 
that.
> 
> Basically anything where you follow a common pattern to do a thing but 
you can’t abstract away so you don’t have to write the pattern any more.
> 
> 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: $1,000 Bounty For LiveCode Bug 20240

2017-08-14 Thread Terry Judd via use-livecode
Yeah, sometimes, but in my experience not always. I’ve had to resort to closing 
the affected tab at least.

Terry...


Terry Judd| Senior Lecturer in Medical Education
Department of Medical Education 

The University of Melbourne 
M: 0435 961 594  |  E: terry.j...@unimelb.edu.au
Publications 


On 15/08/2017 12:06 pm, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

I think we've all seen it. It isn't necessary to close the editor though, I 
just reselect and it works the second time.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com



On August 14, 2017 8:34:11 PM Bob Sneidar via use-livecode 
 wrote:

> Yup I've seen that myself. I don't know what to do about it but close the 
> script editor and reopen it. Seems to go away.
>
> Bob S
>
>
>> On Aug 14, 2017, at 16:38 , RunRevPlanet via use-livecode 
>>  wrote:
>>
>> Hi,
>>
>> Over at LiveCode Quality Control Centre (QCC) there is a Bug 20240 has 
been a
>> problem for me lately.
>
>
> ___
> use-livecode mailing list
> use-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

Couple of questions about the browser widget

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

The first one concerns displaying local images – either stored (permanently or 
temporarily) within the stack itself or in the local documents/whatever folder. 
I’d like to set the htmlText of the browser rather than a url. If that’s the 
case, how do I refer to the image in order for it to be displayed?

The second one is whether it is possible to get the ‘formattedHeight’ of the 
browser content. I’d ideally like to combine the browser with a couple of other 
grouped controls so that I can scroll them as a single object. Is that doable?

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: Couple of questions about the browser widget

2017-08-15 Thread Terry Judd via use-livecode
Thanks for your help Mike – I’m no good at Javascript either ;) but thankfully 
there is plenty of stuff out there on the web written by people that are. I’ll 
give it a go and see if I can make it work.

Regards,

Terry...

On 16/08/2017 10:23 am, "use-livecode on behalf of Mike Bonner via 
use-livecode"  wrote:

For the second question, if your htmltext contains a javascript function
that returns document.body.scrollHeight you should be able to get the
height that way.I'm not any good at javascript, but how it would
probably work would be to have something like this..

window.onload = function(e){
 livecode.myHeight('lcHeight",document.body.scrollHeight)
 }

Then have an lcHeight handler defined in your stack to receive the message.

command lcHeight pHeight
   -- do something with pHeight
end lcheight

Then of course you have to declare the handler..

set the javascripthandlers to "lcHeight"

I haven't actually done this, but think the idea is close enough to get you
there.
    
    On Tue, Aug 15, 2017 at 5:55 PM, Terry Judd via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I’m thinking about replacing a field object that contains text, inline
> images and simple tables with the browser widget but there are a couple of
> issues I’d need to work through first and would welcome any suggestions or
> ideas.
>
> The first one concerns displaying local images – either stored
> (permanently or temporarily) within the stack itself or in the local
> documents/whatever folder. I’d like to set the htmlText of the browser
> rather than a url. If that’s the case, how do I refer to the image in 
order
> for it to be displayed?
>
> The second one is whether it is possible to get the ‘formattedHeight’ of
> the browser content. I’d ideally like to combine the browser with a couple
> of other grouped controls so that I can scroll them as a single object. Is
> that doable?
>
> Regards,
>
> Terry...
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Couple of questions about the browser widget

2017-08-15 Thread Terry Judd via use-livecode
Hi Mike – yeah thanks, the temp file approach for setting the browser widget 
and getting an image to display works well so maybe easiest to go that way. I’m 
still steeling myself for a foray into javascript so haven’t tried anything on 
that front yet. I’ve got some Dropbox library related stuff to distract me 
first though.

Regards,

Terry...

On 16/08/2017 10:53 am, "use-livecode on behalf of Mike Bonner via 
use-livecode"  wrote:

I haven't managed yet. (can't get it to fire, but hey.. did I mention i'm
no good at javascript?)

Also I noticed, setting the htmltext of the widget seems to run through a
urlencode. (I had a sample page in a field and was setting the htmltext to
it, but it got totally munged.. So I've been creating a temp file and
setting the url which works..)

To show an image you can use something like this..



(windows of course) Getting the javascripthandlers to work might take the
input of another. I can't seem to make it go. (Note also, I looked in the
dictionary for the browser widget and used the example code there for the
"set the javascripthandlers..' part.. but the example needs to be fixed.
You need to specify the widget.
set the javascripthandlers of widget "mywidge" to "whatever*
    
    
    
On Tue, Aug 15, 2017 at 6:34 PM, Terry Judd via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks for your help Mike – I’m no good at Javascript either ;) but
> thankfully there is plenty of stuff out there on the web written by people
> that are. I’ll give it a go and see if I can make it work.
>
> Regards,
>
> Terry...
>
> On 16/08/2017 10:23 am, "use-livecode on behalf of Mike Bonner via
> use-livecode"  use-livecode@lists.runrev.com> wrote:
>
> For the second question, if your htmltext contains a javascript
> function
> that returns document.body.scrollHeight you should be able to get the
> height that way.I'm not any good at javascript, but how it would
> probably work would be to have something like this..
>
> window.onload = function(e){
>  livecode.myHeight('lcHeight",document.body.scrollHeight)
>  }
>
> Then have an lcHeight handler defined in your stack to receive the
> message.
>
> command lcHeight pHeight
>-- do something with pHeight
> end lcheight
>
> Then of course you have to declare the handler..
>
> set the javascripthandlers to "lcHeight"
>
> I haven't actually done this, but think the idea is close enough to
> get you
> there.
>
> On Tue, Aug 15, 2017 at 5:55 PM, Terry Judd via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > I’m thinking about replacing a field object that contains text,
> inline
> > images and simple tables with the browser widget but there are a
> couple of
> > issues I’d need to work through first and would welcome any
> suggestions or
> > ideas.
> >
> > The first one concerns displaying local images – either stored
> > (permanently or temporarily) within the stack itself or in the local
> > documents/whatever folder. I’d like to set the htmlText of the
> browser
> > rather than a url. If that’s the case, how do I refer to the image
> in order
> > for it to be displayed?
> >
> > The second one is whether it is possible to get the
> ‘formattedHeight’ of
> > the browser content. I’d ideally like to combine the browser with a
> couple
> > of other grouped controls so that I can scroll them as a single
> object. Is
> > that doable?
> >
> > Regards,
> >
> > Terry...
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _

Re: Couple of questions about the browser widget

2017-08-16 Thread Terry Judd via use-livecode
Thanks hh that's really helpful stuff. Thanks also to Jonathan and Mike.

Regards,

Terry...

Sent from my iPad

> On 16 Aug 2017, at 9:00 pm, hh via use-livecode 
>  wrote:
> 
> Additional to Jonathan's instructions.
> 
> Basic:
> http://forums.livecode.com/viewtopic.php?f=7&t=29589
> 
> Medium: Get MouseEvents from browser widget
> http://forums.livecode.com/viewtopic.php?p=154496#p154496
> 
> and others there (7 Browser Widget usage examples) ...
> 
> ___
> use-livecode mailing list
> use-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: Couple of questions about the browser widget

2017-08-16 Thread Terry Judd via use-livecode
Perfect! Interesting about the hScrollbar setting – I seem to be unable to 
deselect that (or vScrollbar) in the property editor – or change them via 
script (both are stuck on true).

Thanks,

Terry...

On 16/08/2017 11:49 pm, "use-livecode on behalf of Mike Bonner via 
use-livecode"  wrote:

Ty HH and jonathan, its working now for me.

Terry:
I have this in my temporary file..

Hi!

window.onload = function(e) {
liveCode.lcHeight(document.body.scrollHeight);
}






It loads my picture fine, and (now that i have capitalization right.. DOH)
it sends a livecode message called lcHeight which is in the
javascripthandlers for the widget it loads into.

For the handler in LC I have this..

command lcHeight pHeight
 set the height of widget 1 to pHeight + 23 -- +23 because I have the
horizontal scrollbar showing
 set the topleft of widget 1 to the topleft of this card
end lcHeight

On Wed, Aug 16, 2017 at 6:42 AM, Terry Judd via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks hh that's really helpful stuff. Thanks also to Jonathan and Mike.
>
> Regards,
>
> Terry...
>
> Sent from my iPad
>
> > On 16 Aug 2017, at 9:00 pm, hh via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Additional to Jonathan's instructions.
> >
> > Basic:
> > http://forums.livecode.com/viewtopic.php?f=7&t=29589
> >
> > Medium: Get MouseEvents from browser widget
> > http://forums.livecode.com/viewtopic.php?p=154496#p154496
> >
> > and others there (7 Browser Widget usage examples) ...
> >
> > ___
> > use-livecode mailing list
> > use-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: Couple of questions about the browser widget

2017-08-16 Thread Terry Judd via use-livecode
Hi Mike - I don’t think it’s an issue in my case. I’m displaying pretty simple 
pages – just text and images, no columns or fancy layouts. Nothing that is 
displayed will be wider than the browser (images are resized before being 
loaded to ensure this) so no horizontal scrolling will be required under any 
circumstances.

Anyway, you don’t seem to be able to toggle either scrollbar off either using 
the property inspector or via script, even when the browser widget has no 
content (no htmlText or url assigned). Given that I’m setting the height of the 
widget so that it doesn’t need to scroll vertically and horizontal scrolling is 
irrelevant then the inability to toggle these properties isn’t a problem. 
Still, it seems like a bug? Interestingly, under 8.1.4 both vScrollbar and 
hScrollbar are checked in the property inspector (and stuck like that) while on 
8.1.6 they are both unchecked (and stuck like that).

Regards,

Terry...

On 17/08/2017 6:33 am, "use-livecode on behalf of Mike Bonner via use-livecode" 
 wrote:

hmm.  If the width of the page fits without need of a horizontal scrollbar,
it should disappear, so maybe your code should check to see if its false
first, then add the 23 pixels or not, depending. (I also can't test to see
if its 23 on every platform at the moment)

I'm wondering if you're just not allowed to set a bar to false when the
content is too wide or high and vice versa.

On Wed, Aug 16, 2017 at 2:10 PM, Terry Judd via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Perfect! Interesting about the hScrollbar setting – I seem to be unable to
> deselect that (or vScrollbar) in the property editor – or change them via
> script (both are stuck on true).
>
> Thanks,
>
> Terry...
>
> On 16/08/2017 11:49 pm, "use-livecode on behalf of Mike Bonner via
> use-livecode"  use-livecode@lists.runrev.com> wrote:
>
> Ty HH and jonathan, its working now for me.
>
> Terry:
> I have this in my temporary file..
> 
> Hi!
> 
> window.onload = function(e) {
> liveCode.lcHeight(document.body.scrollHeight);
> }
>
> 
> 
> 
> 
>
> It loads my picture fine, and (now that i have capitalization right..
> DOH)
> it sends a livecode message called lcHeight which is in the
> javascripthandlers for the widget it loads into.
>
> For the handler in LC I have this..
>
> command lcHeight pHeight
>  set the height of widget 1 to pHeight + 23 -- +23 because I have
> the
> horizontal scrollbar showing
    >  set the topleft of widget 1 to the topleft of this card
> end lcHeight
>
> On Wed, Aug 16, 2017 at 6:42 AM, Terry Judd via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Thanks hh that's really helpful stuff. Thanks also to Jonathan and
> Mike.
> >
> > Regards,
> >
> > Terry...
> >
> > Sent from my iPad
> >
> > > On 16 Aug 2017, at 9:00 pm, hh via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> > >
> > > Additional to Jonathan's instructions.
> > >
> > > Basic:
> > > http://forums.livecode.com/viewtopic.php?f=7&t=29589
> > >
> > > Medium: Get MouseEvents from browser widget
> > > http://forums.livecode.com/viewtopic.php?p=154496#p154496
> > >
> > > and others there (7 Browser Widget usage examples) ...
> > >
> > > ___
> > > use-livecode mailing list
> > > use-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-livecod

Re: Couple of questions about the browser widget

2017-08-16 Thread Terry Judd via use-livecode
Yeah, there’s no problem with the browser display here either – it sizes 
correctly and no scrollbars are displayed. The issue is purely to do with the 
checkboxes in the property inspector being non-responsive. I’ll bug report it 
when I have a bit of spare time tomorrow.

Terry...

On 17/08/2017 9:23 am, "use-livecode on behalf of Mike Bonner via use-livecode" 
 wrote:

Strange.  when I run my little test stack and set the height of the browser
+ the 23 extra pixels, the vertical scrollbar goes away on its own.  Gotta
get my other machines back up and running so I can test on them.  Why there
would be scrollbars for a page with nothing in it is beyond me.
Out of curiosity.. If you nudge the width and height of the widget when
empty, do the scrollbars go away?  On my system (win 10, and lc 9 dp8)  I
have no control over whether the scrollbars appear or not either, other
than sizing the widget to the point where all the content fits.  But they
do poof for me when the sizes are right.

The checkboxes for me on 9 dp8 are checked. One can uncheck them but it
doesn't take.  I do think the widget just lets webkit handle it the default
way.. Scrollbars as needed. But if that's the case, having check-boxes in
the inspector that do nothing would be a bug of a type also.



On Wed, Aug 16, 2017 at 5:04 PM, Terry Judd via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Mike - I don’t think it’s an issue in my case. I’m displaying pretty
> simple pages – just text and images, no columns or fancy layouts. Nothing
> that is displayed will be wider than the browser (images are resized 
before
> being loaded to ensure this) so no horizontal scrolling will be required
> under any circumstances.
>
> Anyway, you don’t seem to be able to toggle either scrollbar off either
> using the property inspector or via script, even when the browser widget
> has no content (no htmlText or url assigned). Given that I’m setting the
> height of the widget so that it doesn’t need to scroll vertically and
> horizontal scrolling is irrelevant then the inability to toggle these
> properties isn’t a problem. Still, it seems like a bug? Interestingly,
> under 8.1.4 both vScrollbar and hScrollbar are checked in the property
> inspector (and stuck like that) while on 8.1.6 they are both unchecked 
(and
> stuck like that).
>
> Regards,
>
> Terry...
>
> On 17/08/2017 6:33 am, "use-livecode on behalf of Mike Bonner via
> use-livecode"  use-livecode@lists.runrev.com> wrote:
>
> hmm.  If the width of the page fits without need of a horizontal
> scrollbar,
> it should disappear, so maybe your code should check to see if its
> false
> first, then add the 23 pixels or not, depending. (I also can't test to
> see
> if its 23 on every platform at the moment)
>
> I'm wondering if you're just not allowed to set a bar to false when 
the
> content is too wide or high and vice versa.
>
> On Wed, Aug 16, 2017 at 2:10 PM, Terry Judd via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Perfect! Interesting about the hScrollbar setting – I seem to be
> unable to
> > deselect that (or vScrollbar) in the property editor – or change
> them via
> > script (both are stuck on true).
> >
> > Thanks,
> >
> > Terry...
> >
> > On 16/08/2017 11:49 pm, "use-livecode on behalf of Mike Bonner via
> > use-livecode"  > use-livecode@lists.runrev.com> wrote:
> >
> > Ty HH and jonathan, its working now for me.
> >
> > Terry:
> > I have this in my temporary file..
> > 
> > Hi!
> > 
> > window.onload = function(e) {
> > liveCode.lcHeight(document.body.scrollHeight);
> > }
> >
> > 
> > 
> > 
> > 
> >
> > It loads my picture fine, and (now that i have capitalization
> right..
> > DOH)
> > it sends a livecode message called lcHeight which is in the
> > javascripthandlers for the widget it loads into.
> >
> > For the handler in LC I have this..
> >
> > command lcHeight pHeight
> >  set the height of widget 1 to pHeight + 23 -- 

Displayed publication date of LC iOS apps in iTunes

2017-08-31 Thread Terry Judd via use-livecode
This is something that I’ve been wondering about for a while. Not a problem as 
such but it looks odd.

I develop all my apps using an enterprise iOS developer license so it might be 
that it is peculiar to that license type but I don’t have anything to compare 
it to. Anyway, when I install one of my apps onto an iOS device and connect it 
to iTunes and view the list of apps either on or available to install on the 
device then the date of the app always shows up as 1/01/1904 (I’m in Australia 
so that’s dd/mm/ format).

Does anyone else see this, and is there a way to change it to a more sensible 
value?

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: [off]macbook model

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

Screen real estate is an issue for me though and when I’m in the office, at 
work or home, I tend to hook into an external monitor (one is 21 inch the other 
23) and this makes things a lot easier for LC development – particularly for 
mobile stuff, where I often have LC and the simulator open or even two copies 
of LC.

If portability was a non-issue I’d be very tempted by a 27 inch iMac, but even 
at home I do find myself using my Air in different places for different reasons 
on quite a regular basis. That flexibility would be tough to give up.

Terry...

On 1/09/2017 11:53 am, "use-livecode on behalf of Mike Kerner via use-livecode" 
 wrote:

I'm thinking of replacing my 2011 macbook air with a new macbook, but I'm
torn on which one to go for.  Primary uses are going to be LC development
and browser goodness.
Before anyone chimes in about Windoze or LInux, I already have both of
those covered.
Things I'm wondering about:
1) Screen real estate:  Appearance aside, is there an advantage to retina?
Do I get more working space if I don't go to a 15" display?
2) I don't notice the speed of this box affecting much of anything.  For
development, does cpu really matter?  I suspect I'd do better with some
more memory, but has anyone noticed that it matters?
3) I can get a 27" 5k imac pretty nicely equipped for the same price as a
15" MBP.  Ignoring the portability issue, any thoughts?

-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-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

Print to PDF output dodgy on Windows

2017-09-03 Thread Terry Judd via use-livecode
Before I bug report this, has anyone else had problems printing styled text to 
PDF on Windows? I’ve been printing multipage reports (lots of formatting, 
graphics etc) to PDF using LC on a Mac for ages without any problems (well, not 
this particular problem at least). However, when I try to do the same on 
Windows it screws up the text formatting if any of the text within a field to 
be printed includes bolded or italicised words, introducing adjacent 
non-existent spaces or (equally bad) rending the styled text so that it 
overlaps the non-styled text on either side of it. I’ve tried changing the font 
at the stack and field level, thinking that might help but to no avail. If an 
entire line or field has a style associated with it then there is no problem. 
It’s only when styles are mixed within a field.

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

Re: Print to PDF output dodgy on Windows

2017-09-04 Thread Terry Judd via use-livecode
Thanks Mark - I wasn't aware of that setting. I'll try setting it to true 
before I print each report and see what happens. Based on the dictionary entry 
it sounds like I'll need to set it back to false again before my script updates 
all the report's various templates, and perhaps even close and reopen the stack 
before turning it back on and printing the next report?

Terry...

Sent from my iPhone

> On 4 Sep 2017, at 4:20 pm, Mark Waddingham via use-livecode 
>  wrote:
> 
>> On 2017-09-04 06:43, Terry Judd via use-livecode wrote:
>> Before I bug report this, has anyone else had problems printing styled
>> text to PDF on Windows? I’ve been printing multipage reports (lots of
>> formatting, graphics etc) to PDF using LC on a Mac for ages without
>> any problems (well, not this particular problem at least). However,
>> when I try to do the same on Windows it screws up the text formatting
>> if any of the text within a field to be printed includes bolded or
>> italicised words, introducing adjacent non-existent spaces or (equally
>> bad) rending the styled text so that it overlaps the non-styled text
>> on either side of it. I’ve tried changing the font at the stack and
>> field level, thinking that might help but to no avail. If an entire
>> line or field has a style associated with it then there is no problem.
>> It’s only when styles are mixed within a field.
> 
> Do you have 'the formatForPrinting' of the stack set to true?
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
> 
> ___
> use-livecode mailing list
> use-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: Print to PDF output dodgy on Windows

2017-09-04 Thread Terry Judd via use-livecode
Thanks again Mark – it’s all printing nicely now without having to close and 
open the target stack.

Regards,

Terry...

 
On 4/09/2017 5:47 pm, "use-livecode on behalf of Mark Waddingham via 
use-livecode"  wrote:

On 2017-09-04 09:20, Terry Judd via use-livecode wrote:
> Thanks Mark - I wasn't aware of that setting. I'll try setting it to
> true before I print each report and see what happens. Based on the
> dictionary entry it sounds like I'll need to set it back to false
> again before my script updates all the report's various templates, and
> perhaps even close and reopen the stack before turning it back on and
> printing the next report?

The dictionary entry might need an update. Since we added 'fullscreen 
mode', I think the engine is a lot better at 'resetting things' when you 
toggle formatForPrinting on and off.

The 'formatForPrinting' changes the way fonts are handled on Windows to 
ensure that screen-specific hints and metric changes don't occur - 
'fullscreen mode' uses it implicitly internally on Windows too 
(otherwise fonts don't necessarily linearly scale with size, something 
which is quite important for printing!) so you should find you can just 
toggle it on and off.

Warmest Regards,

Mark.

-- 
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-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
Actually, what is the process for getting remote debugging to work on iOS – I’d 
be happy to get it working in the simulator to start with. I know that you need 
to use a business licensed version of LC 9 to have access to it, but beyond 
that...

Terry...

On 5/09/2017 11:26 am, "use-livecode on behalf of Dave Kilroy via use-livecode" 
 wrote:

I have never been able to get it working (except in iOS simulator) - in the 
past I’ve tried all sorts of things (including booking a session at my local 
Apple shop to see if they could find any problem with the bluetooth etc on my 
mbp and various iOS devices - never a glimmer of anything - maybe at some stage 
in the future when I get a new dev machine…

Kind regards

Dave


> Mine never did come back. I haven't seen it in months. 
> 
> On 9/4/17 6:41 PM, Alex Tweedly via use-livecode wrote:
> 
> > Too late - it just came back again. 
> > 
> > I'm on MacOS 10.10.5 - no extra firewall or security software running. 
> > 
> > Now that I'm alert to it, if it happens again I'll (likely) notice it 
> > immediately, and take more note of what happened just before it. 
> > 
> > Thanks 
> > 
> > Alex. 
> > 
> > 
> > On 05/09/2017 00:09, Monte Goulding via use-livecode wrote: 
> >>> On 5 Sep 2017, at 9:03 am, Alex Tweedly via use-livecode 
> >>> <[hidden email] 
>
 wrote: 
> >>> 
> >>> I'm sure I've seen this question on the list ... but just can't find 
> >>> the right search term to find it :-) 
> >>> 
> >>> I've been using the remote debugger (on Android, with 9.0.0DP8 
> >>> Business), for the last day or so. And then tonight it just suddenly, 
> >>> for no reason I can think of, stopped asking me if I wanted a remote 
> >>> debug session. 
> >>> 
> >>> How do I get it back ? 
> >>> 
> >>> Did I do something to make it go in a huff ? 
> >> This does sound a bit like what Jacque has experienced. Can you try 
> >> temporarily disabling any firewalls or web shields and testing. 
> >> 
> >> Cheers 
> >> 
> >> Monte 
> >> ___ 
> >> use-livecode mailing list 
> >> [hidden email] 

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

> > 
> > 
> > ___ 
> > use-livecode mailing list 
> > [hidden email] 

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


> On 5 Sep 2017, at 11:36 am, Terry Judd via use-livecode 
 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

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"  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 
 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"  wrote:
> 
> 
>> On 5 Sep 2017, at 11:36 am, Terry Judd via use-livecode 
 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

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"  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 
 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"  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 
 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"  wrote:
>> 
>> 
>>> On 5 Sep 2017, at 11:36 am, Terry Judd via use-livecode 
 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 subscri

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


> On 5 Sep 2017, at 1:08 pm, Terry Judd via use-livecode 
 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
Bug 20327.

Terry...

On 5/09/2017 1:19 pm, "use-livecode on behalf of Terry Judd via use-livecode" 
 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"  wrote:


> On 5 Sep 2017, at 1:08 pm, Terry Judd via use-livecode 
 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-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" 
 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@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@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: 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

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

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

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

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

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

HTML5 export broken in 9.0.0-dp-6?

2017-03-17 Thread Terry Judd via use-livecode
 Is it just me or is HTML5 export not working in 9.0.0-dp-6? A stack that 
worked in 8.1.2 just a few minutes ago now throws an exception...

To use dlopen, you need to use Emscripten's linking support, see 
https://github.com/kripken/emscripten/wiki/Linking

...and I seem to get the same thing event with a brand new stack just 
containing a single button. In the past I only saw this error when I accidently 
included something in the stack that it didn’t like (like a widget or a 
substack). Any ideas?

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: HTML5 export broken in 9.0.0-dp-6?

2017-03-17 Thread Terry Judd via use-livecode
OK, thanks. I’ll try an earlier DP.

Regards,

Terry...

On 17/03/2017 7:04 pm, "use-livecode on behalf of Ali Lloyd via use-livecode" 
 wrote:

Hi Terry,
This is a known issue, flagged in the release email (but not the release
notes unfortunately). Here is the bug:
http://quality.livecode.com/show_bug.cgi?id=19399

On Fri, Mar 17, 2017 at 7:04 AM Terry Judd via use-livecode <
use-livecode@lists.runrev.com> wrote:

>  Is it just me or is HTML5 export not working in 9.0.0-dp-6? A stack that
> worked in 8.1.2 just a few minutes ago now throws an exception...
>
> To use dlopen, you need to use Emscripten's linking support, see
> https://github.com/kripken/emscripten/wiki/Linking
>
> ...and I seem to get the same thing event with a brand new stack just
> containing a single button. In the past I only saw this error when I
> accidently included something in the stack that it didn’t like (like a
> widget or a substack). Any ideas?
>
> Regards,
>
> Terry...
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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   >