RE: Debug java on Mobile Browser

2017-09-07 Thread Ralph DiMola via use-livecode
Ali,

Using Chrome/Android

Although the device shows in dev tools and I have an LC app using the mobile
browser open on the device I don't see the URL of the page like you do if
you open Chrome on the device. Using Chrome on the device remote debugging
works great. The dev tools does not see the instance of browser in LC. I am
using the LC mobile browser. Should I be using the LC browser widget
instead? Am I relegated to doing alerts all over the place? This was bad
enough for LC(answers) before remote debugging. To debug java that works on
desktop and IDE but fails in LC mobile doing alerts is a nightmare.

Thanks for any insight...

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 Ali Lloyd via use-livecode
Sent: Thursday, September 07, 2017 3:32 PM
To: How to use LiveCode
Cc: Ali Lloyd
Subject: Re: Debug java on Mobile Browser

You should be able to debug native web views on device/emulator on Android
using Chrome and on device/simulator on iOS using Safari... admittedly I
haven't tried this with a browser widget in LC, but I've done it recently on
both in another context.

On Thu, Sep 7, 2017 at 7:06 PM Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I have a web page that works in the IDE but fails on the device. When 
> it fails in the IDE I can use Chrome's dev tools and quickly find out 
> what's going wrong. On mobile there is no such option. Is there any 
> way to find out what's going on with java in the mobile browser on both
iOS and Android?
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> ___
> use-livecode mailing list
> use-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: private command gotcha

2017-09-07 Thread Monte Goulding via use-livecode

> On 8 Sep 2017, at 8:49 am, Phil Davis via use-livecode 
>  wrote:
> 
> Clearly the complexity you're painfully aware of is nicely hidden from me by 
> LC script, where I tend to think all things are most likely possible. It's 
> good for bubble-dwellers like myself to occasionally be pulled back into 
> reality. I guess. ;-)

Ah… ok so I probably need to explain this a bit better.

When you set a behavior you don’t just include the behavior object in the 
message path. There is something more like an instance of the behavior object 
script attached to the object and this has its own set of script locals so that 
if the behavior is used multiple times the locals aren’t all mixed up by other 
users of the behavior. As a result if we wanted private handlers to be 
supported in the callers script in send and dispatch and we wanted that to also 
work in behaviors then we would need something interesting… perhaps we could 
deal with it by allowing dispatch to me from a behavior to flag that it was 
sent from a particular behavior use so that’s the script that would allow 
private handlers… anyway… Mark would know what to do ;-)

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

Re: private command gotcha

2017-09-07 Thread Phil Davis via use-livecode
Clearly the complexity you're painfully aware of is nicely hidden from 
me by LC script, where I tend to think all things are most likely 
possible. It's good for bubble-dwellers like myself to occasionally be 
pulled back into reality. I guess. ;-)


Thanks -
Phil


On 9/7/17 3:06 PM, Monte Goulding via use-livecode wrote:

On 8 Sep 2017, at 7:19 am, Phil Davis via use-livecode 
 wrote:

You asked me a similar question on 11-Nov-2016 - here is the back-and-forth. 
Sometimes we have our reasons! :-)

Ha… OK back in my box then ;-)

FWIW I would dearly love send in time to remember the caller and if the target 
is the caller then allow private handlers. I often have to write long 
complicated handler names for things simply because they will be in the message 
path and I want to avoid their conflict with other handlers… It’s a little 
hairy a proposition when it comes to behaviors as I’m not really sure what 
happens if you send to `this me`… you probably don’t get the script locals 
related to `me`… would need some testing I guess.

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


--
Phil Davis


___
use-livecode mailing list
use-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: Vector graphics, again

2017-09-07 Thread Jonathan Lynch via use-livecode
I was just suggesting an alternative solution.

Raster to vector conversions are clunky, but there are a few online services 
that do this.

Sent from my iPhone

> On Sep 7, 2017, at 5:25 PM, hh via use-livecode 
>  wrote:
> 
> Jonathan,
> Richmond wants to convert his bitmaps to SVG,
> because he has no SVG version.
> 
> ___
> use-livecode mailing list
> use-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: private command gotcha

2017-09-07 Thread Monte Goulding via use-livecode

> On 8 Sep 2017, at 7:19 am, Phil Davis via use-livecode 
>  wrote:
> 
> You asked me a similar question on 11-Nov-2016 - here is the back-and-forth. 
> Sometimes we have our reasons! :-)

