Re: Apps to fight COVID-19

2020-04-09 Thread Mark Smith via use-livecode
Happy to contribute as well. 

> On Apr 8, 2020, at 3:17 PM, David Bovill via use-livecode 
>  wrote:
> 
> I’d be interested in volunteering to make a Livecode app for this. Anyone 
> else?
> On 7 Apr 2020, 00:41 +0100, Dar Scott Consulting via use-livecode 
> , wrote:
>> Hi, everybody!
>> 
>> I apologize for the drive-by email.
>> 
>> And I miss everybody on the list. Been busy all that.
>> 
>> I am a strong believer in contact tracing as an implortant part of COVID-19 
>> containment.
>> 
>> There are several teams out there working on voluntary privacy-protecting 
>> contact tracing apps to deploy before Big Brother mandates some central DB 
>> app usage. Those include COVID Watch, CoEpi, Private Watch Safe Paths, and 
>> others. Most have already started and are using swift and kotlin. Only Safe 
>> Paths has something out. However, there might be some room in creating some 
>> instant apps in LiveCode or in supporting in other ways. Also, some teams 
>> are just getting started and need something fast. I think we need some 
>> education apps done quickly.
>> 
>> Also, 4Catalyzer is making a home test and needs some app development.
>> 
>> For myself, I am on on the COVID Watch team.
>> 
>> If you want to do something, take a look around at privacy preserving 
>> contact tracing projects. And also look specifically I the ones I mentioned.
>> 
>> I might be rehashing what has already been discussed. Sorry. Like I said, 
>> "Drive by email".
>> 
>> And remember what the Beatles said, "You wanna wash your ha-a-ands!"
>> 
>> Dar Scott
>> 
>> I am using Private Watch: Safe Paths on my iPhone to fight COVID-19..
>> 
>> ___
>> use-livecode mailing list
>> use-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: Apps to fight COVID-19

2020-04-11 Thread Mark Smith via use-livecode
What would it be designed to help you with?

> On Apr 11, 2020, at 4:51 PM, dsc--- via use-livecode 
>  wrote:
> 
> App idea: 14 days of self-quarantine
> 
> 
>> On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode 
>>  wrote:
>> 
>> Maybe a diary app can be enhanced to include "Talked with this person in 
>> person for a few minutes" and "Lingered at this location for a few minutes" 
>> checkboxes that might be an aid when interviewed in traditional contact 
>> tracing. Those might be used for filtering.
>> 
>> This does not add to anything lost when Big Brother steals your phone; it 
>> only helps you or daughter-spouse-caregiver to answer contact tracing 
>> questions. 
>> 
>> 
>>> On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode 
>>>  wrote:
>>> 
>>> I like it. And it can give kids a chance to show grandma how to download 
>>> apps.
>>> 
>>> And this can be added to the COVID-19 button of current apps, too.
>>> 
>>> 
 On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode 
  wrote:
 
 Personally - especially after reading the links below on Apple + Googles 
 initiative - I’d go for story telling based around the comic in an app 
 that we could add contact tracing functionality too. I think emphasising 
 in the story telling privacy issues would be something that would be an 
 important aspect and a strong point with regard to adding to the mix - 
 rather than duplicating efforts by other groups?
 On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode 
 , wrote:
> And it doesn't have to be just contact tracing related.
> 
> Jonathan Rothberg's team is working on a simple test at home that needs 
> an app.
> co...@4catalyzer.com 
> 
> Anybody want to talk about a containment game? Or take the concept and go 
> in one's own direction?
> 
> Nicky Case's phone size comic is now available in several languages, so 
> if you include that in _anything_ you do, can localize a little.
> 
> Dar
> team COVID Watch
 ___
 use-livecode mailing list
 use-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: Apps to fight COVID-19

2020-04-11 Thread Mark Smith via use-livecode
I like that, jokes, puzzles, movies, any form of entertainment to help pass the 
time. I think if I were quarantined for 14 days, I’d start writing a best 
seller :)


> On Apr 11, 2020, at 8:43 PM, Dar Scott Consulting via use-livecode 
>  wrote:
> 
> 14 day devotional? Daily quarantine tips? Daily jokes? ...
> 
> 
>> On Apr 11, 2020, at 12:34 PM, Dev via use-livecode 
>>  wrote:
>> 
>> Countdown of the hours left in purgatory?
>> 
>>> On Apr 11, 2020, at 12:32 PM, Mark Smith via use-livecode 
>>>  wrote:
>>> 
>>> What would it be designed to help you with?
>>> 
>>>> On Apr 11, 2020, at 4:51 PM, dsc--- via use-livecode 
>>>>  wrote:
>>>> 
>>>> App idea: 14 days of self-quarantine
>>>> 
>>>> 
>>>>>> On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode 
>>>>>>  wrote:
>>>>> 
>>>>> Maybe a diary app can be enhanced to include "Talked with this person in 
>>>>> person for a few minutes" and "Lingered at this location for a few 
>>>>> minutes" checkboxes that might be an aid when interviewed in traditional 
>>>>> contact tracing. Those might be used for filtering.
>>>>> 
>>>>> This does not add to anything lost when Big Brother steals your phone; it 
>>>>> only helps you or daughter-spouse-caregiver to answer contact tracing 
>>>>> questions. 
>>>>> 
>>>>> 
>>>>>> On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode 
>>>>>>  wrote:
>>>>>> 
>>>>>> I like it. And it can give kids a chance to show grandma how to download 
>>>>>> apps.
>>>>>> 
>>>>>> And this can be added to the COVID-19 button of current apps, too.
>>>>>> 
>>>>>> 
>>>>>>> On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode 
>>>>>>>  wrote:
>>>>>>> 
>>>>>>> Personally - especially after reading the links below on Apple + 
>>>>>>> Googles initiative - I’d go for story telling based around the comic in 
>>>>>>> an app that we could add contact tracing functionality too. I think 
>>>>>>> emphasising in the story telling privacy issues would be something that 
>>>>>>> would be an important aspect and a strong point with regard to adding 
>>>>>>> to the mix - rather than duplicating efforts by other groups?
>>>>>>> On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode 
>>>>>>> , wrote:
>>>>>>>> And it doesn't have to be just contact tracing related.
>>>>>>>> 
>>>>>>>> Jonathan Rothberg's team is working on a simple test at home that 
>>>>>>>> needs an app.
>>>>>>>> co...@4catalyzer.com <mailto:co...@4catalyzer.com>
>>>>>>>> 
>>>>>>>> Anybody want to talk about a containment game? Or take the concept and 
>>>>>>>> go in one's own direction?
>>>>>>>> 
>>>>>>>> Nicky Case's phone size comic is now available in several languages, 
>>>>>>>> so if you include that in _anything_ you do, can localize a little.
>>>>>>>> 
>>>>>>>> Dar
>>>>>>>> team COVID Watch
>>>>>>> ___
>>>>>>> use-livecode mailing list
>>>>>>> use-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 lis

Re: Lost contact

2020-06-02 Thread Mark Smith via use-livecode
Interesting. I’m not on your list, and I did not get an email from you 
yesterday, but I did receive this email. 

M


> On Jun 2, 2020, at 4:41 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> I'm getting bounced emails from the following people.
> If you see your name on this list and you *didn't* get an email from me 
> yesterday, can you send me an email? Thanks.
> 
> Zac Brewer
> Ed Cawley
> Keith Clarke
> Neil Davis
> Andre Garzia
> Robert Glassman
> Dave Kilroy
> Tao Meng
> Warren Samples
> Harald Schlager
> Tereza Snyder
> Chipp Walters
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: [off-topic-ish] do you prefer LC-related content as books or video courses?

2020-07-10 Thread Mark Smith via use-livecode
Thanks for the update Andre, I have the book and am looking forward to some 
good reads 😊

Mark

> On Jul 10, 2020, at 11:14 AM, Andre Garzia via use-livecode 
>  wrote:
> 
> Folks,
> 
> Thanks a lot for your detailed responses. Since you have all been quite
> awesome in giving me all these great replies and feedback, let me tell you,
> in probably more details than you'd ever want, where I am coming from and
> what I plan to do going forward.
> 
> Many here know that I have graduated from a film school. Doing videos feel
> like going home for me and I believe in the potential of multimedia to be
> an effective learning tool. Still, I have always been in love with books
> and like many here I favour books over video any time. I was considering
> doing more video related content because other people I know are having a
> better return on video courses than on books. Of course this depends on the
> community and here books appear to rule, which is good for me because I
> enjoy writing books and that is the direction I want to shift my career to
> anyway.
> 
> I have just completed a major JavaScript book for a famous publishing house
> in the U.S. and am ready to go back to self-publishing and work on my own
> titles on my own time. The book I made about LiveCode best practices and
> code organisation was well received and even though I have issued some
> updates, I haven't updated as often as I wanted to. The reason behind not
> updating often is because of some of the worst aspects of capitalism:
> updating the book didn't really add to the sales figures and I live in a
> very expensive city (I live in London now). Every time I updated the book
> there would be some extra sales, but not as many as to justify working on
> it. The alternative would be to raise the prices so that each sale would be
> more valuable to me but I'm against it because I think the price should
> reflect the value of the object being sold. That book has been done without
> an editor and in a hurry, I can't charge as much for it as I'd charge for a
> book that involved more professionals and more care. I think the price for
> that specific book is right.
> 
> So, going forward I think I am going to write more books but also shorter
> books. There is a problem with trying to create comprehensive references or
> bible-like books. They are harder to do and you sell them only once. Our
> community is small, there is a limited amount of sales to be done inside
> it. What I will do is create shorter books focused on a single topic and
> sell them individually for a low price so that people can acquire them all
> without actually having to worry. This way I can produce books faster
> (which lowers the cost of producing them for me) and you get to have fresh
> content, which is something that we all know a healthy ecosystem needs. I
> might make some short videos, but mostly for engagement and highlighting
> cool stuff. Video takes longer to produce and unfortunately my current
> daily driver machine doesn't support any decent video editor.
> 
> As for using stacks as interactive learning material, that reminds me of
> Director. I think it is a great idea. The problem is that I am writing
> about other technologies as well and I can't build a pipeline and tools to
> deliver stacks (even as standalones) to the other communities at the
> moment. I might explore that in the future but for now doing ebooks is the
> best way forward. It is easy, I know how to do it, and I can focus on doing
> content instead of building new tools.
> 
> For those that haven't been exposed to my best practices book, you can find
> it at:
> 
> http://andregarzia.com/books/livecode-advanced-application-architecture.html
> 
> I have also created a Ko-fi. This is a website like Patreon that helps
> connect audiences with creators by allowing people to donate money as a one
> time donation or as a recurring donation depending on how much they want to
> support the creator. My plan is to engage with those supporting me on
> ko-fi, and let them see advanced copies of the books, help decide what the
> next topics to tackle and so on. Another thing I like about ko-fi is that
> they style the whole process as "buy me a coffee", so you're basically
> sending creator small donations so they can afford caffeine. Something I
> really need to write books. I will price the books low, so if you think
> about sending more money or making this more sustainable, my Ko-fi is at:
> 
> https://ko-fi.com/andregarzia
> 
> From what I have been reading on the list, I think there is a need for a
> small book on "launchers" or as we used to call them "splash stacks". They
> are a fantastic way to deploy tools to the enterprise and clients, they
> unite the easy deployability of the web with the powerful feature set of
> Desktop apps. More seasoned LC developers, especially those that worked as
> ISV before the App Store, are probably familiar with them but this is
> probably a new subject to 

Re: Congrats to everyone on success of the Covid-19 -- LiveCode Impact Fund Campaign.

2020-07-16 Thread Mark Smith via use-livecode
Yes, big congrats to everyone; contributors and fund raisers alike . Quite a 
feat. I look forward to exciting new developments.

Mark


> On Jul 16, 2020, at 6:20 PM, Martin Koob via use-livecode 
>  wrote:
> 
> Hi.
> 
> Another successful campaign — 100% funded.   Congrats to Kevin and all the 
> folks at LiveCode and thanks to all the fellow members of the community who 
> chipped in to reach the goal.
> 
> We always seem to make it at the end of these campaigns..  It is like and 
> auction and it seems there are a number of people who stand at the sidelines 
> till the last few days and then the serious bidding starts, people get 
> excited and may end up buying a thing or two they hadn’t intended to to see 
> it go over the edge.  Always an interesting phenomenon to watch from this 
> side.  I wonder if this is unique to the LiveCode community.   It would be an 
> interesting study for some graduate student in business or psychology.
> 
> Martin Koob
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-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 2 swipe actions

2020-08-28 Thread Mark Smith via use-livecode
Is there not a way to just disable the scrollbar (hide it?) and still have 
scrolling enabled? I am trying to do something similar in iOS and thought I 
would try:

set the dgprop["show vscrollbar"] of group "Datagrid 1" to false
set the dgProp["scroll when vscrollbar is hidden"] of group "DataGrid 1" to true

And while it worked as desired in the development environment and when 
compiling to macOS (by hiding the scrollbar and allowing swipes to scroll the 
list), when compiled to iOS no scrolling was possible at all?

Mark
 

> On Aug 27, 2020, at 7:16 PM, Mark Waddingham via use-livecode 
>  wrote:
> 
>Previously, a data grid's mobile scroller was getting in the way of
>reorder and swipe actions.

___
use-livecode mailing list
use-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: Bug: jumping stack windows (when supress messages is off)

2020-10-11 Thread Mark Smith via use-livecode
Completely off-topic, but could you post a brief description of how you made 
that video David (or send me a PM)? I have to do something similar in the near 
future and it would be good to know what kit/software you recorded with. 

Cheers and thanks,
Mark

> On Oct 9, 2020, at 3:18 PM, David Bovill via use-livecode 
>  wrote:
> 
> Here is a video describing the bug - or at least I am assuming it is a bug. 
> Very curious to see if anyone else is experiencing this issue:
> 
> • https://vimeo.com/466580164
> 
> On 9 Oct 2020, 14:48 +0100, David Bovill , wrote:
>> I’m getting pretty curious about this bug :)
>> 
>> Testing  mouse clicks- and not stacks jumping position when moving their 
>> location - I find that a stack that is successfully moved between the four 
>> quadrants of the screen - accepts mouse clicks accurately in the 
>> bottom-left, top-right and bottom right quadrants - but in the top-eft 
>> quadrant the mouse-click interactions are offset vertically in a way that is 
>> compatible with the stack jump. So if you manage to locate the. Stack 
>> without it jumping - in the top-left quadrant the mouse clicks are off.
>> 
>> Monitor settings are set for default value of the MacBook Pro display. I 
>> think I’ll make a short video of this behaviour.
>> On 9 Oct 2020, 14:35 +0100, David Bovill , wrote:
>>> Also tested on Livecode 8.1.5 with same results.
>>> On 9 Oct 2020, 14:00 +0100, David Bovill , wrote:
 
 Windows intermittently jump to a location on the screen when I move 
 windows. It’s got too annoying to ignore.
 
 • Is anyone else having this problem?
 
 I am testing this on Mojave and Livecode 9.6.1 rc2. I am testing this 
 without any of my own code such just was IDE stacks. This I “think” is 
 quite a long standing bug that I suspect is related to the global 
 coordinate system as I have been working around this for quite a while now.
 
 
 Detail
 The location of the jump seems to be the same horizontal x location. But 
 with the vertical value being reset to the halfway point.
 
 I am testing by. Simply moving the message box. It is intermittent - so 
 occurring about once every 5 moves, and strangely is happening only when 
 the top left of the stack window is within the top left quadrant of the 
 screen. Using. The following code int eh message box I find the top of the 
 message box stack is always 492 after a jump (see below). This appears to 
 be related to half the screen less the decorations like menu?
>   > > > put the screenrect & CR & the rect of stack” Message box"
>   > > >
>   > > > 0,0,1680,1050
>   > > > 215,492,634,640
 
 As a further indication that the problem is due to the IDE, I find that 
 creating a test stack (no scripts or controls) exhibits the same behaviour 
 - but this behaviour can be suppressed by choosing “Suppress Messages” 
 from the “Development” menu. This suppression has no effect on the message 
 box or other IDE windows which still jump intermittently.
 
 The problem is most intense when working with multiple screens. For at 
 least a couple of years stacks I create and place on second or third 
 monitors receive mouse clicks in the wrong location. This happens on 
 different machines, and different. Monitor setups. Only tested on Macs.
 
 I am currently creating a multiscreen app - so taking the tracking down. 
 Of this bug more seriously. The current tests are one on my laptop without 
 external monitors, and having restarted the computer (several times). 
 Applications other than Livecode don’t suffer this problem.
 
 How should I report this bug - should I submit a video / screen recording?
 
> ___
> use-livecode mailing list
> use-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: Bug: jumping stack windows (when supress messages is off)

2020-10-13 Thread Mark Smith via use-livecode
Thanks David, very kind of you to offer. Could we schedule for next week (or 
the one after)? I’m also in a bit of a crunch week myself so next week or after 
would work out better for me as well. 

Cheers,
Mark

> On Oct 13, 2020, at 12:34 PM, David Bovill  wrote:
> 
> Sure Mark. This week I’m doing a sprint on this topic - finishing on Sunday. 
> As part of that work I’ll be recording more videos in Livecode and will post 
> them next week together with some documentation. If you want a quick touch 
> base before that I’d be happy to do a Zoom and do a show / tell.
> On 11 Oct 2020, 11:37 +0100, Mark Smith , wrote:
>> Completely off-topic, but could you post a brief description of how you made 
>> that video David (or send me a PM)? I have to do something similar in the 
>> near future and it would be good to know what kit/software you recorded with.
>> 
>> Cheers and thanks,
>> Mark
>> 
>>> On Oct 9, 2020, at 3:18 PM, David Bovill via use-livecode 
>>>  wrote:
>>> 
>>> Here is a video describing the bug - or at least I am assuming it is a bug. 
>>> Very curious to see if anyone else is experiencing this issue:
>>> 
>>> • https://vimeo.com/466580164
>>> 
>>> On 9 Oct 2020, 14:48 +0100, David Bovill , wrote:
 I’m getting pretty curious about this bug :)
 
 Testing mouse clicks- and not stacks jumping position when moving their 
 location - I find that a stack that is successfully moved between the four 
 quadrants of the screen - accepts mouse clicks accurately in the 
 bottom-left, top-right and bottom right quadrants - but in the top-eft 
 quadrant the mouse-click interactions are offset vertically in a way that 
 is compatible with the stack jump. So if you manage to locate the. Stack 
 without it jumping - in the top-left quadrant the mouse clicks are off.
 
 Monitor settings are set for default value of the MacBook Pro display. I 
 think I’ll make a short video of this behaviour.
 On 9 Oct 2020, 14:35 +0100, David Bovill , wrote:
> Also tested on Livecode 8.1.5 with same results.
> On 9 Oct 2020, 14:00 +0100, David Bovill , wrote:
>> 
>> Windows intermittently jump to a location on the screen when I move 
>> windows. It’s got too annoying to ignore.
>> 
>> • Is anyone else having this problem?
>> 
>> I am testing this on Mojave and Livecode 9.6.1 rc2. I am testing this 
>> without any of my own code such just was IDE stacks. This I “think” is 
>> quite a long standing bug that I suspect is related to the global 
>> coordinate system as I have been working around this for quite a while 
>> now.
>> 
>> 
>> Detail
>> The location of the jump seems to be the same horizontal x location. But 
>> with the vertical value being reset to the halfway point.
>> 
>> I am testing by. Simply moving the message box. It is intermittent - so 
>> occurring about once every 5 moves, and strangely is happening only when 
>> the top left of the stack window is within the top left quadrant of the 
>> screen. Using. The following code int eh message box I find the top of 
>> the message box stack is always 492 after a jump (see below). This 
>> appears to be related to half the screen less the decorations like menu?
>>> > > > put the screenrect & CR & the rect of stack” Message box"
>>> > > >
>>> > > > 0,0,1680,1050
>>> > > > 215,492,634,640
>> 
>> As a further indication that the problem is due to the IDE, I find that 
>> creating a test stack (no scripts or controls) exhibits the same 
>> behaviour - but this behaviour can be suppressed by choosing “Suppress 
>> Messages” from the “Development” menu. This suppression has no effect on 
>> the message box or other IDE windows which still jump intermittently.
>> 
>> The problem is most intense when working with multiple screens. For at 
>> least a couple of years stacks I create and place on second or third 
>> monitors receive mouse clicks in the wrong location. This happens on 
>> different machines, and different. Monitor setups. Only tested on Macs.
>> 
>> I am currently creating a multiscreen app - so taking the tracking down. 
>> Of this bug more seriously. The current tests are one on my laptop 
>> without external monitors, and having restarted the computer (several 
>> times). Applications other than Livecode don’t suffer this problem.
>> 
>> How should I report this bug - should I submit a video / screen 
>> recording?
>> 
>>> ___
>>> use-livecode mailing list
>>> use-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, uns

Re: Can't edit scripts in DataGrid group in Windows 10

2020-10-23 Thread Mark Smith via use-livecode
I put code in the dg script. It works fine. But to be clear, I only have 8 
lines in my script so I’ve never tested the limits. 

mark


> On Oct 22, 2020, at 10:19 PM, Martin Koob via use-livecode 
>  wrote:
> 
> Hi all
> 
> Maybe this is not good practice but I have DataGrids with script in the group 
> that contains the DataGrid in addition to the behaviour script of the 
> DataGrid.   So to edit the script in the DataGrid group I just select the 
> Datagrid group I right click on the DataGrid and select the ‘Edit Script’ 
> menu item.   
> 
> This works fine on the mac.I just tried this on Windows 10 with LiveCode 
> 9.6 and when I try to open the same DataGrid following the same process the 
> script editor opens but it does not load the script.  In fact LiveCode 
> becomes unresponsive. The script editor dims as if disabled and the cursor 
> when hovering over the script editor or any other LiveCode windows  is the 
> hour glass cursor.
> 
> If I click on the ‘x’ to close the LiveCode project I get the dialog that 
> says.
> 
>LiveCode for Windows is not responding
>If you close the program, you might lose information.
>—>Close the Program
>—>Wait for the program to respond.
> 
> Eventually I just select ‘Close the program’ since the program never responds.
> 
> I created a test stack with just a DataGrid on it and a button and opened the 
> group script and was able to add a handler and then save it and reopen it so 
> it does work in a simple scenario.
> 
> In my application I have two dataGrids that have code in the group script.  
> On has 290 lines the other has about 480 lines.   So it seems the longer code 
> is a contributing factor.
> 
> Has anyone else experienced this?  
> 
> It the problem that you are not supposed to have script in the DataGrid’ 
> Group script and rather put it all in the DataGrid's behaviour?
> 
> 
> Thanks in advance.
> 
> 
> Martin Koob
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-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: In Praise of TROZ

