Re: Touch interpretation?

2017-02-20 Thread J. Landman Gay via use-livecode

On 2/20/17 1:00 PM, Ben Rubinstein via use-livecode wrote:

So I've started coding simple heuristics for when a touch sequence is a
tap, a swipe, or a drag; and the next step is to consider when it is
actually a two-finger gesture.

But obviously the community has been there way before me. Are there any
shared libraries developed to implement this? Or at least commonly
agreed good heuristics?


Search the LC Lessons. I found a swipe example here:


but I remember some other lessons that also worked with both swipe and 
taps. Basically, if it isn't a swipe, you implement the tap behavior. 
There are also some lessons on 2-finger swipes in there somewhere. A 
couple that showed up in a search for "2 finger":






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


Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks

2017-02-20 Thread Trevor DeVore via use-livecode
Hi List,

I added a screencast showing how to configure a Sublime Text project to a
notify a Levure application running in the IDE about updates to script only
stacks. This allows you to edit script only stacks in Sublime Text and have
the stack script updated in the IDE.

https://www.youtube.com/watch?v=gkVo35Tb3ck

-- 
Trevor DeVore
Outcome & ScreenSteps
www.outcomeapp.io - www.screensteps.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Touch interpretation?

2017-02-20 Thread Ben Rubinstein via use-livecode
Being a lazy sort, until now on mobile apps (which are all for internal use, 
not publication) I've just used the standard controls, and at most tracked 
mousedown/mouseup (for convenience of desktop development) to drag something.


However now I'm trying to make a rather more native-like app, and respond to 
swiping in various directions, and two-finger pinches.


So I've started coding simple heuristics for when a touch sequence is a tap, a 
swipe, or a drag; and the next step is to consider when it is actually a 
two-finger gesture.


But obviously the community has been there way before me. Are there any shared 
libraries developed to implement this? Or at least commonly agreed good 
heuristics?


TIA,

Ben

___
use-livecode mailing list
use-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: MacOS Sierra - Tab Bar showing in Stack and IDE windows?

2017-02-20 Thread Paul Hibbert via use-livecode
Thank you James, I would never have thought Window Tab Prefs would be in Dock 
settings!

I’ll give it a try.

Paul

Paul
p...@livecode.org

Mac OS Sierra 10.12.1



> On Feb 20, 2017, at 4:46 AM, James Hale via use-livecode 
>  wrote:
> 
> So perhaps your Dock settings and the way you are using LC are triggering 
> this feature of Sierra.

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

IconGravity vs Margins in Buttons

2017-02-20 Thread Randy Hengst via use-livecode
Hi All,

I’ve been messing with using a variety of fonts in buttons coupled with a round 
icon.

It’s handy to set the iconGravity of the button to “center” and have the text 
of the button line up nicely with the icon. However, I’ve noticed that some 
fonts don’t line up in the center of the icon.

I’ve set the textAlign of the button to “center”
I’ve set the iconGravity of the button to “center” 

Is there a way besides using textAlign to adjust only the placement of the text 
of the button separately from the icon? I’m thinking of something like in 
spreadsheet cells that have the left, right, center and top, middle, bottom 
settings. 

In this case, I’d like to move the text down relative to the button icon… the 
textAlign will move the text left or right without moving the icon. Is there a 
way to move the text down without moving the icon down?

I’ve tried messing with “margins,” but changing those settings moves the text 
and the icon.

I’m using LC 8.1.2
Mac OS 10.11.6

Thanks for any thoughts.

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

Re: LiveCode + Amazon CloudFront

2017-02-20 Thread Todd Fabacher via use-livecode
We found found this:
http://docs.aws.amazon.com/AmazonS3/latest/API/s3-api.pdf

The area with the most work in  LC is authorization. I don't see this as a
ton of work to wrap this in LC9. It would be a great community project

This way it will work on ALL current LC supported platforms Windows and
Android.

--Todd

On Mon, Feb 20, 2017 at 2:27 AM, Todd Fabacher  wrote:

> Hello All,
>
> We need to interface between LiveCode and  Amazon CloudFront. We are aware
> of mergAWS, but it ONLY works on iOS. We also need this for Android. Any
> suggestions???
>
> We need this ASAP!
>
> --Todd Fabacher
>
___
use-livecode mailing list
use-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: MacOS Sierra - Tab Bar showing in Stack and IDE windows?

2017-02-20 Thread James Hale via use-livecode
Check you Dock preferences.

When Sierra came out I too was looking forward to this feature having gotten 
use to tabs in other apps. 
One app I use quite a lot is Nisus and having tabbed windows rather than 
multiple windows was going to be a real plus, or so i thought.
Sadly tabbed windows was not present and so I wrote to their support asking if 
it would be.
They said they would add the request for a possible future update but also 
added

> One tip: apparently you can adjust how Sierra's tabs behave in all 
> application, including Nisus Writer, in your system Dock preferences. You can 
> change the setting for "Prefer tabs when opening documents" so tabs are more 
> often retained. This doesn't cover all your requests, but might help you 
> improve your workflow.

And so I did, setting it to "Always" and voila, tabbed windows.
A few days later I opened LC and was dismayed to see exactly what you have 
described.
I played around with different windows etc but quickly realised that having all 
new docs open in a tabbed window was not something LC liked.

I turned this "dock" preference to "In Full Screen Only" and have not had the 
issue return (I do not use fullscreen mode for LC)

So perhaps your Dock settings and the way you are using LC are triggering this 
feature of Sierra.

James

ja...@thehales.id.au

Tel: +61 3 9386 2516
Fax: +61 3 9386 1387




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


Re: LiveCode + Amazon CloudFront

2017-02-20 Thread Skip Kimpel via use-livecode
No suggestions but if somebody is going to develop this, please add in support 
for Windows.  This would be a great addition!

SKIP

> On Feb 20, 2017, at 2:27 AM, Todd Fabacher via use-livecode 
>  wrote:
> 
> Hello All,
> 
> We need to interface between LiveCode and  Amazon CloudFront. We are aware
> of mergAWS, but it ONLY works on iOS. We also need this for Android. Any
> suggestions???
> 
> We need this ASAP!
> 
> --Todd Fabacher
> ___
> use-livecode mailing list
> use-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


[ANN] This Week in LiveCode 71

2017-02-20 Thread Peter TB Brett via use-livecode

Hi all,

Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!

Read issue #71 here: https://goo.gl/QJ73VB


This is a weekly newsletter about LiveCode, focussing on what's been
going on in and around the open source project.  New issues will be
released weekly on Mondays.  We have a dedicated mailing list that will
deliver each issue directly to you e-mail, so you don't miss any!

If you have anything you'd like mentioned (a project, a discussion
somewhere, an upcoming event) then please get in touch.

 Peter

--
Dr Peter Brett 

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

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


"Do in widget" works only one time on iOS

2017-02-20 Thread Ludovic THEBAULT via use-livecode
Hello,

I try to update an app to use the new browser widget in replacement of the 
revbrowser.
The user can move a marker on a map and i get the coordinate of this marker 
with the « do in widget » function.
it’s work fine in development mode but in iOS simulator or on the device, the « 
 do in widget »  works only one time or never.

To avoid cache problem i always change the name of the html file used by the 
browser.

Any ideas ?

Thanks



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