Ha… OK back in my box then ;-)

FWIW I would dearly love send in time to remember the caller and if the target 
is the caller then allow private handlers. I often have to write long 
complicated handler names for things simply because they will be in the message 
path and I want to avoid their conflict with other handlers… It’s a little 
hairy a proposition when it comes to behaviors as I’m not really sure what 
happens if you send to `this me`… you probably don’t get the script locals 
related to `me`… would need some testing I guess.

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

Re: Vector graphics, again

2017-09-07 Thread hh via use-livecode
Jonathan,
Richmond wants to convert his bitmaps to SVG,
because he has no SVG version.

___
use-livecode mailing list
use-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: private command gotcha

2017-09-07 Thread Phil Davis via use-livecode

Make that 8-Nov-2016.
Phil

On 9/7/17 2:19 PM, Phil Davis wrote:
You asked me a similar question on 11-Nov-2016 - here is the 
back-and-forth. Sometimes we have our reasons! :-)


--
Phil Davis


___
use-livecode mailing list
use-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: private command gotcha

2017-09-07 Thread Phil Davis via use-livecode


On 9/7/17 2:01 PM, Monte Goulding via use-livecode wrote:

On 8 Sep 2017, at 3:57 am, Bob Sneidar via use-livecode 
 wrote:

Here's a surprise! You cannot dispatch to a private command or function, EVEN 
THOUGH the private command or function is in the SAME SCRIPT!

Nor can you send in time… however why do you want to dispatch to the same 
script?


Hi Monte,
You asked me a similar question on 11-Nov-2016 - here is the 
back-and-forth. Sometimes we have our reasons! :-)

Phil Davis

Actually here's another situation where I've used 'dispatch' simply to 
avoid a 'do'. But I could as easily use 'send' to get the job done:



function app_helperAppPath pAppName
    dispatch function ( "_helperAppPath_" & the platform ) to me with 
pAppName

    return the result
end app_helperAppPath


function _helperAppPath_MacOS pAppName
    -- Mac-specific app path discovery code
end _helperAppPath_MacOS


function _helperAppPath_Win32 pAppName
    -- Windows-specific app path discovery code
end _helperAppPath_Win32


Phil Davis



On 11/8/16 5:27 PM, Monte Goulding wrote:

On 9 Nov. 2016, at 12:23 pm, Phil Davis  wrote:

Use case: You use 'dispatch' as a coding style preference.