2020-10-24 Thread Mark Smith via use-livecode
Nice tribute to Sarah’s work Graham. I made use of her Calendar app for many 
years. 

> On Oct 24, 2020, at 9:05 PM, Graham Samuel via use-livecode 
>  wrote:
> 
> Struggling for the first time in years with using XML in LC, I dug out Sarah 
> Reichelt’s XML tutorial. Although as far as I know, Sarah moved away from LC 
> long ago (when it was still Revolution), this seems to me the most 
> comprehensive explanation of the XML library we have.
> 
> Sarah still appears as TrozWare and still develops apps for the Mac,and 
> writes tutorials, for example for the Mac Swift system. That’s all I know 
> about her - but she left us a legacy that I for one still appreciate!
> 
> Graham
> ___
> use-livecode mailing list
> use-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: Need to track click on a MacStatusMenu without menu items

2020-11-02 Thread Mark Smith via use-livecode
Can I just add, that “fresh pasta” comment made my day :)

Thank you

> On Nov 2, 2020, at 12:03 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hi Monte,
> 
> thanks for responding and assuming that it might be possible with adjustments 
> to the source code.
> 
> Regarding Livecode Builder, i am afraid i am a hopeless case. ;) 
> Tried so many times to follow the widget course and other resources, but it 
> seems i will never understand that stuff completely. I was even able to 
> adjust  the source code of the clock widget to disable the day/night color 
> switch.  But as soon as ObjectC is involved i am lost. 
> 
> Anyway, one doesn't have to be able to do everything. 
> Hey, i am very good in making fresh pasta. Okay that doesn't help me here. ;) 
> 
> 
> All the best,
> Matthias
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 02.11.2020 um 10:07 schrieb Monte Goulding via use-livecode 
>> :
>> 
>> Hi Matthias
>> 
>> It would be possible to add to the library I think. Should just be a matter 
>> of setting an action which posts a callback on the button of the 
>> NSStatusItem. If you want to have a play the library is open source ;-)
>> 
>> Cheers
>> 
>> Monte
>> 
>>> On 2 Nov 2020, at 4:09 am, matthias rebbe via use-livecode 
>>>  wrote:
>>> 
>>> Hi
>>> 
>>> i am currently working on a Mac OS app which makes use of the MacStatusMenu 
>>> Library.
>>> Now i need a way to track a click on a Mac Status Menu icon which does not 
>>> have any menu items.
>>> 
>>> Is this somehow possible?
>>> 
>>> Currently i am only able to track the click of a menu item of a Mac Status 
>>> Menu.
>>> But if no menu item is set and i click directly on the status menu icon, i 
>>> do not get anything back.
>>> 
>>> Any ideas?
>>> 
>>> Regards,
>>> Matthias
>>> 
>>> 
>>> 
>>> -
>>> Matthias Rebbe
>>> Life Is Too Short For Boring Code
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-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: Suspend in iOS, or when is a mobile app running?

2020-11-17 Thread Mark Smith via use-livecode
And just a reminder that, under iOS, you’ll have to register to receive a “ 
UIApplicationWillResignActiveNotification” message, and then write a handler to 
respond to that (PS only register once in your stack script — I learned the 
hard way). It’s documented under mergNotify in the dictionary (with credit to 
Elanor for pointing this out to me when my “on shutdownRequest” handlers were 
being ignored). 

Jacque, I believe this is what you are looking for to be notified when you go 
into the background. I do some db cleanup at that time and it seems to work.

Mark


> On Nov 17, 2020, at 6:54 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Android has always acted like this and now that iOS apps run in the 
> background like Android does, it behaves the same way. At least our problems 
> are cross-platform now.
> 
> An app will stay in RAM until the user specifically quits or until the OS 
> needs the memory. When that happens, the OS wipes the app and it effectively 
> shuts down. We get no warning, except for a shutDown message. Android 
> recommends we store the last state of the app and restore it when it starts 
> up again.
> 
> I'd love to get a message when the app goes into the background but so far 
> there is none. Storing every little change as it happens seems tedious and 
> wasteful. I haven't had much luck with storing changes on shutdown but it's 
> worth a try, it's been a while since I did it.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On November 17, 2020 9:27:50 AM Graham Samuel via use-livecode 
>  wrote:
> 
>> Sorry if this is documented somewhere but I can’t find it.
>> 
>> On desktop platforms, LC gives us “suspend” which is fired when the app goes 
>> into the background. I seem to be having some problems with iOS, in that 
>> when the screen locks (triggered by  user action or a time limit), my app 
>> seems to stop getting messages from the OS, so is in some sense suspended. 
>> This seems to call for something like “suspend” for mobiles. Does such a 
>> message exist?
>> 
>> Another thing that happens with iOS apps that use Location Services is that 
>> the user is sometimes asked via a popu-up on the screen of the device 
>> whether the app should be allowed to use these services when it’s not 
>> running. I don’t know what triggers these user messages, nor am exactly 
>> certain what ‘not running’ means - presumably if the app has been properly 
>> quit, that’s something other than ‘not running’. In the Standalone Settings 
>> for mobile, one can set Location Services as being a requirement, but there 
>> doesn’t seem to be a setting corresponding to this user choice.
>> 
>> Has anyone a clear understanding of all this? I would love to see an 
>> explanation.
>> 
>> TIA
>> 
>> Graham
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: iOS notification app goes into background doesn't seem to work

2020-11-20 Thread Mark Smith via use-livecode
Hi Graham, you can put something like the following in your handlers and then 
check the log file to see when they were activated.  If you're using Xcode you 
can download your “sandbox”  to your device. You’ll find the log file in there. 
put the long time && "UIApplicationWillResignActiveNotification detected" & 
return after url ("file:" & specialFolderPath("documents") & "/log.txt")

for example…

10:39:05 AM UIApplicationWillResignActiveNotification detected in Stack Script
10:57:23 AM UIApplicationDidBecomeActiveNotification detected in Stack Script




> On Nov 20, 2020, at 3:23 PM, Graham Samuel via use-livecode 
>  wrote:
> 
> Thanks to Mark Smith and Henry Lowe, I know that I’m supposed to set up 
> mergNotify for two notifications as below.
> 
> I believe I’ve done this, and I’ve set a monitoring action (putting a text 
> into a field) to show that these notifications have happened.
> 
> Of course it may be just me, but so far, I only seem to get the notification 
> when the app comes back into the foreground (so logically it must have gone 
> the background first),  but I just don’t get the ‘going in to the background' 
> notification, or at least my monitoring doesn’t work.  Is there some trick of 
> timing that I’ve missed?
> 
> Graham
> 
> 
>> On 17 Nov 2020, at 20:07, HENRY LOWE via use-livecode 
>>  wrote:
>> 
>> 
>> 
>> On iOS use mergNotify as below. Works well for me.
>> 
>> on openStack
>> mergNotify "UIApplicationWillResignActiveNotification"
>> mergNotify "UIApplicationDidBecomeActiveNotification"
>> end openStack
>> 
>> on UIApplicationWillResignActiveNotification pUserInfo
>> // Your code before the app goes to background
>> -- your code here to handle going to the background
>> end UIApplicationWillResignActiveNotification
>> 
>> on UIApplicationDidBecomeActiveNotification pUserInfo
>> // Your code after the app comes back to foreground
>> -- your code here to handle your app becoming active
>> end UIApplicationDidBecomeActiveNotification
>> 
>> Henry
> 
>> On 17 Nov 2020, at 23:39, Mark Smith via use-livecode 
>>  wrote:
>> 
>> And just a reminder that, under iOS, you’ll have to register to receive a “ 
>> UIApplicationWillResignActiveNotification” message, and then write a handler 
>> to respond to that (PS only register once in your stack script — I learned 
>> the hard way). It’s documented under mergNotify in the dictionary (with 
>> credit to Elanor for pointing this out to me when my “on shutdownRequest” 
>> handlers were being ignored). 
>> 
>> Jacque, I believe this is what you are looking for to be notified when you 
>> go into the background. I do some db cleanup at that time and it seems to 
>> work.
>> 
>> Mark
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: iOS notification app goes into background doesn't seem to work

2020-11-21 Thread Mark Smith via use-livecode
Graham, I think there might be a problem. I just re-enabled this code in one of 
my applications and the only thing I am seeing is the 
WillResignActiveNotification message, and not the DidBecomeActiveNotification 
message. Odd also because it is the exact opposite of what you are seeing, so 
we are both seeing half of the story, just not the same half :) I’ll keep it 
enabled and see if I can spot any patterns. 

Mark


> On Nov 20, 2020, at 9:48 PM, Graham Samuel via use-livecode 
>  wrote:
> 
> Thanks Mark
> 
> I tried exactly your suggestion. For me, the second notification appears 
> exactly as you say, but the first one doesn’t. It’s likely that I made a 
> silly mistake but I can’t see what it is. I put other stuff in the log, so 
> it’s not just a case of the text being overwritten. Obviously the app does go 
> into the background, since it is detected coming back to the foreground. This 
> test was on the Xcode simulator, but I got essentially the same results on a 
> real iPhone.
> 
> Strange.
> 
> Graham
> 
> 
>> On 20 Nov 2020, at 17:21, Mark Smith  wrote:
>> 
>> Hi Graham, you can put something like the following in your handlers and 
>> then check the log file to see when they were activated.  If you're using 
>> Xcode you can download your “sandbox”  to your device. You’ll find the log 
>> file in there. 
>> put the long time && "UIApplicationWillResignActiveNotification detected" & 
>> return after url ("file:" & specialFolderPath("documents") & "/log.txt")
>> 
>> for example…
>> 
>> 10:39:05 AM UIApplicationWillResignActiveNotification detected in Stack 
>> Script
>> 10:57:23 AM UIApplicationDidBecomeActiveNotification detected in Stack Script
>> 
>> 
>> 
>> 
>>> On Nov 20, 2020, at 3:23 PM, Graham Samuel via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>> 
>>> wrote:
>>> 
>>> Thanks to Mark Smith and Henry Lowe, I know that I’m supposed to set up 
>>> mergNotify for two notifications as below.
>>> 
>>> I believe I’ve done this, and I’ve set a monitoring action (putting a text 
>>> into a field) to show that these notifications have happened.
>>> 
>>> Of course it may be just me, but so far, I only seem to get the 
>>> notification when the app comes back into the foreground (so logically it 
>>> must have gone the background first),  but I just don’t get the ‘going in 
>>> to the background' notification, or at least my monitoring doesn’t work.  
>>> Is there some trick of timing that I’ve missed?
>>> 
>>> Graham
>>> 
>>> 
>>>> On 17 Nov 2020, at 20:07, HENRY LOWE via use-livecode 
>>>> mailto:use-livecode@lists.runrev.com>> 
>>>> wrote:
>>>> 
>>>> 
>>>> 
>>>> On iOS use mergNotify as below. Works well for me.
>>>> 
>>>> on openStack
>>>> mergNotify "UIApplicationWillResignActiveNotification"
>>>> mergNotify "UIApplicationDidBecomeActiveNotification"
>>>> end openStack
>>>> 
>>>> on UIApplicationWillResignActiveNotification pUserInfo
>>>> // Your code before the app goes to background
>>>> -- your code here to handle going to the background
>>>> end UIApplicationWillResignActiveNotification
>>>> 
>>>> on UIApplicationDidBecomeActiveNotification pUserInfo
>>>> // Your code after the app comes back to foreground
>>>> -- your code here to handle your app becoming active
>>>> end UIApplicationDidBecomeActiveNotification
>>>> 
>>>> Henry
>>> 
>>>> On 17 Nov 2020, at 23:39, Mark Smith via use-livecode 
>>>> mailto:use-livecode@lists.runrev.com>> 
>>>> wrote:
>>>> 
>>>> And just a reminder that, under iOS, you’ll have to register to receive a 
>>>> “ UIApplicationWillResignActiveNotification” message, and then write a 
>>>> handler to respond to that (PS only register once in your stack script — I 
>>>> learned the hard way). It’s documented under mergNotify in the dictionary 
>>>> (with credit to Elanor for pointing this out to me when my “on 
>>>> shutdownRequest” handlers were being ignored). 
>>>> 
>>>> Jacque, I believe this is what you are looking for to be notified when you 
>>>> go into the background. I do some db cleanup at that time and it seems to 
>>>> work.
>>>> 
>>>> Mark
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: iOS notification app goes into background doesn't seem to work

2020-11-22 Thread Mark Smith via use-livecode
Hi Graham,

So, apparently not 100% accurate but here are the results of some late hour 
testing yesterday (I was also interested in evaluating something I needed to 
occur around the time the date changed, hence the late hour testing.). But as 
you can see, I had 3 ResignActiveNotifications before the first DidBecomeActive 
occurred. 

2:33:58 PM UIApplicationWillResignActiveNotification detected in SS

11:22:40 PM UIApplicationWillResignActiveNotification detected in SS

11:25:50 PM UIApplicationWillResignActiveNotification detected in SS

11:33:19 PM UIApplicationDidBecomeActiveNotification detected in SS

11:33:26 PM UIApplicationWillResignActiveNotification detected in SS

1:21:48 AM UIApplicationDidBecomeActiveNotification detected in SS

1:29:38 AM UIApplicationWillResignActiveNotification detected in SS



> On Nov 21, 2020, at 11:33 PM, Mark Smith  wrote:
> 
> Graham, I think there might be a problem. I just re-enabled this code in one 
> of my applications and the only thing I am seeing is the 
> WillResignActiveNotification message, and not the DidBecomeActiveNotification 
> message. Odd also because it is the exact opposite of what you are seeing, so 
> we are both seeing half of the story, just not the same half :) I’ll keep it 
> enabled and see if I can spot any patterns. 
> 
> Mark
> 
> 
>> On Nov 20, 2020, at 9:48 PM, Graham Samuel via use-livecode 
>>  wrote:
>> 
>> Thanks Mark
>> 
>> I tried exactly your suggestion. For me, the second notification appears 
>> exactly as you say, but the first one doesn’t. It’s likely that I made a 
>> silly mistake but I can’t see what it is. I put other stuff in the log, so 
>> it’s not just a case of the text being overwritten. Obviously the app does 
>> go into the background, since it is detected coming back to the foreground. 
>> This test was on the Xcode simulator, but I got essentially the same results 
>> on a real iPhone.
>> 
>> Strange.
>> 
>> Graham
>> 
>> 
>>> On 20 Nov 2020, at 17:21, Mark Smith  wrote:
>>> 
>>> Hi Graham, you can put something like the following in your handlers and 
>>> then check the log file to see when they were activated.  If you're using 
>>> Xcode you can download your “sandbox”  to your device. You’ll find the log 
>>> file in there. 
>>> put the long time && "UIApplicationWillResignActiveNotification detected" & 
>>> return after url ("file:" & specialFolderPath("documents") & "/log.txt")
>>> 
>>> for example…
>>> 
>>> 10:39:05 AM UIApplicationWillResignActiveNotification detected in Stack 
>>> Script
>>> 10:57:23 AM UIApplicationDidBecomeActiveNotification detected in Stack 
>>> Script
>>> 
>>> 
>>> 
>>> 
>>>> On Nov 20, 2020, at 3:23 PM, Graham Samuel via use-livecode 
>>>> mailto:use-livecode@lists.runrev.com>> 
>>>> wrote:
>>>> 
>>>> Thanks to Mark Smith and Henry Lowe, I know that I’m supposed to set up 
>>>> mergNotify for two notifications as below.
>>>> 
>>>> I believe I’ve done this, and I’ve set a monitoring action (putting a text 
>>>> into a field) to show that these notifications have happened.
>>>> 
>>>> Of course it may be just me, but so far, I only seem to get the 
>>>> notification when the app comes back into the foreground (so logically it 
>>>> must have gone the background first),  but I just don’t get the ‘going in 
>>>> to the background' notification, or at least my monitoring doesn’t work.  
>>>> Is there some trick of timing that I’ve missed?
>>>> 
>>>> Graham
>>>> 
>>>> 
>>>>> On 17 Nov 2020, at 20:07, HENRY LOWE via use-livecode 
>>>>> mailto:use-livecode@lists.runrev.com>> 
>>>>> wrote:
>>>>> 
>>>>> 
>>>>> 
>>>>> On iOS use mergNotify as below. Works well for me.
>>>>> 
>>>>> on openStack
>>>>> mergNotify "UIApplicationWillResignActiveNotification"
>>>>> mergNotify "UIApplicationDidBecomeActiveNotification"
>>>>> end openStack
>>>>> 
>>>>> on UIApplicationWillResignActiveNotification pUserInfo
>>>>> // Your code before the app goes to background
>>>>> -- your code here to handle going to the background
>>>>> end UIApplicationWillResignActiveNotification
>>>>> 
>>>>&

Re: iOS notification app goes into background doesn't seem to work

2020-11-24 Thread Mark Smith via use-livecode
ark Smith >>> <mailto:marksmith...@gmail.com>> wrote:
>>>> 
>>>> Graham, I think there might be a problem. I just re-enabled this code in 
>>>> one of my applications and the only thing I am seeing is the 
>>>> WillResignActiveNotification message, and not the 
>>>> DidBecomeActiveNotification message. Odd also because it is the exact 
>>>> opposite of what you are seeing, so we are both seeing half of the story, 
>>>> just not the same half :) I’ll keep it enabled and see if I can spot any 
>>>> patterns. 
>>>> 
>>>> Mark
>>>> 
>>>> 
>>>>> On Nov 20, 2020, at 9:48 PM, Graham Samuel via use-livecode 
>>>>> mailto:use-livecode@lists.runrev.com>> 
>>>>> wrote:
>>>>> 
>>>>> Thanks Mark
>>>>> 
>>>>> I tried exactly your suggestion. For me, the second notification appears 
>>>>> exactly as you say, but the first one doesn’t. It’s likely that I made a 
>>>>> silly mistake but I can’t see what it is. I put other stuff in the log, 
>>>>> so it’s not just a case of the text being overwritten. Obviously the app 
>>>>> does go into the background, since it is detected coming back to the 
>>>>> foreground. This test was on the Xcode simulator, but I got essentially 
>>>>> the same results on a real iPhone.
>>>>> 
>>>>> Strange.
>>>>> 
>>>>> Graham
>>>>> 
>>>>> 
>>>>>> On 20 Nov 2020, at 17:21, Mark Smith >>>>> <mailto:marksmith...@gmail.com>> wrote:
>>>>>> 
>>>>>> Hi Graham, you can put something like the following in your handlers and 
>>>>>> then check the log file to see when they were activated.  If you're 
>>>>>> using Xcode you can download your “sandbox”  to your device. You’ll find 
>>>>>> the log file in there. 
>>>>>> put the long time && "UIApplicationWillResignActiveNotification 
>>>>>> detected" & return after url ("file:" & specialFolderPath("documents") & 
>>>>>> "/log.txt")
>>>>>> 
>>>>>> for example…
>>>>>> 
>>>>>> 10:39:05 AM UIApplicationWillResignActiveNotification detected in Stack 
>>>>>> Script
>>>>>> 10:57:23 AM UIApplicationDidBecomeActiveNotification detected in Stack 
>>>>>> Script
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>> On Nov 20, 2020, at 3:23 PM, Graham Samuel via use-livecode 
>>>>>>> mailto:use-livecode@lists.runrev.com> 
>>>>>>> <mailto:use-livecode@lists.runrev.com 
>>>>>>> <mailto:use-livecode@lists.runrev.com>>> wrote:
>>>>>>> 
>>>>>>> Thanks to Mark Smith and Henry Lowe, I know that I’m supposed to set up 
>>>>>>> mergNotify for two notifications as below.
>>>>>>> 
>>>>>>> I believe I’ve done this, and I’ve set a monitoring action (putting a 
>>>>>>> text into a field) to show that these notifications have happened.
>>>>>>> 
>>>>>>> Of course it may be just me, but so far, I only seem to get the 
>>>>>>> notification when the app comes back into the foreground (so logically 
>>>>>>> it must have gone the background first),  but I just don’t get the 
>>>>>>> ‘going in to the background' notification, or at least my monitoring 
>>>>>>> doesn’t work.  Is there some trick of timing that I’ve missed?
>>>>>>> 
>>>>>>> Graham
>>>>>>> 
>>>>>>> 
>>>>>>>> On 17 Nov 2020, at 20:07, HENRY LOWE via use-livecode 
>>>>>>>> mailto:use-livecode@lists.runrev.com> 
>>>>>>>> <mailto:use-livecode@lists.runrev.com 
>>>>>>>> <mailto:use-livecode@lists.runrev.com>>> wrote:
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On iOS use mergNotify as below. Works well for me.
>>>>>>>> 
>>>>>>>> on openStack
>>>>>>>> mer

Re: iOS notification app goes into background doesn't seem to work

2020-11-24 Thread Mark Smith via use-livecode
 some late 