(That's all I could come up with.)



Actually thinking on it I can imagine a use case but it fails if you 
are wanting to dispatch a private handler:


dispatch “SomethingOverridableInABehaviorInstance” to me

command SomethingOverridableInABehaviorInstance
    — default implementation
end SomethingOverridableInABehaviorInstance 





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


--
Phil Davis

___
use-livecode mailing list
use-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: private command gotcha

2017-09-07 Thread Monte Goulding via use-livecode

> On 8 Sep 2017, at 3:57 am, Bob Sneidar via use-livecode 
>  wrote:
> 
> Here's a surprise! You cannot dispatch to a private command or function, EVEN 
> THOUGH the private command or function is in the SAME SCRIPT!

Nor can you send in time… however why do you want to dispatch to the same 
script?

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

Re: Debug java on Mobile Browser

2017-09-07 Thread Ali Lloyd via use-livecode
You should be able to debug native web views on device/emulator on Android
using Chrome and on device/simulator on iOS using Safari... admittedly I
haven't tried this with a browser widget in LC, but I've done it recently
on both in another context.

On Thu, Sep 7, 2017 at 7:06 PM Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I have a web page that works in the IDE but fails on the device. When it
> fails in the IDE I can use Chrome's dev tools and quickly find out what's
> going wrong. On mobile there is no such option. Is there any way to find
> out what's going on with java in the mobile browser on both iOS and Android?
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> ___
> use-livecode mailing list
> use-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


Debug java on Mobile Browser

2017-09-07 Thread Ralph DiMola via use-livecode
I have a web page that works in the IDE but fails on the device. When it fails 
in the IDE I can use Chrome's dev tools and quickly find out what's going 
wrong. On mobile there is no such option. Is there any way to find out what's 
going on with java in the mobile browser on both iOS and Android?

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


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


private command gotcha

2017-09-07 Thread Bob Sneidar via use-livecode
Here's a surprise! You cannot dispatch to a private command or function, EVEN 
THOUGH the private command or function is in the SAME SCRIPT! And since 
dispatch fails SILENTLY. I *almost* introduced a but where my passwords no 
longer encrypted/decrypted in transit to my database! 

Bob S  <--- begins to re-enable all the safeties on the torpedoes>



___
use-livecode mailing list
use-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 just posted an Augmented Earth sample stack on LiveCode share

2017-09-07 Thread Brian Milby via use-livecode
  
  

 With the possibility of tethering, it would be reasonable to see iPad users 
able to roam with the assistance of an iPhone or another device.So cellular 
isn't absolutely required as long as wifi is available.
  

  
  

  
  
>   
> On Sep 7, 2017 at 3:34 AM,   (mailto:use-livecode@lists.runrev.com)>  wrote:
>   
>   
>   
>  Hi Alex - thank you! It works a bit like Pokémon Go in that a mobile user 
> can use it to walk around and explore the world. It loads new map tiles as 
> you move. It needs mobile access to the net to do that. I will explore 
> options for mobile users for when they don't have net access, for the next 
> release. I have never used LC9 - so I have not tested it that way. I will try 
> it with LC9 and see what the problem is. Sent from my iPhone  >  On Sep 6, 
> 2017, at 7:00 PM, Alex Tweedly via use-livecode wrote:  >   >  Thanks 
> Jonathan, looks interesting - thank you for sharing it.  >   >  I have some 
> problems (MacOS 10.10, Mcbook Pro, LC 9.0DP8 Business) - will email them to 
> you directly.  >   >  But (perhaps) more generally interesting for the list - 
> I then tried to download the iPad version, and ran into "This app is not 
> compatible with your iPad" - for all 3 of the family's iPads, covering a good 
> range of iPad models and IOS versions :-)  >   >  A close look at the 
> "compatibility" section on the App store makes me think that you require  >   
> >  " ... + Cellular".  >   >  Is there something in Augmented Earth that 
> requires Cellular ?  >   >  Or has that flag been set for some reason ?  >   
> >  Thanks  >   >  Alex.  >   >   >>  On 06/09/2017 03:17, Jonathan Lynch via 
> use-livecode wrote:  >>  Hello everyone,  >>   >>  I just posted a sample 
> version of my app on LC share, AKA rev online.  >>   >>  It points to my dev 
> server, so there are no problems with you guys posting  >>  test reports.  >> 
>   >>  Hopefully this will help you guys with 3D mapping experiments you may 
> have.  >>  The sample stack pulls images from open street maps without a 
> license. This  >>  is only appropriate for experimenting. For distributing 
> apps, you will need  >>  to get a license with a map provider.  >>   >>  If 
> anyone has any questions about how to do any of the stuff demonstrated  >>  
> in the app, please feel free to ask them here.  >>   >>  I posted it leading 
> up to my presentation at LC Global on Sept. 21 on 3D  >>  Earth mapping.  >>  
>  >>  Peace,  >>   >>  Jonathan  >>   >   >   >  
> ___  >  use-livecode mailing list 
>  >  use-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-07 Thread Mike Kerner via use-livecode
I wonder why it won't even start for me, now.

On Thu, Sep 7, 2017 at 1:28 AM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 9/7/17 12:17 AM, Monte Goulding via use-livecode wrote:
>
>>
>> On 7 Sep 2017, at 3:15 pm, J. Landman Gay via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>>
>>> Ah. Okay, that explains it. It doesn't put it into an apk you build on
>>> disk though, right?
>>>
>>
>> I’m not sure what you mean here as you always build on disk? Do you mean
>> save as standalone menu? No you need to add it manually in the Inclusions
>> pane if you want it there.
>>
>
> Right, that's what I meant: saving a standalone without using the Test
> button, in order to create a file for distribution. Thanks.
>
> --
> 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
>



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

Re: replace and unicode?

2017-09-07 Thread Klaus major-k via use-livecode

> Am 07.09.2017 um 13:01 schrieb Mark Waddingham via use-livecode 
> :
> 
> On 2017-09-07 12:59, Klaus major-k via use-livecode wrote:
>> Hi all,
>> so embarrassing, there was no SPACE after the mm2, but a TAB! :-/
>> So I got it working, thank you for your help.
> 
> That was going to be my next question - were the 'spaces' actually spaces :)

obviously they weren't! :-D
Thank you!

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

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


Re: replace and unicode?

2017-09-07 Thread Mark Waddingham via use-livecode

On 2017-09-07 12:59, Klaus major-k via use-livecode wrote:

Hi all,

so embarrassing, there was no SPACE after the mm2, but a TAB! :-/
So I got it working, thank you for your help.


That was going to be my next question - were the 'spaces' actually 
spaces :)


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


Re: replace and unicode?

2017-09-07 Thread Klaus major-k via use-livecode
Hi all,

so embarrassing, there was no SPACE after the mm2, but a TAB! :-/
So I got it working, thank you for your help.

> Am 07.09.2017 um 12:55 schrieb Klaus major-k via use-livecode 
> :
> ...
>>> My effort so far:
>>> ...
>>> ## Read TXT file and make it LC compatible, this is doing fine:
>>> put url ("binfile:" & tFile) into tData
>>> put textdecode(tData,"UTF-8") into tDataComplete
>>> replace CRLF with CR in tDataComplete
>>> ## Superscript 2 in Unicode
>>> put numToCodepoint(0x00B2) into tSup
>>> ## But this line does nothing actually?
>>> replace "mm2 " with ("mm" & tSup & " ") in tDataComplete
>> 
>> I tried:
>> 
>> put "mm2 foo Танюша mm2 bar" into tText
>> put numToCodepoint(0x00B2) into tSup
>> replace "mm2 " with ("mm" & tSup & " ") in tText
>> put tText
>> 
>> Here in a variety of versions and it seems to work...
>> What is the contents of tDataComplete in the case you can't get to work?
> 
> The line in question before "replace":
> 40mm2 100mm2 200mm2
> The line in question after "replace":
> 40mm2 100mm2 200mm2
> ???
> 
> Even this in a field with that line does not work?
> ...
> put numToCodepoint(0x00B2) into tSup
> replace "mm2 " with ("mm" & tSup & " ") in fld 1
> ...

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

Re: replace and unicode?

2017-09-07 Thread Klaus major-k via use-livecode
Hi Mark,

> Am 07.09.2017 um 12:47 schrieb Mark Waddingham via use-livecode 
> :
> 
> On 2017-09-07 12:35, Klaus major-k via use-livecode wrote:
>> Hi firends,
>> I am trying to replace "mm2" in a unicode text file with "mm(superscript2)"
>> but obviously "replace" does not do what I want or I am missing something!?
>> My effort so far:
>> ...
>> ## Read TXT file and make it LC compatible, this is doing fine:
>> put url ("binfile:" & tFile) into tData
>> put textdecode(tData,"UTF-8") into tDataComplete
>> replace CRLF with CR in tDataComplete
>> ## Superscript 2 in Unicode
>> put numToCodepoint(0x00B2) into tSup
>> ## But this line does nothing actually?
>> replace "mm2 " with ("mm" & tSup & " ") in tDataComplete
> 
> I tried:
> 
> put "mm2 foo Танюша mm2 bar" into tText
> put numToCodepoint(0x00B2) into tSup
> replace "mm2 " with ("mm" & tSup & " ") in tText
> put tText
> 
> Here in a variety of versions and it seems to work...
> 
> What is the contents of tDataComplete in the case you can't get to work?

The line in question before "replace":
40mm2 100mm2 200mm2

The line in question after "replace":
40mm2 100mm2 200mm2

???

Even this in a field with that line does not work?
...
put numToCodepoint(0x00B2) into tSup
replace "mm2 " with ("mm" & tSup & " ") in fld 1
...
? 

Tried with LC 8.16 Stable on macOS 10.12.6.

> Warmest Regards,
> 
> Mark.

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

Re: replace and unicode?

2017-09-07 Thread Mark Waddingham via use-livecode

On 2017-09-07 12:35, Klaus major-k via use-livecode wrote:

Hi firends,

I am trying to replace "mm2" in a unicode text file with 
"mm(superscript2)"
but obviously "replace" does not do what I want or I am missing 
something!?


My effort so far:
...
## Read TXT file and make it LC compatible, this is doing fine:
put url ("binfile:" & tFile) into tData
put textdecode(tData,"UTF-8") into tDataComplete
replace CRLF with CR in tDataComplete

## Superscript 2 in Unicode
put numToCodepoint(0x00B2) into tSup

## But this line does nothing actually?
replace "mm2 " with ("mm" & tSup & " ") in tDataComplete


I tried:

put "mm2 foo Танюша mm2 bar" into tText
put numToCodepoint(0x00B2) into tSup
replace "mm2 " with ("mm" & tSup & " ") in tText
put tText