>>>> hour testing yesterday (I was also interested in evaluating something I 
>>>> needed to occur around the time the date changed, hence the late hour 
>>>> testing.). But as you can see, I had 3 ResignActiveNotifications before 
>>>> the first DidBecomeActive occurred. 
>>>> 
>>>> 2:33:58 PM UIApplicationWillResignActiveNotification detected in SS
>>>> 
>>>> 11:22:40 PM UIApplicationWillResignActiveNotification detected in SS
>>>> 
>>>> 11:25:50 PM UIApplicationWillResignActiveNotification detected in SS
>>>> 
>>>> 11:33:19 PM UIApplicationDidBecomeActiveNotification detected in SS
>>>> 
>>>> 11:33:26 PM UIApplicationWillResignActiveNotification detected in SS
>>>> 
>>>> 1:21:48 AM UIApplicationDidBecomeActiveNotification detected in SS
>>>> 
>>>> 1:29:38 AM UIApplicationWillResignActiveNotification detected in SS
>>>> 
>>>> 
>>>> 
>>>>> On Nov 21, 2020, at 11:33 PM, Mark Smith >>>> <mailto:marksmith...@gmail.com>> wrote:
>>>>> 
>>>>> Graham, I think there might be a problem. I just re-enabled this code in 
>>>>> one of my applications and the only thing I am seeing is the 
>>>>> WillResignActiveNotification message, and not the 
>>>>> DidBecomeActiveNotification message. Odd also because it is the exact 
>>>>> opposite of what you are seeing, so we are both seeing half of the story, 
>>>>> just not the same half :) I’ll keep it enabled and see if I can spot any 
>>>>> patterns. 
>>>>> 
>>>>> Mark
>>>>> 
>>>>> 
>>>>>> On Nov 20, 2020, at 9:48 PM, Graham Samuel via use-livecode 
>>>>>> mailto:use-livecode@lists.runrev.com>> 
>>>>>> wrote:
>>>>>> 
>>>>>> Thanks Mark
>>>>>> 
>>>>>> I tried exactly your suggestion. For me, the second notification appears 
>>>>>> exactly as you say, but the first one doesn’t. It’s likely that I made a 
>>>>>> silly mistake but I can’t see what it is. I put other stuff in the log, 
>>>>>> so it’s not just a case of the text being overwritten. Obviously the app 
>>>>>> does go into the background, since it is detected coming back to the 
>>>>>> foreground. This test was on the Xcode simulator, but I got essentially 
>>>>>> the same results on a real iPhone.
>>>>>> 
>>>>>> Strange.
>>>>>> 
>>>>>> Graham
>>>>>> 
>>>>>> 
>>>>>>> On 20 Nov 2020, at 17:21, Mark Smith >>>>>> <mailto:marksmith...@gmail.com>> wrote:
>>>>>>> 
>>>>>>> Hi Graham, you can put something like the following in your handlers 
>>>>>>> and then check the log file to see when they were activated.  If you're 
>>>>>>> using Xcode you can download your “sandbox”  to your device. You’ll 
>>>>>>> find the log file in there. 
>>>>>>> put the long time && "UIApplicationWillResignActiveNotification 
>>>>>>> detected" & return after url ("file:" & specialFolderPath("documents") 
>>>>>>> & "/log.txt")
>>>>>>> 
>>>>>>> for example…
>>>>>>> 
>>>>>>> 10:39:05 AM UIApplicationWillResignActiveNotification detected in Stack 
>>>>>>> Script
>>>>>>> 10:57:23 AM UIApplicationDidBecomeActiveNotification detected in Stack 
>>>>>>> Script
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>>> On Nov 20, 2020, at 3:23 PM, Graham Samuel via use-livecode 
>>>>>>>> mailto:use-livecode@lists.runrev.com> 
>>>>>>>> <mailto:use-livecode@lists.runrev.com 
>>>>>>>> <mailto:use-livecode@lists.runrev.com>>> wrote:
>>>>>>>> 
>>>>>>>> Thanks to Mark Smith and Henry Lowe, I know that I’m supposed to set 
>>>>>>>> up mergNotify for two notifications as below.
>>>>>>>> 
>>>>>>>> I believe I’ve done this, and I’ve

Re: New MacBook Pro Results

2020-12-14 Thread Mark Smith via use-livecode
Are you referring to Scott Rossi? LC did a profile on Scott for the Locked 
Learning Series in May. Google “Scott Rossi Livecode” to find our what he’s 
been up to recently. 

Sent from my iPhone

> On Dec 14, 2020, at 2:35 PM, Roger Guay via use-livecode 
>  wrote:
> 
> I don’t know, but I’m sure others on this list do.
> 
> Roger
> 
> 
>> On Dec 13, 2020, at 8:45 PM, Linda Miller via use-livecode 
>>  wrote:
>> 
>> “I sure do miss Scott!”
>> 
>> I have been watching videos from different conferences and enjoyed his 
>> lectures. So, what happened to Scott?
>> 
>> Linda
>> ___
>> use-livecode mailing list
>> use-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: mobileControlCreate (set, do, etc)

2021-01-16 Thread Mark Smith via use-livecode
Hi Sannyasin, 

Two suggestions. Could you build a small test stack to test your idea and 
refine it? Not sure of your hardware, but that might be faster to load than a 
larger, more complicated application.  Also, the simulator might be another 
possible option to speed things up while testing?

Cheers,
Mark
 

> On Jan 16, 2021, at 3:56 AM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> How in this done on desktop? It takes 15 minutes to build a standalone on 
> iOS. Do we have make adjustments the mobile controls. AND then do another 
> standalone.
> 
> This would intro a Big factor in time development.
> 
> BR
> ___
> use-livecode mailing list
> use-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: Considering work with livecode server

2021-01-19 Thread Mark Smith via use-livecode
Hi Andre, how are “apps to bundled content” different from “apps that are 
portals to web content" (Jacque’s description)? Or put another way, if someone 
wanted to design a tourist app that highlighted interesting local tourist 
destinations near them with a link you can click on to purchase tickets or book 
reservations etc, would that violate Apple’s guidelines? Asking for a friend :)

Cheers,
Mark

> On Jan 19, 2021, at 1:49 PM, Andre Garzia via use-livecode 
>  wrote:
> 
> But apps that are browsers to bundled content are OK. That is how you get
> Apache Cordova and Phonegap to work.
> 
> On Tue, 19 Jan 2021 at 02:06, Mark Wieder via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> On 1/18/21 2:20 PM, William Prothero via use-livecode wrote:
>> 
>>> Building a single web-based app that avoids the world of all the mobile
>> apps and desktop idiosyncrasies is attractive.
>> 
>> I thought mobile stores (Apple, etc) explicitly disallowed apps that
>> were essentially just web browsers to external content.
>> 
>> Am I wrong about this?
>> 
>> --
>>  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
>> 
> 
> 
> -- 
> https://www.andregarzia.com 
> Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia
> ___
> use-livecode mailing list
> use-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 gesture script on datagrid

2021-01-19 Thread Mark Smith via use-livecode
Yes, that’s how it’s done. And then in your row behavior script respond to
on EditModeActionControlClicked pTarget

with pTarget containing the short name of your action control button.



> On Jan 19, 2021, at 7:37 AM, Phil Davis via use-livecode 
>  wrote:
> 
> Would the dgProp["left swipe control"] of grp "yourDG" help? At least that 
> might let you change the default trash can to some other control (maybe to a 
> group that contains your 2 buttons?). If you get that far, maybe the message 
> path of your 2 buttons would go through the DG template row behavior script. 
> I don't know for sure but that would be my first guess.
> 
> Phil Davis
> 
> 
> On 1/18/21 10:28 PM, Ludovic THEBAULT via use-livecode wrote:
>> Hello,
>> 
>> How edit the script of a swipe gesture control ?
>> I want to add two buttons to the right swipe control, it’s ok for appearance 
>> but I cannot find where to edit the script.
>> 
>> Is it even possible?
>> 
>> PS : i have datagrid helper plugin 2.5.
>> 
>> 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
> 
> -- 
> Phil Davis
> 503-307-4363
> 
> 
> ___
> use-livecode mailing list
> use-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 gesture script on datagrid

2021-01-19 Thread Mark Smith via use-livecode
Or “RowRightSwipeControlClicked” in your case. It depends on how you invoke the 
action control.

> On Jan 19, 2021, at 4:18 PM, Mark Smith  wrote:
> 
> Yes, that’s how it’s done. And then in your row behavior script respond to
> on EditModeActionControlClicked pTarget
> 
> with pTarget containing the short name of your action control button.
> 
> 
> 
>> On Jan 19, 2021, at 7:37 AM, Phil Davis via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> Would the dgProp["left swipe control"] of grp "yourDG" help? At least that 
>> might let you change the default trash can to some other control (maybe to a 
>> group that contains your 2 buttons?). If you get that far, maybe the message 
>> path of your 2 buttons would go through the DG template row behavior script. 
>> I don't know for sure but that would be my first guess.
>> 
>> Phil Davis
>> 
>> 
>> On 1/18/21 10:28 PM, Ludovic THEBAULT via use-livecode wrote:
>>> Hello,
>>> 
>>> How edit the script of a swipe gesture control ?
>>> I want to add two buttons to the right swipe control, it’s ok for 
>>> appearance but I cannot find where to edit the script.
>>> 
>>> Is it even possible?
>>> 
>>> PS : i have datagrid helper plugin 2.5.
>>> 
>>> 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
>> 
>> -- 
>> Phil Davis
>> 503-307-4363
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-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: Considering work with livecode server

2021-01-20 Thread Mark Smith via use-livecode
Thanks Kee, but I am a bit puzzled by the restriction.

That would require complicity from the businesses, which if reputable would be 
a stretch, no? For example, if I had an app that linked to course selections on 
University websites, are they going to suggest that these could be portals to 
pedophile shopping sites by entering a secret pass phrase? By the sounds of it, 
please correct me if I am wrong, no iStore app can link to a website for 
content regardless of the status of the organization that stands behind the 
site? H, I still have a lot to learn in this space. 

Are there any links available to guidelines that describe these limitations?

Thanks
Mark

> On Jan 20, 2021, at 4:25 AM, kee nethery via use-livecode 
>  wrote:
> 
> An app to web content is a mystery app. Your restaurant review app that pulls 
> from the web could easily be transformed into a pedophile shopping app by 
> entering a secret pass phrase and then changing the data on the web site. (as 
> an extreme example)

___
use-livecode mailing list
use-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: Comments for Properties in the Property Inspector?

2021-01-23 Thread Mark Smith via use-livecode
I’ve recently taken to prefacing custom properties with the initials “cp” and 
find that when I do a global search on “cp” all that shows up are my custom 
properties. I don’t know if this will help solve your problem but it helps me 
to know what cp’s are declared, as well as where they are used. 


> On Jan 23, 2021, at 1:03 PM, Paul Dupuis via use-livecode 
>  wrote:
> 
> Random Thought of the Day:
> 
> Does anyone else wish that custom properties had an optional comment field 
> that could be viewed in the Property Inspector (PI)?
> 
> I realize you can always comment properties in the code where you use them, 
> but I find myself often in the PI looking at a Property that has, say an 
> enumerated set of values, and I don't remember what all the values are, nor 
> do I remember exactly where in the many stacks of code the property is first 
> documented. I find myself wishing each custom property has a comment field.
> 
> I suppose I could create a library of setProp and getProp handlers for every 
> property I might like to document and document the values or constraints 
> there. I suppose if I am doing that extra degree of work then I could enforce 
> any constraints on the customer property in the getProp and setProp handlers, 
> but that seems like a non-trivial extra amount of work just to remember that 
> the custom property should only have values of X, Y, and Z.
> 
> Thoughts?
> 
> ___
> use-livecode mailing list
> use-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: Considering work with livecode server

2021-01-24 Thread Mark Smith via use-livecode
Thanks for weighing in on this issue Kee. I realize Apple grants unto itself 
certain inalienable rights that are not always (in my opinion) wise, or 
justified (ie. they are open to all sorts of corporate bias and malfeasance) 
but as you say, “them’s the rules” and if you want to play in their sandbox you 
had better abide by them. I presume there is some semblance of common sense at 
Apple, at least I hope so :)

Mark

> On Jan 24, 2021, at 3:14 PM, kee nethery via use-livecode 
>  wrote:
> 
> 
> 
>> On Jan 20, 2021, at 4:20 AM, Mark Smith via use-livecode 
>>  wrote:
>> 
>> Thanks Kee, but I am a bit puzzled by the restriction.
>> 
>> That would require complicity from the businesses, which if reputable would 
>> be a stretch, no?
> 
> There is a significantly large number of certified developers. I personally 
> have three developer accounts for three separate efforts. If I was willing, I 
> could risk burning one of those accounts. Not that I’m going to do so, just 
> saying, yes, the business amd the developer would have to be in on it. 
> 
>> For example, if I had an app that linked to course selections on University 
>> websites, are they going to suggest that these could be portals to pedophile 
>> shopping sites by entering a secret pass phrase? By the sounds of it, please 
>> correct me if I am wrong, no iStore app can link to a website for content 
>> regardless of the status of the organization that stands behind the site? 
>> H, I still have a lot to learn in this space. 
> 
> Just saying that you need to really read the published rules and follow them. 
> When there is an exception needed, you need to really sell your case to Apple 
> and they might go for it, but assume they won’t. Not all app ideas can be 
> apps.
> 
>> 
>> Are there any links available to guidelines that describe these limitations?
> 
> Apple developer site makes you agree to their terms and conditions. Thats 
> what you want to reread with a very critical ete.
> 
> Kee
> 
>> 
>> Thanks
>> Mark
>> 
>>> On Jan 20, 2021, at 4:25 AM, kee nethery via use-livecode 
>>>  wrote:
>>> 
>>> An app to web content is a mystery app. Your restaurant review app that 
>>> pulls from the web could easily be transformed into a pedophile shopping 
>>> app by entering a secret pass phrase and then changing the data on the web 
>>> site. (as an extreme example)
>> 
>> ___
>> use-livecode mailing list
>> use-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: clipboardData on Mobile?

2021-01-28 Thread Mark Smith via use-livecode
I could definitely use the same feature in my upcoming app. Does anyone know if 
a feature request has been logged?

> On Jan 27, 2021, at 11:56 PM, Dan Friedman via use-livecode 
>  wrote:
> 
> Greetings!
> 
> Is there a way to set the clipboardData a mobile device?  (iOS and Android).
> 
> Client want's a "copy" button so they can paste the text outside of the app 
> (in Notes, or a external document).
> 
> 
> -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: Smooth scrolling

2021-02-02 Thread Mark Smith via use-livecode
Very nice. Thanks Panos

> On Feb 2, 2021, at 2:54 PM, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hello folks,
> 
> This bug report contains a workaround for smooth scrolling - hope it helps.
> 
> https://quality.livecode.com/show_bug.cgi?id=19759
> 
> Cheers,
> Panos
> --
> 
> On Tue, 2 Feb 2021 at 16:17, Craig newman via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> On a Mac, I made a field with 25000 words or so. Certainly dragging the
>> thumb is jerky.
>> 
>> But dragging the thumb forces the field's scroll  to track the thumbPos, as
>> it relates to the number of lines and the total "pixel" travel available to
>> that thumb. I don't see how a field could scroll smoothly at all, since the
>> thumb and the scroll are locked together.
>> 
>> In other words, how can it "glide" from one line (scroll position) to
>> another, since the thumbPos has a finite number of possible locations, and
>> if there are a LOT of lines, each location may be several lines away?
>> 
>> Craig
>> 
>> -Original Message-
>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
>> Behalf
>> Of Richard Gaskin via use-livecode
>> Sent: Monday, February 01, 2021 10:11 PM
>> To: use-livecode@lists.runrev.com
>> Cc: Richard Gaskin 
>> Subject: Re: Smooth scrolling
>> 
>> David Epstein wrote:
>> 
>>> My impression is that a LiveCode field scrolls less smoothly than  > a
>> comparable field in some other programs, such as MS Word and  > Scrivener.
>> If I paste about 25,000 words into a word wrapped  > scrolling field, and
>> then drag the scrolling thumb up and down  > there is much more jumpiness
>> than I see when I do the same thing  > to the same text in those other
>> programs.  (LC 9.6 on Mac OS 10.12.6).
>>> Do others see the same thing?  Does anyone know the underlying cause  >
>> of this, or a remedy?
>> 
>> Nice to hear the name Scrivener. Blount did some good rethinking of how
>> words are managed when he came up with that app.
>> 
>> In the olden days I remember being impressed with how smoothly LC scrolled
>> vs things like Word, which wasn't all that surprising given that LC buffers
>> the whole field in RAM while Word pages from disk.
>> 
>> A lot's changed since then. Not only have SSDs taken over to narrow the
>> gap,
>> but I no longer have a copy of Word to compare anything to. :)
>> 
>> But I did just do a quick test of LC v9.6.2rc2 vs LibreOffice Write on
>> Ubuntu 18.04, using Kafka's Metamorphosis to get a reasonably close number
>> of words to your test (Gutenberg Project RTF is 25,180 words:
>> http://www.gutenberg.org/files/5200/5200-r.rtf ).
>> 
>> Very different setup of course, but FWIW LC and LibreOffice are quite close
>> in scrolling, though LC seems noticeably smoother.
>> 
>> Of course Ubuntu and macOS couldn't be more different from top to bottom,
>> with different font managers, buffering APIs, compositors, etc., so while
>> it
>> was easy for me to do this quick test it's almost entirely useless.
>> 
>> What might be nice would be someone with good knowledge of Apple low-level
>> tools, similar to the ones we see for Android or to some degree strace,
>> where graphical UI stuff can be profiled so we can see what Word and LC are
>> doing differently.
>> 
>> It might also be worth setting the field's layerMode to "scrolling" and the
>> stack's compositorType to "CoreGraphics" to see if that improves things.
>> 
>> --
>>  Richard Gaskin
>>  Fourth World Systems
>>  Software Design and Development for the Desktop, Mobile, and the Web
>>  
>>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> ___
> use-livecode mailing list
> use-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: New(?) Idea for Standalones

2021-03-31 Thread Mark Smith via use-livecode
Wonderful, thanks for posting!

Mark

> On Mar 31, 2021, at 11:59 AM, Heather Laine via use-livecode 
>  wrote:
> 
> I thought at this point, I could make a useful contribution to this thread:
> 
> https://lessons.livecode.com/m/4071/l/1386097-i-get-a-warning-about-malicious-software-when-opening-a-livecode-standalone-on-mac
>  
> 
> 
> My thanks to Scott for the handy test app, I hope you do not mind me using it 
> to create this lesson...
> 
> Best Regards,
> 
> Heather
> 
> Heather Laine
> Customer Services Manager
> LiveCode Ltd
> www.livecode.com
> 
> 
> 
>> On 30 Mar 2021, at 00:53, Roger Guay via use-livecode 
>>  wrote:
>> 
>> Thanks for your kind offer, Alex, but I think the process of opening an 
>> unblessed standalone for OS 11 has been solved. See my previous post in 
>> response to Scott. Turns out to be fairly simple . . . at least for this 
>> iteration of OS. In short, just right-click 2 times. It may also be 
>> important to do this from the Downloads folder. Not sure about that tho
>> 
>> Roger
>> 
>>> On Mar 29, 2021, at 3:29 PM, Alex Tweedly via use-livecode 
>>>  wrote:
>>> 
>>> 
>>> On 29/03/2021 22:11, Roger Guay via use-livecode wrote:
 Thanks, Alex. Unfortunately it comes up with the “No Entry” sign on this 
 machine.
 
 Roger
>>> 
>>> I'm not exactly sure what message this is, or when it happens. But this 
>>> sounds like "Fortunately, ..." because I think it means you have an app 
>>> that hits a brickwall of permission on your own machine - so we can look at 
>>> it in more detail without bothering your wife's many multiple windows.
>>> 
>>> It's hard to describe these things in words - hence my suggestion of a Zoom 
>>> call where you can screen-share and let others watch (and suggest) while 
>>> you try it. If you want to try that with just me, please do (I'm 
>>> unavailable for the next hour, but free from approx 00:30 - 01:30 UK time), 
>>> or tomorrow almost any time, given some notice).
>>> Or contact me off-list and we'll find a time.
>>> Or suggest a time and someone else might be able to join in and help.
>>> 
>>> There are lots of motivated people wanting to help - or to find out what 
>>> they're going to need to tell their own users when those users upgrade to a 
>>> later MacOS. :-)
>>> 
>>> 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
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: [ANN] New Book: Development Oriented Development

2021-04-01 Thread Mark Smith via use-livecode
Hi Andre, thanks for this delightful and inspiring little book. Your “Type 
Tool” in particular has spawned a whole range of ideas related to things I 
never thought could be accomplished so easily. 

Mark

> On Mar 23, 2021, at 3:04 PM, Andre Garzia via use-livecode 
>  wrote:
> 
> Hi Martin,
> 
> Thanks a ton for the kind words and feedback. Your message makes me quite
> happy because what you're describing is exactly the kind of experience that
> I wanted to encourage when I wrote that book. Let us know how your plugin
> writing goes :-) oh, I'm also interested in feedback for part 2 of that
> book which is about project-focused tooling, if you have any thoughts about
> it, I'd be keen to know more.
> 
> Thanks!
> 
> -- 
> https://www.andregarzia.com  
> >
> Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia 
> 
> ___
> use-livecode mailing list
> use-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: Behaviors and scripts and a new handler structure...

2021-04-04 Thread Mark Smith via use-livecode
Hi Bob,

If you have a bit of time, could you tell us a bit more about how?

Thanks,
Mark

> On Apr 2, 2021, at 12:42 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I have already implemented this with the help of others, for Datagrids. I 
> think it works already for other things. 
> 
> Bob S
> 
> 
>> On Apr 1, 2021, at 12:51 , Paul Dupuis via use-livecode 
>>  wrote:
>> 
>> I have increasingly been using behaviors in my applications where it makes 
>> sense to assign a script to multiple objects or to override the actions of 
>> existing script handlers by assign a behavior with different version of 
>> those handlers.
>> 
>> The one thing I dislike about behaviors is all the objects I need to create 
>> (a button for this behavior another button for that behavior script and so 
>> on).
>> 
>> I'd love to see a new LCS structure like the following:
>> 
>> behavior 
>> 
>> 
>> 
>> end 
>> 
>> that you can just have in a script. Even multiple behaviors in the same 
>> script perhaps each with their own 'mouseUp' handlers and then you can set 
>> the behavior of an object to a behavior name and done. Obviously, any 
>> messages (i.e mouseDown, mouseUp, etc. etc.) in the behavior block should 
>> never received a mouseDown, mouseUp, etc. message unless sent to the object 
>> tat have the behavior assigned to it.
>> 
>> I think it would make code maintenance potentially much easier. I don't have 
>> any idea how much of a engine change such a addition to the language would 
>> represent.
>> 
>> Anyone else think this is a good idea?
> 
> 
> ___
> use-livecode mailing list
> use-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: On the dangers of automated refactoring

2021-04-13 Thread Mark Smith via use-livecode
I can't speak for others, but I can personally vouch for the authenticity of 
that statement 😊

On 2021-04-13, 12:12 PM, "use-livecode on behalf of Andre Garzia via 
use-livecode"  wrote:


I bet many here never used a unit testing library.



___
use-livecode mailing list
use-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: Complete Crash or Engine Hang: which is better?

2021-04-29 Thread Mark Smith via use-livecode
Rants aside, here’s an odd pasting issue I ran into the other day. To cut to 
the chase, basically I can make a field become unmodifiable with respect to 
TEXT parameters (excluding align) by pasting anything from Apples TextEdit tool 
into the field. Is that just something quirky in my setup or do others have the 
same problem? I’ve also tried with Atom and did not see the same problem… 

Sorry to hear of all your crashes and hangs Curry. I suspect you are exercising 
LC a lot more vigorously than I am as a crash a year is a surprise to me 
(excluding working with DG’s where one has to tip toe cautiously to avoid 
“breaking” the grid. I guess that would be considered a hang).

Mark


> On Apr 29, 2021, at 9:31 AM, Curry Kenworthy via use-livecode 
>  wrote:
> 
> 
> (Full disclosure: Testing a "Cheerful Rant" format to see whether employing 
> some humor is more effective when letting off steam, and hopefully even 
> slipping a bit of common sense past politically-correct radars under the 
> cover of attempted wit. We'll see how this fares, compared to the Standard 
> Angry Rants and reflexive Community Defensive Reactions that we see every 
> couple of weeks when people "Chimp Out" after a nasty ground-and-pound 
> session with lovely LiveCode bugs! Trigger warning: may or may not induce 
> mild chuckling, or in adverse cases traumatic Frontline Flashbacks to your 
> bug battle days with intermittent seizures and a nasty full-body rash.)
> 
> So...first to apologize for being less talkative here on the list during the 
> last week: I've been spending some intimate time with one of LC's 
> least-polished and buggiest features. Yep, I'm back on "paste" and related 
> areas! It's a part of LC where you could choose to devote the entire 
> remaining years of your life to the Bug Monkhood, filing thousands of bug 
> reports and feature requests. Or you can file the most important dozen 
> reports, avoid full-time Monkhood, and sum it up as: this area of LiveCode 
> looks only "half-finished." It was a case of Codus Interruptus, apparently.
> 
> More details on that and some other news to follow soon, when I've finished 
> more workarounds, so that I can meet the client deadline and then file the 
> bug reports
> 
> Meanwhile, here's a dilemma of another sort:
> 
> While working on paste and related areas that seem only half-finished in the 
> LC Engine, I've been luxuriating in the blissful experience of having my 
> coding and debugging interrupted by crashes and freezes. Did I lose any work, 
> you might inquire? Ha ha, that'll be the day! You're talking to a person so 
> save-compulsive that I can't even type a message like this without saving the 
> draft after every sentence. (Save.) LC has trained me well, in the style of 
> Pavlov's mutts. (Save, salivate.) So that's not even a problem.
> 
> No, the trouble is trying to decide whether my all-time favorite should be 
> the Crash or the Hang.
> 
> Both are elegant ways of ending a work session. Yet each has its attractions, 
> and even LiveCode's trusty conditioning hasn't provided me with a clear 
> answer on which is better. (Wait, or has it? Save, salivate, wag.)
> 
> Crashing instantly out to the Desktop is convenient, because you're all set 
> to relaunch LC again with not so much as an extra click. You can relaunch and 
> crash, relaunch and crash, almost as fast as one of those toy monkeys with 
> the cymbals, and with a similar overall appearance.
> 
> After you've done a few repeats, you also get a quicker start on your 
> Cheerful Rant or your bug report. The complete instant crash (as long as the 
> app simply disappears, with no system dialogs) is the epitome of a very clean 
> and crisp user experience; I have to admire the purism. Finally, the 
> nostalgia factor is huge: it really takes me back to LC 1.1.1 and my first 
> days here. ("Hey, where'd the IDE go?") Thus, the winner for classic style 
> might be the Instant Crash. All the Cool Kids do this; you should too!
> 
> However, having the Engine "hang" can provide additional useful clues to the 
> cause of the problem, in around 13% of all cases. That's automatically making 
> lemons into lemonade, as long as your computer monitor was built up-to-snuff 
> in Silicon Santa's third world sweatshops and the helpful clues don't "burn 
> in" to the screen. The Hang also provides much of your recommended daily 
> amount of Task Manager exercise with force-quit repetitions to bulk up 
> mouse-hand and mouse-finger musculature on one side of your body, hermit-crab 
> style. The asymmetric look will be trending any day now.
> 
> Meanwhile your CPU gets an extra workout too, and this provides an excellent 
> test of your OS kernel in throttling and managing out-of-control processes. 
> (Usually that means LC.) This even warms up your laptop on those cold 
> mornings. And when someone asks you "how's it hanging" you can quip a very 
> technical answer with the computer usage stats for that par

Re: Complete Crash or Engine Hang: which is better?

2021-04-29 Thread Mark Smith via use-livecode
Hi Craig,

Yes, unusable from the perspective of changing the font size, boldness, 
underline, italics etc  (alignment still works). The field still accepts text, 
I just can’t edit the style anymore. Also, bizarrely, if I remove the pasted 
text and just type in it directly I still have the same deficit. In other 
words, the field is knackered. I have to delete it and create a new one if I 
want to do any edits to the format. Also, this happens if I grab a label and 
just paste text from TextEdit into the contents window. Same effect. 

It certainly has been persisting ever since I noticed it a few days ago. Not 
sure I ever pasted text from TextEdit before so hard to say how long this has 
been an issue. None of this is reproducible with Atom. Just with TextEdit (v 
1.15). LC 9.6.1 on Catalina 10.15.7

Mark



> On Apr 29, 2021, at 2:00 PM, Craig Newman via use-livecode 
>  wrote:
> 
> Mark.
> 
> Am I understanding that you can paste text from textEdit into a LC field, and 
> that renders the field unusable? I see nothing like this. I rarely actually 
> do that, though now and then use textEdit as a scratchpad to then load into a 
> field.
> 
> Is this actually something you see all the time?
> 
> Craig
> 
>> On Apr 29, 2021, at 6:28 AM, Mark Smith via use-livecode 
>>  wrote:
>> 
>> Rants aside, here’s an odd pasting issue I ran into the other day. To cut to 
>> the chase, basically I can make a field become unmodifiable with respect to 
>> TEXT parameters (excluding align) by pasting anything from Apples TextEdit 
>> tool into the field. Is that just something quirky in my setup or do others 
>> have the same problem? I’ve also tried with Atom and did not see the same 
>> problem… 
>> 
>> Sorry to hear of all your crashes and hangs Curry. I suspect you are 
>> exercising LC a lot more vigorously than I am as a crash a year is a 
>> surprise to me (excluding working with DG’s where one has to tip toe 
>> cautiously to avoid “breaking” the grid. I guess that would be considered a 
>> hang).
>> 
>> Mark
>> 
>> 
>>> On Apr 29, 2021, at 9:31 AM, Curry Kenworthy via use-livecode 
>>>  wrote:
>>> 
>>> 
>>> (Full disclosure: Testing a "Cheerful Rant" format to see whether employing 
>>> some humor is more effective when letting off steam, and hopefully even 
>>> slipping a bit of common sense past politically-correct radars under the 
>>> cover of attempted wit. We'll see how this fares, compared to the Standard 
>>> Angry Rants and reflexive Community Defensive Reactions that we see every 
>>> couple of weeks when people "Chimp Out" after a nasty ground-and-pound 
>>> session with lovely LiveCode bugs! Trigger warning: may or may not induce 
>>> mild chuckling, or in adverse cases traumatic Frontline Flashbacks to your 
>>> bug battle days with intermittent seizures and a nasty full-body rash.)
>>> 
>>> So...first to apologize for being less talkative here on the list during 
>>> the last week: I've been spending some intimate time with one of LC's 
>>> least-polished and buggiest features. Yep, I'm back on "paste" and related 
>>> areas! It's a part of LC where you could choose to devote the entire 
>>> remaining years of your life to the Bug Monkhood, filing thousands of bug 
>>> reports and feature requests. Or you can file the most important dozen 
>>> reports, avoid full-time Monkhood, and sum it up as: this area of LiveCode 
>>> looks only "half-finished." It was a case of Codus Interruptus, apparently.
>>> 
>>> More details on that and some other news to follow soon, when I've finished 
>>> more workarounds, so that I can meet the client deadline and then file the 
>>> bug reports
>>> 
>>> Meanwhile, here's a dilemma of another sort:
>>> 
>>> While working on paste and related areas that seem only half-finished in 
>>> the LC Engine, I've been luxuriating in the blissful experience of having 
>>> my coding and debugging interrupted by crashes and freezes. Did I lose any 
>>> work, you might inquire? Ha ha, that'll be the day! You're talking to a 
>>> person so save-compulsive that I can't even type a message like this 
>>> without saving the draft after every sentence. (Save.) LC has trained me 
>>> well, in the style of Pavlov's mutts. (Save, salivate.) So that's not even 
>>> a problem.
>>> 
>>> No, the trouble is trying to decide whether my all-time favorite should be 
>>> the Crash or

Re: Complete Crash or Engine Hang: which is better?

2021-04-29 Thread Mark Smith via use-livecode
Thanks Richard, that probably explains it. There are style runs in the TextEdit 
text (and not, say, in Atom or some other editor). It was just odd to me 
because I think (quite simplistically) of text being text and not expecting 
them to have style runs, but of course they can. This also began because not 
only could I not change my text, someone else previously had this problem and 
eventually fixed it by deleting the fields and starting over 
(https://forums.livecode.com/viewtopic.php?f=7&t=32727 
). I now suspect it may 
have been style runs in their text as well. I don’t tend to run into this sort 
of problem because I’m rarely concerned with the style of text, but in this 
particular case I actually did want to change the font size and color and 
couldn’t, and that had me puzzled. Ok good, I think you've solved this. Thanks 
for weighing in.

Mark

> On Apr 29, 2021, at 5:18 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Mark Smith wrote:
> 
> > here’s an odd pasting issue I ran into the other day. To cut to the
> > chase, basically I can make a field become unmodifiable with respect
> > to TEXT parameters (excluding align) by pasting anything from Apples
> > TextEdit tool into the field.
> 
> By what means were you attempting to modify the text styles?
> 
> If you modify the text styling properties of the field object itself, 
> remember that style runs within the field will override those.
> 
> You could have your script paste with putting the clipboardData["text"] into 
> the selection, and you can strip style runs to inherit field properties with 
> "put fld X into fld X".
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Complete Crash or Engine Hang: which is better?

2021-04-29 Thread Mark Smith via use-livecode
I figured as much but was just probing to fill in my own gaps in knowledge. 
Glad you piped in to clear up the confusion for me 😊

> On Apr 29, 2021, at 7:23 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> When things show up that look like extreme problems that would affect nearly 
> every user, it's probably not a regression.  Not that the team's automated 
> testing can catch everything (though it catches a lot), but just that bugs 
> that affect large numbers of people in ways that prevent core use of the 
> product generally don't live long, if they live long enough to get past early 
> beta at all.

___
use-livecode mailing list
use-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: dg with native controls in template

2021-04-29 Thread Mark Smith via use-livecode
You can put an SVG Icon or a graphic image into a DG column, would either of 
those work? Then you just need to script the behaviour of the widget or graphic 
when it’s tapped on. I do something similar with check and uncheck SVG icons. 

> On Apr 29, 2021, at 8:23 PM, Mike Kerner via use-livecode 
>  wrote:
> 
> Let's say we want to have a scrolling area, like a DG, and we want one of
> the columns in that thing to be a native radio button on mobile, which we
> can activate with touch.
> I'm not aware of a way to do that in LC at present.
> Yes?
> No?
> Maybe so?
> ___
> use-livecode mailing list
> use-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: Complete Crash or Engine Hang: which is better?

2021-05-02 Thread Mark Smith via use-livecode
Frightening and wonderful at the same time. When I did these exercises and then 
copy pasted a styledText string from LC into TextEdit, it was interesting to 
see what they agreed on, and what they didn't. For example, when colouring 
“numbers” both fields ignored numbers followed by “,” but not by a “.” So they 
were in agreement there. However, words containing a “y” were italicized in LC 
(that was the request) but interpreted as bold/underlined in TextEdit? 

More remarkably, I have no idea how they can stuff that much style info into a 
text string 😊

Mark


> On Apr 29, 2021, at 7:23 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Mark Smith wrote:
> 
> > Thanks Richard, that probably explains it. There are style runs in
> > the TextEdit text (and not, say, in Atom or some other editor). It
> > was just odd to me because I think (quite simplistically) of text
> > being text and not expecting them to have style runs, but of course
> > they can.
> 
> Here's a fun exercise, well worth a few minutes of playing around: make a 
> field, style some text in it, make a tree widget, and run this in the Message 
> Box:
> 
>  set the arrayData of widget 1 to the styledText of fld 1
> 
> The styledText array is a great representation of field contents, much faster 
> to work with than most HTML-parsing methods, and offering good insight into 
> the internals of LC fields, being the closes match we have from a scripting 
> interface to the underlying field structures.
> 
> The v5.something engine added some super-awesome text properties, with 
> paragraph-level formatting and more.  Seeing them laid out in array format 
> (the tree widget is great for that) really illuminates how things are laid 
> out.
> 
> 
> > This also began because not only could I not change my text, someone
> > else previously had this problem and eventually fixed it by deleting
> > the fields and starting over
> > (https://forums.livecode.com/viewtopic.php?f=7&t=32727)
> 
> Yeah, I posted pretty much the same comment there, but like much of what I 
> used to write in the forums it was ignored in favor of doing a lot of 
> unnecessary work. :)
> 
> 
> > I now suspect it may have been style runs in their text as well.
> 
> When things show up that look like extreme problems that would affect nearly 
> every user, it's probably not a regression.  Not that the team's automated 
> testing can catch everything (though it catches a lot), but just that bugs 
> that affect large numbers of people in ways that prevent core use of the 
> product generally don't live long, if they live long enough to get past early 
> beta at all.
> 
> So if we truly had mysteriously immutable text styling, chances are good it 
> would be caught in a Preview build, long before RC.  Good enough to check 
> style runs, anyway. :)
> 
> 
> > I don’t tend to run into this sort of problem because I’m rarely
> > concerned with the style of text, but in this particular case I
> > actually did want to change the font size and color and couldn’t,
> > and that had me puzzled. Ok good, I think you've solved this.
> > Thanks for weighing in.
> 
> Happy to help others avoid pitfalls I've run into myself. I hope that solves 
> it for you.
> 
> I had a head-scratching moment over exactly this many years ago.  Just 
> sharing what I've learned, so others don't have to replicate my mistakes.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: 9.6.0 simulator issue

2021-05-07 Thread Mark Smith via use-livecode
Hi Mike,

I have seen this problem as well, rebooted, reloaded everything and it worked. 
You might want to try that. Simulator first, then load the app and try the Test 
button. 

Mark

> On May 7, 2021, at 7:28 PM, Mike Kerner via use-livecode 
>  wrote:
> 
> Since 9.6.2 is giving me issues, I decided to try the simulator in 9.6.0.
> That is giving me
> "Unable to start simulator: 634,0,0,unknown
> C++ exception
> 573,263,1,revPhoneSetSimulatorSDK"
> 
> -- 
> 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


Re: 9.6.0 simulator issue

2021-05-08 Thread Mark Smith via use-livecode
In order,

Re-started Xcode, invoked the Simulator
Waited for the simulator to boot
Re-loaded LC, loaded my app
Pressed the test button. 

That is being really rigorous about it, but sometimes I have found if that the 
sequence is messed up in some way you’ll see the C++ exception error. That’s 
when I do the above and so far (knock on wood) it has always got things going 
again. 

> On May 7, 2021, at 7:41 PM, Mike Kerner via use-livecode 
>  wrote:
> 
> what do you mean - reloaded as in reinstalled xcode or just restarted LC?
> 
> On Fri, May 7, 2021 at 2:39 PM Mark Smith via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hi Mike,
>> 
>> I have seen this problem as well, rebooted, reloaded everything and it
>> worked. You might want to try that. Simulator first, then load the app and
>> try the Test button.
>> 
>> Mark
>> 
>>> On May 7, 2021, at 7:28 PM, Mike Kerner via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Since 9.6.2 is giving me issues, I decided to try the simulator in 9.6.0.
>>> That is giving me
>>> "Unable to start simulator: 634,0,0,unknown
>>> C++ exception
>>> 573,263,1,revPhoneSetSimulatorSDK"
>>> 
>>> --
>>> 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
>> 
> 
> 
> -- 
> 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


Re: 9.6.0 simulator issue

2021-05-09 Thread Mark Smith via use-livecode
Will try that, thanks

> On May 8, 2021, at 8:48 PM, JeeJeeStudio via use-livecode 
>  wrote:
> 
> an alternative is, create a standalone.
> 
> Drag the standalone file you created to the emulator
> 
> 
> Op 8-5-2021 om 14:45 schreef Mark Smith via use-livecode:
>> In order,
>> 
>> Re-started Xcode, invoked the Simulator
>> Waited for the simulator to boot
>> Re-loaded LC, loaded my app
>> Pressed the test button.
>> 
>> That is being really rigorous about it, but sometimes I have found if that 
>> the sequence is messed up in some way you’ll see the C++ exception error. 
>> That’s when I do the above and so far (knock on wood) it has always got 
>> things going again.
>> 
>>> On May 7, 2021, at 7:41 PM, Mike Kerner via use-livecode 
>>>  wrote:
>>> 
>>> what do you mean - reloaded as in reinstalled xcode or just restarted LC?
>>> 
>>> On Fri, May 7, 2021 at 2:39 PM Mark Smith via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
>>>> Hi Mike,
>>>> 
>>>> I have seen this problem as well, rebooted, reloaded everything and it
>>>> worked. You might want to try that. Simulator first, then load the app and
>>>> try the Test button.
>>>> 
>>>> Mark
>>>> 
>>>>> On May 7, 2021, at 7:28 PM, Mike Kerner via use-livecode <
>>>> use-livecode@lists.runrev.com> wrote:
>>>>> Since 9.6.2 is giving me issues, I decided to try the simulator in 9.6.0.
>>>>> That is giving me
>>>>> "Unable to start simulator: 634,0,0,unknown
>>>>> C++ exception
>>>>> 573,263,1,revPhoneSetSimulatorSDK"
>>>>> 
>>>>> --
>>>>> 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
>>>> 
>>> 
>>> -- 
>>> 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
> 
> ___
> use-livecode mailing list
> use-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: Bug, feature, or just something I need to program around?

2021-05-12 Thread Mark Smith via use-livecode
Hi Alex, what sequence are you trying to do that won’t work? If you tab into a 
field and then cmd-arrow (right or left) I think it restores the “selection” 
behavior you are looking for ie. you can then shift-cmd-right or left to select 
the chars. Would that be a work-around?

> On May 11, 2021, at 9:22 PM, Alex Tweedly via use-livecode 
>  wrote:
> 
> In a LC single line field (MacOS), the keys shift-cmd-rightarrow will select 
> from the current position to the end of the line, and add that to the 
> selection.
> 
> BUT if I TAB into the field the cursor is initially at the start of the field 
> and the key sequence above will move the cursor to the end *without* 
> selecting the characters.
> 
> At that point, shift-cmd-leftarrow will move it back to the start, still 
> without selecting any characters. But if you do "something else" (e.g. left 
> arrow, insert a char, delete a char, ...) then normal behaviour resumes. If 
> you click into the field, everything behaves itself.
> 
> Feels to me like a bug, but I'd be happy to be corrected.
> 
> And, if I need to - any suggestions how I could script around it ?
> 
> 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: "select the selectedchunk"

2021-05-12 Thread Mark Smith via use-livecode
Remarkable. It completely changes the “selection” behavior of the cursor when 
cmd-shift-arrow is typed. 

> On May 12, 2021, at 3:26 PM, Alex Tweedly via use-livecode 
>  wrote:
> 
> select the selectedchunk

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

2021-05-21 Thread Mark Smith via use-livecode
Hi Dan,

did you try fullscreen set to “ShowAll”?

Also,I set the background color of my splash to a color that matched the 
background of my splash screen image so now it “appears” to cover the full 
screen of all device sizes. 

Mark


> On May 20, 2021, at 9:22 PM, Dan Friedman via use-livecode 
>  wrote:
> 
> Stupid Question (I should know this!)...   Why in my iOS app not scaled to 
> the device?   I am getting black bars at the top and bottom of the device.   
> I thought this once had to do with the splash screens, but changing the 
> "Launch Image" doesn't seem to have any effect.  I don't recall having to set 
> fullscreenmode, but that seems to have no effect either.
> 
> LC 9.6.1
> XCode 11.3.1
> 
> -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: Display Youtube video

2021-06-12 Thread Mark Smith via use-livecode
Hi David,

Here is something I’ve tried that work pretty well. 

Go to your video on Youtube. Select the “Share” option, copy the link. For my 
video (a demo) it was https://youtu.be/6geoK-SAmb0 


Then, in the browser widget url field reformat the string as follows: 
https://www.youtube.com/embed/6geoK-SAmb0?autoplay=1 


That worked for me (although it did not autoplay as expected… but there was a 
play button on the video you could tap on to get things going). I didn’t use 
any code at all. 

If you find a different solution that works (maybe better!)  I’d be happy to 
hear about it.

Cheers,
Mark


> On Jun 12, 2021, at 9:31 PM, David Bovill via use-livecode 
>  wrote:
> 
> Does anyone have any code to display a Youtube video. As far as I understand 
> the only way to do this is to request an html embed code from the Youtube api 
> based on the id of the video. The browser widget then could display this 
> html. Has anyone done this and can share a code snippet?
> 
> 📆Schedule a call with 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


Re: building standalone FAILS with German Umlaute in app name

2021-06-15 Thread Mark Smith via use-livecode
It sounds funny but that is the advice given for people with adhesive 
capsulitis aka “frozen shoulder”. Best thing to do is just leave it alone and 
don’t irritate it. It will resolve itself over a period of months or years 😊

> On Jun 15, 2021, at 4:21 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> A man went to see hist doctor for a problem with his shoulder. He told the 
> doctor, "When I move my arm like this, my shoulder really hurts!" They doctor 
> replied, "Well, don't do that!" 
> 
> :-)
> 
> Bob S
> 
> 
>> On Jun 15, 2021, at 06:19 , Tiemo via use-livecode 
>>  wrote:
>> 
>> Hello,
>> 
>> 
>> 
>> macOS 11.2.3, LC 9.6.1 and 9.6.2
>> 
>> 
>> 
>> when the app name has German Umlaute, building a standalone fails with the
>> error:
>> 
>> "Adding ad-hoc signature failed. . Too many open files in subcomponent
>> myÖApp.app/Contents/MacOS/myÖApp.app"
>> 
>> 
>> 
>> This was working for the last years without any problem. I don't know, since
>> which version it failed.
>> 
>> When replacing the Umlaut, everything works fine.
>> 
>> Since I have to build shortly an update to an existing app with an Umlaut in
>> its name, this is pretty annoying!
>> 
>> 
>> 
>> Any workaround? Any help?
>> 
>> 
>> 
>> Tiemo
> 
> ___
> use-livecode mailing list
> use-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: Stuck on native database functions

2021-07-07 Thread Mark Smith via use-livecode
Currently I have this working

(Content of tSQL :)
INSERT into TABLE1 ("complete", "todo", "itemDate", "category", "purgeDate", 
"dgOrder") values(:1, :2, :3, :4, :5, :6)


revExecuteSQL gConnectID, tSQL, "ptheRowA[complete]", "ptheRowA[todo]", 
"ptheRowA[itemDate]", "ptheRowA[category]", "ptheRowA[purgeDate]", 
"ptheRowA[dgOrder]”

I am not passing the entire array because there are some array elements that I 
am not saving. If I did want to save/insert the whole array then I would write 
something like:

revExecuteSQL gConnectID, tSQL, “ptheRowA”

Hope that helps,
Mark