Here in a variety of versions and it seems to work...

What is the contents of tDataComplete in the case you can't get to work?

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

Re: Vector graphics, again

2017-09-07 Thread Jonathan Lynch via use-livecode
You could keep it as a vector graphic in a browser widget, rotate it in the 
browser, then export it from the browser widget as an image for LC to use.

I know - it is an overkill solution, and it might be too slow if the dominoes 
are moving around quickly, but if not, it would work.

Sent from my iPhone

> On Sep 7, 2017, at 5:22 AM, Richmond via use-livecode 
>  wrote:
> 
> I have found that Livecode is really fantastic for generating families of 
> images
> such as domino sets, which can be either imported from a group as images
> or exported as PNG images.
> 
> However, rotating those images results in all the "unfortunateness" involved 
> in
> rotating any image in Livecode that is not an SVG widget.
> 
> Is there a way in which one can generate an image from a group and import it 
> as a vector graphic
> and/or export it in a vector format, and/or make it into an SVG widget?
> 
> Richmond.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


replace and unicode?

2017-09-07 Thread Klaus major-k via use-livecode
Hi firends,

I am trying to replace "mm2" in a unicode text file with "mm(superscript2)"
but obviously "replace" does not do what I want or I am missing something!?

My effort so far:
...
## Read TXT file and make it LC compatible, this is doing fine:
put url ("binfile:" & tFile) into tData
put textdecode(tData,"UTF-8") into tDataComplete
replace CRLF with CR in tDataComplete

## Superscript 2 in Unicode
put numToCodepoint(0x00B2) into tSup

## But this line does nothing actually?
replace "mm2 " with ("mm" & tSup & " ") in tDataComplete
...

What am I missing or doing wrong?
Any hints appreciated, 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


Vector graphics, again

2017-09-07 Thread Richmond via use-livecode
I have found that Livecode is really fantastic for generating families 
of images

such as domino sets, which can be either imported from a group as images
or exported as PNG images.

However, rotating those images results in all the "unfortunateness" 
involved in

rotating any image in Livecode that is not an SVG widget.

Is there a way in which one can generate an image from a group and 
import it as a vector graphic

and/or export it in a vector format, and/or make it into an SVG widget?

Richmond.

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


Re: I just posted an Augmented Earth sample stack on LiveCode share

2017-09-07 Thread Jonathan Lynch via use-livecode
Hi Alex - thank you!

It works a bit like Pokémon Go in that a mobile user can use it to walk around 
and explore the world. It loads new map tiles as you move. It needs mobile 
access to the net to do that.

I will explore options for mobile users for when they don't have net access, 
for the next release. 

I have never used LC9 - so I have not tested it that way. I will try it with 
LC9 and see what the problem is.

Sent from my iPhone

> On Sep 6, 2017, at 7:00 PM, Alex Tweedly via use-livecode 
>  wrote:
> 
> Thanks Jonathan, looks interesting - thank you for sharing it.
> 
> I have some problems (MacOS 10.10, Mcbook Pro, LC 9.0DP8 Business) - will 
> email them to you directly.
> 
> But (perhaps) more generally interesting for the list - I then tried to 
> download the iPad version, and ran into "This app is not compatible with your 
> iPad" - for all 3 of the family's iPads, covering a good range of iPad models 
> and IOS versions :-)
> 
> A close look at the "compatibility" section on the App store makes me think 
> that you require
> 
> " ... + Cellular".
> 
> Is there something in Augmented Earth that requires Cellular ?
> 
> Or has that flag been set for some reason ?
> 
> Thanks
> 
> Alex.
> 
> 
>> On 06/09/2017 03:17, Jonathan Lynch via use-livecode wrote:
>> Hello everyone,
>> 
>> I just posted a sample version of my app on LC share, AKA rev online.
>> 
>> It points to my dev server, so there are no problems with you guys posting
>> test reports.
>> 
>> Hopefully this will help you guys with 3D mapping experiments you may have.
>> The sample stack pulls images from open street maps without a license. This
>> is only appropriate for experimenting. For distributing apps, you will need
>> to get a license with a map provider.
>> 
>> If anyone has any questions about how to do any of the stuff demonstrated
>> in the app, please feel free to ask them here.
>> 
>> I posted it leading up to my presentation at LC Global on Sept. 21 on 3D
>> Earth mapping.
>> 
>> Peace,
>> 
>> Jonathan
>> 
> 
> 
> ___
> use-livecode mailing list
> use-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