> On Jul 7, 2021, at 12:06 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Hi all. 
> 
> I assemble an SQL statement that looks like this: 
> 
> insert into ObjectProperties (recordid,rect,controlname,owner,visible) VALUES 
> (:1,:2,:3,:4,:5)
> 
> I then execute this statement: 
> 
> revExecuteSQL tDBID, tInsertSQL, aRecordData
> 
> I get records but with no data in them. I checked aRecordData and it has all 
> 5 columns as keys and data in each of them. 
> 
> I am at a complete loss. I was sure this was working before, now it is not. 
> 
> Bob S
> 
> 
> ___
> use-livecode mailing list
> use-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: Stuck on native database functions

2021-07-07 Thread Mark Smith via use-livecode
Yes, using the numeric placeholders will do that for you. 

> On Jul 7, 2021, at 4:43 PM, Terence Heaford via use-livecode 
>  wrote:
> 
> It also seems to do the escaping for you as it handled text containing commas 
> in the description

___
use-livecode mailing list
use-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] possible console bug

2021-07-28 Thread Mark Smith via use-livecode
Tested with Catalina / LC9.6.2 / Simulator. Works as Panos described although 
with this setup I did not see a Start button, and I never clicked on anything. 
I did see the “put” messages from my app go to the Console. PS filter as Panos 
suggests works great to filter just the messages from your app. 

Mark


> On Jul 28, 2021, at 5:19 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> I tested here with Big Sur/LC9.6.3 RC2 and Simulator.
> 
> I can confirm that doing it like Panos described will show the put output.
> 
> But you have to press the "Start" icon at the top in Console app  before the 
> put output is captured by the Console app. 
> So if you did the output in the app before you pressed the "start" button, 
> that previous output is not listed in the console. Only 'put outputs' which 
> where done after pressing start are listed in the log.
> 
> 
> Regards
> Matthias
> 
> 
>> Am 28.07.2021 um 15:57 schrieb panagiotis m via use-livecode 
>> :
>> 
>> Hello Andre,
>> 
>> I am good, thanks for asking. I hope you are well too :)
>> 
>> I just tested on Big Sur. I had to do an extra step:
>> 
>> When you see the "system.log" window, the one where there is no option to
>> choose "iPhone 8" at the left, force quit the Console app. Then reopen the
>> Console app directly, i.e. not through the Simulator, just go to
>> /Applicatons/Utilities/Console and open it.
>> 
>> At this point you should see a different Console window, where choosing
>> "iPhone 8" at the left should be possible. Again, filter by the standalone
>> name because there is a lot of noise.
>> 
>> Hope this helps.
>> 
>> Kind regards,
>> Panos
>> --
>> 
>> On Wed, 28 Jul 2021 at 16:39, Andre Garzia via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Hi Panos,
>>> 
>>> Hope all is well with you my friend, thanks a lot for the speedy reply.
>>> 
>>> I think things might have changed in Big Sur because I see a different
>>> console app. Mine doesn’t have a way to switch to this “iPhone 8” label.
>>> Below is a screenshot from my console app:
>>> 
>>> https://andregarzia.com/files/console-window.png <
>>> https://andregarzia.com/files/console-window.png>
>>> 
>>> The “system.log” being shown is definitely the iPhone 8 Simulator one, not
>>> only because of the content but also because option-clicking the file on
>>> top shows the path to it and it is coming from inside the CoreSimulator
>>> folder.
>>> 
>>> Still, I don’t see any output from LiveCode standalone in it.
>>> 
>>> Best
>>> A
>>> 
>>> 
 On 28 Jul 2021, at 14:19, panagiotis m via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
 
 Hello Andre,
 
 It works as expected for me.
 
 MacOS Mojave
 Xcode 11.3
 iOS 13.3 Simulator
 
 In the simulator go to Debug -> Open System Log
 This opens the Console app
 In the Console window, in the left hand side, you should see the name of
 the simulator (e.g. "iPhone 8"). Click on it.
 There will be a lot of logs, so I suggest to filter the output by the
 standalone name (e.g. type the standalone name, as it appears in the
 General tab of the S/B in the top right Search box of the Console window)
 
 I have a button that does "put the milliseconds && "==="
 and I can see the expected output in the console logs every time I press
 the button in the simulator.
 
 Cheers,
 Panos
 --
 
 On Wed, 28 Jul 2021 at 16:04, Andre Garzia via use-livecode <
 use-livecode@lists.runrev.com> wrote:
 
> I’m just bumping this thread because I haven’t been able to see any log
> information when using the Simulator.
> 
> Can more people confirm this? Is this a bug, and if so who owns that bug
> LC or Apple?
> 
> It becomes really hard to debug a mobile application when you can’t see
> logs on the Simulator.
> 
> I made a recipe stack here, but I want to be sure before I fill a bug
> report.
> 
> Best
> A
> 
>> On 12 Jul 2021, at 23:58, matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>> 
>> Andre,
>> 
>> tested now with LC 9.6.3 and Xcode 12.4, as i am still on Catalina.
> Took me some time to download Xcode.
>> 
>> i tried here with 2 different physical devices (iPhone 7 iOS 14.4 and
> iPhone 12 iOS 14.6) and was able to see the output in the Console log
> pressing the 'open console' button in Xcode's 'Devices and Simulators'
> (shift CMD 2)
>> 
>> I selected my device in that tool and pressed 'open console'. I had the
> 'Now' mode activated and filtered for my output. I could see the output.
>> 
>> But i still do not see it when using the simulator.
>> 
>> Regards,
>> Matthias
>> 
>> 
>> 
>>> Am 12.07.2021 um 17:13 schrieb Andre Garzia via use-livecode <
> use-livecode@lists.runrev.com>:
>>> 
>>> 
>>> 
 On 12 Ju

Re: Most streamlined method to get data

2021-07-30 Thread Mark Smith via use-livecode
That was brilliant. Relatedly, why does “ the last word” not return $8,303.32 
since it is delimited by quotes (and the dictionary says, "A word is delimited 
<> by one or more spaces, tabs, or returns, or enclosed by double quotes <>." 
<>, and is there a list of “unicode word breaks” lying around somewhere?

Thanks...
Mark


> On Jul 29, 2021, at 2:10 PM, Colin Kelly via use-livecode 
>  wrote:
> 
> Put the last trueword of yourVariable
> 
> That should do what you need ☺
> 
> Col.
> 
> From: use-livecode  on behalf of Craig 
> Newman via use-livecode 
> Date: Thursday, 29 July 2021 at 13:56
> To: How to use LiveCode 
> Cc: Craig Newman 
> Subject: Re: Most streamlined method to get data
> Ugh.  I really do not like the format of the use-list.
> 
> Anyway, don’t just replace comma with empty. Do it to the trailing commas 
> only. This can be done in several ways.
> 
> Craig
> 
>> On Jul 29, 2021, at 8:42 AM, Skip Kimpel via use-livecode 
>>  wrote:
>> 
>> I have a variable that contains:
>> 
>> ,Name,,,Quantity,Total,,,Percent
>> 
>> ,Dine In,,,189,"$4,812.71",,,57.96%
>> 
>> ,Take Out,,,72,"$1,676.43",,,20.19%
>> 
>> ,3rd Party,,,54,"$1,779.35",,,21.43%
>> 
>> ,Bakery,,,3,$34.83,,,0.42%
>> 
>> ,Total,,,318,"$8,303.32",,,
>> 
>> 
>> What is the best way to get 8303.32 from that last line.  Obviously, the
>> complexity is the commas and getting rid of the dollar sign as well.
>> 
>> 
>> I know I am going to kick myself when somebody answers I am blank this
>> morning.  (NEED MORE COFFEE!)
>> 
>> 
>> SKIP
>> ___
>> use-livecode mailing list
>> use-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: Need to populate array into datagrid

2021-08-10 Thread Mark Smith via use-livecode
Hi Skip, I’m not sure if this is what you are looking for but if you want to 
set the datagrid to display the data in an array you use:

set the dgData of group "DataGrid" to pDataArray

If your data is just delimited text you can use:

set the dgText of group "DataGrid" to pData

Either way tiggers the LayoutControl and FillInData handlers in the datagrid, 
so these need to be the same as (or be modified to meet) the structure of the 
incoming data.

There is more in the dictionary under dgData and dgText.

Mark


> On Aug 10, 2021, at 7:52 PM, Skip Kimpel via use-livecode 
>  wrote:
> 
> What is the best way to do this?  I have searched my old code, online
> results, etc and cannot find a clear cut answer.  Having said that, it has
> been a VERY long time since I have done this so I am part of the "use it or
> lose it" club right now.
> 
> Any help would be greatly appreciated!
> 
> SKIP
> ___
> use-livecode mailing list
> use-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: Need to populate array into datagrid

2021-08-11 Thread Mark Smith via use-livecode
Skip, are you putting this into a form style or table style datagrid?

Mark


> On Aug 11, 2021, at 8:18 PM, Skip Kimpel  wrote:
> 
> So yes, I have tried this method but I am only getting the first element to 
> appear in the data grid ("1,2") in each row
> None of the other details appear in the datagrid.
> 
> SKIP
> 
> On Tue, Aug 10, 2021 at 3:24 PM Mark Smith  > wrote:
> Hi Skip, I’m not sure if this is what you are looking for but if you want to 
> set the datagrid to display the data in an array you use:
> 
> set the dgData of group "DataGrid" to pDataArray
> 
> If your data is just delimited text you can use:
> 
> set the dgText of group "DataGrid" to pData
> 
> Either way tiggers the LayoutControl and FillInData handlers in the datagrid, 
> so these need to be the same as (or be modified to meet) the structure of the 
> incoming data.
> 
> There is more in the dictionary under dgData and dgText.
> 
> Mark
> 
> 
>> On Aug 10, 2021, at 7:52 PM, Skip Kimpel via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> What is the best way to do this?  I have searched my old code, online
>> results, etc and cannot find a clear cut answer.  Having said that, it has
>> been a VERY long time since I have done this so I am part of the "use it or
>> lose it" club right now.
>> 
>> Any help would be greatly appreciated!
>> 
>> SKIP
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com 
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode 
>> 
> 

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


Re: [ANN] New version of the "universal button" widget

2021-08-25 Thread Mark Smith via use-livecode
Thanks Ralf. That looks to be a very useful widget. 

Mark

> On Aug 19, 2021, at 7:15 PM, Ralf Bitter via use-livecode 
>  wrote:
> 
> There is a new version of the "universal button" widget
> which can be used as a replacement for the
> segmented control widget.
> 
> There was an issue with round corners and wide borders
> which was fixed by Bernd Niggemann, thanks Bernd.
> 
> Furthermore spacing between icon, text and border
> has been optimized.
> 
> This release can be downloaded here:
> https://github.com/revig/universal-button-widget/releases
> 
> 
> Ralf
> 
> ___
> use-livecode mailing list
> use-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] Organize - A daily task manager

2021-08-25 Thread Mark Smith via use-livecode
I am very pleased to announce a wide-beta release of my first iOS app; Organize 
-- a daily to-do list manager. There is a demo on Youtube 
(https://youtu.be/LtQ5O1Qk80w ) and you can 
download and install the (final) beta version here... 
(https://testflight.apple.com/join/AysRGtVv 
). A really big thanks to everyone 
who has helped me along the way (you all know who you are!!). I would be 
delighted to have anyone interested kick the tires and provide feedback, advice 
and suggestions. 

Cheers,
Mark

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


Re: [ANN] Organize - A daily task manager

2021-08-26 Thread Mark Smith via use-livecode
Hi Marc, 

Please give the link another try… it seems the first time you click it just 
installs TestFlight. I think the 2nd time will let you install the app. I have 
tried on a bunch of different phones and I’ve seen at least 3 different UI’s, 
so its definitely a bit confusing to navigate. I’ll also send you a direct 
email request which should fix the problem, but I would also be interested in 
knowing if a 2nd click on the link works too. 

Mark


> On Aug 26, 2021, at 1:07 AM, Marc Siskin via use-livecode 
>  wrote:
> 
> Mark,
> 
> I would like to test your app.  I need an invitation code in order to do so.
> 
> If you still have space, please send me a code directly to my e-mail.
> 
> Thanks,
> Marc Siskin
> ---
> Marc Siskin, Learning Engineer
> Manager, Modern Language Resource Center
> Carnegie Mellon University
> msis...@andrew.cmu.edu<mailto:msis...@andrew.cmu.edu>
> 
> 
> On Aug 25, 2021, at 4:57 PM, Mark Smith via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> 
> I am very pleased to announce a wide-beta release of my first iOS app; 
> Organize -- a daily to-do list manager. There is a demo on Youtube 
> (https://youtu.be/LtQ5O1Qk80w <https://youtu.be/LtQ5O1Qk80w>) and you can 
> download and install the (final) beta version here... 
> (https://testflight.apple.com/join/AysRGtVv 
> <https://testflight.apple.com/join/AysRGtVv>). A really big thanks to 
> everyone who has helped me along the way (you all know who you are!!). I 
> would be delighted to have anyone interested kick the tires and provide 
> feedback, advice and suggestions.
> 
> Cheers,
> Mark
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: [ANN] Organize - A daily task manager

2021-08-26 Thread Mark Smith via use-livecode
Hi Skip, I’ve sent you a direct link in email as well. 

Cheers,
Mark

> On Aug 26, 2021, at 1:13 AM, Skip Kimpel via use-livecode 
>  wrote:
> 
> Me as well!  Looks like a fantastic product.
> 
> SKIP
> 
>> On Aug 25, 2021, at 8:08 PM, Marc Siskin via use-livecode 
>>  wrote:
>> 
>> Mark,
>> 
>> I would like to test your app.  I need an invitation code in order to do so.
>> 
>> If you still have space, please send me a code directly to my e-mail.
>> 
>> Thanks,
>> Marc Siskin
>> ---
>> Marc Siskin, Learning Engineer
>> Manager, Modern Language Resource Center
>> Carnegie Mellon University
>> msis...@andrew.cmu.edu<mailto:msis...@andrew.cmu.edu>
>> 
>> 
>> On Aug 25, 2021, at 4:57 PM, Mark Smith via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> I am very pleased to announce a wide-beta release of my first iOS app; 
>> Organize -- a daily to-do list manager. There is a demo on Youtube 
>> (https://youtu.be/LtQ5O1Qk80w <https://youtu.be/LtQ5O1Qk80w>) and you can 
>> download and install the (final) beta version here... 
>> (https://testflight.apple.com/join/AysRGtVv 
>> <https://testflight.apple.com/join/AysRGtVv>). A really big thanks to 
>> everyone who has helped me along the way (you all know who you are!!). I 
>> would be delighted to have anyone interested kick the tires and provide 
>> feedback, advice and suggestions.
>> 
>> Cheers,
>> Mark
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: [ANN] Organize - A daily task manager

2021-08-26 Thread Mark Smith via use-livecode
Hi Alex,

Where are you stuck? There are many steps in the process and I too found many 
of them confusing. Luckily I had some help so I am happy to pass along what 
I’ve learned (also, many others will have answers to your questions). 

See below for my specific responses… happy to take them here if it doesn’t 
violate any list rules. 

> On Aug 26, 2021, at 1:16 AM, Alex Tweedly via use-livecode 
>  wrote:
> 
> Hi Mark,
> 
> Looks great. I'm impressed - and inspired to have another try at getting past 
> the hurdles and making an iOS app :-)
> Any suggestions on how to get started would be welcome.
> 
> I'm not sure if I should send comments/suggestions directly to you, or to 
> start on the list to encourage discussion. I'll start here for now.
> 
> 1. (Always my first question :-)  Can I export the data if I want to move to 
> another app ?
> Or import ? (e.g. CSV, ...)

Not at present, but I’ll add that to the list.

> 
> 2. Is there a "move un-completed items to the next day" (i.e. to make it more 
> like a traditional to-do list manager) ?

At the moment you would have to do that item by item (i.e. no batch move 
option… I’ve added that to the suggestion list as well :)

> 
> 3. Blank items ?  From around 40sec - 1:10 sec there is a 'blank' item left 
> on the screen while you do other things. Does it stay forever, or disappear 
> if you move to another section ?

In general, blank lines are not saved to the DB. You can see this in action 
between 1:10 - 1:15 when I leave to go to the Settings page and then return 
again. The blank line is gone. If you add text to a line, save it (most any 
action will save it), then remove the text from the line the program treats the 
update like any other update and will save it as blank. Of course you can 
manually remove it later if you want.

> 
> 4. Your "left arrow' menu. Shouldn't that be (i.e. wouldn't iOS users expect 
> that to be) a left-swipe to bring up the menu ?

Good catch. I used “open” text fields (like any standard LC text entry field) 
instead of the "Edit Field” concept provided with the DG. This was for several 
reasons but in general I found it made it easier to enter/edit text. However, 
you cannot swipe across an “open” text field since it just inserts the cursor. 
Some other mechanism had to be found and this seems to be a reasonable 
alternative. At least for this application I am happy with the choice and hope 
others are as well. Time will tell :) 

> 
> Thanks 
> 
> Alex.
> 
> On 25/08/2021 21:57, Mark Smith via use-livecode wrote:
>> I am very pleased to announce a wide-beta release of my first iOS app; 
>> Organize -- a daily to-do list manager. There is a demo on Youtube 
>> (https://youtu.be/LtQ5O1Qk80w <https://youtu.be/LtQ5O1Qk80w>) and you can 
>> download and install the (final) beta version here... 
>> (https://testflight.apple.com/join/AysRGtVv 
>> <https://testflight.apple.com/join/AysRGtVv>). A really big thanks to 
>> everyone who has helped me along the way (you all know who you are!!). I 
>> would be delighted to have anyone interested kick the tires and provide 
>> feedback, advice and suggestions.
>> 
>> Cheers,
>> Mark
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: [ANN] Organize - A daily task manager

2021-08-26 Thread Mark Smith via use-livecode
Hi Martin, I’ll take the compliment (that was I, not Skip, who produced the 
app) 😊

Your suggestion of having a switch to hide/show checked items on the main page 
is a good one, if I had more room. As it is, I’m pretty much cramming 
everything I can onto that page. The row menu could be an option but I’ve 
already got plans for unused real estate there. However, I'll add it to the 
list and keep thinking about it. 

All the best,
Mark


> On Aug 26, 2021, at 2:10 PM, Martin Koob via use-livecode 
>  wrote:
> 
> Hi Skip
> 
> The app looks great.  I will definitely download and try it once it is in the 
> app store.
> 
> A couple comments from your YouTube demo:
> 
> First  I really like how you can create items by tapping in white space. It 
> reduces the complexity of the interface.
> 
> Second is a suggestion regarding the showing and hiding of checked items.
> 
> You went to settings to do that.  I think that would be better if you could 
> do that from the main interface, say with a toggle button for show and hide 
> checked, or drop down “view” menu.
> 
>   View
>   Unchecked
>   Checked
>All
>•••
> 
> The ••• could be for the  ‘more…’ maybe that could open the settings or a 
> dialog with other view options.
> 
> Martin
> 
> 
>> On Aug 26, 2021, at 7:48 AM, Skip Kimpel via use-livecode 
>>  wrote:
>> 
>> Thank you, Mark!
>> 
>>> On Aug 26, 2021, at 5:55 AM, Mark Smith via use-livecode 
>>>  wrote:
>>> 
>>> Hi Skip, I’ve sent you a direct link in email as well. 
>>> 
>>> Cheers,
>>> Mark
>>> 
>>>> On Aug 26, 2021, at 1:13 AM, Skip Kimpel via use-livecode 
>>>>  wrote:
>>>> 
>>>> Me as well!  Looks like a fantastic product.
>>>> 
>>>> SKIP
>>>> 
>>>>>> On Aug 25, 2021, at 8:08 PM, Marc Siskin via use-livecode 
>>>>>>  wrote:
>>>>> 
>>>>> Mark,
>>>>> 
>>>>> I would like to test your app.  I need an invitation code in order to do 
>>>>> so.
>>>>> 
>>>>> If you still have space, please send me a code directly to my e-mail.
>>>>> 
>>>>> Thanks,
>>>>> Marc Siskin
>>>>> ---
>>>>> Marc Siskin, Learning Engineer
>>>>> Manager, Modern Language Resource Center
>>>>> Carnegie Mellon University
>>>>> msis...@andrew.cmu.edu<mailto:msis...@andrew.cmu.edu>
>>>>> 
>>>>> 
>>>>>> On Aug 25, 2021, at 4:57 PM, Mark Smith via use-livecode 
>>>>>> mailto:use-livecode@lists.runrev.com>> 
>>>>>> wrote:
>>>>> 
>>>>> I am very pleased to announce a wide-beta release of my first iOS app; 
>>>>> Organize -- a daily to-do list manager. There is a demo on Youtube 
>>>>> (https://youtu.be/LtQ5O1Qk80w <https://youtu.be/LtQ5O1Qk80w>) and you can 
>>>>> download and install the (final) beta version here... 
>>>>> (https://testflight.apple.com/join/AysRGtVv 
>>>>> <https://testflight.apple.com/join/AysRGtVv>). A really big thanks to 
>>>>> everyone who has helped me along the way (you all know who you are!!). I 
>>>>> would be delighted to have anyone interested kick the tires and provide 
>>>>> feedback, advice and suggestions.
>>>>> 
>>>>> Cheers,
>>>>> Mark
>>>>> 
>>>>> ___
>>>>> use-livecode mailing list
>>>>> use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>
>>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>> 
>>>>> ___
>>>>> use-livecode mailing list
>>>>> use-livecode@lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>> 
>>>> ___
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>> subscriptio

Re: LiveCode community edition is gone

2021-09-02 Thread Mark Smith via use-livecode
HI Kee,

You do know the schools license gives you complete access to all 7 platforms 
and permanent standalones for $25 a seat per year and the apps are non-expiring?

> On Sep 2, 2021, at 6:15 PM, Kee Nethery via use-livecode 
>  wrote:
> 
> I like the idea of a free version that does not compile into an app. Lets 
> schools teach LiveCode and lets people learn it before deciding to buy it.
> 
> My two cents
> 
> Kee Nethery
> ___
> use-livecode mailing list
> use-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’m a software engineer, not a platform engineer

2021-09-02 Thread Mark Smith via use-livecode
Hi Sean, based on personal experience I would say, “Keep the faith”. I’m sure 
that you and Heather can come to a solution that fits your business profile. I 
don’t think they want to lose anyone in this transition, and are willing to 
“find a solution” that will work for you. 

All the best,
Mark


> On Sep 2, 2021, at 7:06 PM, Pi Digital via use-livecode 
>  wrote:
> 
> I don’t know how this will play out for me. It’s all a bit skewed and too 
> fresh in my mental inbox at the moment to fully comprehend. Time will tell. 
> I’m still waiting to hear from Heather what they are offering for when my 
> next sub ends. I’m hoping they take all of the above into account. 

___
use-livecode mailing list
use-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 community edition is gone

2021-09-08 Thread Mark Smith via use-livecode
Bob, that is exactly what the schools and university licenses are. Plus, the 
apps developed with them the are non-expiring (which is probably a good thing 
since many students will want to continue using their apps and not have them go 
p and disappear). School is $25 a seat per year, and university is $50. If 
you are running a private non-accredited training program speak to Heather. 

Sent from my iPhone

> On Sep 8, 2021, at 4:20 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Speaking of an educational license, perhaps consider, now that a lot of 
> learning is online, having the ability to "assign" a seat license an email 
> and password, so that someone could teach an online course, and distribute 
> each seat license to students for the duration of the class. Upon graduation 
> the teacher can direct the students to the Livecode site where they can 
> purchase a (perhaps new user special deal) license of their own, and then 
> turn off their per seat educational license. 
> 
> Bob S
> 
> 
> ___
> use-livecode mailing list
> use-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: M1 Mac possible problem

2021-09-10 Thread Mark Smith via use-livecode
I had the same result as Matthias. Beyond the opening screen and the partial 
opening of the JSB screen, I was not able to get anything to load. 

Mark

2017 MacBook Pro running Catalina (10.15.7)

> On Sep 10, 2021, at 6:56 AM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Hi,
> 
> A particular user of my Music In the Air program is having trouble with it 
> running correctly; a card fails to load the data to go ahead. She is in China 
> and is using an M1 Mac, neither of which I have access to directly.
> 
> Would someone who has an M1 try running it and letting me know what happens? 
> 
> https://artsinteractive-products.s3.us-west-1.amazonaws.com/MITA/TestVersion/MITA-installer-mac-china.dmg
>  
> 
> 
> 
> This is a limited demo version, otherwise fully functional, and will be 
> initially in Chinese, but there is an English choice at the startup.
> 
> Thanks very much, and you can let me know off list what happens.
> 
> Peter Bogdanoff
> bogdan...@me.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


[ANN] Organize 1.1 now in App Store

2021-09-10 Thread Mark Smith via use-livecode
I am pleased to announce that Organize: A Daily Task Manager (1.1) is now 
available in the app store, and is free. 

https://apps.apple.com/gb/app/organize/id1555952717 


Ratings and reviews appreciated. Thanks again to everyone who helped make this 
application possible.

Mark



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


Re: [ANN] Organize 1.1 now in App Store

2021-09-10 Thread Mark Smith via use-livecode
Thanks Bill, 

One other thing I wanted to address in the announcement, but forgot, was just 
the sheer reliability of Livecode. I started beta testing 6 months ago, there 
where 3 rounds of testing and about 19 testers. Not once did TestFlight report 
a crash (it tracks these for you). When I sent it for app review, it passed on 
the first attempt in < 24 hours. Same on the 2nd attempt (because I had messed 
up the screen shots and had to redo them). A huge part of the reliability and 
credibility of this app must go to Livecode for the development of such a 
superbly reliable application development environment. It just works, and for 
that I am immensely grateful. There are 10’s of thousands of lines of code 
running in that app, most of them not written by me. I am grateful for the 
attention to detail and professionalism the entire LC team represents. It means 
a lot.

Cheers everyone, and happy coding!!
Mark


> On Sep 10, 2021, at 6:55 PM, ELS Prothero via use-livecode 
>  wrote:
> 
> Sorry, I started but didn’t continue to participate in the feedback request 
> for your app. My question, though, is “what does this app do that just using 
> the calendar can’t?” It could help to state it’s unique capabilities in the 
> app description.

___
use-livecode mailing list
use-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: M1 Mac possible problem

2021-09-10 Thread Mark Smith via use-livecode
Apologies, I should have mentioned it: 2.3 GHz Dual-Core Intel Core i5

> On Sep 10, 2021, at 6:12 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Thanks Matthias, Bernard, and Mark!
> 
> I’m seeing that the issue is probably not processor related. Bernard on an M1 
> didn’t have trouble. Matthias on Intel did, as well as Mark who didn’t 
> specify what he had—but the bad results do mirror exactly what the Chinese 
> user was seeing on her M1.
> 
> The final card that becomes unresponsive is because of a semi-opaque overlay 
> that’s a setup for a license activation group to show on top. At that point 
> the program is trying to read a local file that contains the current license 
> info—if the local license file doesn’t exist (new user), it will load the 
> license group with a field to enter a key, or the user can choose to continue 
> with the free limited version. The script is seeming to stop around that 
> point.
> 
> I’ve been trying to make the problem show for me, including what Matthias 
> suggested—running it from the installer which does seem to work normally. I 
> also tried deleting the pref file containing language and location choices 
> that was written at the opening, in hopes of narrowing it down to an 
> inability to write or read a file from the pref folder in the library. 
> Deleting the pref file caused a script error that shows the standard LC error 
> dialog added by the installer, so it’s not that.
> 
> So apparently something in my script is failing to complete for some users. 
> This was built with LC 9.6.1. I’ll work on it more…
> 
> Peter Bogdanoff
> 
>> On Sep 10, 2021, at 4:45 AM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Dear Peter,
>> 
>> i have not an M1, but am always interested what can be produced with LC.
>> 
>> I tested your program and noticed that although i switched to English and 
>> World i see a button with chinese text on the next page.
>> 
>> Regarding your problem.
>> Is it possible by any change that your user is running the app from mounted 
>> DMG? At least then it does not go any further after pressing the button with 
>> chinese text. The next card, which displays J.S Bach i think, comes up, but 
>> the menu in the middle is greyed out and the program stops.
>> When quitting it still prompts if you want to quit. But none of the menu 
>> entries work.
>> 
>> Regards,
>> Matthias
>> 
>> 
>> 
>>> Am 10.09.2021 um 07:56 schrieb Peter Bogdanoff via use-livecode 
>>> :
>>> 
>>> Hi,
>>> 
>>> A particular user of my Music In the Air program is having trouble with it 
>>> running correctly; a card fails to load the data to go ahead. She is in 
>>> China and is using an M1 Mac, neither of which I have access to directly.
>>> 
>>> Would someone who has an M1 try running it and letting me know what 
>>> happens? 
>>> 
>>> https://artsinteractive-products.s3.us-west-1.amazonaws.com/MITA/TestVersion/MITA-installer-mac-china.dmg
>>>  
>>> 
>>> 
>>> 
>>> This is a limited demo version, otherwise fully functional, and will be 
>>> initially in Chinese, but there is an English choice at the startup.
>>> 
>>> Thanks very much, and you can let me know off list what happens.
>>> 
>>> Peter Bogdanoff
>>> bogdan...@me.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: [ANN] Organize 1.1 now in App Store

2021-09-10 Thread Mark Smith via use-livecode
Hi Bill,

I also use color to represent different categories of activity. All of the 
“light blue” items are related to app development, for example, all of the pink 
items to my consulting business, and orange and green to various training 
programs I am part of. You can assign colours to categories as you see fit. 
There will also be a future use for this in a version that adds searching so, 
for example, you will be able to search for all of the “app development” items, 
or all of the “training” items, etc.

But thanks for asking,

Mark




> On Sep 10, 2021, at 8:16 PM, Mark Smith  wrote:
> 
> Interesting question Bill. I guess the biggest difference is it does not 
> require you to “sequence” activities according to time (although, yes, 
> scheduling will be in a subsequent version). For now, a typical page might 
> look something like the following…
> 
> 
> 
> i
> 
> 
> And, as the reorder “action” on the page suggests, you can re-arrange items 
> as you want. It’s a list, and a flexible one at that. Don’t get to a task? 
> There is a row menu that lets you move it to another day/date. Often I find 
> if I don’t get to it today, and tomorrow is not looking any better, I’ll just 
> throw it forward a week and deal with it then.
> 
> It’s primarily a list of tasks you constantly add to, rearrange, reorder, 
> finish, etc. 
> 
> Hope that helps. 
> 
> Mark
> 
> 
>> On Sep 10, 2021, at 6:55 PM, ELS Prothero via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> Sorry, I started but didn’t continue to participate in the feedback request 
>> for your app. My question, though, is “what does this app do that just using 
>> the calendar can’t?” It could help to state it’s unique capabilities in the 
>> app description.
> 

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


Re: [ANN] Organize 1.1 now in App Store

2021-09-10 Thread Mark Smith via use-livecode
Thanks Bill, I’ll add that to the request list. I developed it on a 6S but went 
out and bought a 12 today so I could tackle the issue of resizing it for larger 
devices (something I know I don’t handle very well at the moment). My first 
reaction after installing Organize on the 12 was “holy crap” this thing is 
fast. It just transformed the whole experience for me. (And made LC shine as 
well I might add). Anyway, once I work how to resize for a 12, I am sure the 
same method can be applied to things like an iPad. Of course, the request after 
that will be “can I sync my iPhone and iPad to-do’s?”. That is the fun of this 
though, isn’t it, once you get started it never ends 😊

Thanks for the suggestion, its a good one.

Mark


> On Sep 10, 2021, at 8:58 PM, proth...@earthlearningsolutions.org wrote:
> 
> Thanks, Mark. I was thinking about it as a scheduler instead of a task 
> reminder. I use the Apple calendar for reminders of appointments mostly. It 
> is a nice job.
> 
> For me, I have 2 ipads, an iPhone, and a desktop Mac. I like to use my iPad 
> whenever possible because of the screen size. It could be nice if you had an 
> ipad version too and for Apple, it probably wouldn’t require a lot of extra 
> coding, but organizing for a larger screen could be a bit of work.
> 
> Nice work and it’s great that you had an easy time with the Apple store.
> 
> Best,
> Bill P.
> 
>> On Sep 10, 2021, at 12:16 PM, Mark Smith > > wrote:
>> 
>> Interesting question Bill. I guess the biggest difference is it does not 
>> require you to “sequence” activities according to time (although, yes, 
>> scheduling will be in a subsequent version). For now, a typical page might 
>> look something like the following…
>> 
>> 
>> 
>> i
>> 
>> 
>> And, as the reorder “action” on the page suggests, you can re-arrange items 
>> as you want. It’s a list, and a flexible one at that. Don’t get to a task? 
>> There is a row menu that lets you move it to another day/date. Often I find 
>> if I don’t get to it today, and tomorrow is not looking any better, I’ll 
>> just throw it forward a week and deal with it then.
>> 
>> It’s primarily a list of tasks you constantly add to, rearrange, reorder, 
>> finish, etc. 
>> 
>> Hope that helps. 
>> 
>> Mark
>> 
>> 
>>> On Sep 10, 2021, at 6:55 PM, ELS Prothero via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>> 
>>> wrote:
>>> 
>>> Sorry, I started but didn’t continue to participate in the feedback request 
>>> for your app. My question, though, is “what does this app do that just 
>>> using the calendar can’t?” It could help to state it’s unique capabilities 
>>> in the app description.
>> 
> 
> William A. Prothero, Ph.D.
> University of California, Santa Barbara Dept. of Earth Sciences (Emeritus)
> Santa Barbara, CA. 93105
> 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


Re: [ANN] Organize 1.1 now in App Store

2021-09-10 Thread Mark Smith via use-livecode
Thanks for the suggestion. I’ve added that as well.

Cheers,
Mark

> On Sep 10, 2021, at 9:42 PM, Dev  wrote:
> 
> Just downloaded it and will give it a look. When you get around to the iPad- 
> please sync through iCloud. It’s the Apple way and works seamlessly for so 
> many apps I have. I even have my LC prefs and plug-ins on iCloud so that they 
> are accessible everywhere easily. 
> 
> Kelly 
> 
> Sent from an iDevice on the go, please excuse brevity & any errors
> 
>> On Sep 10, 2021, at 2:24 PM, Mark Smith via use-livecode 
>>  wrote:
>> 
>> Thanks Bill, I’ll add that to the request list. I developed it on a 6S but 
>> went out and bought a 12 today so I could tackle the issue of resizing it 
>> for larger devices (something I know I don’t handle very well at the 
>> moment). My first reaction after installing Organize on the 12 was “holy 
>> crap” this thing is fast. It just transformed the whole experience for me. 
>> (And made LC shine as well I might add). Anyway, once I work how to resize 
>> for a 12, I am sure the same method can be applied to things like an iPad. 
>> Of course, the request after that will be “can I sync my iPhone and iPad 
>> to-do’s?”. That is the fun of this though, isn’t it, once you get started it 
>> never ends 😊
>> 
>> Thanks for the suggestion, its a good one.
>> 
>> Mark
>> 
>> 
>>> On Sep 10, 2021, at 8:58 PM, proth...@earthlearningsolutions.org wrote:
>>> 
>>> Thanks, Mark. I was thinking about it as a scheduler instead of a task 
>>> reminder. I use the Apple calendar for reminders of appointments mostly. It 
>>> is a nice job.
>>> 
>>> For me, I have 2 ipads, an iPhone, and a desktop Mac. I like to use my iPad 
>>> whenever possible because of the screen size. It could be nice if you had 
>>> an ipad version too and for Apple, it probably wouldn’t require a lot of 
>>> extra coding, but organizing for a larger screen could be a bit of work.
>>> 
>>> Nice work and it’s great that you had an easy time with the Apple store.
>>> 
>>> Best,
>>> Bill P.
>>> 
>>>> On Sep 10, 2021, at 12:16 PM, Mark Smith >>> <mailto:marksmith...@gmail.com>> wrote:
>>>> 
>>>> Interesting question Bill. I guess the biggest difference is it does not 
>>>> require you to “sequence” activities according to time (although, yes, 
>>>> scheduling will be in a subsequent version). For now, a typical page might 
>>>> look something like the following…
>>>> 
>>>> 
>>>> 
>>>> i
>>>> 
>>>> 
>>>> And, as the reorder “action” on the page suggests, you can re-arrange 
>>>> items as you want. It’s a list, and a flexible one at that. Don’t get to a 
>>>> task? There is a row menu that lets you move it to another day/date. Often 
>>>> I find if I don’t get to it today, and tomorrow is not looking any better, 
>>>> I’ll just throw it forward a week and deal with it then.
>>>> 
>>>> It’s primarily a list of tasks you constantly add to, rearrange, reorder, 
>>>> finish, etc. 
>>>> 
>>>> Hope that helps. 
>>>> 
>>>> Mark
>>>> 
>>>> 
>>>>> On Sep 10, 2021, at 6:55 PM, ELS Prothero via use-livecode 
>>>>> mailto:use-livecode@lists.runrev.com>> 
>>>>> wrote:
>>>>> 
>>>>> Sorry, I started but didn’t continue to participate in the feedback 
>>>>> request for your app. My question, though, is “what does this app do that 
>>>>> just using the calendar can’t?” It could help to state it’s unique 
>>>>> capabilities in the app description.
>>>> 
>>> 
>>> William A. Prothero, Ph.D.
>>> University of California, Santa Barbara Dept. of Earth Sciences (Emeritus)
>>> Santa Barbara, CA. 93105
>>> http://earthlearningsolutions.org/ <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: [ANN] Organize 1.1 now in App Store

2021-09-12 Thread Mark Smith via use-livecode
Hi Kelly, just wondering if you could expand a bit more on the use of iCloud 
for syncing, and how that would work?

Thanks,
Mark


> On Sep 10, 2021, at 9:42 PM, Dev  wrote:
> 
> Just downloaded it and will give it a look. When you get around to the iPad- 
> please sync through iCloud. It’s the Apple way and works seamlessly for so 
> many apps I have. I even have my LC prefs and plug-ins on iCloud so that they 
> are accessible everywhere easily. 
> 
> Kelly 
> 
> Sent from an iDevice on the go, please excuse brevity & any errors
> 
>> On Sep 10, 2021, at 2:24 PM, Mark Smith via use-livecode 
>>  wrote:
>> 
>> Thanks Bill, I’ll add that to the request list. I developed it on a 6S but 
>> went out and bought a 12 today so I could tackle the issue of resizing it 
>> for larger devices (something I know I don’t handle very well at the 
>> moment). My first reaction after installing Organize on the 12 was “holy 
>> crap” this thing is fast. It just transformed the whole experience for me. 
>> (And made LC shine as well I might add). Anyway, once I work how to resize 
>> for a 12, I am sure the same method can be applied to things like an iPad. 
>> Of course, the request after that will be “can I sync my iPhone and iPad 
>> to-do’s?”. That is the fun of this though, isn’t it, once you get started it 
>> never ends 😊
>> 
>> Thanks for the suggestion, its a good one.
>> 
>> Mark
>> 
>> 
>>> On Sep 10, 2021, at 8:58 PM, proth...@earthlearningsolutions.org wrote:
>>> 
>>> Thanks, Mark. I was thinking about it as a scheduler instead of a task 
>>> reminder. I use the Apple calendar for reminders of appointments mostly. It 
>>> is a nice job.
>>> 
>>> For me, I have 2 ipads, an iPhone, and a desktop Mac. I like to use my iPad 
>>> whenever possible because of the screen size. It could be nice if you had 
>>> an ipad version too and for Apple, it probably wouldn’t require a lot of 
>>> extra coding, but organizing for a larger screen could be a bit of work.
>>> 
>>> Nice work and it’s great that you had an easy time with the Apple store.
>>> 
>>> Best,
>>> Bill P.
>>> 
>>>> On Sep 10, 2021, at 12:16 PM, Mark Smith >>> <mailto:marksmith...@gmail.com>> wrote:
>>>> 
>>>> Interesting question Bill. I guess the biggest difference is it does not 
>>>> require you to “sequence” activities according to time (although, yes, 
>>>> scheduling will be in a subsequent version). For now, a typical page might 
>>>> look something like the following…
>>>> 
>>>> 
>>>> 
>>>> i
>>>> 
>>>> 
>>>> And, as the reorder “action” on the page suggests, you can re-arrange 
>>>> items as you want. It’s a list, and a flexible one at that. Don’t get to a 
>>>> task? There is a row menu that lets you move it to another day/date. Often 
>>>> I find if I don’t get to it today, and tomorrow is not looking any better, 
>>>> I’ll just throw it forward a week and deal with it then.
>>>> 
>>>> It’s primarily a list of tasks you constantly add to, rearrange, reorder, 
>>>> finish, etc. 
>>>> 
>>>> Hope that helps. 
>>>> 
>>>> Mark
>>>> 
>>>> 
>>>>> On Sep 10, 2021, at 6:55 PM, ELS Prothero via use-livecode 
>>>>> mailto:use-livecode@lists.runrev.com>> 
>>>>> wrote:
>>>>> 
>>>>> Sorry, I started but didn’t continue to participate in the feedback 
>>>>> request for your app. My question, though, is “what does this app do that 
>>>>> just using the calendar can’t?” It could help to state it’s unique 
>>>>> capabilities in the app description.
>>>> 
>>> 
>>> William A. Prothero, Ph.D.
>>> University of California, Santa Barbara Dept. of Earth Sciences (Emeritus)
>>> Santa Barbara, CA. 93105
>>> http://earthlearningsolutions.org/ <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: M1 Mac possible problem

2021-09-15 Thread Mark Smith via use-livecode
Yes, works fine now here as well, and looks to be quite an impressive musical 
accomplishment. 

Best of luck with it. 

> On Sep 15, 2021, at 9:23 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Thanks Henk.
> 
> The problem that I could finally reproduce was a sub stack (that is “in use”) 
> not receiving the openStack message when it was opened. This caused the 
> program's initialization script to pause. So I replaced the openStack handler 
> in the sub stack with that would receive a sent message, then things 
> proceeded properly.
> 
> A timing issue for some computers? Some users were experiencing the anomaly 
> and others not.
> 
> Peter
> 
>> On Sep 15, 2021, at 3:38 PM, Henk van der Velden via use-livecode 
>>  wrote:
>> 
>> Works fine now!
>> 
>> 
>>> On 15 Sep 2021, at 18:00, use-livecode-requ...@lists.runrev.com wrote:
>>> 
>>> Hi to all those that did a test of my Music In the Air program some days 
>>> ago on your Mac.
>>> 
>>> I think I have fixed the installation problem. Would you do a quick test to 
>>> see if it runs now?
>>> 
>>> https://artsinteractive-products.s3.us-west-1.amazonaws.com/MITA/TestVersion/MITA-installer-mac-china.dmg
>>>  
>>> 
>>> 
>>> 
>>> I found a variety of anomalies that might have contributed to the problem, 
>>> but I?ll wait to see if it?s better now?
>>> 
>>> Thanks!
>>> 
>>> Peter Bogdanoff
>> 
>> ___
>> use-livecode mailing list
>> use-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: Testers wanted for score tracking app

2021-09-30 Thread Mark Smith via use-livecode
Hi Andreas, I look forward to testing your app and will let you know how it 
goes. In terms of random scores, what is a good range of values to work with 
(what is the game range?)

Thanks
Mark

> On Sep 30, 2021, at 1:07 PM, Andreas Bergendal via use-livecode 
>  wrote:
> 
> Hi all,
> 
> I’ll soon release an app made with LiveCode to the App Store, but I’d like to 
> have a few more external testers first to catch whatever I’ve missed.
> 
> The app is called MölkkyMaster and is used for tracking the score when 
> playing the outdoor throwing game Mölkky. The game is popular in some Nordic 
> countries, France and a few other countries. It originates from Finland.
> 
> Anyway, you don’t need to play Mölkky, or even have a clue how to, to help me 
> test the app. Just create a few players and start a game. Then assign random 
> score to the players until someone reaches 50 points.
> 
> The app is multilingual, currently English, French and Swedish. German and 
> Finnish is in the works. The app talks, and you can select different voices 
> relevant to the language chosen.
> 
> To test, you need an iPhone or iPad and the TestFlight app installed. Then 
> use this link to download the app:
> https://testflight.apple.com/join/c8gKjIRJ
> 
> Soon I’ll also have an Android version released for testing. I’ve optimized 
> the app for iOS, but almost everything worked ’out of the box’ when I used 
> the same stack for an Android build. Love LiveCode!
> 
> If you’ve never played Mölkky, the aspect of how well the app suits its 
> intended target group would naturally be hard to judge. 
> So, instead, I hope you’ll just try breaking the app and report back any 
> technical errors, or shortcomings in the interaction design etc.
> 
> In any case, any feedback is highly appreciated.
> 
> Cheers,
> Andreas
> 
> — 
> Andreas Bergendal
> WhenInSpace
> ___
> use-livecode mailing list
> use-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: iphoneDeviceModel lookup library

2021-10-03 Thread Mark Smith via use-livecode
Thanks Andreas. Looking forward to trying it out.

Mark

Sent from my iPhone

> On Oct 3, 2021, at 11:44 AM, Andreas Bergendal via use-livecode 
>  wrote:
> 
> Hi guys,
> 
> This is for those of you who develop for iOS. We all know the challenge of 
> getting the layout right for various iOS screens. ”The notch” (camera area at 
> the top) is especially annoying, since there’s no easy way of knowing if the 
> user’s device has one or not, and how many pixels it is (there are 4 
> variants!).
> 
> In LC 9.6.3 iphoneDeviceModel was introduced. Where machine() just returns 
> ”iphone”, iphoneDeviceModel() returns e.g. ”iPhone10,6” (=iPhone X) or 
> ”iPad13,7” (=iPad Pro 11 inch).
> 
> But the Dictionary entry on iphoneDeviceModel just links to a Wikipedia page 
> listing mammoth tables of Apple device data. There is no way of knowing what 
> ”iPhone10,6” means without a decent lookup table.
> 
> So, I’ve made one! And a library to use it with! And a demo stack to test it 
> with!
> 
> It will check the device code of the current device, and return an array with 
> values for:
> - notch margin
> - portrait bottom margin
> - landscape bottom margin
> - (device model name - in the rare case that you'd need it)
> 
> You use these for determining the safe area your UI elements can use, when 
> rearranging them in response to the resizeStack message.
> Or e.g. how much taller the Header bar widget needs to be on a ”notch” device 
> in order to look good.
> 
> It’s all here and free to get, use and modify as you need:
> https://github.com/wheninspace/WISmobDeviceLib 
> 
> 
> The demo stack has the library in its stack script, and the full lookup array 
> in a cProp, so that stack is all you need really.
> Testing must be done by deploying to physical devices though, as 
> iphoneDeviceModel() does not work in the iOS Simulator (or, it works, but 
> just returns a code for the Simulator itself…).
> 
> Let me know if anything can be improved on (of course it can)! :)
> 
> The source for my data is this excellent website:
> https://www.screensizes.app/  which has 
> comprehensive screen info on every existing iOS device since the first iPhone.
> And this list which has the device codes interpreted:
> https://gist.github.com/adamawolf/3048717#file-apple_mobile_device_types-txt 
> 
> 
> Cheers,
> Andreas
> ___
> use-livecode mailing list
> use-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: Stack with the same name loop

2021-10-08 Thread Mark Smith via use-livecode

> On Oct 7, 2021, at 5:28 PM, Mark Waddingham via use-livecode 
>  wrote:
> 
> As I said, this isn't anything to do with 'Save As' specifically - 'Save As' 
> is doing precisely what you would expect... i.e. Saving the stackfile to a 
> different file, and just as when you do that in any other application the 
> filename of the stack changes to be the new filename.


Hi Mark,

This has often puzzled me, but when I use 'Save As’ most of the time this 
leaves me with 2 stacks in memory, which, if both have the same DG in them, is 
sort of a no-no situation in LC (the IDE cannot distinguish between 2 stacks 
with the same name etc...). Here’s my workflow: generally I append a sequential 
number anytime I am going to attempt something new or substantial, so I can 
easily rollback. Say I am working on VER50. I decide to add a new feature but 
think I may screw it up. In VER50 I rename the stack to VER51 (change the stack 
name) and then save it using 'Save As' as VER51 (usually in a new folder). In 
such a scenario I would expect to have 1 stack in memory, now called VER51. But 
I don’t. I have 2 identical stacks (same # of script lines) one named VER50 and 
another named VER51. To avoid potential cross contamination I have to quit LC 
and restart with VER51. 

OR, I could do as Jacque suggests and quit LC, copy VER50 to VER51 on disk and 
then open VER51. Either way requires quitting and relaunching LC. But, if I was 
in MS Word and copied an open file from VER50 to VER51 and looked under the 
Window menu I would see only 1 file named VER51. VER50 is safely tucked away, 
ne'er to be effected if I screw up 51. I’m not sure if there is a good reason 
why LC behaves differently.

Mark

___
use-livecode mailing list
use-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: Stack with the same name loop

2021-10-08 Thread Mark Smith via use-livecode
Hi Jacque, 

Somewhere back in my history I learned not to copy “open” files in case some 
important bit of information was just waiting for the file to be properly 
closed. Given the number of times you have probably done this, I can assume LC 
is not leaving the copied file in an incomplete state. 

Ah, the “computing” scars we carry around with us 😊

Mark


> On Oct 8, 2021, at 4:08 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Actually I never quit LC. I duplicate the file in Finder and then rename the 
> one I was working on, which is still open in memory.

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


Screensizes.app

2021-10-09 Thread Mark Smith via use-livecode
Stumbled on this today. Lists all Apple models and screen sizes (plus safe 
areas,  notch areas, portrait, landscape, etc) includes iPhone, iPad, watches, 
TV, etc. You can list by screen size or model, and there is a spreadsheet view 
('Compare Models').

https://www.screensizes.app 

Mark


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


Problems with simulator

2021-10-26 Thread Mark Smith via use-livecode
I wonder if anyone has any suggestions I can try. I am using macOS 10.15.7 
(Catalina), LC 9.6.3, Xcode 12.4 and iOS14.8

This configuration should be completely usable and indeed I am able to properly 
build an iOS app and install it on my 6S or 12 and it works fine. However, I 
can’t get it to run on the Simulator. I load the Simulator first, then press 
the Test button, LC saves the application, but it never gets past that point… 
no build happens, and nothing is loaded on the simulator. Subsequently pressing 
on Test does nothing. 

Just wondering if anyone might have a suggestion as how to fix this.

Thanks
Mark


___
use-livecode mailing list
use-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: Problems with simulator

2021-10-26 Thread Mark Smith via use-livecode
HI Rick, I used to have the same problem as well until I loaded the simulator 
first. That seemed to fix the timing problem. But I don’t think that’s what is 
going on here.


> On Oct 26, 2021, at 8:29 PM, Rick Harrison via use-livecode 
>  wrote:
> 
> I used to have a problem with the simulator timing out
> when it was trying to load my stack.  I think I gave
> up on using the simulator, and went with testing everything
> on my target device.

___
use-livecode mailing list
use-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: Problems with simulator

2021-10-26 Thread Mark Smith via use-livecode
Thanks Ralph. But usually in that situation LC saves, then does a build and 
then tries to hand that off to the simulator that times out because it is still 
loading. I’ve been loading the simulator manually for quite some time now and 
using it without issue (not with the current setup software versions, but 
previously). In this case, with the sim opened clicking on Test just causes LC 
to save the stack and nothing else. After that, nada!

Mark


> On Oct 26, 2021, at 9:22 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> I found that starting the simulator manually before testing will usually stop 
> the timeouts.
> 
> 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


Re: Problems with simulator

2021-10-26 Thread Mark Smith via use-livecode
A clue perhaps. I thought I would try something different. I took the app 
bundle (the one LC builds) and dropped it on the simulator. I don’t know if 
that should work or not, since I never tried it before. It installed the app, 
and launched it. But it gave this error… “Organize” needs to be updated. This 
app needs to be updated by the developer to work on this version of iOS. When I 
check the version running on the iOS it says 14.4 which is exactly the version 
my setup is designed to work with according to the LC FAQ…

LiveCode 9.6.3  Xcode 12.4.x Mac OS 10.15.4+iOS 14.4

And I’m using LC 9.6.3, Xcode 12.4 and Mac OS 10.15.7. Should be good so I 
suspect the real error is something else. But has anyone else ever tried 
installing this way and had it work?

Cheers,
Mark


> On Oct 26, 2021, at 9:22 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> I found that starting the simulator manually before testing will usually stop 
> the timeouts.
> 
> 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


Re: Problems with simulator

2021-10-31 Thread Mark Smith via use-livecode
 Problem solved and it was rather trivial… I had nothing selected under 
Development/Test Target. Once I selected Simulator it worked fine. That’s the 
2nd time I’ve done that. Each time I had just installed a new version of LC. 
Well, if it happens to you that would be the first thing I’d check.

Mark

> On Oct 26, 2021, at 4:54 PM, Mark Smith  wrote:
> 
> I wonder if anyone has any suggestions I can try. I am using macOS 10.15.7 
> (Catalina), LC 9.6.3, Xcode 12.4 and iOS14.8
> 
> This configuration should be completely usable and indeed I am able to 
> properly build an iOS app and install it on my 6S or 12 and it works fine. 
> However, I can’t get it to run on the Simulator. I load the Simulator first, 
> then press the Test button, LC saves the application, but it never gets past 
> that point… no build happens, and nothing is loaded on the simulator. 
> Subsequently pressing on Test does nothing. 
> 
> Just wondering if anyone might have a suggestion as how to fix this.
> 
> Thanks
> Mark
> 


___
use-livecode mailing list
use-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: Count Up Timer?

2021-11-01 Thread Mark Smith via use-livecode
You want the convert command. convert 1605553200 from seconds to dateitems 
gives you 2020,11,16,19,0,0,2 (lookup dateitems). convert the date && the time 
to seconds gives the date/time right now = 1635805440, then do the same as step 
one with that gives you 2021,11,1,22,24,0,2. Do a little subtraction and you 
get 1 yr, 0 months, 15 days, 3 hours, 24 mins, 0 secs. 

> On Nov 1, 2021, at 9:45 PM, Dan Friedman via use-livecode 
>  wrote:
> 
> Anyone ever done a count up timer?   For example, if we supply the seconds of 
> 1605553200, we want to display the number of years, months, days, hours, 
> minutes and seconds since that time.   For example, "How long have you been 
> alive?".   This needs to be precise – need to account for leap years, days in 
> month, etc.
> 
> Save me!!   :)
> 
> -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


IOS 15.0

2021-12-11 Thread Mark Smith via use-livecode
What’s the most stable release / configuration that works with IOS 15.

Thanks

Sent from my iPhone
___
use-livecode mailing list
use-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 15.0

2021-12-13 Thread Mark Smith via use-livecode
Thanks  Mike. What macOS and Xcode have you been using? Apple upgraded my iOS 
to 15.0 and now all my builds have stopped working… (“developer of this app 
needs to upgrade it to work with this version of iOS). 

Best,
Mark

Sent from my iPhone

> On Dec 13, 2021, at 6:42 PM, Mike Kerner via use-livecode 
>  wrote:
> 
> sorry, "unknown color".
> The fix is to insert a breakpoint before the suspect code executes. Then it
> finds its way.
> 
>> On Mon, Dec 13, 2021 at 1:39 PM Mike Kerner 
>> wrote:
>> 
>> I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the ios
>> target devices (other than a bizarre issue with the remote debugger
>> reporting incorrect color instead of showing the actual error).
>> 
>> On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> What’s the most stable release / configuration that works with IOS 15.
>>> 
>>> Thanks
>>> 
>>> Sent from my iPhone
>>> ___
>>> use-livecode mailing list
>>> use-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."
>> 
> 
> 
> -- 
> 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


Re: IOS 15.0

2021-12-13 Thread Mark Smith via use-livecode
Thanks guys, I’ll give that a try but heaven forbid I might need two different 
versions of Xcode. That’s probably a whopping 40GB of disk space right there.

Mark

Sent from my iPhone

> On Dec 13, 2021, at 7:17 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> Download Xcode 14.5.x and rename it to Xcode_14.5.x. Open it up and allow 
> the installation to complete. Then point your Xcode build tools to the 
> 14.5.x. In LC prefs point to Xcode 14.5.x.app. You can now build apps. You 
> can open up Xcode 15.0 to drag .app's to your devices for testing.
> 
> I always rename all my Xcode versions with the version number so that it will 
> not be updated.
> 
> 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 Mark Smith via use-livecode
> Sent: Monday, December 13, 2021 1:57 PM
> To: How to use LiveCode
> Cc: Mark Smith; Mike Kerner
> Subject: Re: IOS 15.0
> 
> Thanks  Mike. What macOS and Xcode have you been using? Apple upgraded my iOS 
> to 15.0 and now all my builds have stopped working… (“developer of this app 
> needs to upgrade it to work with this version of iOS). 
> 
> Best,
> Mark
> 
> Sent from my iPhone
> 
>> On Dec 13, 2021, at 6:42 PM, Mike Kerner via use-livecode 
>>  wrote:
>> 
>> sorry, "unknown color".
>> The fix is to insert a breakpoint before the suspect code executes. 
>> Then it finds its way.
>> 
>>> On Mon, Dec 13, 2021 at 1:39 PM Mike Kerner 
>>> 
>>> wrote:
>>> 
>>> I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the 
>>> ios target devices (other than a bizarre issue with the remote 
>>> debugger reporting incorrect color instead of showing the actual error).
>>> 
>>> On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < 
>>> use-livecode@lists.runrev.com> wrote:
>>> 
>>>> What’s the most stable release / configuration that works with IOS 15.
>>>> 
>>>> Thanks
>>>> 
>>>> Sent from my iPhone
>>>> ___
>>>> use-livecode mailing list
>>>> use-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."
>>> 
>> 
>> 
>> --
>> 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
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: IOS 15.0

2021-12-14 Thread Mark Smith via use-livecode
Correct, in this case I think it’s complaining I don’t have the correct SDK in 
the build. The LC docs (including release notes for 9.6.5) only go up to 14.5 
so rather than experiment I was hoping someone already had a tried and true 
formula for working with 15.0. I'm afraid this is entirely my own fault. It’s a 
newish iPhone and I forgot to turn off auto-update.

Mark



> On Dec 13, 2021, at 10:13 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> On 12/13/21 4:09 PM, J. Landman Gay via use-livecode wrote:
>> On 12/13/21 12:57 PM, Mark Smith via use-livecode wrote:
>>> Thanks  Mike. What macOS and Xcode have you been using? Apple upgraded my 
>>> iOS to 15.0 and now all my builds have stopped working… (“developer of this 
>>> app needs to upgrade it to work with this version of iOS).
>> Have you notarized and stapled the app? I thought that's what the error 
>> means.
> 
> Oops, notarization only applies to apps you are distributing outside the Mac 
> App store. So, since you're doing iOS it doesn't apply.
> 
> -- 
> 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


Keyboard in iOS 15.x

2021-12-23 Thread Mark Smith via use-livecode
It seems the keyboard in iOS 15 has gained some height and that is causing a 
problem.

Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next one 
added will cause the keyboard to cover the row. The previous solution has been 
to redraw the datagid so it occupies the space above the keyboard (and then 
scroll the new line into view). This worked fine as long as the KB always 
occupied a fixed amount of space (height). The new one in iOS 15 appears to be 
approximately 1 row of keys taller, this row being filled with blank slots for 
word guesses while you type (an option I would not even know how to make use 
of). 

Solutions: one option is to simply redraw the datagrid to be above the new 
keyboard height. Problem is I have been hard coding this (ie. changing the 
bottom of the keyboard from 452 (activated) to 613 (deactivated) as required). 
This is less than ideal because as I have now witnessed in iOS 15.x the 
keyboard can expand to have 1 or 2 extra rows above the keys. ie. the 
size/height of the keyboard is now dynamic. Ideally I would be able to query 
the height of the keyboard, or the amount of available screen space, so that I 
could adjust the bottom of my datagrid appropriately.

Has anyone else been looking into this issue and how have you resolved it?

Thanks
Mark


___
use-livecode mailing list
use-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: Keyboard in iOS 15.x

2021-12-23 Thread Mark Smith via use-livecode
Thanks Panos, I appreciate the quick response. That works reasonably well 
except the card has a header bar and using the “pan” option moves the header 
bar off screen as well, which unfortunately hides some important header bar 
controls. If we could “stick” the header bar while panning the dg (so it 
visually looks like it is sliding underneath the header bar) that would be the 
best solution. I might try and see if there is a way to do that. Otherwise for 
now I’ll just hard code a resize of the dg when the keyboard is activated and 
adjust the code using the new iPhoneDeviceModel function to fine tune it for 
different screen sizes. 

You should probably be on vacation now, so enjoy your well deserved time off!!

Mark


> On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode 
>  wrote:
> 
> Hello Mark,
> 
> What about using:
> 
> mobileSetKeyboardDisplay "pan"
> 
> See the dictionary for more details.
> 
> Cheers,
> Panos
> 
> 
> 
> On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> It seems the keyboard in iOS 15 has gained some height and that is causing
>> a problem.
>> 
>> Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next
>> one added will cause the keyboard to cover the row. The previous solution
>> has been to redraw the datagid so it occupies the space above the keyboard
>> (and then scroll the new line into view). This worked fine as long as the
>> KB always occupied a fixed amount of space (height). The new one in iOS 15
>> appears to be approximately 1 row of keys taller, this row being filled
>> with blank slots for word guesses while you type (an option I would not
>> even know how to make use of).
>> 
>> Solutions: one option is to simply redraw the datagrid to be above the new
>> keyboard height. Problem is I have been hard coding this (ie. changing the
>> bottom of the keyboard from 452 (activated) to 613 (deactivated) as
>> required). This is less than ideal because as I have now witnessed in iOS
>> 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie.
>> the size/height of the keyboard is now dynamic. Ideally I would be able to
>> query the height of the keyboard, or the amount of available screen space,
>> so that I could adjust the bottom of my datagrid appropriately.
>> 
>> Has anyone else been looking into this issue and how have you resolved it?
>> 
>> Thanks
>> Mark
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-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: Keyboard in iOS 15.x

2021-12-24 Thread Mark Smith via use-livecode
Hi Panos, 

I discovered the “extra” line at the top of the keyboard was called 
“predictive” in the keyboard settings. Turning predictive off removes the extra 
line, so that solved the immediate problem, but not the longer term one (which 
can only really be fixed by either “pinning" the header bar during a “pan” or 
knowing where the top of the keyboard is for appropriate DG resizing.) I'll 
make a feature request in the QCC. 

Merry Christmas and Happy Holidays to all,

Mark


> On Dec 23, 2021, at 5:28 PM, Mark Smith  wrote:
> 
> Thanks Panos, I appreciate the quick response. That works reasonably well 
> except the card has a header bar and using the “pan” option moves the header 
> bar off screen as well, which unfortunately hides some important header bar 
> controls. If we could “stick” the header bar while panning the dg (so it 
> visually looks like it is sliding underneath the header bar) that would be 
> the best solution. I might try and see if there is a way to do that. 
> Otherwise for now I’ll just hard code a resize of the dg when the keyboard is 
> activated and adjust the code using the new iPhoneDeviceModel function to 
> fine tune it for different screen sizes. 
> 
> You should probably be on vacation now, so enjoy your well deserved time off!!
> 
> Mark
> 
> 
>> On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode 
>>  wrote:
>> 
>> Hello Mark,
>> 
>> What about using:
>> 
>> mobileSetKeyboardDisplay "pan"
>> 
>> See the dictionary for more details.
>> 
>> Cheers,
>> Panos
>> 
>> 
>> 
>> On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> It seems the keyboard in iOS 15 has gained some height and that is causing
>>> a problem.
>>> 
>>> Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next
>>> one added will cause the keyboard to cover the row. The previous solution
>>> has been to redraw the datagid so it occupies the space above the keyboard
>>> (and then scroll the new line into view). This worked fine as long as the
>>> KB always occupied a fixed amount of space (height). The new one in iOS 15
>>> appears to be approximately 1 row of keys taller, this row being filled
>>> with blank slots for word guesses while you type (an option I would not
>>> even know how to make use of).
>>> 
>>> Solutions: one option is to simply redraw the datagrid to be above the new
>>> keyboard height. Problem is I have been hard coding this (ie. changing the
>>> bottom of the keyboard from 452 (activated) to 613 (deactivated) as
>>> required). This is less than ideal because as I have now witnessed in iOS
>>> 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie.
>>> the size/height of the keyboard is now dynamic. Ideally I would be able to
>>> query the height of the keyboard, or the amount of available screen space,
>>> so that I could adjust the bottom of my datagrid appropriately.
>>> 
>>> Has anyone else been looking into this issue and how have you resolved it?
>>> 
>>> Thanks
>>> Mark
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-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: Keyboard in iOS 15.x

2021-12-24 Thread Mark Smith via use-livecode
I am so hoping you are right Jacky. Will have a chance to test on boxing day 
and will let you know. 

Best, and Merry Christmas. 

Mark


> On Dec 24, 2021, at 5:02 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> "The working screenrect" should give you the area you have available when the 
> keyboard is up.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On December 24, 2021 8:05:08 AM Mark Smith via use-livecode 
>  wrote:
> 
>> Hi Panos,
>> 
>> I discovered the “extra” line at the top of the keyboard was called 
>> “predictive” in the keyboard settings. Turning predictive off removes the 
>> extra line, so that solved the immediate problem, but not the longer term 
>> one (which can only really be fixed by either “pinning" the header bar 
>> during a “pan” or knowing where the top of the keyboard is for appropriate 
>> DG resizing.) I'll make a feature request in the QCC.
>> 
>> Merry Christmas and Happy Holidays to all,
>> 
>> Mark
>> 
>> 
>>> On Dec 23, 2021, at 5:28 PM, Mark Smith  wrote:
>>> 
>>> Thanks Panos, I appreciate the quick response. That works reasonably well 
>>> except the card has a header bar and using the “pan” option moves the 
>>> header bar off screen as well, which unfortunately hides some important 
>>> header bar controls. If we could “stick” the header bar while panning the 
>>> dg (so it visually looks like it is sliding underneath the header bar) that 
>>> would be the best solution. I might try and see if there is a way to do 
>>> that. Otherwise for now I’ll just hard code a resize of the dg when the 
>>> keyboard is activated and adjust the code using the new iPhoneDeviceModel 
>>> function to fine tune it for different screen sizes.
>>> 
>>> You should probably be on vacation now, so enjoy your well deserved time 
>>> off!!
>>> 
>>> Mark
>>> 
>>> 
>>>> On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode 
>>>>  wrote:
>>>> 
>>>> Hello Mark,
>>>> 
>>>> What about using:
>>>> 
>>>> mobileSetKeyboardDisplay "pan"
>>>> 
>>>> See the dictionary for more details.
>>>> 
>>>> Cheers,
>>>> Panos
>>>> 
>>>> 
>>>> 
>>>> On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode <
>>>> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>>> It seems the keyboard in iOS 15 has gained some height and that is causing
>>>>> a problem.
>>>>> 
>>>>> Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next
>>>>> one added will cause the keyboard to cover the row. The previous solution
>>>>> has been to redraw the datagid so it occupies the space above the keyboard
>>>>> (and then scroll the new line into view). This worked fine as long as the
>>>>> KB always occupied a fixed amount of space (height). The new one in iOS 15
>>>>> appears to be approximately 1 row of keys taller, this row being filled
>>>>> with blank slots for word guesses while you type (an option I would not
>>>>> even know how to make use of).
>>>>> 
>>>>> Solutions: one option is to simply redraw the datagrid to be above the new
>>>>> keyboard height. Problem is I have been hard coding this (ie. changing the
>>>>> bottom of the keyboard from 452 (activated) to 613 (deactivated) as
>>>>> required). This is less than ideal because as I have now witnessed in iOS
>>>>> 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie.
>>>>> the size/height of the keyboard is now dynamic. Ideally I would be able to
>>>>> query the height of the keyboard, or the amount of available screen space,
>>>>> so that I could adjust the bottom of my datagrid appropriately.
>>>>> 
>>>>> Has anyone else been looking into this issue and how have you resolved it?
>>>>> 
>>>>> Thanks
>>>>> Mark
>>>>> 
>>>>> 
>>>>> ___
>>>>> use-livecode mailing list
>>>>> use-livecode@lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>>> subscription preferences:
>>>>

Re: (area used by) Keyboard in iOS 15.x

2021-12-27 Thread Mark Smith via use-livecode
Thank you Sean and Jacque, 

I’ve not had a chance to work on a complete solution but thought I would make a 
test run to see what “the effective working screenrect” was returning and as 
the following indicates, it does in fact take into consideration the keyboard. 
I just coded up one line to  run whenever the status of the keyboard changed 
and tried it both with and without the “predictive” option turned on. As you 
can see, it was very sensitive to this change…

without predictive:

9:37:14 PM keyboardActivated 0,0,375,451
9:37:15 PM keyboardDeactivated 0,0,375,667
9:37:18 PM keyboardActivated 0,0,375,451
9:37:19 PM keyboardDeactivated 0,0,375,667
9:37:19 PM keyboardActivated 0,0,375,451
9:37:23 PM keyboardDeactivated 0,0,375,667


with predictive: 

9:56:54 PM keyboardActivated 0,0,375,407
9:56:55 PM keyboardDeactivated 0,0,375,667
9:56:55 PM keyboardActivated 0,0,375,407
9:56:57 PM keyboardDeactivated 0,0,375,667

In my particular case not all 4 value are immediately useful. For example, I 
have a fixed header and footer that need to be accommodated so the correct 
“useable” rect for me is:

0,69, 377, 618 (for no predictive)
0,69,377,456 ( for predictive)

but this can easily be accommodated since the header/footer values don’t 
change. The beauty is I now have a rect lower bound (ie. keyboard height) that 
actually reflects where the keyboard is. 

Brilliant!! Thank you both,

Mark

Sean, I tried iPhoneSafeAreaInsets() but it appears it returns a constant set 
of values regardless of keyboard position on my iPhone 12

11:51:22 AM keyboardActivated 0,47,0,34
11:51:22 AM keyboardDeactivated 0,47,0,34
11:51:26 AM keyboardActivated 0,47,0,34
11:51:26 AM keyboardDeactivated 0,47,0,34

And didn’t change when I added / subtracted “predictive”. So, just the 
available usable space at the top and bottom of the screen. I haven’t adjusted 
my app yet to fully take advantage of the larger screen on a 12 (it was 
developed on a 6S) but when I get to more response design this will be useful 
to know where the usable top and bottom are. 

Cheers!!







> On Dec 25, 2021, at 5:25 PM, Sean Cole via use-livecode 
>  wrote:
> 
> Another addendum to this I just noticed is in the latest RC, LC9.6.6RC1,
> which has iphoneSafeAreaInsets for discerning the safe area from furniture
> like the notch and so on. I haven't tested this but that may also include
> things like the keyboard and predictive areas. I just thought it was worth
> a mention here.
> 
> Regards
> Sean
> 
> On Fri, 24 Dec 2021 at 20:44, J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> On 12/24/21 2:16 PM, Sean Cole via use-livecode wrote:
>>> Just adding to what Jacquie wrote, there is also the effective working
>>> screenrect.
>> 
>> You're right, "effective" was added to account for the keyboard on mobile.
>> I'd start with 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

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

2021-12-29 Thread Mark Smith via use-livecode
Neat simulation Roger. I wonder if you could simulate the effect of a lock down 
where small groups form and individuals rarely move outside their bubble? That 
might show the benefit of lockdowns in helping to reduce the spread of disease. 
Also,  I did not understand what the concept of “diversity” meant in this 
context. 

Mark


> On Dec 29, 2021, at 3:37 AM, Roger Guay via use-livecode 
>  wrote:
> 
> I just uploaded a stack called “Infection" to Sample Stacks which might be a 
> little fun (in a scary way) for some of you. It’s a Monte Carlo simulation 
> wherein a number of individuals randomly moving about in an enclosed space, 
> are infected by a single randomly infected individual. I welcome any feedback 
> that might lead to more accuracy in or improvement to this model.
> 
> Cheers,
> 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: Only kinda OT

2021-12-29 Thread Mark Smith via use-livecode
Oh Jacque, it may have been short but then there was the tantalizing link to 
Ray Dalio’s Last Warning: “Most People have no idea what’s coming”. And then 
the one about the “Most Powerful Computers you never heard of”. Oh, and the MIT 
study that predicted that Society will collapse in 2040 (this was very evidence 
based and used real simulation models… cool!!) And who could resist an Elon 
Musk vid on how he has "FINALLY Revealed the Artificial Gravity Starship". 
C'mmon, I know you wanna go watch it 😊

So while yours may have been short, the round trip down the rabbit hole 
probably was at least an hour — but I am more now edumacated, and wiser 😄

Now, what was that original link about again? 😂 

> On Dec 29, 2021, at 5:27 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> It's short:
> 
> 
> --
> 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: ANN: BoggleSolver now on sample stacks

2022-01-03 Thread Mark Smith via use-livecode
Wow, very cool Alex. Thanks for sharing. 

Mark


> On Jan 2, 2022, at 11:42 PM, Alex Tweedly via use-livecode 
>  wrote:
> 
> I've put a little 'game' up on "sample stacks", and also on the web.
> 
> It "solves" Boggle style puzzles, i.e. you give it a 5x5 grid of letters, and 
> it finds all words within it, following the prescribed rules - words are 
> formed by moving to adjacent (including diagonal) grid positions, and you 
> cannot re-use a grid position within a word. You can modify the input field, 
> and click on "Solve it" to see the new results.
> 
> The list of words is that used by Jacqueline in her JQBoggle game.
> 
> The UI is very basic - but there is one clever (I think) thing within it. It 
> uses a dictionary of words which is a hierarchical character-by-character 
> array, so it represents not only "what is a word" but also "what can be the 
> initial substring of a word", and therefore it can prune the search tree 
> immediately. This takes the time to solve a puzzle down from approx 10 - 50 
> minutes using a simple dictionary, to around 40 millisecs.
> 
> NB I have also built a Web-based standalone version of it using 10.0.0 (dp1), 
> which can be found at
> 
> https://www.tweedly.org/BoggleSolver/BoggleSolver.html
> 
> Note - the "Load URL ..." portion does not yet work in the web version. 
> Loading is fairly slow, but the run times re (IMHO) impressive - 80msecs 
> against the 40msecs or so running in the IDE. I am very impressed by the 
> performance of this early web implementation.
> 
> Having a 'solver' like this opens up possible new games such as:
> 
> 1. given we have 25 grid positions, and 25 letters (omitting 'Q'), what 
> arrangement of letters gives the most, or least, words.
> 
> 2. given a random selection of letters, what arrangement gives most/least 
> words.
> 
> 3. (a 2-player game) given an arrangement of letters, change one letter and 
> increase the number of words that can be formed; score the value of the 
> increase (or decrease), playing alternately, until neither player can get a 
> positive score change.
> 
> 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: Only kinda OT

2022-01-08 Thread Mark Smith via use-livecode
Recent history suggestions that the first half of a century is a messy period: 
we had 2 world wars, and a great depression at the beginning of the last one. 
People are predicting that great conflict and economic uncertainty lie ahead. 
It cannot hurt to be prepared for something unusual in the first half of this 
century. 

> On Jan 8, 2022, at 12:29 PM, Curry Kenworthy via use-livecode 
>  wrote:
> 
> 
> Mark:
>> MIT study that predicted that Society will collapse in 2040
> 
> Bob:
>> I thought it was 1984. Or 2000. Not sure.
> 
> Not OT if they used LC for the prediction! :)
> 
> Best wishes,
> 
> Curry Kenworthy
> 
> WordLib: Import MS Word and OpenOffice files in LiveCode!
> "Dominate documents with WordLib and LC"
> http://livecodeaddons.com/wordlib.html
> 
> Innovative Christian LiveCode Training and Consulting
> "Better Methods, Better Results"
> 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: Mostly OT

2022-01-10 Thread Mark Smith via use-livecode
Hi Curry, Ray Dalio has a new book out on this subject you may find interesting 
(The Changing World Order). There is a chapter on Linked In if you have access 
to it 
(https://www.linkedin.com/pulse/chapter-7-us-china-relations-wars-ray-dalio/ 
) 
or possibly on other sites as well. I went to a talk he gave online last week. 
Fascinating broad thinker. Modelling these kinds of dynamics in software (like 
MIT did) requires tracking hundreds, perhaps thousands, of different variables 
and all their permutations and combinations. It’s a bit like forecasting 
weather: typically reserved for super computers. Okay, I’m convinced we have 
now drifted WA off topic 😉

Mark

> On Jan 9, 2022, at 7:24 AM, Curry Kenworthy via use-livecode 
>  wrote:
> 
> Mark:
> > It cannot hurt to be prepared for something unusual
> > in the first half of this century.
> 
> WW3 appears imminent; before/after 2030 is the big question!
> (That greatly impacts the tech and resources involved.)
> 
> Good LC "calcportunity" - I may have a go later this year.
> Needs the right data inputs, weighed objectively to estimate.
> 
> Best wishes,
> 
> Curry Kenworthy
> 
> WordLib: Import MS Word and OpenOffice files in LiveCode!
> "Dominate documents with WordLib and LC"
> http://livecodeaddons.com/wordlib.html
> 
> Innovative Christian LiveCode Training and Consulting
> "Better Methods, Better Results"
> 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: Livecode and interactive video

2022-01-20 Thread Mark Smith via use-livecode
Boy that video was a perfect example of giving away free information in order 
to highlight your brand. Very well done. I think in general you could probably 
do something like this in HTML5 and the new web browser technology (caveat: 
which I have not looked into yet but sounds like it might fit the bill). 

> On Jan 20, 2022, at 6:53 PM, jbv via use-livecode 
>  wrote:
> 
> Le 2022-01-20 13:39, Tom Glod via use-livecode a écrit :
>> Hi there . can you give an example of an interactive video on youtube?
>> so I can see what you mean? I've never seen one.
> 
> Please check this video : it explains the basics of interactive videos,
> although I don't know if it's accepted on youtive :
> https://www.youtube.com/watch?v=QkGI4OHSjA0
> 
> ___
> use-livecode mailing list
> use-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


9.6.6 build errors

2022-02-01 Thread Mark Smith via use-livecode
I just wanted to flag this issue. I am currently using the new release version 
of 9.6.6 although I did have similar problems with RC2 as well. This morning I 
took a stack I had previously built and successfully installed (using 
Development/Test Target -> iPhone) and tried installing it. The first time the 
app went through what appeared to be all the build steps but did not install 
the app. The 2nd time it went through all of the steps and then reported 
“Unknown Error” and the 3rd time it built and installed the app correctly. I’ve 
not noticed behaviour like this in previous versions. At the moment I have no 
hypothesis about what might be going on. 

Mark


___
use-livecode mailing list
use-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: 9.6.6 build errors

2022-02-01 Thread Mark Smith via use-livecode
Hi Panos,

I did not change anything between attempts, just one right after the other. I 
guess I was observing this in RC2 and just persisted and it seemed to work on 
the 2nd or 3rd attempt. For good measure I just took the same stack and was 
able to build and install two more times without incident so it’s definitely 
not a repeatable problem and as yet I have no formula or hypothesis as to what 
might be causing it. I’ll keep an eye on it and log any similar problems I run 
across. 

Mark


> On Feb 1, 2022, at 10:23 AM, panagiotis m via use-livecode 
>  wrote:
> 
> Hello Mark,
> 
> I have not seen this before. Did anything change in your stack (used a
> different provisioning profile or changed anything in the iOS settings) or
> in the iOS device until the successful 3rd attempt?
> 
> I cannot remember of anything that we changed in the 9.6.6 release cycle
> that could have caused this behavior.
> 
> Kind regards,
> Panos
> 
> On Tue, 1 Feb 2022 at 12:14, Mark Smith via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> I just wanted to flag this issue. I am currently using the new release
>> version of 9.6.6 although I did have similar problems with RC2 as well.
>> This morning I took a stack I had previously built and successfully
>> installed (using Development/Test Target -> iPhone) and tried installing
>> it. The first time the app went through what appeared to be all the build
>> steps but did not install the app. The 2nd time it went through all of the
>> steps and then reported “Unknown Error” and the 3rd time it built and
>> installed the app correctly. I’ve not noticed behaviour like this in
>> previous versions. At the moment I have no hypothesis about what might be
>> going on.
>> 
>> Mark
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-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: (area used by) Keyboard in iOS 15.x

2022-02-10 Thread Mark Smith via use-livecode
Hello everyone, 

Once again thanks to the many of you who provided advice and suggestions. They 
were really very helpful in coding up this full working example. In the 
interests of sharing I have posted an example into a dropbox account, and will 
upload a copy to the forums at some point. This example takes a “dummy” layout 
of my Organize app (nothing is being saved, most features are not included) and 
redraws the main screen to fit the target device using just 
iPhoneSafeAreaInsets() and "the effective working screenRect" and nothing else 
(no fullscreenmode for example). It works remarkably well. I have tested it on 
a physical SE, 6S, 11, 12 and 13 mini and it adapts to each screen as you would 
expect. It is remarkably satisfying to see it adapt to changes in the keyboard 
size (predictive, not predictive) on the fly. No special code was required to 
do this. 

You’ll need to compile the example for iPhone and use a developer profile to 
install it on an iPhone device. The simulator does not really provide a useful 
simulation primarily because it does not simulate the behaviour of the keyboard 
very well (however, if you just want to see how the layout adapts, it is 
perfectly fine for that). Its possible I have not developed the most efficient 
method of coding the layout. If you have any suggestions, I’d be most grateful 
to receive them.

UI tips:
1. tapping once on white space below the dg entries dismisses the keyboard (so 
does the “down arrow” when it appears in the header bar).
2. tapping twice adds a new blank line (or inserts the cursor into an existing 
one) (so does the “+” sign in the header bar).

The rest should be obvious, I hope. All of the layout is in the card script. 
All of the dg code is in the dg handler and behavior script. 
Finally, if you have any questions, please feel free to send them on.

All the best,
Mark

https://www.dropbox.com/s/nmri0dy5j5qtc8c/test.livecode.zip?dl=0 




> On Dec 27, 2021, at 12:05 PM, Mark Smith  wrote:
> 
> Thank you Sean and Jacque, 
> 
> I’ve not had a chance to work on a complete solution but thought I would make 
> a test run to see what “the effective working screenrect” was returning and 
> as the following indicates, it does in fact take into consideration the 
> keyboard. I just coded up one line to  run whenever the status of the 
> keyboard changed and tried it both with and without the “predictive” option 
> turned on. As you can see, it was very sensitive to this change…
> 
> without predictive:
> 
> 9:37:14 PM keyboardActivated 0,0,375,451
> 9:37:15 PM keyboardDeactivated 0,0,375,667
> 9:37:18 PM keyboardActivated 0,0,375,451
> 9:37:19 PM keyboardDeactivated 0,0,375,667
> 9:37:19 PM keyboardActivated 0,0,375,451
> 9:37:23 PM keyboardDeactivated 0,0,375,667
> 
> 
> with predictive: 
> 
> 9:56:54 PM keyboardActivated 0,0,375,407
> 9:56:55 PM keyboardDeactivated 0,0,375,667
> 9:56:55 PM keyboardActivated 0,0,375,407
> 9:56:57 PM keyboardDeactivated 0,0,375,667
> 
> In my particular case not all 4 value are immediately useful. For example, I 
> have a fixed header and footer that need to be accommodated so the correct 
> “useable” rect for me is:
> 
> 0,69, 377, 618 (for no predictive)
> 0,69,377,456 ( for predictive)
> 
> but this can easily be accommodated since the header/footer values don’t 
> change. The beauty is I now have a rect lower bound (ie. keyboard height) 
> that actually reflects where the keyboard is. 
> 
> Brilliant!! Thank you both,
> 
> Mark
> 
> Sean, I tried iPhoneSafeAreaInsets() but it appears it returns a constant set 
> of values regardless of keyboard position on my iPhone 12
> 
> 11:51:22 AM keyboardActivated 0,47,0,34
> 11:51:22 AM keyboardDeactivated 0,47,0,34
> 11:51:26 AM keyboardActivated 0,47,0,34
> 11:51:26 AM keyboardDeactivated 0,47,0,34
> 
> And didn’t change when I added / subtracted “predictive”. So, just the 
> available usable space at the top and bottom of the screen. I haven’t 
> adjusted my app yet to fully take advantage of the larger screen on a 12 (it 
> was developed on a 6S) but when I get to more response design this will be 
> useful to know where the usable top and bottom are. 
> 
> Cheers!!
> 
> 
> 
> 
> 
> 
> 
>> On Dec 25, 2021, at 5:25 PM, Sean Cole via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> Another addendum to this I just noticed is in the latest RC, LC9.6.6RC1,
>> which has iphoneSafeAreaInsets for discerning the safe area from furniture
>> like the notch and so on. I haven't tested this but that may also include
>> things like the keyboard and predictive areas. I just thought it was worth
>> a mention here.
>> 
>> Regards
>> Sean
>> 
>> On Fri, 24 Dec 2021 at 20:44, J. Landman Gay via use-livecode <
>> use-livecode@lists.runrev.com > wrote:
>> 
>>> On 12/24/21 2:16 PM, Sean Cole via use-livecode wrote:
 Just adding to what Jacquie wrote,

Re: (area used by) Keyboard in iOS 15.x

2022-02-10 Thread Mark Smith via use-livecode
Sorry, it appears I attached the wrong link. Hopefully this one works better!!

https://www.dropbox.com/s/2igqdbroxy5onf7/Test%20Layout%2013.livecode.zip?dl=0 




> On Feb 10, 2022, at 10:08 PM, Mark Smith  wrote:
> 
> Hello everyone, 
> 
> Once again thanks to the many of you who provided advice and suggestions. 
> They were really very helpful in coding up this full working example. In the 
> interests of sharing I have posted an example into a dropbox account, and 
> will upload a copy to the forums at some point. This example takes a “dummy” 
> layout of my Organize app (nothing is being saved, most features are not 
> included) and redraws the main screen to fit the target device using just 
> iPhoneSafeAreaInsets() and "the effective working screenRect" and nothing 
> else (no fullscreenmode for example). It works remarkably well. I have tested 
> it on a physical SE, 6S, 11, 12 and 13 mini and it adapts to each screen as 
> you would expect. It is remarkably satisfying to see it adapt to changes in 
> the keyboard size (predictive, not predictive) on the fly. No special code 
> was required to do this. 
> 
> You’ll need to compile the example for iPhone and use a developer profile to 
> install it on an iPhone device. The simulator does not really provide a 
> useful simulation primarily because it does not simulate the behaviour of the 
> keyboard very well (however, if you just want to see how the layout adapts, 
> it is perfectly fine for that). Its possible I have not developed the most 
> efficient method of coding the layout. If you have any suggestions, I’d be 
> most grateful to receive them.
> 
> UI tips:
> 1. tapping once on white space below the dg entries dismisses the keyboard 
> (so does the “down arrow” when it appears in the header bar).
> 2. tapping twice adds a new blank line (or inserts the cursor into an 
> existing one) (so does the “+” sign in the header bar).
> 
> The rest should be obvious, I hope. All of the layout is in the card script. 
> All of the dg code is in the dg handler and behavior script. 
> Finally, if you have any questions, please feel free to send them on.
> 
> All the best,
> Mark
> 
> https://www.dropbox.com/s/nmri0dy5j5qtc8c/test.livecode.zip?dl=0 
> 
> 
> 
> 
>> On Dec 27, 2021, at 12:05 PM, Mark Smith > > wrote:
>> 
>> Thank you Sean and Jacque, 
>> 
>> I’ve not had a chance to work on a complete solution but thought I would 
>> make a test run to see what “the effective working screenrect” was returning 
>> and as the following indicates, it does in fact take into consideration the 
>> keyboard. I just coded up one line to  run whenever the status of the 
>> keyboard changed and tried it both with and without the “predictive” option 
>> turned on. As you can see, it was very sensitive to this change…
>> 
>> without predictive:
>> 
>> 9:37:14 PM keyboardActivated 0,0,375,451
>> 9:37:15 PM keyboardDeactivated 0,0,375,667
>> 9:37:18 PM keyboardActivated 0,0,375,451
>> 9:37:19 PM keyboardDeactivated 0,0,375,667
>> 9:37:19 PM keyboardActivated 0,0,375,451
>> 9:37:23 PM keyboardDeactivated 0,0,375,667
>> 
>> 
>> with predictive: 
>> 
>> 9:56:54 PM keyboardActivated 0,0,375,407
>> 9:56:55 PM keyboardDeactivated 0,0,375,667
>> 9:56:55 PM keyboardActivated 0,0,375,407
>> 9:56:57 PM keyboardDeactivated 0,0,375,667
>> 
>> In my particular case not all 4 value are immediately useful. For example, I 
>> have a fixed header and footer that need to be accommodated so the correct 
>> “useable” rect for me is:
>> 
>> 0,69, 377, 618 (for no predictive)
>> 0,69,377,456 ( for predictive)
>> 
>> but this can easily be accommodated since the header/footer values don’t 
>> change. The beauty is I now have a rect lower bound (ie. keyboard height) 
>> that actually reflects where the keyboard is. 
>> 
>> Brilliant!! Thank you both,
>> 
>> Mark
>> 
>> Sean, I tried iPhoneSafeAreaInsets() but it appears it returns a constant 
>> set of values regardless of keyboard position on my iPhone 12
>> 
>> 11:51:22 AM keyboardActivated 0,47,0,34
>> 11:51:22 AM keyboardDeactivated 0,47,0,34
>> 11:51:26 AM keyboardActivated 0,47,0,34
>> 11:51:26 AM keyboardDeactivated 0,47,0,34
>> 
>> And didn’t change when I added / subtracted “predictive”. So, just the 
>> available usable space at the top and bottom of the screen. I haven’t 
>> adjusted my app yet to fully take advantage of the larger screen on a 12 (it 
>> was developed on a 6S) but when I get to more response design this will be 
>> useful to know where the usable top and bottom are. 
>> 
>> Cheers!!
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> On Dec 25, 2021, at 5:25 PM, Sean Cole via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>> 
>>> wrote:
>>> 
>>> Another addendum to this I just noticed is in the latest RC, LC9.6.6RC1,
>>> which has iphoneSafeAreaInsets for d

  1   2   3   >