Re: Hide stack change focus not supported 64bit

2020-03-29 Thread scott--- via use-livecode
This sounds like something AppleScript might be able to solve…


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


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


Re: DataGrid question...

2020-03-29 Thread scott--- via use-livecode
I have an app I’m working on right now that has check boxes that the user taps 
in a list field. Swapping the  imagesource works really well in this particular 
case. Not that the dataGrid isn’t the required tool in some cases.

Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
mobile  360-920-0715
--
> On Mar 29, 2020, at 4:46 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 3/29/20 1:50 PM, Curry Kenworthy via use-livecode wrote:
> 
>> Way too much inaccurate info and "fake news" about LiveCode gets propagated
> 
> I think that's mischaracterized.
> 
> Just passing on some information (I hate it when someone says x can't be done 
> - that's a real push to do it). I've been embedding small graphics in fields 
> for years now (and textshift helps align them) but I'm sure I'm barely 
> scratching the surface of what fields can do.
> 
> -- 
> 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


DWrite.dll

2020-04-05 Thread scott--- via use-livecode
Recently I was building a 32 bit Windows standalone and on several of my VMs 
(not on Windows 10) ran into this error message when trying to launch the exe.

"This application has failed to start because DWrite.dll was not found.”

Is this something I might be doing wrong? Livecode standalones that I created a 
while back all continue to run without this message. 

I’ve tried building the standalone from both Mac ( LC  9.0.5  &  9.6.0 dp3 
Business) and Windows 10 ( LC  9.6.0 dp3 Business)


--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--








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


Mobile Wondering

2020-04-05 Thread scott--- via use-livecode
> 1. xTalk features just don't work, or work totally inadequately (e.g. 
> scrolling fields).

I feel this is overly harsh. Livecode fields (and the creation of native UIText 
fields) do work on mobile. I think the issue is that the use of some objects 
(like fields) on mobile is not as drag ’n' drop simple as it is on desktop. No 
argument there. And the fact that mobile-specific commands each need to be 
wrapped inside an environment-check to keep from throwing an error in the IDE.

> 3. It's not "Live"Code. Developing for Mobile gets you back into the horrible 
> edit - compile (i.e. build a standalone) - test cycle.

I agree that there is much more of this needed for mobile since the IDE doesn’t 
allow us to build directly on mobile (I’m not sure that is a bad thing.) I have 
found simulators to be a good intermediary but it absolutely does require this 
frequent build cycle for some aspects of development.

> 4. You still need to deal with the ugly issues of the SDKs and the app-store  
> requirements.

I suspect that jumping the security hoops like certificates and store portals 
are a big reasons why even if "everyone can code” not everyone can see their 
mobile creation made available to others. Learning how to navigate these added 
security restrictions is time consuming and confusing (at least to me). Several 
people like Trevore DeVore and Matthias Rebbe have been helping ease these 
complications for desktop. I’m not sure what the answer is for mobile, though.

—
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--
> On Apr 5, 2020, at 6:37 PM, Alex Tweedly via use-livecode 
>  wrote:
> 
> As I see it, there are 4 broad areas of problem for LC on mobile OSes.
> 
> The first two have been well described earlier in the thread and should just 
> be fixed.
> 
> 1. xTalk features just don't work, or work totally inadequately (e.g. 
> scrolling fields).
> 
> 2. Failure in cross-platform equivalence.
> 
> The other two are, I suspect, not truly solvable.
> 
> 3. It's not "Live"Code. Developing for Mobile gets you back into the horrible 
> edit - compile (i.e. build a standalone) - test cycle.
> 
> 4. You still need to deal with the ugly issues of the SDKs and the app-store  
> requirements.
> 
> So, for me personally, even if LC Ltd. could fix (1) and (2), I would still 
> not even bother trying to build a mobile app; it's just not worth the hassle 
> or the learning curve.
> 
> OK - that's an easy decision for me - I don't do this for a living, I do it 
> for fun. And right now Mobile development is no fun.
> 
> The downside is, I've all but run out of reasons to develop in LC. I used to 
> write little (but useful) apps/games/utilities for myself, or my family, or 
> sometimes for friends. I don't think my wife's laptop has been switched on 
> this year - she uses her tablet and/or phone almost exclusively. And others 
> in the family are much the same.
> 
> So I think the right solution is for LC Ltd is to add *another* target 
> platform - PWAs. (This has the advantage that it also tackles the inadequacy 
> of the HTML platform).
> 
> LC Ltd should just pick a set of PWA components (I don't know which - maybe 
> Angular, Polymer, etc. I *really* don't know which - but just pick one for me 
> !!). Then they should identify a *subset* of LC script/UI features that can 
> be readily mapped to JS and a LC/JS library, and implement that.
> 
> Given the ability to re-load JS it should be feasible to be (fairly) 
> "Live"Code, without a full stand-alone build step.  It should produce 
> fast-loading, small "apps" that would allow many fairly straightforward apps 
> to be developed easily - bringing Mobile development back into the realm 
> where new / naive users (that includes me) can readily develop apps and run 
> them on the devices we all use these days.
> 
> And I'd get to stick to LC :-)
> 
> Alex.
> 
> On 05/04/2020 21:53, Curry Kenworthy via use-livecode wrote:
>> 
>> Agreed!!! I had grown weary of endless arguments previously pushing back 
>> against most LC critiques while the wagons were circled, so very glad to see 
>> this frankly discussed now.
>> 
>> "Live" Code. Meaning: WYSIWYG between dev and runtime, no edit-compile-run 
>> cycle, much more efficient. Remember the marketing? For us the Users, it 
>> wasn't just marketing. It was real, and it was the reason and the 
>> empowerment. We lived it and used it. Still do on desktop.
>> 
>> But LC has never been "Live" Code on mobile platforms. A big fail. Not just 
>> the UI, but also the mobileBlahBlah keywords that must be placed in if/then 
>> branches to avoid runtime errors on desktop whereas they should have been 
>> designed pan-platform. When these first appeared I was hoping they were 
>> temporary. Instead they've grown and multiplied, setting an arguably bad 
>

Re: Mobile Wondering

2020-04-06 Thread scott--- via use-livecode
That was my experience too… until LC added native support for other Android 
processors. Now I find the Android emulator to be very usable!
—
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--

> On Apr 6, 2020, at 10:53 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
>>  Well - they were right about that - the simulator was S...L...O...W.
> 
> You're right, the Android emulator is horrible. I stopped using it early on. 
> LC recently added support for x86-64bit specifically so we could use the 
> faster version, but I found it much easier to just cable my phone to my Mac 
> and use the real thing. It's quick and painless.

___
use-livecode mailing list
use-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: Old Fossil seeks fast track assistance

2020-04-06 Thread scott--- via use-livecode
Thanks for these links!

--

Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--
> On Apr 6, 2020, at 7:55 AM, Devin Asay via use-livecode 
>  wrote:
> 
> Graham,
> 
> I’ve just been through this gauntlet with my students. I provided some links 
> and lessons for them at http://livecode.byu.edu/mobile/test-deploy-links.php. 
> I found the process for setting up Android a little fraught with pitfalls, so 
> I created an expanded instruction sheet for Android setup, linked to that 
> page.
> 
> I’m staying with the latest Stable version of LiveCode for my class, 9.5.1. 
> I’m running on Mac OS 10.14 Mojave. With this setup I have to use Xcode 10.1.
> 
> As a refresher, on developer.apple.com, you need 
> to create your iOS developer certificate, register all of the UDIDs for your 
> iOS devices, then create a wildcard provisioning profile for testing your 
> apps. The provisioning profile must include all devices you want to test on.
> 
> A collection of links of instructions for distributing mobile apps: 
> http://livecode.byu.edu/mobile/mobileAppDistribution.php.
> 
> I hope this will all help jog your memory. I find mine needs to be jogged 
> every time I come back to this mobile stuff after a long time away.
> 
> Cheers,
> 
> Devin
> 
> 
> 
> On Apr 4, 2020, at 2:38 AM, Graham Samuel via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> 
> Hi All - sorry this is a bit long, but I need help.
> 
> I’m a long term LC developer who more or less retired from development a 
> couple of years ago, but I’ve kept on lurking in this list and trying rather 
> hopelessly to remain up to date. My experience has been mostly on desktop 
> apps, with a little iOS work. I haven’t ever done much on Android. I have 
> just about retained my credentials as an Apple developer.
> 
> Now I find I really want to develop a mobile app at speed, and deploy it.
> 
> I don’t anticipate all that much difficulty in creating my app in the sense 
> of designing and coding it - this can call on my own quite extensive 
> experience of the past, the LC documentation and this invaluable list. I can 
> reasonable hope to create a prototype in a few days. However there is a 
> massive gap: testing and deployment.
> 
> I don’t have access to my most recent development machine (it’s in another 
> country and I’m self-isolating), so I am working with an iMac that can only 
> run MacOS High Sierra (and Windows 10 via Parallels, but I was hoping not to 
> go there for this project). Now, I clearly need to organise the right version 
> of XCode and the right SDK for my iOS development, and I need to do the 
> equivalent thing for Android - and I don’t know how to do it.
> 
> For iOS, I THINK I need XCode 10.2, which I’m trying to download to replace 
> the copy of 9.2 already on my machine. I obviously need to work with a 
> compatible SDK. For Android, I don’t know where to start, so for now I am 
> putting this on the back burner, but I will have to return to it eventually. 
> Even when I’ve lined all this up (if indeed it’s feasible), I then need to 
> remind myself how to test via simulators (I used to be good at this, so maybe 
> that is not so scary, but I am not at all up to date) and then I need to get 
> the app onto real hardware - starting with iPhones, as I’ve got a few of 
> these. I really don’t know how to do this for testing, and more so I don’t 
> know how to distribute a test version to a small population of testers, 
> although I know this is feasible. The whole project may crash and burn at 
> this beta testing stage, so actually getting it into the App Store can wait a 
> bit.
> 
> Obviously I am not expecting people on this list to hold my hand at every 
> step. My main concern is to be guided through the body of LC notes etc to get 
> absolutely practical advice and recipes as to what to do at each stage. If I 
> study the LC stuff long enough, I will get there, but I would dearly love 
> help to fast-track it all.
> 
> Thanks
> 
> 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: Go to card has become slow

2020-04-11 Thread scott--- via use-livecode
Awesomeness! I really appreciate all the posting on this. It was informative to 
observe the process even if I didn’t participate.

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--

> On Apr 11, 2020, at 8:41 AM, Mark Waddingham via use-livecode 
>  wrote:
> 
> On 2020-04-11 13:54, Neville Smythe via use-livecode wrote:
>> Sorry Brian, I uploaded from the wrong folder. Here is the update test
>> set. But the only difference is that you don’t need to hold down the
>> shift key to see the binary save timing.
>> https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0
>> 
>> Colin, the test set here shows the timing of saving of stacks; the
>> times for Windows 10 are a large multiple of Mac/Unix and we
>> discussing possible reasons before updating the bug report  bug 21305
>>   for Quality
>> Control
> 
> So I also had a look at this today - using Visual Studio's builtin CPU 
> profiling diagnostic when running the engine in release mode.
> 
> There appear to be two reasons for the difference:
> 
>  1) When saving each style run (block) in a field the engine is making three 
> Win32 API calls.
> 
>  2) The saving method uses (and always has used) direct Win32 system calls to 
> manipulate files without any buffering (on other platforms we wrap the 
> standard C library stdio FILE which has its own buffer).
> 
> I tested your very neat little stack with 1323 cards (about 36Mb of data).
> 
> On my machine with the engine as it is it takes:
> 
>  - Windows 10 (VM) [ Community 'develop' ] - 10s
> 
>  - macOS Catalina (Native) [ Business 9.5.0 ] - 0.45s
> 
> After doing a hacky patch to the sites using the Win32 API calls (i.e. 
> caching the results and only calling them once) I got:
> 
>  - Windows 10 (VM) [ Community 'develop' ] - 1.8s
> 
> After adding a very simple write buffer to the Win32 implementation of the 
> system file stream class we have. I got:
> 
>  - Windows 10 (VM) [ Community 'develop' ] - 0.4s
> 
> Anyway, the patches I've made are quite rough at the moment, but I'll 
> endeavour to submit them as PRs in the next few days :)
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps

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


Re: Build for Windows 32 bit vs. x86-64 in 9.5.1?

2020-04-11 Thread scott--- via use-livecode
Some of my users (who are still using the 32 bit version of Windows 7) pointed 
out that they couldn’t run the fancy “new” executable I posted… which I had 
newly compiled as 64 bit. So, that was a reason for me to go back and recompile 
as 32 bit. On Windows I suspect that most apps don't actually benefit much from 
64 bit.
—
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--


> On Apr 11, 2020, at 2:27 PM, Bill Vlahos via use-livecode 
>  wrote:
> 
> The default build choice in 9.5.1 is Windows 32bit not x86-64bit.
> 
> Since the x86-64bit is not listed as experimental is there any reason why I 
> shouldn’t build for it instead of the default 32bit?
> 
> Thank you,
> Bill Vlahos
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: A short question about Xcode

2020-04-16 Thread scott--- via use-livecode
I can’t recall whether this is specific to a particular LC license but when 
physically attaching a device to the computer, on my setup that mobile device 
appears under the menu Development —> Test Target (along with simulator 
options) and can simply be selected as the test device… which saves the added 
step of dragging into Xcode.

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--
> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> I’m following the LC lesson 'How do I build an iOS application?’. I think 
> I’ve done everything they mention, and I have my Apple developer credentials 
> and three iOS devices registered. I have saved my iOS app as a standalone. 
> But when I get to this instruction about getting my app on a real device:
> 
>> 1) Open Xcode
>> 
>> 2) In the 'Window' menu select "Devices"
>> 
>> 4) Select your connected iOS device
>> 
>> 5) Drag standalone app to "Installed Apps" section of device window
>> 
>> Your app should now be on your device
> 
> 
> There is nothing in the Devices section for me to select (plenty of stuff in 
> the Simulators, but so what?). Do I have to fiddle with keychain or 
> particular folders or what? I have no idea what to do next (not for the first 
> time!).
> 
> 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


Re: A short question about Xcode

2020-04-16 Thread scott--- via use-livecode
Hello Graham,

When you created the development provisioning profile, I assume you added your 
iPhone’s UUID to the list of allowed test devices. In the Standalone 
Application Settings—> iOS—> Basic Settings (tab) did you select the correct 
profile. (Simulator doesn’t care about profiles but your real devices need to 
be specifically allowed.) If you just added one, be sure to restart LC so that 
it sill see it.
—
Scott Morrow

> On Apr 16, 2020, at 1:20 PM, Graham Samuel via use-livecode 
>  wrote:
> 
> Ralph, I am using a development provisioning profile for iPhone. It was 
> created this month and expires next year. I will try to go over the whole 
> process again. I did as much as I could to include all the icons and splash 
> pages needed for all the phones I was likely to encounter (that was about 5 
> different types). Do I have to include ones that nobody is going to use?
> 
> Graham
> 
>> On 16 Apr 2020, at 22:04, Ralph DiMola via use-livecode 
>>  wrote:
>> 
>> You can ignore the "this version of Xcode (10.1) was not compatible with the 
>> iOS 13 on my iPhone XS"
>> 
>> Make sure your using a development provisioning profile. Create a new one 
>> and try using it. If I remember correctly I've also seen this when not all 
>> Icons or Splash pages are included.
>> 
>> 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 Graham Samuel via use-livecode
>> Sent: Thursday, April 16, 2020 3:05 PM
>> To: How to use LiveCode
>> Cc: Graham Samuel
>> Subject: Re: A short question about Xcode
>> 
>> Sadly, my test targets are just simulators. No real device is mentioned.
>> 
>> However, following Ralph’s advice (thanks), i reconnected with my phone 
>> unlocked. Things looked promising, but then a message came up saying that 
>> maybe this version of Xcode (10.1) was not compatible with the iOS 13 on my 
>> iPhone XS, which is my main test device (it’s OK in the simulator). It then 
>> tried to do the loading of the app into the phone and eventually said
>> 
>>> The entitlements specified in your application’s Code Signing Entitlements 
>>> file are invalid, not permitted, or do not match those specified in your 
>>> provisioning profile. (0xE8008016).
>> 
>> I suppose that may be the end of that. I need a new iMac - the one I’ve got 
>> won’t run a later version of Xcode. Sadly they are rather expensive. I can’t 
>> visit anyone else’s, even if I could find one, since i’m in lockdown.
>> 
>> Nothing, but nothing, is simple when trying to deploy to iOS.
>> 
>> [Sound of grinding teethe]
>> 
>> Graham
>> 
>>> On 16 Apr 2020, at 20:22, scott--- via use-livecode 
>>>  wrote:
>>> 
>>> I can’t recall whether this is specific to a particular LC license but when 
>>> physically attaching a device to the computer, on my setup that mobile 
>>> device appears under the menu Development —> Test Target (along with 
>>> simulator options) and can simply be selected as the test device… which 
>>> saves the added step of dragging into Xcode.
>>> 
>>> --
>>> Scott Morrow
>>> 
>>> Elementary Software
>>> (Now with 20% less chalk dust!)
>>> web   https://elementarysoftware.com/
>>> email sc...@elementarysoftware.com
>>> booth1-800-615-0867
>>> --
>>>> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode 
>>>>  wrote:
>>>> 
>>>> I’m following the LC lesson 'How do I build an iOS application?’. I think 
>>>> I’ve done everything they mention, and I have my Apple developer 
>>>> credentials and three iOS devices registered. I have saved my iOS app as a 
>>>> standalone. But when I get to this instruction about getting my app on a 
>>>> real device:
>>>> 
>>>>> 1) Open Xcode
>>>>> 
>>>>> 2) In the 'Window' menu select "Devices"
>>>>> 
>>>>> 4) Select your connected iOS device
>>>>> 
>>>>> 5) Drag standalone app to "Installed Apps" section of device window
>>>>> 
>>>>> Your app should now be on your device
>>>> 
>>>> 
>>>> There is nothing in the Devices section for me to select (plenty of stuff 
>>>> in the Simulators, but so what?). Do I have to fiddle with keychain or 
>>>> particular folders or what? I have no idea what to do next (not for the 
>>>> first time!).
>>>> 
>>>> 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


Re: Visual Effect

2020-04-18 Thread scott--- via use-livecode
From the docs:

The visual effect command affects only navigation within a window. If you want 
to create a transition effect when moving between stacks, use the go...in 
window form of the go command :

visual effect "wipe down"
go stack Index in window "Part 2" -- replaces stack on screen

—
Scott

> On Apr 18, 2020, at 11:47 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I’m having trouble wrapping my head around visual effects. I’ trying to hide 
> and show stacks using visual effects. 
> 
> Consider this in a button:
> 
> on mouseUp
>   wait 1 second
>   set the visible of homeStack() to false 
>   lock screen
>   set the visible of homeStack() to true
>   unlock screen with visual effect reveal down very slow
>   breakpoint
> end mouseUp
> 
> homestack() simply returns the file path of the main stack, which this button 
> is on. 
> 
> The visual result is indistinguishable from simply showing and hiding the 
> stack. 
> 
> 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: What makes everything on a card unresponsive?

2020-04-20 Thread scott--- via use-livecode
(requires the LC Business version)

> On Apr 20, 2020, at 11:25 AM, Mark Talluto via use-livecode 
>  wrote:
> 
> —breakpoints
> Sometimes the remote debugger works and sometimes it doesn’t. When it does, 
> you breakpoint will fire in your app and show up in the LC IDE


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

2020-04-20 Thread scott--- via use-livecode
Bob, I don’t use script only stacks but aren’t they just text files? If they 
were all in the same folder you could just add that directory in the Copy Files 
pane.

Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--








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

2020-04-23 Thread scott--- via use-livecode
Hello Graham,

Sorry if I missed this earlier but, what made you go with a button widget 
rather than just using a standard LiveCode button?

—
Scott

> On Apr 23, 2020, at 9:41 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> I am getting rather fed up with the widgets I’ve been trying to use for my 
> mobile app. For example, the iOS button widget (a press button, not a switch) 
> has so few properties that you can’t change the colour of the text in any way 
> I could see and sometimes mine turn out blue or red for no apparent reason. 
> Hoping that other properties were just not showing up, I tried
> 
>  put the properties of widget “myWidget”
> 
> in the message box and got nothing, so I don’t know how to proceed. 
> 
> I also hate that the object doesn’t have a label separate from its name. I 
> would never recommend anyone to put spaces in names of objects for scripting, 
> but of course they’re essential for many kinds of label seen by a user, so 
> the two different strings which work in normal LC are essential, in my 
> opinion.
> 
> Oh dear, this has some danger of becoming a rant…
> 
> 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: FormattedHeight

2020-05-01 Thread scott--- via use-livecode
Are you exceeding the maximum vertical scroll?
(I haven’t run into this recently but I believe at one point the vScroll of 
groups was limited at the engine level to 32780)

Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--



> On May 1, 2020, at 1:17 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Is the formattedHeight of a group broken for anyone else? LC 9.6dp4 (and 
> possibly dp3).
> 
> I'm a little frantic.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode









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


Re: FormattedHeight

2020-05-02 Thread scott--- via use-livecode
I’ve run into that a few times but not recently. I couldn’t find anywhere that 
I had worked around it. All I can imagine trying is 
1. Swapping text in and out at some point (possibly just one giant stutter) or 
2. Changing the size of the text that is not visible during the scroll… though 
(the more I think about that one the more it seems like it would make the 
scroll wacky in other ways)  Neither seems super-promising but that’s all I can 
think of at the moment. If you find a solution, I would love to know what it is.
—
Scott


> On May 1, 2020, at 10:24 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Yes, that seems to be the problem. I have a long text field that exceeds the 
> maximum. There's an enclosing group to be compatible with 
> acceleratedRendering on mobile. The same setup is used for all the 
> field/group combinations in the stack and they all work except this one, but 
> the others are all shorter.
> 
> I set the inner field to its full formattedHeight inside the group, which is 
> shorter. The group has a behavior that scrolls the content.
> 
> I discovered today that if I set the behavior on the field instead of its 
> enclosing group, I can make it scroll. But acceleratedRendering on a field is 
> jerky and doesn't work very well on mobile. I can't break up the text, it has 
> to be all one block. I have tried setting the group to container layermode 
> without success.
> 
> If you're wondering why the text exceeds the maximum, this is for a mobile 
> app and there is not only a lot of heavy formatting with large headings and 
> spaceBelow, but the text size is largish so that it is readable on a tiny 
> phone. That makes the pixel count pretty high.
> 
> I only have a very short time left to solve this.
> 
> On 5/1/20 4:45 PM, scott--- via use-livecode wrote:
>> Are you exceeding the maximum vertical scroll?
>> (I haven’t run into this recently but I believe at one point the vScroll of 
>> groups was limited at the engine level to 32780)
>> Scott Morrow
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-800-615-0867
>> --
>>> On May 1, 2020, at 1:17 PM, J. Landman Gay via use-livecode 
>>>  wrote:
>>> 
>>> Is the formattedHeight of a group broken for anyone else? LC 9.6dp4 (and 
>>> possibly dp3).
>>> 
>>> I'm a little frantic.
>>> 
>>> -- 
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software   | http://www.hyperactivesw.com
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: FormattedHeight

2020-05-02 Thread scott--- via use-livecode
What about having two fields with a small amount of overlapping (same) text and 
as the first field reaches the end of its scroll, the second field could be 
displayed and begin its scroll… 
—Scott


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

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


Re: Group resizing.

2020-05-03 Thread scott--- via use-livecode
Oh good, I was hoping I wasn’t the only one.

—
Scott


> On May 3, 2020, at 11:28 AM, Alex Tweedly via use-livecode 
>  wrote:
> 
> 

> I can now get back to my "10-minute cleanup task" that I started 8 hours ago 
> :-)
> 
> 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


Re: FormattedHeight

2020-05-04 Thread scott--- via use-livecode
Good to know that Trevor’s work was able to solve this problem! (Sounds as if 
it may not be a solution for the faint of heart yet.)
—
Scott

> On May 4, 2020, at 11:04 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> On 5/2/20 12:25 PM, J. Landman Gay via use-livecode wrote:
>> I think the solution has to be in the engine. I'm in trouble.
> 
> I am no longer in trouble. :) Huge thanks to Trevor for spending an 
> inordinate amount of time with me over the weekend to get his DataView 
> working in my stack. It's really a marvel.
> 
> I can't describe how grateful I am to him for getting me out of an 
> uncomfortable situation. He's smart, patient, and so very helpful even after 
> my brain fuzzed over at oh-my-god o'clock in the wee hours of the morning.
> 
> -- 
> 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: Small and strange problem

2020-05-10 Thread scott--- via use-livecode
How does tMins acquire the data? Are you certain it contains what you expect 
when you aren’t stepping through the code (and slowing things down)? perhaps a 
“put tMins" or “answer tMins” would expose something. (Probably not, but we are 
curious!)
—
Scott

> On May 10, 2020, at 12:52 PM, Tom Glod via use-livecode 
>  wrote:
> 
> try putting a space between the left and right of the / and see if you
> still get it.
> 
> On Sun, May 10, 2020 at 1:10 PM Paul Hibbert via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> No replies so far, so I had a few minutes spare and tried to recreate this
>> problem, but couldn’t. No matter what I put into tMins first, even an empty
>> variable still returned 0, so my suggestion would be to wrap the script in
>> a try - catch to see what’s going on with the left operand (tMins) during
>> the equation, something like:
>> 
>>   try
>>  put (tMins/60) into tMins
>>   catch tError
>>  if tError then answer "An Error Occurred;"  && tError & return &
>> "tMins =" && tMins
>>   end try
>> 
>> I tried in both versions of LC that you mentioned and saw no problem.
>> 
>> Maybe somebody else will have a better idea.
>> 
>> Paul
>> 
>>> On May 9, 2020, at 07:05, Graham Samuel via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> I’m using LC 9.6.0 dp4 and 9.5.1 - this issue is seen in both versions.
>>> 
>>> I have a script with a very simple statement:
>>> put (tMins/60) into tMins
>>> 
>>> tMins contains a number, and as expected I get a numeric result, for
>> example if tMins is 31, I get 0.516667
>>> 
>>> but ONLY when I step through the script in the IDE. If I let the script
>> run, the IDE reports an error:
>>> 
 Execution error (operators /: error in left operand, char 1
>>> 
>>> 
>>> Either there’s an error or there isn’t. What can be wrong? I suppose as
>> usual it’s me, but I am foxed.
>>> 
>>> 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
>> 
> 
> 
> -- 
> Tom Glod
> Founder & Developer
> MakeShyft R.D.A (www.makeshyft.com)
> Mobile:647.562.9411
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: [ANN] Release 9.6.0 RC-1

2020-05-11 Thread scott--- via use-livecode
I am puzzled by how we should approach this for apps that work on both iPhone 
and iPad? It seems we choose an iPhone image and an iPad simply has a 
background border around and iPhone shaped splash?

> On May 11, 2020, at 8:40 PM, Monte Goulding via use-livecode 
>  wrote:
> 
> Hi Ralph
> 
> We have had some discussions internally about the feasibility of users 
> including custom storyboard file templates and imagesets. That _might_ be the 
> best way forward although it could be difficult to match your UI exactly 
> given storyboard does not have specific device categories but compact and 
> regular width/height categories.
> 
> Cheers
> 
> Monte
> 
>> On 12 May 2020, at 12:55 pm, Ralph DiMola via use-livecode 
>>  wrote:
>> 
>> Monte,
>> 
>> Thanks for the reply! But the problem I have is I want to match pixel for 
>> pixel the splash page with the first card on all devices. These were my 
>> customers specs. I now have to tell them this is not possible anymore. When 
>> I submit an app update the splash page of the initial launch of their app 
>> will be changing. This is not going to go over very well I can tell you 
>> that. Is it not possible to have the storyboard code use specific images for 
>> specific devices as was available in previous versions? Is this an Apple or 
>> an LC limitation?
>> 
>> Thanks again
>> 
>> 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 Monte Goulding via use-livecode
>> Sent: Monday, May 11, 2020 9:58 PM
>> To: How to use LiveCode
>> Cc: Monte Goulding
>> Subject: Re: [ANN] Release 9.6.0 RC-1
>> 
>> Hi Ralph
>> 
>> The splash images are not scaled or stretched. They are centred on the 
>> launch screen. You can use any size image. There’s two main options to 
>> choose from here.
>> 
>> - use a logo PNG with transparency and rely on the background color to fill 
>> the rest. You can choose from using the system background color so it 
>> switches for light and dark mode or an explicit color. This is what I would 
>> recommend as there’s no maintenance for new devices apple might release.
>> 
>> - use an image that is sized large enough to cover the entire screen in all 
>> supported orientations. If supporting portrait and landscape you would need 
>> a square image. As the image is not scaled you would need to update it if 
>> Apple releases a larger device.
>> 
>> Cheers
>> 
>> Monte
>> 
>> 
>>> On 12 May 2020, at 1:51 am, panagiotis merakos via use-livecode 
>>>  wrote:
>>> 
>>> Hello Ralph,
>>> 
>>> I'll leave this for Monte to provide more details, but my 
>>> understanding is that now with the storyboard you only need to provide 
>>> one image, and this will be scaled automatically for all screen sizes.
>>> 
>>> So if you provide only image in the 3x slot, say a 2048x2732, the 
>>> storyboard mechanism will use the same image scaled down to
>>> (2048/2)x(2732/2) for the 2x  slot and (2048/3)x(2732/3) for the 1x slot.
>>> 
>>> So the idea is that now you do not need one separate image for each 
>>> possible device size. You only need one "small", and/or one "medium" 
>>> and/or one "large" image, and this image (or these images, in case you 
>>> provide more than one) will be used for "small","medium" and "large" 
>>> device screen sizes.
>>> 
>>> There are no specific required dimensions for each of the 1x,2x,3x 
>>> slots, so you get no error message, but a rule of thumb is to use the 
>>> largest image you used before for the 3x slot, and let the S/B do the rest 
>>> for you.
>>> 
>>> *>Also, Will the image be stretched or cropped to fit the various
>>> aspect*
>>> *ratios?*
>>> 
>>> The image will be cropped.
>>> 
>>> If you only provide a "small" image (i.e. a 1x one), then in some 
>>> large screens it might appear as a letterbox, but you can choose the 
>>> background color to display in this case (in the areas that would 
>>> appear "black" in the letterbox). If the description is not clear, I 
>>> suggest you do some experimenting and see what is the behavior in this case.
>>> 
>>> Hope this helps.
>>> 
>>> Kind regards,
>>> Panos
>>> 
>>> 
>>> On Mon, 11 May 2020 at 18:37, Ralph DiMola via use-livecode < 
>>> use-livecode@lists.runrev.com> wrote:
>>> 
 Also, Will the image be stretched or cropped to fit the various 
 aspect ratios? I would think the they will cropped as stretching 
 would distort the splash image. Is there a way for the storyboard to 
 use custom images for each of Apple's screen types? I know that this 
 is what their trying to get away from. I'm confused.
 
 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 panagiotis merakos via use-livecode
 Sent: Monday, Ma

Re: [ANN] Release 9.6.0 RC-1

2020-05-12 Thread scott--- via use-livecode
Thank you for commenting, Monte,

I was very excited to hear that Livecode was moving forward with a way to 
handle the storyboard requirements.

From Apple Human Interface Guidelines 
<https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/launch-screen/>


"Design a launch screen that’s nearly identical to the first screen of 
your app. If you include elements that look different when the app finishes 
launching, people can experience an unpleasant flash between the launch screen 
and the first screen of the app.”


Using individual images allowed this to happen pretty well.

Because of differing aspect ratios, adhering to Apple's guidelines now, at 
least for apps that support both  iPhone and iPad  (or even just iPhone 6,7,8 
and iPhone X variants) seems not to be possible yet with the current 
implementation of storyboard. Not being experienced with storyboards, I’m not 
sure if this is a mismatch between Apple’s HIG documentation and storyboards in 
general or a limitation of Livecode’s early implementation of storyboards. I 
will be interested to hear how others are handling this.

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--

> On May 11, 2020, at 8:57 PM, Monte Goulding via use-livecode 
>  wrote:
> 
> You can choose a large image designed in such a way the content on the sides 
> or top can be clipped or you can choose a smaller image and have the 
> background visible.
> 
>> On 12 May 2020, at 1:50 pm, scott--- via use-livecode 
>>  wrote:
>> 
>> I am puzzled by how we should approach this for apps that work on both 
>> iPhone and iPad? It seems we choose an iPhone image and an iPad simply has a 
>> background border around and iPhone shaped splash?
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: [ANN] Release 9.6.0 RC-1

2020-05-12 Thread scott--- via use-livecode
Mark and Monte, thanks for clarifying.

—
Scott

> On May 12, 2020, at 6:03 AM, Mark Waddingham via use-livecode 
>  wrote:
> 
> On 2020-05-12 13:45, Ralph DiMola via use-livecode wrote:
>> Monte/LC Team,
>> I understand that you have limited resources. Could there be a
>> comprise here to share the workload? Instead of LC having to support
>> and change the iOS standalone options every time there is a new iOS
>> device format we(LC USERS) could pickup this pain. If there could be 2
>> options for splash screens this could work out for all.
>> 1) Users can use the present 9.6 rc1 storyboard options.
>> 2) Users could supply a file of resolutions and associated image names
>> for each specific resolution the user wanted to supply a custom image
>> for. If there is not a match then the images in the current 9.6 rc1
>> standalone splash screen implementation would be used.
>> This would put the splash screen implementation of current and new
>> screen specs squarely in hands of the LC user while retaining the
>> current seamless transition from splash to card 1. (if the LC user
>> wanted to put in the effort).
> 
> Unfortunately I'm not sure this is possible.
> 
> Apple are (soon) going to require all apps to use a launch storyboard - 
> specifying launch images is no longer viable if you want your app in the 
> AppStore.
> 
> When we started adding storyboards I asked Monte to see if there was a way to 
> allow current settings to work (i.e. build a storyboard which uses the same 
> images currently specified in the same way), and also offer a simplified 
> option (which is what has transpired in 9.6)...
> 
> Unfortunately it would seem that storyboards do not allow images to be chosen 
> based on screen size - just device type (iPhone vs iPad) and generalized 
> layout types (normal vs compact) - this means there appears to be no way to 
> replicate what you could do with simple launch images.
> 
> Apple HIG for this is a great ideal - but in reality (as far as I can see) 
> the only apps which can do that are those which use only iOS native controls 
> (the idea is that you have a launch storyboard which contains skeleton 
> controls from your first screen). Any app which relies on customized controls 
> (even intermingled with iOS ones) cannot achieve what Apple suggests.
> 
> What we have wasn't something we just quickly did at the last minute there 
> was a concerted effort (as there always is) to preserve what we already had, 
> but we did not manage to find a way :(
> 
> That being said, it is possible that we have missed a storyboard capability 
> somewhere, so if someone can figure out how to create a launch storyboard 
> which *does* select images based on screen size (in a similar way to launch 
> images work), then I can be pretty confident we will be able to generalize it 
> to provide similar settings to the current ones in the S/B.
> 
> Currently the plan is to (in 9.7 hopefully!) to try and allow a custom 
> storyboard - so you can design one in Xcode and then provide it along with 
> the assets it needs to the standalone builder to build into your app. We 
> think we can do this (there are some technical details with referencing the 
> assets and such) but for the reason outlined above, this still won't bring 
> back the much simpler 'provide many launch images' capability.
> 
> Warmest Regards,
> 
> Mark.
> 
> 
> -- 
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Mouse messages in scrollers

2020-05-19 Thread scott--- via use-livecode
I’m using this script on iOS directly inside a LC field object in order to get 
a "delete button” to appear. (Ya, I know that is pretty ancient UI) But it 
requires a swipe on iOS which is what you are after. I don’t think it is 
responsive enough to do some of the fancy pushes that differentiate between 
showing and sending things. It has been a long time since I worked on this (and 
I chopped out a lot of code) so it is possible that I’ve missed something. FYI: 
the field is a “List” field.


-- I use these values for swiping
put 40 into gHorizontalSwipeDistance
put 15 into gVerticalSwipeDistance

-- I'm assuming the list behavior of the field needs to be true
-- field script

on touchStart pID
   put the mouseV into lMouseStartV
   put the mouseH into lMouseStartH
   -- some actions night need to go here
end touchStart  
  
   
on touchMove pTouchID, pTouchH, pTouchV 
   -- see if there was a swipe for delete
   if ((abs(pTouchH - lMouseStartH) > gHorizontalSwipeDistance)) AND\
   (abs(pTouchV - lMouseStartV) < gVerticalSwipeDistance) then
  -- they swiped
  --  unhilite the line
  set the hilitedLine of fld "ScrollingList" of cd "ListOfLists" to empty
 -- do stuff here
end touchMove


on touchRelease pID
   -- unhilite the line
   set the hilitedLine of fld "ScrollingList" of cd "ListOfLists" to empty
end touchRelease

—
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--


> On May 19, 2020, at 2:21 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I have a tall field inside a shorter group that uses a mobile scroller. A 
> behavior assigned to the group handles the scrolling and checks for swipes by 
> capturing mouseDown and mouseUp to determine touch locations so it can 
> calculate the direction of the swipe. This works on Android.
> 
> On iOS I do not get mouseUp or mouseDown messages when swiping horizontally, 
> though I do get scrolerDidScroll when swiping vertically. But since the group 
> is exactly as wide as the field it encloses, it does not scroll horizontally 
> and so no scrollerDidScroll message is sent. I also do not get 
> scrollerBegin/EndDrag, touchStart or touchEnd, or any other message I can 
> think of to track a horizontal swipe. I do get mouseUp/Down when tapping on 
> the scroller but that doesn't help here.
> 
> How would I detect a horizontal swipe on a non-moving scroller? The user 
> can't navigate without it.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: Mouse messages in scrollers

2020-05-19 Thread scott--- via use-livecode
Of course I forgot to declare the local and global variables...

global gHorizontalSwipeDistance
global gVerticalSwipeDistance
local lMouseStartV
local lMouseStartH

> On May 19, 2020, at 3:20 PM, scott--- via use-livecode 
>  wrote:
> 
> I’m using this script on iOS directly inside a LC field object in order to 
> get a "delete button” to appear. (Ya, I know that is pretty ancient UI) But 
> it requires a swipe on iOS which is what you are after. I don’t think it is 
> responsive enough to do some of the fancy pushes that differentiate between 
> showing and sending things. It has been a long time since I worked on this 
> (and I chopped out a lot of code) so it is possible that I’ve missed 
> something. FYI: the field is a “List” field.
> 
> 
> -- I use these values for swiping
> put 40 into gHorizontalSwipeDistance
> put 15 into gVerticalSwipeDistance
> 
> -- I'm assuming the list behavior of the field needs to be true
> -- field script
> 
> on touchStart pID
>   put the mouseV into lMouseStartV
>   put the mouseH into lMouseStartH
>   -- some actions night need to go here
> end touchStart
> 
> 
> on touchMove pTouchID, pTouchH, pTouchV 
>   -- see if there was a swipe for delete
>   if ((abs(pTouchH - lMouseStartH) > gHorizontalSwipeDistance)) AND\
>   (abs(pTouchV - lMouseStartV) < gVerticalSwipeDistance) then
>  -- they swiped
>  --  unhilite the line
>  set the hilitedLine of fld "ScrollingList" of cd "ListOfLists" to empty
> -- do stuff here
> end touchMove
> 
> 
> on touchRelease pID
>   -- unhilite the line
>   set the hilitedLine of fld "ScrollingList" of cd "ListOfLists" to empty
> end touchRelease
> 
> —
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-800-615-0867
> --
> 
> 
>> On May 19, 2020, at 2:21 PM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> I have a tall field inside a shorter group that uses a mobile scroller. A 
>> behavior assigned to the group handles the scrolling and checks for swipes 
>> by capturing mouseDown and mouseUp to determine touch locations so it can 
>> calculate the direction of the swipe. This works on Android.
>> 
>> On iOS I do not get mouseUp or mouseDown messages when swiping horizontally, 
>> though I do get scrolerDidScroll when swiping vertically. But since the 
>> group is exactly as wide as the field it encloses, it does not scroll 
>> horizontally and so no scrollerDidScroll message is sent. I also do not get 
>> scrollerBegin/EndDrag, touchStart or touchEnd, or any other message I can 
>> think of to track a horizontal swipe. I do get mouseUp/Down when tapping on 
>> the scroller but that doesn't help here.
>> 
>> How would I detect a horizontal swipe on a non-moving scroller? The user 
>> can't navigate without it.
>> 
>> -- 
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software   | http://www.hyperactivesw.com
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Mouse messages in scrollers

2020-05-19 Thread scott--- via use-livecode
You have probably already looked at these but here are (some of) the scroller 
settings I use for the below-mentioned field:


mobileControlSet sScrollerId, "pagingEnabled", "false"

mobileControlSet sScrollerId, "decelerationRate", "normal" -- fast --iOS only

mobileControlSet sScrollerId, "canScrollToTop", "true"

mobileControlSet sScrollerId, "delayTouches", "false"

mobileControlSet sScrollerId, "canCancelTouches", “true"

—
Scott

> On May 19, 2020, at 4:41 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I'm doing something very similar but the problem is that I don't get any 
> mouse or touch messages at all, which is why I'm thinking it must be the 
> settings for my ios scroller.
> 
> Whatever the defaults are for delayTouches and canCancelTouches, I think at 
> least one of them needs to be changed.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On May 19, 2020 5:39:07 PM scott--- via use-livecode 
>  wrote:
> 
>> Of course I forgot to declare the local and global variables...
>> 
>> global gHorizontalSwipeDistance
>> global gVerticalSwipeDistance
>> local lMouseStartV
>> local lMouseStartH
>> 
>>> On May 19, 2020, at 3:20 PM, scott--- via use-livecode 
>>>  wrote:
>>> 
>>> I’m using this script on iOS directly inside a LC field object in order to 
>>> get a "delete button” to appear. (Ya, I know that is pretty ancient UI) But 
>>> it requires a swipe on iOS which is what you are after. I don’t think it is 
>>> responsive enough to do some of the fancy pushes that differentiate between 
>>> showing and sending things. It has been a long time since I worked on this 
>>> (and I chopped out a lot of code) so it is possible that I’ve missed 
>>> something. FYI: the field is a “List” field.
>>> 
>>> 
>>> -- I use these values for swiping
>>> put 40 into gHorizontalSwipeDistance
>>> put 15 into gVerticalSwipeDistance
>>> 
>>> -- I'm assuming the list behavior of the field needs to be true
>>> -- field script
>>> 
>>> on touchStart pID
>>>  put the mouseV into lMouseStartV
>>>  put the mouseH into lMouseStartH
>>>  -- some actions night need to go here
>>> end touchStart  
>>> 
>>> 
>>> on touchMove pTouchID, pTouchH, pTouchV
>>>  -- see if there was a swipe for delete
>>>  if ((abs(pTouchH - lMouseStartH) > gHorizontalSwipeDistance)) AND\
>>>  (abs(pTouchV - lMouseStartV) < gVerticalSwipeDistance) then
>>> -- they swiped
>>> --  unhilite the line
>>> set the hilitedLine of fld "ScrollingList" of cd "ListOfLists" to empty
>>>-- do stuff here
>>> end touchMove
>>> 
>>> 
>>> on touchRelease pID
>>>  -- unhilite the line
>>>  set the hilitedLine of fld "ScrollingList" of cd "ListOfLists" to empty
>>> end touchRelease
>>> 
>>> —
>>> Scott Morrow
>>> 
>>> Elementary Software
>>> (Now with 20% less chalk dust!)
>>> web   https://elementarysoftware.com/
>>> email sc...@elementarysoftware.com
>>> booth1-800-615-0867
>>> --
>>> 
>>> 
>>>> On May 19, 2020, at 2:21 PM, J. Landman Gay via use-livecode 
>>>>  wrote:
>>>> 
>>>> I have a tall field inside a shorter group that uses a mobile scroller. A 
>>>> behavior assigned to the group handles the scrolling and checks for swipes 
>>>> by capturing mouseDown and mouseUp to determine touch locations so it can 
>>>> calculate the direction of the swipe. This works on Android.
>>>> 
>>>> On iOS I do not get mouseUp or mouseDown messages when swiping 
>>>> horizontally, though I do get scrolerDidScroll when swiping vertically. 
>>>> But since the group is exactly as wide as the field it encloses, it does 
>>>> not scroll horizontally and so no scrollerDidScroll message is sent. I 
>>>> also do not get scrollerBegin/EndDrag, touchStart or touchEnd, or any 
>>>> other message I can think of to track a horizontal swipe. I do get 
>>>> mouseUp/Down when tapping on the scroller but that doesn't help here.
>>>> 
>>>> How would I detect a horizontal swipe on a non-moving scroller? The user 
>>>> can't navigate without it.
>>>> 
>>>> --
>>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>>> HyperActive Software   | http://www.hyperactivesw.com
>>>> 
>>>> ___
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Mouse messages in scrollers

2020-05-21 Thread scott--- via use-livecode
Thank you for the thorough explanation of what you are doing and why. I will 
give the method that triggers “scrollerDidScrol” a try.

--
Scott

> On May 21, 2020, at 1:22 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> It was "delayTouches" mostly. Default is true, I had to set it to false. I 
> also set canCancelTouches to false but didn't test how necessary that was. 
> Default for that is also true.
> 
> This allowed messages to pass through to LC, but you had to very deliberately 
> swipe, holding down a moment so the mouseDown would fire. Brian Milby came up 
> with a faster solution using something like Jim MacConnell's suggestion -- 
> make the contentRect wider than the group so that a horizontal swipe triggers 
> scrollerDidScroll. Lock direction to vertical to prevent wiggle. That proved 
> to be a the solution for a more natural swipe.
> 
> You have to branch for Android because it doesn't have a lockDirection 
> property; for that OS keep the contentRect the same width as the group. Mouse 
> messages pass through to LC automatically, which is good because the above 
> two settings don't exist on Android.
> 
> Swiping is such a normal behavior on mobile, I'd like to see an easier method 
> in LC to accomodate all this.
> 
> 
> On 5/19/20 8:00 PM, scott--- via use-livecode wrote:
>> You have probably already looked at these but here are (some of) the 
>> scroller settings I use for the below-mentioned field:
>> 
>> mobileControlSet sScrollerId, "pagingEnabled", "false"
>> mobileControlSet sScrollerId, "decelerationRate", "normal" -- fast --iOS only
>> mobileControlSet sScrollerId, "canScrollToTop", "true"
>> mobileControlSet sScrollerId, "delayTouches", "false"
>> mobileControlSet sScrollerId, "canCancelTouches", “true"
> 
> 
> -- 
> 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


Re: LC 9.6.0 RC1 Splash/Launch Images

2020-05-22 Thread scott--- via use-livecode
Hello Graham,

In the Standalone Applications Settings do you have it set to build for iPad as 
well as iPhone?  I’m not at all experienced with the new splash options or how 
the setting work together… just an idea.
--
Scott

> On May 22, 2020, at 1:25 PM, Graham Samuel via use-livecode 
>  wrote:
> 
> My x3 splash is already smaller than the largest real requirement for an 
> iPhone, 1242 x 2688. Mine is only 2048 x 2732. So you could argue that my x3 
> splash should be even larger than I’ve supplied.
> 
> I don’t see why the system doesn’t pick the smallest size that will fit - so 
> for my iPhone XS for example, which needs 1125x2436 for an exact fit, I have 
> supplied my x2 splash at exactly the right size. 
> 
> I realise this is not desperately important, especially as I can adopt 
> Andrew’s solution below, but there does seem to be something wrong here. It 
> will be interesting to read the LC lesson on this when it comes out!
> 
> Graham
> 
>> On 22 May 2020, at 18:41, Andrew at MidWest Coast Media via use-livecode 
>>  wrote:
>> 
>> I had the same problem when creating storyboards: the icon was too big. My 
>> app was portrait so I could tell the dimensions were backwards, but when 
>> using the the recommended sizes the logo ran off the edges. Placing the 1x 
>> version in the 2x slot (and the 2x in the 3x slot) seemed to make things 
>> look more like what I expected.
>> 
>> Making the first card of the stack have the same background color as the 
>> Storyboard worked fine, then just...
>> unlock screen for visual effect
>> go next card
>> unlock screen with visual effect “dissolve” very fast
>> 
>> —Andrew Bell
> 
> 
>> On 22 May 2020, at 14:48, panagiotis merakos via use-livecode 
>>  wrote:
>> 
>> *>LC 9.6.0 rc1 reported that I hadn’t provided a portrait splash screen
>> for iPad*
>> 
>> Yes, this is a bug in LC 9.6 RC-1, which is fixed in LC 9.6 RC-2.
>> 
>> *>and the Simulator showed the splash screen too large for the screen
>> of the device *
>> 
>> Hmm, then I would expect the splash to show too large in the physical
>> device as well. In this case, I would try with a smaller splash.
>> 
>> Kind regards,
>> Panos
>> --
>> 
>> On Fri, 22 May 2020 at 15:25, Graham Samuel via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> I did that, so fine, but noticed two issues: when making the standalone LC
>>> 9.6.0 rc1 reported that I hadn’t provided a portrait splash screen for
>>> iPad, when in fact there is no way of doing so since the storyboard change;
>>> and the Simulator showed the splash screen too large for the screen of the
>>> device (an iPhone XS). (Not sure if the real app does that as I’m having
>>> trouble uploading - that’s a different conversation.)
>>> 
>>> Graham
>>> 
 On 22 May 2020, at 13:51, panagiotis merakos via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
 
 Just realised that the image sizes I suggested are for landscape, so if
 your app uses portrait, just swap the width with the height.
 
 
 
 On Sun, 17 May 2020 at 21:35, Colin Holgate via use-livecode <
 use-livecode@lists.runrev.com> wrote:
 
> What I’ve done for a while is to use a flat color that is the average of
> the colors in the actual title screen. The splash screen is not around
>>> for
> very long, and with there being lots of different sizes required, a
> detailed splash screen could possibly take up 50 MB of app side, for the
> sake of a fraction of a second.
> 
> In the best case it feels like the title screen faded into view. In
>>> fact,
> you could do that, quickly fade in from a matching flat background
>>> color.
> 
> 
>> On May 17, 2020, at 10:58 AM, panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>> 
>> Hello Graham,
>> 
>> The new storyboard mechanism has some restrictions as it is (we might
>> enhance it in the future)
>> 
>> For example it is no longer possible to have an exact (pixel) matching
>>> of
>> the splash screen and the first card of the stack as it appears on the
>> device
>> 
>> So the best suggestion now is to use a splash image that has just a
>>> logo
> at
>> the center and it is transparent, and also to set the background of the
>> splash in the standalone settings.
>> 
>> In that way, in all devices (ipads/iphones) you will get a centered
>>> logo
>> with the background you set in the standalone settings (or you can
>>> choose
>> to not set the background - in this case the default background color
> will
>> be used depending on the device appearance: white if the device is on
> light
>> mode and black if the device is on dark mode)
>> 
>> Of course, if you do not wish to have a splash that shows just a logo,
> you
>> can choose a regular image (or 3 regular images, one for each 1x,2x,3x
>> slots) and also set the bac

Re: iOS builds ignore taps

2020-06-01 Thread scott--- via use-livecode
For me, when I run across this (and I have several times… including one just 
last week)  it is almost always acceleratedRendering.

I usually end up toggling it off and on and then all works fine.

Sometimes I wrap code between these but sometimes I just put this at the end of 
the handler that introduces the unresponsive object.
set the acceleratedRendering of this stack to "false"
set the acceleratedRendering of this stack to “true”

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--




> On Jun 1, 2020, at 12:50 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Has anyone seen this problem? On an iOS build, normal LC controls sometimes 
> do not respond to mouseUp events. There are no native controls involved -- 
> the worst offender is a regular LC graphic that serves as a login button. 
> Sometimes it just doesn't trigger. Other times it's a locked LC field that 
> needs to respond with clicktext. No handlers run at all.
> 
> Sometimes if I edit a script (any script, not the object involved) and 
> rebuild, taps work again in some places but still not in others.
> 
> This is only on iOS. In the IDE and Android everything works normally.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: iOS builds ignore taps

2020-06-01 Thread scott--- via use-livecode
I don’t use fullscreenMode. Is acceleratedRendering a default requirement of 
fullscreenMode?

I’ve been unable to create a simple recipe. In my cases I am suspicious that it 
has something to do with overlapping groups… but obviously it is more than that.
—
Scott

> On Jun 1, 2020, at 9:15 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Oh my gosh, I *never* would have guessed that fullscreenMode was the culprit. 
> That's kind of screwy isn't it? Why would it block taps? And not consistently 
> either.
> 
> I'm very glad you knew what was wrong, I was completely at a loss. Thank you. 
> It seems like this needs a bug report but there's no consistent recipe that I 
> can find.
> 
> 
> On 6/1/20 7:49 PM, scott--- via use-livecode wrote:
>> For me, when I run across this (and I have several times… including one just 
>> last week)  it is almost always acceleratedRendering.
>> I usually end up toggling it off and on and then all works fine.
>> Sometimes I wrap code between these but sometimes I just put this at the end 
>> of the handler that introduces the unresponsive object.
>> set the acceleratedRendering of this stack to "false"
>> set the acceleratedRendering of this stack to “true”
>> --
>> Scott Morrow
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-800-615-0867
>> --
>>> On Jun 1, 2020, at 12:50 PM, J. Landman Gay via use-livecode 
>>>  wrote:
>>> 
>>> Has anyone seen this problem? On an iOS build, normal LC controls sometimes 
>>> do not respond to mouseUp events. There are no native controls involved -- 
>>> the worst offender is a regular LC graphic that serves as a login button. 
>>> Sometimes it just doesn't trigger. Other times it's a locked LC field that 
>>> needs to respond with clicktext. No handlers run at all.
>>> 
>>> Sometimes if I edit a script (any script, not the object involved) and 
>>> rebuild, taps work again in some places but still not in others.
>>> 
>>> This is only on iOS. In the IDE and Android everything works normally.
>>> 
>>> -- 
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software   | http://www.hyperactivesw.com
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: iOS builds ignore taps

2020-06-01 Thread scott--- via use-livecode
And it seems that, at least in my last run-in, the taps were actually going 
through… it is just that they weren't being drawn on the screen. I had 
displayed a group with a visual effect inside a rect… only controls inside the 
rect appeared unresponsive. When put away using  unlock the screen with visual 
effect, I could briefly see the selection on some radio buttons change.
—
Scott 

> On Jun 1, 2020, at 10:34 PM, scott--- via use-livecode 
>  wrote:
> 
> I don’t use fullscreenMode. Is acceleratedRendering a default requirement of 
> fullscreenMode?
> 
> I’ve been unable to create a simple recipe. In my cases I am suspicious that 
> it has something to do with overlapping groups… but obviously it is more than 
> that.
> —
> Scott
> 
>> On Jun 1, 2020, at 9:15 PM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> Oh my gosh, I *never* would have guessed that fullscreenMode was the 
>> culprit. That's kind of screwy isn't it? Why would it block taps? And not 
>> consistently either.
>> 
>> I'm very glad you knew what was wrong, I was completely at a loss. Thank 
>> you. It seems like this needs a bug report but there's no consistent recipe 
>> that I can find.
>> 
>> 
>> On 6/1/20 7:49 PM, scott--- via use-livecode wrote:
>>> For me, when I run across this (and I have several times… including one 
>>> just last week)  it is almost always acceleratedRendering.
>>> I usually end up toggling it off and on and then all works fine.
>>> Sometimes I wrap code between these but sometimes I just put this at the 
>>> end of the handler that introduces the unresponsive object.
>>> set the acceleratedRendering of this stack to "false"
>>> set the acceleratedRendering of this stack to “true”
>>> --
>>> Scott Morrow
>>> Elementary Software
>>> (Now with 20% less chalk dust!)
>>> web   https://elementarysoftware.com/
>>> email sc...@elementarysoftware.com
>>> booth1-800-615-0867
>>> --
>>>> On Jun 1, 2020, at 12:50 PM, J. Landman Gay via use-livecode 
>>>>  wrote:
>>>> 
>>>> Has anyone seen this problem? On an iOS build, normal LC controls 
>>>> sometimes do not respond to mouseUp events. There are no native controls 
>>>> involved -- the worst offender is a regular LC graphic that serves as a 
>>>> login button. Sometimes it just doesn't trigger. Other times it's a locked 
>>>> LC field that needs to respond with clicktext. No handlers run at all.
>>>> 
>>>> Sometimes if I edit a script (any script, not the object involved) and 
>>>> rebuild, taps work again in some places but still not in others.
>>>> 
>>>> This is only on iOS. In the IDE and Android everything works normally.
>>>> 
>>>> -- 
>>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>>> HyperActive Software   | http://www.hyperactivesw.com
>>>> 
>>>> ___
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> -- 
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software   | http://www.hyperactivesw.com
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: iOS builds ignore taps

2020-06-02 Thread scott--- via use-livecode
I haven’t found that using touch messages instead of mouse messages makes any 
difference.
--
Scott

> On Jun 1, 2020, at 1:19 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> 
> I am not sure if this will solve your problem, but did you try the touch 
> messages instead?
> 
> Matthias
> 
> 
>> Am 01.06.2020 um 21:50 schrieb J. Landman Gay via use-livecode 
>> :
>> 
>> Has anyone seen this problem? On an iOS build, normal LC controls sometimes 
>> do not respond to mouseUp events. There are no native controls involved -- 
>> the worst offender is a regular LC graphic that serves as a login button. 
>> Sometimes it just doesn't trigger. Other times it's a locked LC field that 
>> needs to respond with clicktext. No handlers run at all.
>> 
>> Sometimes if I edit a script (any script, not the object involved) and 
>> rebuild, taps work again in some places but still not in others.
>> 
>> This is only on iOS. In the IDE and Android everything works normally.
>> 
>> -- 
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software   | http://www.hyperactivesw.com
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: iOS builds ignore taps

2020-06-02 Thread scott--- via use-livecode
Hello Randy,

Adjusting the compositorCacheLimit (instead of toggling the 
acceleratedRendering) also seems to fix my most recent encounter. It is good to 
have work-arounds but frustrating to have the issue crop up.

—
Scott

> On Jun 2, 2020, at 5:20 AM, Randy Hengst via use-livecode 
>  wrote:
> 
> I have an iOS app that uses many graphics with movement… in addition to doing 
> as Scott suggested (toggling acceleratedRendering on an off) I also messed 
> with adjusting the compositorCacheLimit. Raising the limit helped. Doing this 
> also helped with some screen redraw issues I saw that sounds consistent with 
> what Scott also mentioned.
> 
> 
> be well,
> randy
> www.classroomFocusedSoftware.com
> 
>> On Jun 2, 2020, at 1:58 AM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> On 6/1/20 11:30 PM, Mark Wieder via use-livecode wrote:
>>> On 6/1/20 9:15 PM, J. Landman Gay via use-livecode wrote:
 Oh my gosh, I *never* would have guessed that fullscreenMode was the 
 culprit. That's kind of screwy isn't it? Why would it block taps? And not 
 consistently either.
>>> WTF?
>> 
>> My mistake. AccleratedRendering. But still...WTF.
>> 
>> -- 
>> 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: iOS builds ignore taps

2020-06-02 Thread scott--- via use-livecode
I had two different scrolling groups on a card where I found it necessary to  
toggling acceleratedRendering. I just discovered that neither of these groups 
had the layerMode set to “scrolling” (they were both “static”). Though they 
appeared to scroll smoothly on all my test devices, changing their layerModes 
to “scrolling” now makes it so the acceleratedRendering doesn’t need to be 
fiddled with in order for other objects to display correctly.
—
Scott

> On Jun 2, 2020, at 5:55 PM, scott--- via use-livecode 
>  wrote:
> 
> Hello Randy,
> 
> Adjusting the compositorCacheLimit (instead of toggling the 
> acceleratedRendering) also seems to fix my most recent encounter. It is good 
> to have work-arounds but frustrating to have the issue crop up.
> 
> —
> Scott
> 
>> On Jun 2, 2020, at 5:20 AM, Randy Hengst via use-livecode 
>>  wrote:
>> 
>> I have an iOS app that uses many graphics with movement… in addition to 
>> doing as Scott suggested (toggling acceleratedRendering on an off) I also 
>> messed with adjusting the compositorCacheLimit. Raising the limit helped. 
>> Doing this also helped with some screen redraw issues I saw that sounds 
>> consistent with what Scott also mentioned.
>> 
>> 
>> be well,
>> randy
>> www.classroomFocusedSoftware.com
>> 
>>> On Jun 2, 2020, at 1:58 AM, J. Landman Gay via use-livecode 
>>>  wrote:
>>> 
>>> On 6/1/20 11:30 PM, Mark Wieder via use-livecode wrote:
>>>> On 6/1/20 9:15 PM, J. Landman Gay via use-livecode wrote:
>>>>> Oh my gosh, I *never* would have guessed that fullscreenMode was the 
>>>>> culprit. That's kind of screwy isn't it? Why would it block taps? And not 
>>>>> consistently either.
>>>> WTF?
>>> 
>>> My mistake. AccleratedRendering. But still...WTF.
>>> 
>>> -- 
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software   | http://www.hyperactivesw.com
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: iOS builds ignore taps

2020-06-02 Thread scott--- via use-livecode
On the test device (an iPhone 6s) it was reporting a compositorCacheLimit of 
67108864 (64Mb?) and I increased it by 16Mbs to 83886080 which solved the 
problem. I didn’t try to find where the edge was. After looking at the 
layerMode of underlying groups and changing ones that obviously should have 
been set to scrolling but for some reason were static, fiddling with the 
acceleratedRendering or compositorCacheLimit  was no longer necessary.
—
Scott

> On Jun 2, 2020, at 9:50 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> How much did you increase the compositorCacheLimit?
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On June 2, 2020 7:57:58 PM scott--- via use-livecode 
>  wrote:
> 
>> Hello Randy,
>> 
>> Adjusting the compositorCacheLimit (instead of toggling the 
>> acceleratedRendering) also seems to fix my most recent encounter. It is good 
>> to have work-arounds but frustrating to have the issue crop up.
>> 
>> —
>> Scott
>> 
>>> On Jun 2, 2020, at 5:20 AM, Randy Hengst via use-livecode 
>>>  wrote:
>>> 
>>> I have an iOS app that uses many graphics with movement… in addition to 
>>> doing as Scott suggested (toggling acceleratedRendering on an off) I also 
>>> messed with adjusting the compositorCacheLimit. Raising the limit helped. 
>>> Doing this also helped with some screen redraw issues I saw that sounds 
>>> consistent with what Scott also mentioned.
>>> 
>>> 
>>> be well,
>>> randy
>>> www.classroomFocusedSoftware.com
>>> 
>>>> On Jun 2, 2020, at 1:58 AM, J. Landman Gay via use-livecode 
>>>>  wrote:
>>>> 
>>>> On 6/1/20 11:30 PM, Mark Wieder via use-livecode wrote:
>>>>> On 6/1/20 9:15 PM, J. Landman Gay via use-livecode wrote:
>>>>>> Oh my gosh, I *never* would have guessed that fullscreenMode was the 
>>>>>> culprit. That's kind of screwy isn't it? Why would it block taps? And 
>>>>>> not consistently either.
>>>>> WTF?
>>>> 
>>>> My mistake. AccleratedRendering. But still...WTF.
>>>> 
>>>> --
>>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>>> HyperActive Software   | http://www.hyperactivesw.com
>>>> 
>>>> ___
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

2020-06-02 Thread scott--- via use-livecode
I have run into that same scenario more than once. In most cases, over time as 
I continue to change things, these situations resolve themselves so that 
toggling acceleratedRendering is no longer needed. But what exactly changed is 
a mystery :- )

> On Jun 2, 2020, at 10:46 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> In my case all groups that use a scroller have scrolling layermode set. They 
> work. The primary problem for me is that regular LC controls stop getting 
> messages and responding to taps.
> 
> All these controls are set to static layermode, so I'm not sure how 
> acceleratedRendering could affect them. But it does bring the app to a 
> screeching halt. I wish I had a recipe.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On June 2, 2020 8:35:49 PM scott--- via use-livecode 
>  wrote:
> 
>> I had two different scrolling groups on a card where I found it necessary to 
>>  toggling acceleratedRendering. I just discovered that neither of these 
>> groups had the layerMode set to “scrolling” (they were both “static”). 
>> Though they appeared to scroll smoothly on all my test devices, changing 
>> their layerModes to “scrolling” now makes it so the acceleratedRendering 
>> doesn’t need to be fiddled with in order for other objects to display 
>> correctly.
>> —
>> Scott
>> 
>>> On Jun 2, 2020, at 5:55 PM, scott--- via use-livecode 
>>>  wrote:
>>> 
>>> Hello Randy,
>>> 
>>> Adjusting the compositorCacheLimit (instead of toggling the 
>>> acceleratedRendering) also seems to fix my most recent encounter. It is 
>>> good to have work-arounds but frustrating to have the issue crop up.
>>> 
>>> —
>>> Scott
>>> 
>>>> On Jun 2, 2020, at 5:20 AM, Randy Hengst via use-livecode 
>>>>  wrote:
>>>> 
>>>> I have an iOS app that uses many graphics with movement… in addition to 
>>>> doing as Scott suggested (toggling acceleratedRendering on an off) I also 
>>>> messed with adjusting the compositorCacheLimit. Raising the limit helped. 
>>>> Doing this also helped with some screen redraw issues I saw that sounds 
>>>> consistent with what Scott also mentioned.
>>>> 
>>>> 
>>>> be well,
>>>> randy
>>>> www.classroomFocusedSoftware.com
>>>> 
>>>>> On Jun 2, 2020, at 1:58 AM, J. Landman Gay via use-livecode 
>>>>>  wrote:
>>>>> 
>>>>> On 6/1/20 11:30 PM, Mark Wieder via use-livecode wrote:
>>>>>> On 6/1/20 9:15 PM, J. Landman Gay via use-livecode wrote:
>>>>>>> Oh my gosh, I *never* would have guessed that fullscreenMode was the 
>>>>>>> culprit. That's kind of screwy isn't it? Why would it block taps? And 
>>>>>>> not consistently either.
>>>>>> WTF?
>>>>> 
>>>>> My mistake. AccleratedRendering. But still...WTF.
>>>>> 
>>>>> --
>>>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>>>> HyperActive Software   | http://www.hyperactivesw.com
>>>>> 
>>>>> ___
>>>>> use-livecode mailing list
>>>>> use-livecode@lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>> 
>>>> ___
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Animation Engine: speed tips

2020-06-30 Thread scott--- via use-livecode
Alex,

Eagerly awaiting news of your progress!
—
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--


> On Jun 30, 2020, at 6:40 PM, Alex Tweedly via use-livecode 
>  wrote:
> 
> Hi David,
> 
> I had a quick look at this (for slightly selfish reasons - I will be doing 
> some simple animation soon, so this piqued my interest to look at it sooner 
> :-)
> 
> [ all comments on performance or timing here are on an aging (2011) Macbook 
> Pro, LC 9.6.0 ]
> 
> So, there's good news, and there's bad news :-)
> 
> 1. Bad news.
> 
> It is slow (surprisingly, disappointingly slow) to move graphic objects in 
> LC. Moving small simple objects (unfilled circle graphics <20 pixels across) 
> over an uncomplicated background. Each move takes between 1 and 2.6 msecs. 
> (Yes, that's for one object !!)
> 
> [ Puts on 'grumpy old man' hat = that's about the same time as it took on my 
> old Atari ST - 34 years ago!! Where's Moore's Law when I need it :-). ]
> 
> 2. Good news.
> 
> Although disappointing performance, it is (probably) good enough for your 
> described example. Around 30 simple, small objects moving, 20 fps ~= 700ms 
> within a second; it should just be doable.
> 
> 3. Bad News.
> 
> You're on the edge !!  The timings above were for moving objects in a simple, 
> tight loop. (see sample code below my sig.)  You have a little bit of spare 
> CPU left over to handle overhead, object management, new co-ord calculation, 
> etc., but not very much.
> 
> Animation Engine.
> 
> It's a powerful library - has lots of good stuff to do fading, morphing, 
> collision detection, input constraint, color changes, animated scrolls 
> (bounce, overshoot, ...), and then it has two methods of just *moving* LC 
> controls.
> 
> The 'classic' version requires the developer to set up a timer/loop handler, 
> and use the various aeMovexxx handlers; because of the timer handling it's 
> tricky and needs care from the developer.
> 
> The other version is only for straight line moves (aeMoveTo); this is much 
> simpler to use, can handle multiple shapes moving in synch and does it very 
> efficiently. (The older equivalent was aeMoveLinear, which is deprecated). If 
> all your moving is (or can be cast into) using this version, you might have 
> no problems. Note Malte describes aeMoveTo as 'frame-perfect' - all the moves 
> done by aeMoveTo happen perfectly aligned by the (single) frame timer, so 
> moves can be precisely coordindated to start and/or finish at exactly the 
> same time.
> 
> If it can't be, then you might think about adding new functionality to AE to 
> provide a similar capability , using the same single timer that aeMoveTo uses.
> 
> My needs are slightly different:-
> 1. linear and "hop" moves only (*)
> 2. need to string together multiple moves within a 'frame-perfect' setting
> 
> btw - this 'stringing together' is exactly what you would need for hand-drawn 
> curve following; you'd form a points-list from the hand-drawing, then 
> construct a series of linear moves along each edge.
> 
> I decided the easiest way to achieve what I need was a simple 
> purpose-specific library, that has just these features. It's simple to use, 
> understand and debug - currently < 200 lines, and likely to finish up around 
> 250 lines by the time I'm done adding features.
> 
> (*) What's a "hop" move?
> Think of a child's board game (Ludo, S&Ladders, ...) When you move a piece, 
> you don't (if you're playing with a child) usually just pick it up and move 
> it (say) 5 squares, instead you go "...1...2...3...4...5", while touching the 
> piece in or near each square in turn. That's a hop move (or a series of 
> hop-moves. :-)
> 
> Anyway - I have that working now, so with luck I'll get a chance to work on 
> it this week and get it tidied up, and release a first version by the 
> weekend, so if you (or anyone) is interested they can try it out.
> 
> Alex.
> 
> Simple benchmark:
> 
> I finished up with a pretty trivial example bit of code:
> 
> 
> >put the loc of grc "g1" into tmp
> >repeat 100 times
> >   add 1 to item 1 of tmp
> >   set the loc of grc "g1" to tmp
> >   wait 0 with messages
> >end repeat
> 
> Notes:
> 
> 0. Graphic "g1" is a simple, small circle.
> 
> 1. if the graphic wanders off screen (out of window) the time taken drops to 
> 0.
> 
> 2. If you remove the "add 1 to item 1 of tmp" (i.e. the graphic remains in 
> the same place), then again the time drops to effectively 0.
> 
> So with this simple code, I find that (on my aging Macbook Pro), those 100 
> moves take between 125 and 275 ms (i.e. just about 1 to 2.5 ms per shape to 
> move). And that variation is easily matched against the complexity of the 
> surroundings the piece is moving through - if it moves over (or under) many 
> other graphic objects, it takes 

Re: text to speech android

2020-07-19 Thread scott--- via use-livecode
I notice that  although speechGetVoices() provides names that begin with an 
uppercase letter
speechSetVoice() appears to require the name be lowercase for it to work 
reliably.  

LC 9.6.0  Mac Mojave

—
Scott Morrow

> On Jul 19, 2020, at 9:00 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hi Klaus,
> 
> just did a quick successful test on Mac OS 10.14.6 with this script
> 
> on mouseup
> 
>  speechInitializeLibrary
> 
> end mouseup
> 
> on speechLibraryInitialized pSuccess
> 
>  if pSuccess then
> 
>   speechSpeakUtterance "Hallo Klaus"
> 
>   get speechfinalizeLibrary()
> 
>  end if
> 
> end speechLibraryInitialized
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 19.07.2020 um 14:28 schrieb Klaus major-k via use-livecode 
>> :
>> 
>> Hi Klaus,
>> 
>>> Am 18.07.2020 um 12:30 schrieb Klaus major-k via use-livecode 
>>> :
>>> 
>>> Hi all,
>>> 
>>> in 9.6 we have a new speech library for Mac, iOs and Android.
>>> In the dictionary "revspeak" is still listed as Mac and Windows only.
>>> 
>>> Am I correct to presume that the syntax-> revspeak "what to speak"
>>> is still the same for this new speech library on Android?
>> 
>> no, you are not correct!
>> The new syntax is -> speechSpeakUtterance "what to speech speak or say?"
>> 
>>> Thanks in advance!
>> 
>> You're welcome!
>> 
>>> Best
>>> 
>>> Klaus
>> 
>> Did someone could make this work on a Mac so far?
>> 
>> 
>> Best
>> 
>> Klaus
>> 
>> --
>> Klaus Major
>> https://www.major-k.de
>> kl...@major-k.de
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: text to speech android

2020-07-19 Thread scott--- via use-livecode
Ack! with the exception of “Victoria” which seems to require an Uppercase first 
letter. (utter chaos)

> On Jul 19, 2020, at 7:44 PM, scott--- via use-livecode 
>  wrote:
> 
> I notice that  although speechGetVoices() provides names that begin with an 
> uppercase letter
> speechSetVoice() appears to require the name be lowercase for it to work 
> reliably.  
> 
> LC 9.6.0  Mac Mojave
> 
> —
> Scott Morrow
> 
>> On Jul 19, 2020, at 9:00 AM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Hi Klaus,
>> 
>> just did a quick successful test on Mac OS 10.14.6 with this script
>> 
>> on mouseup
>> 
>> speechInitializeLibrary
>> 
>> end mouseup
>> 
>> on speechLibraryInitialized pSuccess
>> 
>> if pSuccess then
>> 
>>  speechSpeakUtterance "Hallo Klaus"
>> 
>>  get speechfinalizeLibrary()
>> 
>> end if
>> 
>> end speechLibraryInitialized
>> 
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>>> Am 19.07.2020 um 14:28 schrieb Klaus major-k via use-livecode 
>>> :
>>> 
>>> Hi Klaus,
>>> 
>>>> Am 18.07.2020 um 12:30 schrieb Klaus major-k via use-livecode 
>>>> :
>>>> 
>>>> Hi all,
>>>> 
>>>> in 9.6 we have a new speech library for Mac, iOs and Android.
>>>> In the dictionary "revspeak" is still listed as Mac and Windows only.
>>>> 
>>>> Am I correct to presume that the syntax-> revspeak "what to speak"
>>>> is still the same for this new speech library on Android?
>>> 
>>> no, you are not correct!
>>> The new syntax is -> speechSpeakUtterance "what to speech speak or say?"
>>> 
>>>> Thanks in advance!
>>> 
>>> You're welcome!
>>> 
>>>> Best
>>>> 
>>>> Klaus
>>> 
>>> Did someone could make this work on a Mac so far?
>>> 
>>> 
>>> Best
>>> 
>>> Klaus
>>> 
>>> --
>>> Klaus Major
>>> https://www.major-k.de
>>> kl...@major-k.de
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

2020-07-28 Thread scott--- via use-livecode
So Alex, the takeaway here seems to be that once you name your child objects… 
“now it’s too late.”

While reading this out aloud, I taught my classes of 2nd and 3rd graders to 
say, “Noo” after the second line. And I usually paused to let the class 
finish Oliver Boliver’s name.

—
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
--



> On Jul 27, 2020, at 10:24 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Consider a simplified problem statement:
> 
> You have two objects of the same type in a container, and you want to tell 
> them apart but had given them the same name.
> 
> 
> 
>   Too Many Daves
>   by Dr. Seuss
> 
>   Did I ever tell you that Mrs. McCave
>   Had twenty-three sons and she named them all Dave?
>   Well, she did. And that wasn't a smart thing to do.
>   You see, when she wants one and calls out, "Yoo-Hoo!
>   Come into the house, Dave!" she doesn't get one.
>   All twenty-three Daves of hers come on the run!
>   This makes things quite difficult at the McCaves'
>   As you can imagine, with so many Daves.
>   And often she wishes that, when they were born,
>   She had named one of them Bodkin Van Horn
>   And one of them Hoos-Foos. And one of them Snimm.
>   And one of them Hot-Shot. And one Sunny Jim.
>   And one of them Shadrack. And one of them Blinkey.
>   And one of them Stuffy. And one of them Stinkey.
>   Another one Putt-Putt. Another one Moon Face.
>   Another one Marvin O'Gravel Balloon Face.
>   And one of them Ziggy. And one Soggy Muff.
>   One Buffalo Bill. And one Biffalo Buff.
>   And one of them Sneepy. And one Weepy Weed.
>   And one Paris Garters. And one Harris Tweed.
>   And one of them Sir Michael Carmichael Zutt
>   And one of them Oliver Boliver Butt
>   And one of them Zanzibar Buck-Buck McFate ...
>   But she didn't do it. And now it's too late.
> 
> --
> Richard Gaskin
> Fourth World Systems
> 
> 
>> Alex Tweedly alex at tweedly.net
>> Mon Jul 27 15:47:12 EDT 2020
>>Previous message (by thread): Object naming
>>Next message (by thread): Object naming
>>Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>> On 27/07/2020 16:33, Richard Gaskin via use-livecode wrote:
>>> There are many ways to refer to things.  The simplest is to use unambiguous 
>>> names for things that matter.
>>> 
>> Is there an unambiguous name in this case ? And if so, what is it :-) ?
>> A group "A" contains a rectangle "R", and a (sub)group "B". "B" also 
>> contains a rectangle "R". (btw - "B" also may contain a subgroup "C", and it 
>> too will have a rectangle "R", and ).
>> There is an unambiguous name for the 'most nested' "R", but there doesn't 
>> seem to be for the other "R"s. I had expected (or perhaps just hoped) that 
>> using a long name would first try to find an exact match, and if that failed 
>> it would then find the closest inexact match - but that sadly was just a 
>> hope.
>> I could (and probably will) use IDs but that doesn't work for duplicating 
>> the group - you need to either go in and adjust a script / custom property 
>> OR have the group's script find the IDs.
>> Or - am I'm missing something ?
>> 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


Google Play SDK problem

2020-07-29 Thread scott--- via use-livecode
I have an app (Windows, Mac, iOS and Android… thank you LC!) that is aimed at 
children. It does not contain advertising. I recently submitted an update to 
Google Play and although it was accepted into the store a few weeks ago, today 
I received the notice below. I am suspicious that this is not currently 
addressed by LC. Has anyone else encountered this and if so how was it solved?

—
— from Google Play—
—
Hi Developers at Elementary Software,   After a recent review, we found that 
your app Terrific Triangle (com.elementarysoftware.terrifictriangle) is not 
compliant with one or more of our Developer Program Policies. Please resolve 
the issue within 30 days of the issuance of this notification or your app will 
be removed from Google Play. 

Issue with your app
We have detected that your app includes non-certified ad SDKs or SDKs that are 
not approved for use in child-directed services.

About the Families Policy Requirements
Any SDKs used in the app must be appropriate for use in child-directed 
services. Additionally, apps that solely target children must not contain any 
SDKs that are not approved for use in child-directed services, including ads 
SDKs. Apps in the Designed for Families program must only use ad SDKs that have 
certified their compliance with the Families Ads Program 
.
—


Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.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


Re: Google Play SDK problem

2020-07-30 Thread scott--- via use-livecode
Thank you for your thoughts. I don’t think the ad checkbox would have been 
checked. (It isn’t checked now and since I was only vaguely aware of its 
existence, it seems unlikely I would have checked - and then unchecked it - 
accidentally.

When opening the android apk with BBEdit, I found the text below (ad checkbox 
not ticked and builds from both LC 9.6.0 and 9.6.1 (rc1) contained this 
string.)  I am not knowledgeable enough to know if this really has anything to 
do with the advertising SDK.The new "Families Policy Requirements” has a 
list of allowed ad SDKs (when targeting an app for children) so it may be that 
Google Play is now implementing an automated check for ad references and that 
something that normally got through is now triggering this alert. Does that 
sound possible? Not sure whether to submit again to Google Play or create a bug 
report.

——
+$SWITCH_TABLE$android$net$NetworkInfo$StateA$SWITCH_TABLE$com$inneractive$api$ads$InneractiveAdView$ViewState4$SwitchMap$com$amazon$inapp$purchasing$Item$ItemTypeG$SwitchMap$com$amazon$inapp$purchasing$KiwiResponseHandler$ResponseTypeM$SwitchMap$com$amazon$inapp$purchasing$PurchaseResponse$PurchaseRequestStatus[$SwitchMap$com$amazon$inapp$purchasing$PurchaseUpdatesResponse$PurchaseUpdatesRequestStatus$VALUES$assertionsDisabled
%d,%d,%d,%d%s < %d%s < %d AND NOT %s%s = 
%d&a=&cid=&eid=&g=&h=&hid=&k=&lg=&mn=&nt=3G&nt=WIFI&osudi=&po=&t=&v=&w='
 AND ' can't be consumed.',(A(%s, requestId: "%s", 
getUserIdRequestStatus: "%s", userId: "%s")U(%s, requestId: "%s", 
itemDataRequestStatus: "%s", unavailableSkus: %s, itemData: %s)M(%s, 
requestId: "%s", purchaseRequestStatus: "%s", userId: "%s", receipt: %s)Ç(%s, 
requestId: "%s", purchaseUpdatesRequestStatus: "%s", userId: "%s", receipts: 
%s, revokedSkus: %s, offset: "%s", isMore: "%b")L(%s, sku: "%s", itemType: 
"%s", subscriptionPeriod: %s, purchaseToken: "%s")`(%s, sku: "%s", price: 
"%s", itemType: "%s", title: "%s", description: "%s", smallIconUrl: "%s")$(%s, 
startDate: "%s", endDate: 
"%s")()()VD(?i)((?:http|https|file):\/\/|(?:inline|data|about|javascript):)(.*)(TTleft;TTright;)V(Z
   (decimal))") because another async operation() is in 
progress.):): IAB helper is not set up.)I)V)Z* Error: 
*.*/*,, 
, height: 
, item type: , purchase: 
, result: , since you don't own it!  , token: , type is : , 
width: , y: --1. . No token.. Request code: . Response: .0.3
.AppReceiver.fileprovider/share.jpg
.mblandroid//*/I/android_asset0002¥0:OK/-1001:Remote exception 
during initialization/-1002:Bad response received/-1003:Purchase signature 
verification failed/-1004:Send intent failed/-1005:User cancelled/-1006:Unknown 
purchase response/-1007:Missing token/-1008:Unknown error/-1009:Subscriptions 
not available/-1010:Invalid consumption attemptá0:OK/1:User 
Canceled/2:Unknown/3:Billing Unavailable/4:Item unavailable/5:Developer 
Error/6:Error/7:Item Already Owned/8:Item not owned
——

—
Scott Morrow
Elementary Software

> On Jul 30, 2020, at 11:20 AM, JeeJeeStudio via use-livecode 
>  wrote:
> 
> Yes, that was what i was thinking too. Else it would not get into the 
> standalone.
> 
> Op 30-7-2020 om 19:18 schreef J. Landman Gay via use-livecode:
>> I've never seen that. Did you accidentally tick the ads checkbox in 
>> standalone settings?
>> 
>> -- 
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> On July 30, 2020 12:29:00 AM scott--- via use-livecode 
>>  wrote:
>> 
>>> I have an app (Windows, Mac, iOS and Android… thank you LC!) that is aimed 
>>> at children. It does not contain advertising. I recently submitted an 
>>> update to Google Play and although it was accepted into the store a few 
>>> weeks ago, today I received the notice below. I am suspicious that this is 
>>> not currently addressed by LC. Has anyone else encountered this and if so 
>>> how was it solved?
>>> 
>>> —
>>> — from Google Play—
>>> —
>>> Hi Developers at Elementary Software,After a recent review, we found 
>>> that your app Terrific Triangle (com.elementarysoftware.terrifictriangle) 
>>> is not compliant with one or more of our Developer Program Policies. Please 
>>> resolve 

Re: Google Play SDK problem

2020-07-30 Thread scott--- via use-livecode
Thanks for the advice, Jerry.
—
Scott

> On Jul 30, 2020, at 10:32 PM, JeeJeeStudio via use-livecode 
>  wrote:
> 
> Well 2 things:
> 
> 1. Since LC is no longer supporting ads, with which one might earn an extra
> dime, they could better remove it. Maybe via lcb and an injection in the
> manifest something is possible and one could choose it's own preferable ads
> provider.
> 
> 2. You can reply to the email from Google and then you will get an answer
> which gives you a clue or leaves you with more questions.
> 
> Ok 3 things.
> 3. I had it once too, first my app was allowed for the family, and later
> after an update it was no longer. And i got tired of it so i canceled the
> lower ages and for family. And it was a simple app just telling the time an
> date updated with speech. No data was pulled, no ads, no internet needed.
> 
> Kind regards,
> Jerry
> 
> Op vr 31 jul. 2020 00:21 schreef scott--- via use-livecode <
> use-livecode@lists.runrev.com>:
> 
>> Thank you for your thoughts. I don’t think the ad checkbox would have been
>> checked. (It isn’t checked now and since I was only vaguely aware of its
>> existence, it seems unlikely I would have checked - and then unchecked it -
>> accidentally.
>> 
>> When opening the android apk with BBEdit, I found the text below (ad
>> checkbox not ticked and builds from both LC 9.6.0 and 9.6.1 (rc1) contained
>> this string.)  I am not knowledgeable enough to know if this really has
>> anything to do with the advertising SDK.The new "Families Policy
>> Requirements” has a list of allowed ad SDKs (when targeting an app for
>> children) so it may be that Google Play is now implementing an automated
>> check for ad references and that something that normally got through is now
>> triggering this alert. Does that sound possible? Not sure whether to submit
>> again to Google Play or create a bug report.
>> 
>> ——
>> +$SWITCH_TABLE$android$net$NetworkInfo$State
>> A$SWITCH_TABLE$com$inneractive$api$ads$InneractiveAdView$ViewState
>> 4$SwitchMap$com$amazon$inapp$purchasing$Item$ItemType
>> G$SwitchMap$com$amazon$inapp$purchasing$KiwiResponseHandler$ResponseType
>> M$SwitchMap$com$amazon$inapp$purchasing$PurchaseResponse$PurchaseRequestStatus
>> [$SwitchMap$com$amazon$inapp$purchasing$PurchaseUpdatesResponse$PurchaseUpdatesRequestStatus
>> $VALUES  $assertionsDisabled  %d,%d,%d,%d  %s < %d  %s < %d AND NOT %s  %s
>> = %d  &a=  &cid=  &eid=  &g=  &h=  &hid=  &k=  &lg=  &mn=  &nt=3G
>> &nt=WIFI  &osudi=  &po=  &t=  &v=  &w=  ' AND   ' can't be consumed.  ',  (
>> A(%s, requestId: "%s", getUserIdRequestStatus: "%s", userId: "%s") U(%s,
>> requestId: "%s", itemDataRequestStatus: "%s", unavailableSkus: %s,
>> itemData: %s) M(%s, requestId: "%s", purchaseRequestStatus: "%s", userId:
>> "%s", receipt: %s) Ç (%s, requestId: "%s", purchaseUpdatesRequestStatus:
>> "%s", userId: "%s", receipts: %s, revokedSkus: %s, offset: "%s", isMore:
>> "%b") L(%s, sku: "%s", itemType: "%s", subscriptionPeriod: %s,
>> purchaseToken: "%s") `(%s, sku: "%s", price: "%s", itemType: "%s", title:
>> "%s", description: "%s", smallIconUrl: "%s") $(%s, startDate: "%s",
>> endDate: "%s")  ()  ()V
>> D(?i)((?:http|https|file):\/\/|(?:inline|data|about|javascript):)(.*)
>> (TTleft;TTright;)V  (Z(decimal)  ) ") because another async
>> operation(  ) is in progress.  ):  ): IAB helper is not set up.  )I  )V
>> )Z  *  Error:   *.  */*  ,  ,
>> , height:
>> , item type:  , purchase:
>> , result:   , since you don't own it!   , token:  , type is :   , width:
>> , y:   -  -1  .   . No token.  . Request code:  . Response:   .0  .3
>> .AppReceiver  .fileprovider/share  .jpg  .mblandroid  /  /*  /I
>> /android_asset  00  02 ¥ 0:OK/-1001:Remote exception during
>> initialization/-1002:Bad response received/-1003:Purchase signature
>> verification failed/-1004:Send intent failed/-1005:User
>> cancelled/-1006:Unknown purchase response/-1007:Missing token/-1008:Unknown
>> error/-1009:Subscriptions not available/-1010:Invalid consumption attempt á
>> 0:OK/1:User Canceled/2:Unknown/3:Billing Unavailable/4:Item
>> unavailable/5:Developer Error/6:Error/7:Item Already Owned/8:Item not owned
>> ——
>> 
>> —
>> Scott Morrow
>&

Re: Google Play SDK problem

2020-07-31 Thread scott--- via use-livecode
Awesome news!

—
Scott Morrow
Elementary Software

> On Jul 31, 2020, at 9:06 AM, Mark Waddingham via use-livecode 
>  wrote:
> 
> On 2020-07-31 16:25, Mark Wieder via use-livecode wrote:
>> On 7/30/20 10:32 PM, JeeJeeStudio via use-livecode wrote:
>> Looks like the fix is on the way for 9.6.1. Quick response from the team.
>> https://github.com/livecode/livecode/pull/7412
> 
> Yes - sorry - I meant to either post (or get someone to post) that we think we
> found the culprit. There was still some Inneractive SDK related stuff being
> included in the commercial Android engine's Java class bundle.
> 
> All being well 9.6.1-rc-2 will appear early next week, and should hopefully
> solve the submission issue occurring here.
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: iOS Profiles not seen by LC - what to do?

2020-08-01 Thread scott--- via use-livecode
Hello Graham,
Have you pointed LiveCode at your copy of Xcode?  (Livecode -> Preferences -> 
Mobile Support )
—
Scott Morrow

> On Aug 1, 2020, at 11:04 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> I’m coming back to iOS development after quite a long time and I’m using a 
> different Mac to the one I started with. I’m using LC 9.6.0 on MacOS Catalina 
> 10.15.6. When I try to configure my app’s Standalone Settings for iOS, LC 
> sees my internal app ID but it doesn’t see the associated profiles, even 
> though they are present in my KeyChain Access data.
> 
> How can I tell LC to ‘see’ the profiles? Without this I can’t build a 
> standalone at all. I don’t remember this problem occurring on my other Mac - 
> but I don’t have access to that one at the moment.
> 
> Thanks for any insight into this.
> 
> 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: Odd Files in an Android apk

2020-08-04 Thread scott--- via use-livecode
Hmm… I saw a reduction of a few MB (which was nice!) but nothing like what you 
got.
—
Scott Morrow

> On Aug 4, 2020, at 3:42 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Wow. I just built an update to an Android app with LC 9.6.1rc2 and the size 
> went from 47MB to 21MB.
> 
> Nice.
> 
> On 8/2/20 11:51 PM, panagiotis merakos via use-livecode wrote:
>> Hello Dan,
>> This bug was fixed for 9.6.0, but (accidentally) it did not make it into
>> 9.6.1 rc-1.
>> It will be fixed in 9.6.1 RC-2.
>> You can apply the fix locally, until RC-2 is released:
>> https://github.com/livecode/livecode/pull/7413/files
>> Kind regards,
>> Panos
> 
> 
> -- 
> 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: Has anyone created a specialised mobile keyboard?

2020-08-05 Thread scott--- via use-livecode
Hello Graham,

I agree that using a built in native keyboard is the best solution… if it does 
what you need. I have an app where the native keyboard (numeric keypad in this 
case) presented enough distractions of its own that I ended up rolling my own 
in a later version of the app. For my particular case, this appears to be good 
solution. Don’t get me wrong, native keyboard is certainly the preferred 
method, but if you really do need something non-standard, rolling your own 
might still be reasonable.
—
Scott Morrow

> On Aug 5, 2020, at 8:18 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> Thanks to all who replied: Jacque has rightly put me off trying to write a 
> true native keyboard. I can (as I said at the beginning) roll my own, but I 
> also see Richard’s point about the familiarity and sophistication of the 
> native keyboards. I think on reflection I’ll just go for the numeric one and 
> make up any deficiency of symbols either by simply telling my user to use 
> certain characters as substitutes for the real thing, or by providing extra 
> buttons for the extra symbols. I will experiment.
> 
> Graham
> 
>> On 5 Aug 2020, at 01:27, Richard Gaskin via use-livecode 
>>  wrote:
>> 
>> I would encourage you to consider very carefully the standard keyboard 
>> layouts provided by the OS before embarking on a custom one.
>> 
>> It's not only a lot of work to make a keyboard, but the common ones are very 
>> good, with Swype-like behavior, word prediction, and other things that can 
>> be cost-prohibitive for a solo dev to implement.
>> 
>> Users are *very* accustomed to standard input controls. Deviating from those 
>> may be useful in unusual designs, but given the high value of consistency 
>> for common tasks like text entry you'll want to weigh the pros and cons 
>> carefully before deciding your use-case is too far outside of those 
>> supported by the OS.
>> 
>> -- 
>> Richard Gaskin
>> Fourth World Systems
>> 
>> 
>> Graham Samuel wrote:
>>> What I want to do is to design my own keyboard with numerals and a
>>> few additional special symbols, but I don’t know if it’s possible
>>> to do in native mode, as it were.
>>> 
>>> Graham
>>> 
>>> Sent from my iPhone
>>> 
 On 4 Aug 2020, at 14:41, JeeJeeStudio via use-livecode >>> lists.runrev.com> wrote:
 
 You can set which keyboard you want, like email, numeric
 
 it's in the dictionary, search on mobile keyboard
 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Layers in PBrowser

2020-08-12 Thread scott--- via use-livecode
When I need to move something between nested groups I often (after making a 
backup) cut what I want to move and then edit the group I want to move it to so 
that I can paste into it.

I’m not suggesting this as something others should adopt, just pointing out 
that there seems to be a number of ways people deal with moving groups between 
nested groups. This seems to make it clear that someone who is new to Livecode 
would likely stumble when encountering this seemingly straightforward task.

—
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
--
> On Aug 12, 2020, at 5:04 PM, Sean Cole (Pi) via use-livecode 
>  wrote:
> 
> On Wed, 12 Aug 2020 at 22:16, J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> That's just how it works.
>> 
> 
> 
>   1. Except it doesn't work - even with refresh :
>   https://www.dropbox.com/s/cfv95iuatd4d4y5/AppOverFail2.mov?dl=0
>   2. How it works is wrong! Because it is DUMB and NOT how ALL other
>   software deals with layers. Bar none. Including LC's close competitors. It
>   should work EXACTLY like a file system or any other folder system. I've
>   coded this stuff for my own projects so why the heck is it so hard for
>   those writing the engine? I don't do C and that's where the layering system
>   is going wrong.
>   3. Assuming it did 'work', if the last item is a group with ctrls and I
>   drag below or used the next layer number below it will ALWAYS put it INTO
>   the group.
> 
> It's wrong and it's just wasting my time, again, that I don't have with a
> tv broadcast deadline of Friday.
> 
> You've obviously got so used to HAVING to work around these things you
> forget how they SHOULD work. Not just in my opinion but by general
> expectation from the norm outside of LC.
> 
> What are LC doing with our subscription and donation money? Looking at the
> pull requests on github, not much! I fear the very worst!
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Mouse messages in scrollers

2020-09-15 Thread scott--- via use-livecode
on mobile (just iOS at the moment) I’m trying to not only register a horizontal 
swipe in a UIScroller but to calculate the line in the field under the scroller 
so that I can perform a delete action. I can get the swipe but… while these 
calculations seem to work fairly well in the IDE, not so much in the simulator. 
 both the mouseH and the mouseLoc report a value but when I check it during 
scrollerDidScroll the X value is always 0 and the Y value is always the bottom 
of the screen… which of course is not particularly helpful. Am I doing 
something wrong or is this just not available when a scroller is under the 
“mouse”? Setting delayTouches and canCancelTouches to false doesn’t appear to 
change anything. 

—
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1 360 734 4701


> On May 21, 2020, at 1:22 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> It was "delayTouches" mostly. Default is true, I had to set it to false. I 
> also set canCancelTouches to false but didn't test how necessary that was. 
> Default for that is also true.
> 
> This allowed messages to pass through to LC, but you had to very deliberately 
> swipe, holding down a moment so the mouseDown would fire. Brian Milby came up 
> with a faster solution using something like Jim MacConnell's suggestion -- 
> make the contentRect wider than the group so that a horizontal swipe triggers 
> scrollerDidScroll. Lock direction to vertical to prevent wiggle. That proved 
> to be a the solution for a more natural swipe.
> 
> You have to branch for Android because it doesn't have a lockDirection 
> property; for that OS keep the contentRect the same width as the group. Mouse 
> messages pass through to LC automatically, which is good because the above 
> two settings don't exist on Android.
> 
> Swiping is such a normal behavior on mobile, I'd like to see an easier method 
> in LC to accomodate all this.
> 
> 
> On 5/19/20 8:00 PM, scott--- via use-livecode wrote:
>> You have probably already looked at these but here are (some of) the 
>> scroller settings I use for the below-mentioned field:
>> 
>> mobileControlSet sScrollerId, "pagingEnabled", "false"
>> mobileControlSet sScrollerId, "decelerationRate", "normal" -- fast --iOS only
>> mobileControlSet sScrollerId, "canScrollToTop", "true"
>> mobileControlSet sScrollerId, "delayTouches", "false"
>> mobileControlSet sScrollerId, "canCancelTouches", “true"
> 
> 
> -- 
> 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


Re: Mouse messages in scrollers

2020-09-20 Thread scott--- via use-livecode
Unfortunately, I did not make any further progress on this one. Stumped.

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--

> On Sep 20, 2020, at 1:17 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Scott, did you ever figure this out? When are you capturing the mouse 
> locations? If I remember right, they are accurate if you store them on 
> mouseDown.
> 
> I meant to reply sooner but the email got lost in a barrage for a while.
> 
> 
> On 9/15/20 8:30 PM, scott--- via use-livecode wrote:
>> on mobile (just iOS at the moment) I’m trying to not only register a 
>> horizontal swipe in a UIScroller but to calculate the line in the field 
>> under the scroller so that I can perform a delete action. I can get the 
>> swipe but… while these calculations seem to work fairly well in the IDE, not 
>> so much in the simulator.  both the mouseH and the mouseLoc report a value 
>> but when I check it during scrollerDidScroll the X value is always 0 and the 
>> Y value is always the bottom of the screen… which of course is not 
>> particularly helpful. Am I doing something wrong or is this just not 
>> available when a scroller is under the “mouse”? Setting delayTouches and 
>> canCancelTouches to false doesn’t appear to change anything.
> 
> 
> -- 
> 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


formattedHeight formattedWidth on android

2020-09-20 Thread scott--- via use-livecode
I’ve recently run into what feels like a bug with formattedWidth and 
formattedHeight of a field in android. I’m attempting to maximize (without 
clipping) the textSize of a string in a fixed-size field. I have code that 
works reliably in the IDE and on iOS but not on android. My use case seems to 
be solvable by first calculating  the amount it is likely to be off and then 
factoring that in. It seems that there might be some related issues in Bugzilla 
but I didn’t find anything exactly the same. I’m somewhat new to Android so I 
always wonder if my stumbles are known limitations that I just can’t find the 
documentation for.

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.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


Re: Mouse messages in scrollers

2020-09-20 Thread scott--- via use-livecode
Ack! I replied without fully grokking what you wrote.  I will revisit this and 
look at storing them on mouseDown. Thank you!
—
Scott

> On Sep 20, 2020, at 7:00 PM, scott--- via use-livecode 
>  wrote:
> 
> Unfortunately, I did not make any further progress on this one. Stumped.
> 
> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-360-734-4701
> --
> 
>> On Sep 20, 2020, at 1:17 PM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> Scott, did you ever figure this out? When are you capturing the mouse 
>> locations? If I remember right, they are accurate if you store them on 
>> mouseDown.
>> 
>> I meant to reply sooner but the email got lost in a barrage for a while.
>> 
>> 
>> On 9/15/20 8:30 PM, scott--- via use-livecode wrote:
>>> on mobile (just iOS at the moment) I’m trying to not only register a 
>>> horizontal swipe in a UIScroller but to calculate the line in the field 
>>> under the scroller so that I can perform a delete action. I can get the 
>>> swipe but… while these calculations seem to work fairly well in the IDE, 
>>> not so much in the simulator.  both the mouseH and the mouseLoc report a 
>>> value but when I check it during scrollerDidScroll the X value is always 0 
>>> and the Y value is always the bottom of the screen… which of course is not 
>>> particularly helpful. Am I doing something wrong or is this just not 
>>> available when a scroller is under the “mouse”? Setting delayTouches and 
>>> canCancelTouches to false doesn’t appear to change anything.
>> 
>> 
>> -- 
>> 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: formattedHeight formattedWidth on android

2020-09-21 Thread scott--- via use-livecode
Hmm… Well now I can’t reproduce the issue that consumed a fair number of hours 
yesterday. Which, (with the exception of lost hours) is a very good thing.
—
Scott Morrow

> On Sep 20, 2020, at 7:11 PM, scott--- via use-livecode 
>  wrote:
> 
> I’ve recently run into what feels like a bug with formattedWidth and 
> formattedHeight of a field in android. I’m attempting to maximize (without 
> clipping) the textSize of a string in a fixed-size field. I have code that 
> works reliably in the IDE and on iOS but not on android. My use case seems to 
> be solvable by first calculating  the amount it is likely to be off and then 
> factoring that in. It seems that there might be some related issues in 
> Bugzilla but I didn’t find anything exactly the same. I’m somewhat new to 
> Android so I always wonder if my stumbles are known limitations that I just 
> can’t find the documentation for.
> 
> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.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: Converting from unicode to ASCII

2020-09-23 Thread scott--- via use-livecode
What about just converting to UTF8. Wouldn’t that coerce it into ASCII?
—
Scott Morrow
Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com

> On Sep 22, 2020, at 3:48 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I have a stack with an index. When a user clicks a line, a handler uses the 
> clicktext to create a file name which is always the clicktext plus the 
> ".livecode" extension. The stack is then downloaded from an AWS server and 
> displayed.
> 
> We are now translating some stacks to other languages which require unicode 
> text. AWS recommends not using accented characters in file names, so we need 
> to translate the clicktext into plain ASCII.
> 
> Is there a good way to do that without using a lookup table or metadata? The 
> file names doesn't need to make sense syntactically. For example,
> 
>   l’Académie française -> lAcademiefrancaise.livecode
> 
> ...or similar, whatever works. The user will never see the file name.
> 
> -- 
> 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


included inclusions

2020-09-25 Thread scott--- via use-livecode
If I have an inclusion selected in the standalone builder that only targets one 
operating system… and then build for an OS that can't use that inclusion, is 
the inclusion left out of the build or might it just be taking up space. Or 
does it depend on the specific inclusion as to how this is handled?

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--








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


Android Status Bar

2020-10-12 Thread scott--- via use-livecode
I seem able to hide or show the Android status bar using the radio button in 
the Standalone Application Settings. I don’t seem able to to this on the fly 
using  mobileHideStatusBar  or  mobileShowStatusBar once the app is running.
  
 Dictionary:
"mobileHideStatusBar does not have any effect 
 on any Android devices with "hardware buttons” 
 embedded in the status bar.

I don’t think what I’m testing has these buttons in the status bar, though I’m 
new to android, so I could be confused.  Even so, the fact that I can hide or 
show the Android status bar from the Standalone Application Settings seems to 
indicate that it should be possible…

I didn’t see anything in bugzilla. Has anyone else run into this?
--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--








___
use-livecode mailing list
use-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: Android Status Bar

2020-10-12 Thread scott--- via use-livecode
Thanks Jacque. Then that IS pretty confusing since the Standalone Application 
Settings have a “Status Bar” setting and it appears to control the bar at the 
top of the screen which is what I would expect to match up with the Status Bar 
on iOS. I guess that will require a feature request… and maybe a documentation 
adjustment.
--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--

> On Oct 12, 2020, at 4:20 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I think "status bar" may be a misnomer and it's referring to the three (or 
> two on Android 10) buttons that are always available at the bottom of the 
> screen. Those are the Back, Home, and (sometimes) the Recents buttons. 
> Virtually all Android devices use these "soft buttons" now.
> 
> I could be wrong but I've never seen those buttons at the top of the screen 
> in the status bar area.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On October 12, 2020 3:11:18 PM scott--- via use-livecode 
>  wrote:
> 
>> I seem able to hide or show the Android status bar using the radio button in 
>> the Standalone Application Settings. I don’t seem able to to this on the fly 
>> using  mobileHideStatusBar  or  mobileShowStatusBar once the app is running.
>> 
>> Dictionary:
>>   "mobileHideStatusBar does not have any effect
>>on any Android devices with "hardware buttons”
>>embedded in the status bar.
>> 
>> I don’t think what I’m testing has these buttons in the status bar, though 
>> I’m new to android, so I could be confused.  Even so, the fact that I can 
>> hide or show the Android status bar from the Standalone Application Settings 
>> seems to indicate that it should be possible…
>> 
>> I didn’t see anything in bugzilla. Has anyone else run into this?
>> --
>> Scott Morrow
>> 
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-360-734-4701
>> --

___
use-livecode mailing list
use-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: Android Status Bar

2020-10-12 Thread scott--- via use-livecode
I decided to make a simple test stack… which I should have done before my 
initial post. In my experimentation, if the Standalone Application Settings are 
used to hide the Status Bar then the command  “mobileShowStatusBar" will have 
have no effect when used later in the running app.   If the Standalone 
Application Settings are used to show the Status Bar then “mobileHideStatusBar" 
only hides the icons in the bar (well, most of them) but not the actual bar 
itself. While this has a certain logic, it is quite different than the way it 
works on an iPhone. On iOS the actual bar is hidden thereby making that space 
available to the application. This can be useful when rotating to landscape. In 
my case I am working to adapt an existing iOS app and I was confused as to why 
mobileHideStatusBar wasn’t freeing up space when rotating to landscape. 

(Brian, I looked through the SivaSiva app and couldn’t find any screens with a 
Status Bar showing though the app is huge and admittedly I did not examine 
every screen :- )
—
Scott Morrow

> On Oct 12, 2020, at 6:51 PM, Brian Milby via use-livecode 
>  wrote:
> 
> Hmmm...
> 
> SivaSiva shows/hides the status bar.  Checking the launcher app settings, it 
> does have the status bar set to hidden.  So based on that, just use the 
> hidden option and show the status bar as required while inside the app.
> 
> Sent from my iPad
> 
>> On Oct 12, 2020, at 9:19 PM, scott--- via use-livecode 
>>  wrote:
>> 
>> Thanks Jacque. Then that IS pretty confusing since the Standalone 
>> Application Settings have a “Status Bar” setting and it appears to control 
>> the bar at the top of the screen which is what I would expect to match up 
>> with the Status Bar on iOS. I guess that will require a feature request… and 
>> maybe a documentation adjustment.
>> --
>> Scott Morrow
>> 
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-360-734-4701
>> --
>> 
>>> On Oct 12, 2020, at 4:20 PM, J. Landman Gay via use-livecode 
>>>  wrote:
>>> 
>>> I think "status bar" may be a misnomer and it's referring to the three (or 
>>> two on Android 10) buttons that are always available at the bottom of the 
>>> screen. Those are the Back, Home, and (sometimes) the Recents buttons. 
>>> Virtually all Android devices use these "soft buttons" now.
>>> 
>>> I could be wrong but I've never seen those buttons at the top of the screen 
>>> in the status bar area.
>>> 
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software | http://www.hyperactivesw.com
>>>> On October 12, 2020 3:11:18 PM scott--- via use-livecode 
>>>>  wrote:
>>>> 
>>>> I seem able to hide or show the Android status bar using the radio button 
>>>> in the Standalone Application Settings. I don’t seem able to to this on 
>>>> the fly using  mobileHideStatusBar  or  mobileShowStatusBar once the app 
>>>> is running.
>>>> 
>>>> Dictionary:
>>>> "mobileHideStatusBar does not have any effect
>>>>  on any Android devices with "hardware buttons”
>>>>  embedded in the status bar.
>>>> 
>>>> I don’t think what I’m testing has these buttons in the status bar, though 
>>>> I’m new to android, so I could be confused.  Even so, the fact that I can 
>>>> hide or show the Android status bar from the Standalone Application 
>>>> Settings seems to indicate that it should be possible…
>>>> 
>>>> I didn’t see anything in bugzilla. Has anyone else run into this?
>>>> --
>>>> Scott Morrow
>>>> 
>>>> Elementary Software
>>>> (Now with 20% less chalk dust!)
>>>> web   https://elementarysoftware.com/
>>>> email sc...@elementarysoftware.com
>>>> booth1-360-734-4701
>>>> --
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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 Emoji keyboard does not print to PDF?!

2020-10-25 Thread scott--- via use-livecode
I think that emojis not rendering to PDF has been a longstanding issue… and I 
thought that I had filed a bug report on this but looking at bugzilla, I failed 
to find it. (sigh). I have code in two of my apps that alert the user, should 
PDF creation fail, that they should remove emojis from their text.  I have on 
my to-do list a workaround project that would use imageSource to substitute for 
known emoji codes. So, while none of this is of any help, I feel your pain :- )

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--

> On Oct 25, 2020, at 2:34 PM, William de Smet via use-livecode 
>  wrote:
> 
> Hi Richmond,
> 
> That’s the short version of the code.
> Like I said it works fine as long as it is text only. When an Emoji from the 
> iOS keyboard is added the Emoji is not printed in the PDF. 
> 
> 
> 
> 
> 
> 
>> Op 25 okt. 2020 om 21:13 heeft Richmond via use-livecode 
>>  het volgende geschreven:
>> 
>> " 'export snapshot' to PDF as PNG" sounds a bit odd.
>> 
>>> On 25.10.20 21:47, William de Smet via use-livecode wrote:
>>> Hi there,
>>> 
>>> A simple iOS app in which the user chooses the iOS keyboard to add text and
>>> an Emoji to a standard LC text field.
>>> I use 'export snapshot' to PDF as PNG to print to PDF.
>>> When there is only text in the field all text is printed to the PDF but
>>> when an Emoji is added the Emoji is not printed to the PDF.
>>> Am I missing something?
>>> Do I need to add some code?
>>> 
>>> iOS 13
>>> LC 9,6,1 Indy
>>> 
>>> 
>>> greetings,
>>> 
>>> William
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: How to divide card with/in 3 vertical lines?

2020-10-28 Thread scott--- via use-livecode
When you say "almost perfect but not quite” what exactly are you meaning?

—Scott

> On Oct 28, 2020, at 11:04 AM, William de Smet via use-livecode 
>  wrote:
> 
> Hi there,
> 
> I need 3 vertical lines in my iOS app with equal distance and from top to
> bottom.
> So I use the script below. It is almost perfect but not quite.
> Is there a better way to do this?
> --
> *s*et the loc of grc "line1" to cardWidth/4, cardHeight/2
> set the loc of grc "line2" to cardWidth/2, cardHeight/2
> set the loc of grc "line3" to cardWidth/1.33, cardHeight/2
> 
> set the height of grc "line1" to cardHeight
> set the height of grc "line2" to cardHeight
> set the height of grc "line3" to cardHeight
> --
> 
> greetings,
> 
> William
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Updated NotarizeHelperStack now with entitlements support

2020-11-02 Thread scott--- via use-livecode
Awesome. That stack is SO helpful! Thank you.
--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--

> On Nov 2, 2020, at 8:37 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hi,
> 
> just a quick note that i've upgraded the NotarizeHelperStack in the Livecode 
> lesson
> https://lessons.livecode.com/m/4071/l/1122100-codesigning-and-notarizing-your-lc-standalone-for-distribution-outside-the-mac-appstore
> 
> The stack now allows to add entitlements for code signing an app.
> And i added Xcode 11 support for fetching the ASC provider.
> 
> Hope this is of any help for the one or other.
> 
> 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


Re: Plotting Equations that Bifurcate

2020-11-04 Thread scott--- via use-livecode
I assume the expanded version will be called SedanDeGraph.
—
Scott

> On Nov 4, 2020, at 10:09 AM, Roger Guay via use-livecode 
>  wrote:
> 
> Hi Alex,
> 
> Thanks for your continued interest in my little project. I have succeeded in 
> implementing a multiple polygon approach, but it ain’t elegant as they say!
> 
> I seem to recall that I learned a lot from your GraphMaker some time ago, but 
> as I try to review your latest on your website, I run into repeated errors 
> about “can’t find handler gmSetCustomMarker”. I can’t seem to make any 
> headway to resolve this. Am I supposed to do something with the “Library”? I 
> could not find instructions anywhere. 
> 
> Meanwhile, I should explain further that I am trying to expand on a stack 
> that I built 2 or 3 years ago called CoupDeGraph which you can find in the 
> Example Stacks of LiveCode. Put simply, I am currently trying to expand on 
> CoupDeGraph to be able to handle double-valued equations.
> 
> Again, thanks for your help
> 
> Roger
> 
>> On Nov 3, 2020, at 4:48 PM, Alex Tweedly via use-livecode 
>>  wrote:
>> 
>> On 31/10/2020 02:28, Roger Guay via use-livecode wrote:
>> 
>>> Lots of clever ideas here, Alex, but I think you’re missing the point of 
>>> what I ultimately want to do. I'm building a plotting program for which I 
>>> want to plot any equation including those that have multiple values of y 
>>> for a given x. An equation might branch at any point and might even have 
>>> multiple branches both of which are unknown before plotting.
>>> 
>>> Of course, there’s always the possibility that I’m not fully comprehending 
>>> your suggestions??? What does NB stand for? Are you suggesting creating a 
>>> new polygon every time a branch is detected? That just might work?!
>> 
>> Hi Roger. You're right - I missed the point; I jumped to the assumption that 
>> you were asking about a fairly small, specific issue - so leapt too quickly 
>> to a code sample. But before I address the general question(s), let me get 
>> the little points out of the way :-)
>> 
>> NB - sorry, kind of common usage in British English. Actually, it's from a 
>> Latin phrase - "Nota Bene" - meaning "note well". So basically just 'take 
>> note of'.
>> 
>> "a new polygon every branch" - yes, perfectly possible. Also possible is 
>> what I did in the first case of the code sample -  a new 'sequence of 
>> points' for each branch, and then stitch those together (with blank lines 
>> between) into a single polygon; but that's, for now, a detail.
>> 
>> The essence of the problem is that your app will (somehow) develop a number 
>> of 'sequences of *data* points' - and then those need to be translated into 
>> equivalent sets of *display* points (by either a plotting library, or by 
>> your own code) to allow it to be displayed appropriately.
>> 
>> There are at least two possible plotting libraries that might do what you 
>> want (or do something close enough that they could be useful). By 
>> coincidence, they were both discussed at the San Jose LC conference in 
>> 2019.If you have access to the video / papers from that you might already 
>> have some of the info you need; I don't know if the conference papers are 
>> ever put out for more general usage later.
>> 
>> Option A. Monte described a wrapper for the JSPlot library. It's a very 
>> powerful library capable of many kinds of graphs / plots, and very quick and 
>> capable. The most obvious downside is that it needs to be used within a 
>> browser widget - but well worth looking at it if you can.
>> 
>> Option B. I did a library called "GraphMaker" - a pure-Livecode plotting 
>> library. It is (I think) fairly easy to use - but that may not be the case 
>> for someone else coming to it new. I know it can handle this case of 
>> bifurcating plots (using multiple sequences of data points). The conference 
>> slides were a decent, if very brief, introduction; the lengthier 
>> documentation was, maybe, not quite complete. However, it does come with a 
>> demo app that uses the library to draw a variety of graph types. Main 
>> advantage is it's pure LC, and hopefully easy to use - both in understanding 
>> and in ease of integration into an app (you just create a suitable group to 
>> contain the graph, set its rect properly and pass in all the point data 
>> along with various parameters.  It has nowhere near the coverage of 
>> different graph types that JSPlot does - it's basically line, bar and 
>> scatter plots, with primary X-axis, and can have shading, etc.
>> 
>> Option C. Roll your own.
>> 
>> I'd certainly suggest investigating the use of an existing library first. 
>> There's quite a lot of effort needs to go into determining how to scale the 
>> data to the space available, how to label the axes, how to add tick marks, 
>> grid lines and (perhaps) multiple Y-axes. That stuff probably accounted for 
>> 90% of the effort of creating the library.
>> 
>> If you'd like to try out my library, the latest version 

Standardizing codepoints

2020-11-15 Thread scott--- via use-livecode
I’m a little over my head in this area so I may not be describing this quite 
right… 
Some unicode glyphs seem to be describable with different (arrangements of) 
codepoints.  Is it possible to coerce the glyph to be described in a “standard” 
way?

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--








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

2020-11-17 Thread scott--- via use-livecode
Thank you all for your advice.  Jacque, normalizeText() was what I had vaguely 
remembered but couldn’t find.

Richmond, I am working on a library that removes emojis from text and replaces 
them with imageSource... so that the text can be printed to PDF on mobile. You 
are correct about the “going blue in the face” bit. And I’m pretty sure what 
I’m doing is just one step up from nothing.

— Scott 

> On Nov 15, 2020, at 9:21 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> See the normalizeText entry in the dictionary, I think that might be what you 
> mean.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On November 15, 2020 4:17:14 AM scott--- via use-livecode 
>  wrote:
> 
>> I’m a little over my head in this area so I may not be describing this quite 
>> right…
>> Some unicode glyphs seem to be describable with different (arrangements of) 
>> codepoints.  Is it possible to coerce the glyph to be described in a 
>> “standard” way?
>> 
>> --
>> Scott Morrow
>> 
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-360-734-4701
>> --


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

2020-11-17 Thread scott--- via use-livecode
For getting it FROM the student, why not just use a livecode stack file. It 
could contain everything and be highly editable. For returning it TO the 
student you could use a pdf. 
--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--

> On Nov 17, 2020, at 11:18 AM, William Prothero via use-livecode 
>  wrote:
> 
> Richard,
> I kinda like the pdf idea. Seems it would give me a way to encapsulate and 
> format the text and images and perhaps a fairly defined pdf format would make 
> it straightforward to edit it using Livecode as well.
> Best,
> Bill
> 
> William A. Prothero
> https://earthlearningsolutions.org
> 
>> On Nov 17, 2020, at 10:10 AM, Richard Gaskin via use-livecode 
>>  wrote:
>> 
>> William Prothero wrote:
>> 
>>> It seems the effort to make this app work with learning management
>>> systems would be huge, something I’m definitely not up for.
>> 
>> It may not be.  I've made standards-compliant courseware in the past (a 
>> while ago; the data format was XML ), and it wasn't as bad as I'd 
>> thought.  With so much work on the modern standards I'd imagine they're far 
>> better documented and based on more common conventions than they were in 
>> yesteryear.
>> 
>> But maybe the key question is: are your customers asking for LMS 
>> interoperability specifically?
>> 
>> In some segments it can make the difference between being a contender and 
>> not being considered at all.
>> 
>> But I've seen many other segments that seem to have abandoned hope of a 
>> standards-driven world of interoperable courseware, quite happy to kludge 
>> together whatever they need to eventually arrive at a means of tracking 
>> assessment.
>> 
>> If no one's asking you for LMS compatibility, there would seem to need to 
>> bother.
>> 
>> If PDF suffices, it's certainly easy to do in LC.
>> 
>> -- 
>> 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


Re: iOS Emoji keyboard does not print to PDF?!

2020-11-25 Thread scott--- via use-livecode
I put together a library stack that removes emojis from a field and replaces 
them with an imageSource so that the field can print to pdf on mobile.  I 
wasn’t sure how to build a generalized solution that looked for emojis inside a 
range of codepoints so I settled for a brute-force solution. Hopefully bug 
22982 gets solved and this lib will become irrelevant. Feel free to use. (MIT 
license)

https://www.elementarysoftware.com/livecode/emojiswaplib.html

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--
> On Oct 26, 2020, at 2:13 AM, William de Smet via use-livecode 
>  wrote:
> 
> Thanks for answering Scott!
> Not a big issue for me at the moment.
> 
> Greetings,
> 
> William
> 
> 
> Op ma 26 okt. 2020 om 03:57 schreef scott--- via use-livecode <
> use-livecode@lists.runrev.com>:
> 
>> I think that emojis not rendering to PDF has been a longstanding issue…
>> and I thought that I had filed a bug report on this but looking at
>> bugzilla, I failed to find it. (sigh). I have code in two of my apps that
>> alert the user, should PDF creation fail, that they should remove emojis
>> from their text.  I have on my to-do list a workaround project that would
>> use imageSource to substitute for known emoji codes. So, while none of this
>> is of any help, I feel your pain :- )
>> 
>> --
>> Scott Morrow
>> 
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-360-734-4701
>> --
>> 
>>> On Oct 25, 2020, at 2:34 PM, William de Smet via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Hi Richmond,
>>> 
>>> That’s the short version of the code.
>>> Like I said it works fine as long as it is text only. When an Emoji from
>> the iOS keyboard is added the Emoji is not printed in the PDF.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> Op 25 okt. 2020 om 21:13 heeft Richmond via use-livecode <
>> use-livecode@lists.runrev.com> het volgende geschreven:
>>>> 
>>>> " 'export snapshot' to PDF as PNG" sounds a bit odd.
>>>> 
>>>>> On 25.10.20 21:47, William de Smet via use-livecode wrote:
>>>>> Hi there,
>>>>> 
>>>>> A simple iOS app in which the user chooses the iOS keyboard to add
>> text and
>>>>> an Emoji to a standard LC text field.
>>>>> I use 'export snapshot' to PDF as PNG to print to PDF.
>>>>> When there is only text in the field all text is printed to the PDF but
>>>>> when an Emoji is added the Emoji is not printed to the PDF.
>>>>> Am I missing something?
>>>>> Do I need to add some code?
>>>>> 
>>>>> iOS 13
>>>>> LC 9,6,1 Indy
>>>>> 
>>>>> 
>>>>> greetings,
>>>>> 
>>>>> William
>>>>> ___
>>>>> use-livecode mailing list
>>>>> use-livecode@lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-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: Some sad news

2020-12-04 Thread scott--- via use-livecode
Heather, thank you for making us aware of Hermann’s passing. I find his work 
amazing and so very inspiring. Your announcement helps make this a richer 
community.
—
Scott Morrow
Elementary Software

> On Dec 4, 2020, at 4:07 AM, Heather Laine via use-livecode 
>  wrote:
> 
> Dear List Folks,
> 
> I have today received some sad news. I am told that Hermann Hoch passed away 
> in April this year, from a stroke. I know many of you knew him either 
> remotely or having met him in person at a conference. He will be missed. I 
> met him myself and found him to be a wonderfully warm and kind person. He 
> could be volatile, but I always felt it was because he cared passionately 
> about things.
> 
> I will take what steps I can to preserve his legacy of HTML5 examples. As 
> these are hosted on an on-rev account we should be able to maintain it in 
> perpetuity for the benefit of the LiveCode Community. 
> 
> LiveCode HTML5 didn't always meet his expectations or progress as fast as he 
> wanted it to and I do wish he could have seen our next planned release, where 
> HTML5 support will be a focus. He was of great benefit to this community and 
> shared his expertise freely. 
> 
> I'm not sure what else I can say. Rest in peace hh, you will be missed :(
> 
> Heather
> 
> 
> Heather Laine
> Customer Services Manager
> LiveCode Ltd
> www.livecode.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


Android Keystore signing problem

2020-12-20 Thread scott--- via use-livecode
When trying to create an update for an app on Google Play I am getting this 
message when attempting to create the standalone .apk.

"There was an error while saving the standalone application
signing failed - Certificate chain not found for: . must reference a valid KeyStore key entry containing a private 
key and corresponding public key certifcate chain."

(Where  is actually my keystore alias.)

This is the same keystore file that I have used in the past. My understanding 
(and failed attempts) indicate that creating a new keystore file won’t work if 
I’m using it to update an existing app on the Play Store.
I’m quite inexperienced with android builds. Any suggestions would be most 
welcome as I’ve about run out of ideas (and Google search queries.)

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--








___
use-livecode mailing list
use-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: Android Keystore signing problem

2020-12-21 Thread scott--- via use-livecode
Thanks Ralph!


> On Dec 21, 2020, at 7:24 AM, Ralph DiMola via use-livecode 
>  wrote:
> 
> Scott.
> 
> I looked at the source of stack "revSaveAsAndroidStandalone" and it looks 
> like it failed at line 1067 or 1069 (9.6.1). As JLM said this appears that 
> the keystore your referencing does not hold the alias your entering. 
> Everything after "There was an error while saving the standalone application 
> signing failed-" is coming from the jar signer(but only word 4 to -1). You 
> can put in a breakpoint at 1065 and examine the full result of the shell to 
> jar signer.
> 
> 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 J. Landman Gay via use-livecode
> Sent: Sunday, December 20, 2020 11:18 PM
> To: How to use LiveCode
> Cc: J. Landman Gay
> Subject: Re: Android Keystore signing problem
> 
> If it was working before then it should still work now. Check the Android 
> settings and make sure that the path to the file is correct. The error sounds 
> like LC can't find it.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | 
> http://www.hyperactivesw.com On December 20, 2020 7:07:05 PM scott--- via 
> use-livecode  wrote:
> 
>> When trying to create an update for an app on Google Play I am getting 
>> this message when attempting to create the standalone .apk.
>> 
>> "There was an error while saving the standalone application
>> signing failed - Certificate chain not found for: .
>>  must reference a valid KeyStore key entry 
>> containing a private key and corresponding public key certifcate chain."
>> 
>> (Where  is actually my keystore alias.)
>> 
>> This is the same keystore file that I have used in the past. My 
>> understanding (and failed attempts) indicate that creating a new 
>> keystore file won’t work if I’m using it to update an existing app on the 
>> Play Store.
>> I’m quite inexperienced with android builds. Any suggestions would be 
>> most welcome as I’ve about run out of ideas (and Google search 
>> queries.)
>> 
>> --
>> Scott Morrow
>> 
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-360-734-4701
>> --
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Android Keystore signing problem

2020-12-21 Thread scott--- via use-livecode
Hello All,

I used edit the script of stack “revSaveAsAndroidStandalone”in the 
message box and  tried putting a breakpoint in at that spot (and several 
others) but it isn’t triggering.   This inside the handler:

private command revSaveAsMobileStandaloneMain

I’m not sure that I’ve ever done more than examine LC scripts. Is there 
something else I need to know in order to get the debugger to open on a 
breakpoint with them? (Script Debug Mode is checked :- )

I’ve restarted the computer and tried a couple different versions of Livecode… 
feeling even more clueless than usual.

— 
Scott

> On Dec 21, 2020, at 7:24 AM, Ralph DiMola via use-livecode 
>  wrote:
> 
> Scott.
> 
> I looked at the source of stack "revSaveAsAndroidStandalone" and it looks 
> like it failed at line 1067 or 1069 (9.6.1). As JLM said this appears that 
> the keystore your referencing does not hold the alias your entering. 
> Everything after "There was an error while saving the standalone application 
> signing failed-" is coming from the jar signer(but only word 4 to -1). You 
> can put in a breakpoint at 1065 and examine the full result of the shell to 
> jar signer.
> 
> 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 J. Landman Gay via use-livecode
> Sent: Sunday, December 20, 2020 11:18 PM
> To: How to use LiveCode
> Cc: J. Landman Gay
> Subject: Re: Android Keystore signing problem
> 
> If it was working before then it should still work now. Check the Android 
> settings and make sure that the path to the file is correct. The error sounds 
> like LC can't find it.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | 
> http://www.hyperactivesw.com On December 20, 2020 7:07:05 PM scott--- via 
> use-livecode  wrote:
> 
>> When trying to create an update for an app on Google Play I am getting 
>> this message when attempting to create the standalone .apk.
>> 
>> "There was an error while saving the standalone application
>> signing failed - Certificate chain not found for: .
>>  must reference a valid KeyStore key entry 
>> containing a private key and corresponding public key certifcate chain."
>> 
>> (Where  is actually my keystore alias.)
>> 
>> This is the same keystore file that I have used in the past. My 
>> understanding (and failed attempts) indicate that creating a new 
>> keystore file won’t work if I’m using it to update an existing app on the 
>> Play Store.
>> I’m quite inexperienced with android builds. Any suggestions would be 
>> most welcome as I’ve about run out of ideas (and Google search 
>> queries.)
>> 
>> --
>> Scott Morrow
>> 
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-360-734-4701
>> --
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Android Keystore signing problem

2020-12-22 Thread scott--- via use-livecode
Thank you, Panos.

—
Scott

> On Dec 21, 2020, at 11:38 PM, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hello Scott,
> 
> When adding breakpoints in IDE scripts, you also need to do (in the msg
> box):
> 
> put true into gRevDevelopment
> 
> otherwise breakpoints won't be respected.
> 
> Kind regards,
> Panos
> --
> 
> On Tue, 22 Dec 2020 at 02:20, scott--- via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hello All,
>> 
>> I used edit the script of stack “revSaveAsAndroidStandalone”in the
>> message box and  tried putting a breakpoint in at that spot (and several
>> others) but it isn’t triggering.   This inside the handler:
>> 
>> private command revSaveAsMobileStandaloneMain
>> 
>> I’m not sure that I’ve ever done more than examine LC scripts. Is there
>> something else I need to know in order to get the debugger to open on a
>> breakpoint with them? (Script Debug Mode is checked :- )
>> 
>> I’ve restarted the computer and tried a couple different versions of
>> Livecode… feeling even more clueless than usual.
>> 
>> —
>> Scott
>> 
>>> On Dec 21, 2020, at 7:24 AM, Ralph DiMola via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Scott.
>>> 
>>> I looked at the source of stack "revSaveAsAndroidStandalone" and it
>> looks like it failed at line 1067 or 1069 (9.6.1). As JLM said this appears
>> that the keystore your referencing does not hold the alias your entering.
>> Everything after "There was an error while saving the standalone
>> application signing failed-" is coming from the jar signer(but only word 4
>> to -1). You can put in a breakpoint at 1065 and examine the full result of
>> the shell to jar signer.
>>> 
>>> 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 J. Landman Gay via use-livecode
>>> Sent: Sunday, December 20, 2020 11:18 PM
>>> To: How to use LiveCode
>>> Cc: J. Landman Gay
>>> Subject: Re: Android Keystore signing problem
>>> 
>>> If it was working before then it should still work now. Check the
>> Android settings and make sure that the path to the file is correct. The
>> error sounds like LC can't find it.
>>> 
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software
>> | http://www.hyperactivesw.com On December 20, 2020 7:07:05 PM scott---
>> via use-livecode  wrote:
>>> 
>>>> When trying to create an update for an app on Google Play I am getting
>>>> this message when attempting to create the standalone .apk.
>>>> 
>>>> "There was an error while saving the standalone application
>>>> signing failed - Certificate chain not found for: .
>> 
>>>>  must reference a valid KeyStore key entry
>>>> containing a private key and corresponding public key certifcate chain."
>>>> 
>>>> (Where  is actually my keystore alias.)
>>>> 
>>>> This is the same keystore file that I have used in the past. My
>>>> understanding (and failed attempts) indicate that creating a new
>>>> keystore file won’t work if I’m using it to update an existing app on
>> the Play Store.
>>>> I’m quite inexperienced with android builds. Any suggestions would be
>>>> most welcome as I’ve about run out of ideas (and Google search
>>>> queries.)
>>>> 
>>>> --
>>>> Scott Morrow
>>>> 
>>>> Elementary Software
>>>> (Now with 20% less chalk dust!)
>>>> web   https://elementarysoftware.com/
>>>> email sc...@elementarysoftware.com
>>>> booth1-360-734-4701
>>>> --
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> ___
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> 
>>> 
>>

Re: LC Roadmap

2021-02-15 Thread scott--- via use-livecode
One-click-wonder is right… especially if you use DropDMG to create custom disk 
images!
--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--

> On Feb 15, 2021, at 3:08 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Initial setup is a bit of a journey because Apple likes to make developers 
> jump through hoops to prove they're worthy. But every subsequent notarization 
> is a one-click wonder.
> 
> On 2/15/21 4:25 PM, William Prothero via use-livecode wrote:
>> Jacqueline:
>> Thanks. Yes, I have it. Haven’t tried it yet. But I’ve downloaded it.
>> Best,
>> Bill
>>> On Feb 15, 2021, at 1:35 PM, J. Landman Gay via use-livecode 
>>>  wrote:
>>> 
>>> Do you use his notarization stack? Once you get it set up it's a huge 
>>> time-saver. No more Terminal commands.
>>> 
>>> On 2/15/21 2:21 PM, William Prothero via use-livecode wrote:
 Codesigning is always a trudge for me because I don’t do it very often and 
 Apple is regularly changing the parameters. So I also very much appreciate 
 Matthias’ lesson.
 Thanks from me too!
 Bill
>>> 
>>> 
>>> -- 
>>> 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
>> William Prothero
>> waproth...@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
> 
> 
> -- 
> 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


tsNet FTP help

2021-03-02 Thread scott--- via use-livecode
Hello Folks (Matthias?),

I am trying to use tsNet to upload a file to my mHost account. Although the 
lesson  
  
seemed very straight forward, I am not making any headway.  I am using LC 9.6.2 
(rc 2) Business, OSX 11.2.1 Big Sur (MBP 2017). I've included the pertinent 
portion of script and the server response below. Any suggestions welcome.
--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
———

My LiveCode script:


tsNetInit -- NOT in lesson?

put "ftp://myUserName.serversignin.com"; into tFtpServer --

put "/public_html" into tFtpDirectory

put "myUserName" into tSettings["username"]

put “myPassWord" into tSettings["password"]

set the itemDel to SLASH

put item -1 of tFilePath into tFileName

put URL("file:" & tFilePath) into tFileContents

put tsNetUploadSync(tFtpServer & tFtpDirectory & slash & tFileName, tHeaders, 
tFileContents, tRecvHeaders, tResult, tBytes, tSettings) into tOutput

——— Response from the server ——— 


the result:  tsneterr: (28) Timeout was reached (this is returned almost 
instantly)


tRecvHeaders:

220-- Welcome to Pure-FTPd [privsep] [TLS] --



220-You are user number 3 of 188 allowed.



220-Local time is now 00:15. Server port: 21.



220-This is a private system - No anonymous login



220-IPv6 connections are also welcome on this server.



220 You will be disconnected after 30 minutes of inactivity.



421-Sorry, cleartext sessions and weak ciphers are not accepted on this server.



421 Please reconnect using TLS security mechanisms.


tsNetGetTimeouts() —>   60,0,30,6,0,0






___
use-livecode mailing list
use-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: tsNet FTP help

2021-03-02 Thread scott--- via use-livecode
Thank you, Charles. I had actually started with that lesson… I just didn’t 
realize how they went together. Your hint (and lessons!) was exactly what I 
needed.
—
Scott Morrow

> On Mar 2, 2021, at 7:29 PM, Charles Warwick via use-livecode 
>  wrote:
> 
> Hi Scott,
> 
> This part of the server response is your clue:
> 
>> 421-Sorry, cleartext sessions and weak ciphers are not accepted on this 
>> server.
>> 421 Please reconnect using TLS security mechanisms.
> 
> You need to connect to the FTP server using SSL.  The following LC lesson 
> should help:
> 
> https://lessons.livecode.com/m/4071/l/857714-how-to-use-tsnet-to-connect-to-an-ftp-server-over-ssl-ftps
> 
> Regards,
> 
> Charles
> 
>> On 3 Mar 2021, at 11:42 am, scott--- via use-livecode 
>>  wrote:
>> 
>> Hello Folks (Matthias?),
>> 
>> I am trying to use tsNet to upload a file to my mHost account. Although the 
>> lesson  
>> <https://lessons.livecode.com/m/4071/l/851756-how-to-upload-a-file-using-ftp>
>>   seemed very straight forward, I am not making any headway.  I am using LC 
>> 9.6.2 (rc 2) Business, OSX 11.2.1 Big Sur (MBP 2017). I've included the 
>> pertinent portion of script and the server response below. Any suggestions 
>> welcome.
>> --
>> Scott Morrow
>> 
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-360-734-4701
>> ———
>> 
>> My LiveCode script:
>> 
>> 
>> tsNetInit -- NOT in lesson?
>> 
>> put "ftp://myUserName.serversignin.com"; into tFtpServer --
>> 
>> put "/public_html" into tFtpDirectory
>> 
>> put "myUserName" into tSettings["username"]
>> 
>> put “myPassWord" into tSettings["password"]
>> 
>> set the itemDel to SLASH
>> 
>> put item -1 of tFilePath into tFileName
>> 
>> put URL("file:" & tFilePath) into tFileContents
>> 
>> put tsNetUploadSync(tFtpServer & tFtpDirectory & slash & tFileName, 
>> tHeaders, tFileContents, tRecvHeaders, tResult, tBytes, tSettings) into 
>> tOutput
>> 
>> ——— Response from the server ——— 
>> 
>> 
>> the result:  tsneterr: (28) Timeout was reached (this is returned almost 
>> instantly)
>> 
>> 
>> tRecvHeaders:
>> 
>> 220-- Welcome to Pure-FTPd [privsep] [TLS] --
>> 
>> 
>> 
>> 220-You are user number 3 of 188 allowed.
>> 
>> 
>> 
>> 220-Local time is now 00:15. Server port: 21.
>> 
>> 
>> 
>> 220-This is a private system - No anonymous login
>> 
>> 
>> 
>> 220-IPv6 connections are also welcome on this server.
>> 
>> 
>> 
>> 220 You will be disconnected after 30 minutes of inactivity.
>> 
>> 
>> 
>> 421-Sorry, cleartext sessions and weak ciphers are not accepted on this 
>> server.
>> 
>> 
>> 
>> 421 Please reconnect using TLS security mechanisms.
>> 
>> 
>> tsNetGetTimeouts() —>   60,0,30,6,0,0
>> 
>> 
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: LC Server - Check for Screen size?

2021-03-22 Thread scott--- via use-livecode
Matthias, thank you so much for the complete solution. I’m such a beginner with 
LC server (and not even a beginner at JS) that your explanation was what I 
needed.
--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--


> On Mar 21, 2021, at 4:51 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hi Rick,
> here's a sample with some put commands and comments for better understanding.
>  -- read Cookie screeres if available
> put $_COOKIE["screenres"] into tScreenRes
> 
> if tScreenRes is empty
> then
>   put "cookie not found. we need to write the cookie"
> -- the cookie does not exists or is empty, so we now executing JS, but 
> -- the following closing tag is mandatory, otherwise the js is not executed
> ?>   
> 
>   let screenwidth = (screen.availWidth);
>   let screenheight =(screen.availHeight);
>   document.cookie = "screenres="+screenwidth +","+screenheight;
> 
>put "cookie written"
> else
>   put "Cookie already there"
> end if
> 
> --now we extract height and width from the var tScreenRes
> set the itemdelimiter to ","
> put item 1 of tScreenRes to tWidth
> put item 2 of tScreenRes to tHeight
> 
> --from here take action according the detected screenresolution.
> ?>
> 
> 
> Note: The above script detects and uses the available screen resolution. 
> Regards,
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 21.03.2021 um 01:02 schrieb Rick Harrison via use-livecode 
>> :
>> 
>> Hi Matthias,
>> 
>> So you are thinking something like:
>> 
>> 
>> 
>> 
>> 
>> Your Screen:
>> 
>> 
>> 
>> 
>> var txt = "";
>> txt += "

Total width/height: " + screen.width + "*" + screen.height + >> "

"; >> txt += "

Available width/height: " + screen.availWidth + "*" + >> screen.availHeight + "

"; >> txt += "

Color depth: " + screen.colorDepth + "

"; >> txt += "

Color resolution: " + screen.pixelDepth + "

"; >> >> document.getElementById("demo").innerHTML = txt; >> >> >> >> >> >> And then put the information into a Javascript cookie and then read the >> cookie value with an LC Server script. >> >> I’ll see if I can get that to work. >> >> Thanks! >> >> Rick >> >>> On Mar 20, 2021, at 6:10 PM, matthias rebbe via use-livecode >>> wrote: >>> >>> As Livecode Server runs on the server there is no direct command/function >>> in LC Server available for this task. >>> >>> But you could use Javascript (document.cookie) in your LC Server script >>> to write the screen resolution into a cookie and read that cookie then with >>> your Livecode Server script. >>> >>> >>> - >>> 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

Re: [ANN] This Week in LiveCode 259

2021-03-23 Thread scott--- via use-livecode
I finished reading Andre’s book last night. Always happy to read his musings 
about Livecode development!
--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--

> On Mar 23, 2021, at 10:09 AM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 3/23/21 9:59 AM, Bob Sneidar via use-livecode wrote:
>> I popped for the book. I already operate somewhat on this level but I 
>> learned something as a teenager when teaching myself to play guitar: There 
>> are always gaps in knowledge when a person learns that way.
> 
> I grabbed the book as well.
> I always learn things from Andre.
> 
> -- 
> 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: [ANN] This Week in LiveCode 259

2021-03-23 Thread scott--- via use-livecode
Jacque,

I just followed a lesson to accomplish the same thing. Were you using LibURL or 
tsNet? I was successful using tsNet but not yet when trying to do it with 
LibURL. I was hoping to have both methods available so that the stack would 
also work with the community version when I shared it…

At the end of Andre’s book I followed a link to his website and ended up 
wanting to purchase one of the drip coffee cones he talked about… but not the 
exploding tea infuser!
--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--


> On Mar 23, 2021, at 7:32 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I read it today too and it was inspiring, which was the whole point really. A 
> couple of the footnotes made me laugh. I already make a lot of my own tools 
> and plugins but I did get some ideas from the book.
> 
> I immediately set about updating one of my tools and got stuck. So the next 
> question is: how long should you spend making a tool when you could have done 
> it faster the manual way?
> 
> I got stuck trying to FTPs a file to my server. The lesson I consulted didn't 
> work, and I stopped because figuring out why would have become a whole 
> project. So I'm back to dragging the file to a Fetch shortcut.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On March 23, 2021 7:08:59 PM scott--- via use-livecode 
>  wrote:
> 
>> I finished reading Andre’s book last night. Always happy to read his musings 
>> about Livecode development!
>> --
>> Scott Morrow
>> 
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-360-734-4701
>> --
>> 
>>> On Mar 23, 2021, at 10:09 AM, Mark Wieder via use-livecode 
>>>  wrote:
>>> 
>>> On 3/23/21 9:59 AM, Bob Sneidar via use-livecode wrote:
>>>> I popped for the book. I already operate somewhat on this level but I 
>>>> learned something as a teenager when teaching myself to play guitar: There 
>>>> are always gaps in knowledge when a person learns that way.
>>> 
>>> I grabbed the book as well.
>>> I always learn things from Andre.
>>> 
>>> --
>>> Mark Wieder
>>> ahsoftw...@gmail.com
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


name of web page

2021-03-25 Thread scott--- via use-livecode
When using livecode server scripting inside the html of a web page, is there a 
way to determine the file name of that .lc web page (using livecode scripting)?
--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--








___
use-livecode mailing list
use-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: name of web page

2021-03-25 Thread scott--- via use-livecode
Ah, of course!  Thank you, Matthias.
—
Scott

> On Mar 25, 2021, at 1:13 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Scott,
> 
> do you want to get the filename of the script that is executing?
> Then
>   put the filename of me
> 
> returns the name of the lc script file including the complete path
> e.g./home//public_html//scott/pagename.lc
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 25.03.2021 um 21:01 schrieb scott--- via use-livecode 
>> :
>> 
>> is there a way to determine the file name of that .lc web page (using 
>> livecode scripting)?
> 
> ___
> use-livecode mailing list
> use-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 Mar 25, 2021, at 1:13 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Scott,
> 
> do you want to get the filename of the script that is executing?
> Then
>   put the filename of me
> 
> returns the name of the lc script file including the complete path
> e.g./home/xxxx/public_html//scott/pagename.lc
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 25.03.2021 um 21:01 schrieb scott--- via use-livecode 
>> :
>> 
>> is there a way to determine the file name of that .lc web page (using 
>> livecode scripting)?
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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] strange memory leak in LC

2021-03-26 Thread scott--- via use-livecode
I’m running Big Sur and just got a warning from the OS that I was out of 
application memory. Livecode was using 133.52 GB of memory.  It had been open 
for a couple days but it wasn’t doing anything.
--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--

> On Mar 26, 2021, at 6:53 AM, Andre Garzia via use-livecode 
>  wrote:
> 
> Sean,
> 
> The stack was not running anything. It was simply opened. I don’t believe it 
> would leak like that. Anyway, I’m monitoring to see if it happens again.
> 
> A
> 
>> On 26 Mar 2021, at 13:01, Sean Cole (Pi) via use-livecode 
>>  wrote:
>> 
>> Wow, Andre, that's impressive. That amounts to about 34MB per minute over
>> 48hrs. I've had a pretty massive stack (226MB file at the moment) on my Mac
>> sitting here over the last week. Looking in the activity monitor, LC has
>> 987MB associated with it. and watching it over a period of time it remains
>> stable and even went down a tiny bit.
>> 
>> I wonder if this is more an issue with Rosetta2 in this instance. Maybe
>> something in LC leaks because of the Rosetta transformation of the binary.
>> Perhaps, as a test, open the same stack on a non-AppleSilicon Mac and watch
>> them both for how much memory they expend over a period of time.
>> 
>> All the best with that.
>> 
>> Sean
>> 
>> On Fri, 26 Mar 2021 at 10:03, Andre Garzia via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> I have no idea what happened. I’m running LC 9.6.2-rc-3 on macOS Big Sur
>>> on M1 ISA (so it is running under Rosetta 2). I kept the IDE opened for a
>>> couple days, I was working on a gaziliion stacks at the same time and was
>>> not yet ready to close them.
>>> 
>>> The stacks were not doing anything, they were not running “send in time”
>>> commands or doing any kind of processing, they were just opened. Then macOS
>>> showed me a dialog I have never ever seen on macOS 10.x, a memory
>>> exhaustion dialog. Looking closer at it, LiveCode was using 100 GB of
>>> memory, as in Gigabyte, as can be seen on this screenshot:
>>> 
>>> http://andregarzia.com/img/shots/lc-memory-leak.png <
>>> http://andregarzia.com/img/shots/lc-memory-leak.png>
>>> 
>>> I remember things like the “default button” causing leaks due to the
>>> animation and so on, but all I had was a bunch of custom stacks open and
>>> the script editor focused. Thats it. It was open since yesterday.
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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-27 Thread scott--- via use-livecode
Roger,
Yes, I believe it is on an individual app basis that occurs at the time the app 
is being first opened.
—
Scott

> On Mar 27, 2021, at 4:15 PM, Roger Guay via use-livecode 
>  wrote:
> 
> Jacque,
> 
> You always come thru with such great clarity and thoroughness. I remember 
> going thru this process a few years ago, but I thought this back door 
> approach was closed by Apple within the last couple of OS releases. Indeed, 
> looking at my Security&Privacy tab of System Preferences in OS 11.2, I do not 
> see the “Open Anyway” button as illustrated in your link for Mac OS. Is it 
> possible this button only appears if the OS senses that user is trying to 
> open an unauthorized app?
> 
> Roger
> 
> 
> 
>> On Mar 27, 2021, at 3:22 PM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> Roger Guay wrote:
>>> 
>>> In the good ol days, I could build a standalone for the Mac,
>>> Windows and Linux and distribute it willy-nilly.
>> 
>> On desktop you still can, sort of, if you don't mind instructing your users 
>> how to get around the security blocks that both Windows and Mac OS have 
>> adopted. If your users are just family and friends, this is viable. Someone 
>> more familiar with Linux can say whether this method works there.
>> 
>> Here is a skeletal outline off the top of my head (so I may have missed 
>> something,) but it should give you the idea. A "runner" app is easy to make, 
>> basically a stack with one card and a single button. The button script:
>> 
>> on mouseup
>> answer file "Choose a stack to open:"
>> if it is empty then exit to top
>> go stack it
>> end mouseup
>> 
>> Add an openStack handler on the card so that resources can be shared:
>> 
>> on openStack
>> start using this stack
>> end openStack
>> 
>> 
>> That's the whole stack. Now set up standalone settings for the desired build 
>> platform. Include all extensions, libraries, widgets, etc. that your stacks 
>> need, or you think they might need in the future. Your app will be limited 
>> to the inclusions your license permits.
>> 
>> Build the app. Send it to friends along with your stacks.
>> 
>> Now the part where you do some explaining. Since the app isn't notarized by 
>> Apple or authorized by Microsoft, explain to them how to bypass the blockage 
>> and get the app to open. They only need to do this once on first launch. 
>> There are lots of hits if you search for "how to open unnotarized app on big 
>> sur" or "open unauthorized app on windows."
>> 
>> Here's one for Mac OS: 
>> 
>> 
>> And one for Windows: 
>> 
>> 
>> This won't work for mobile apps, though with some adjustments you can build 
>> a runner app for Android if you're willing to distribute from the internet.
>> 
>> Also note: The stacks you distribute cannot violate the LC license 
>> agreement. They can't reproduce IDE features or allow users to do things 
>> that only a licensed user can do. Please don't violate the license 
>> agreement; we all want LC to prosper.
>> 
>> -- 
>> 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: New(?) Idea for Standalones

2021-03-28 Thread scott--- via use-livecode
Kelly is correct. While holding down the control key, click and hold (or right 
click) to get an additional menu allowing you to choose to open the app.
—
Scott 

> On Mar 27, 2021, at 8:33 PM, Dev via use-livecode 
>  wrote:
> 
> Roger
> 
> On your wife’s machine - if you right click the app and choose Open from the 
> context menu, do you get more options about opening?
> 
> If you adjust settings in the Security and Privacy System Preferences can you 
> downgrade standards to allow a one time opening?
> 
> If neither of these work, then it seems that the player app will need to be 
> notarized and perhaps even stapled. If one of the already certified 
> developers were to make such an app using their credentials, perhaps the rest 
> of us could just download it from their site and play our own stacks with it. 
> 
> Interested in anyone else’s thoughts on work arounds to Apple’s security.
> 
> Kelly
> 
>> On 27 Mar, 2021, at 9:10 PM, Roger Guay via use-livecode 
>>  wrote:
>> 
>> 
>> Here is a report on the back door approach to opening a standalone on MAC OS 
>> 11.2:
>> 
>> I built a stack precisely as Jacqueline specified and made a Mac standalone 
>> of it. I checked to make sure it worked on my own computer. I then sent the 
>> standalone to my wife’s computer – another Mac running the same OS 11.2. 
>> Double-clicking the standalone on her computer, resulted is a simple screen 
>> with this message: You do not have permission to open the application 
>> “StackOmatic”. “Contact your computer or network administrator for 
>> assistance” with a single “OK” button.
>> 
>> I then checked System Preferences - Security & Privacy - General Tab. There 
>> was no “Open Anyway” button.
>> 
>> Dead in the water! 
>> 
>> I humbly submit that we need a LiveCodeLight app from a certified developer 
>> that runs stacks without the IDE
>> 
>> Roge
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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-28 Thread scott--- via use-livecode

I may have described it incorrectly. After re-testing here on OS 11.2.3  I 
found that it required two tries. Trying to open it the first time meets with 
failure. But Right clicking and choosing “Open” the second time gives a second 
dialog that will allow it to open.

—
Scott

> On Mar 28, 2021, at 2:58 PM, Roger Guay via use-livecode 
>  wrote:
> 
> Nope! Right clicking on a standalone I’m trying to share with my wife on her 
> iMac w OS 11.2 results in this menu: Open Attachment - Quick Look Attachment 
> - Save Attachment…. - Save to Downloads Folder - Share - Copy - Speech
> 
> Then, clicking on the “Open Attachment” menu item results in the same 
> response I reported earlier: a simple screen with this message: You do not 
> have permission to open the application “StackOmatic”. “Contact your computer 
> or network administrator for assistance” with a simple “OK” button. Dead end 
> as before!
> 
> Further, at Kelly's suggestion to try and adjust settings in the Security and 
> Privacy System Preferences to downgrade standards to allow a one time 
> opening, I found nothing of the sort. 
> 
> So at this point, I think Kelly’s idea of someone with Apple credentials 
> building a certified standalone that runs stacks is the only short term 
> solution. If it helps, I and probably others, would be willing to pay a 
> reasonable fee for such gem. Otherwise, I and anyone else wanting to share 
> stacks, will have to jump through the increasingly ridiculous hoops that 
> Apple (and Windows?) place before us. OTH….
> 
> Ultimately, I really think that a LiveCodeLight app that runs stacks without 
> the IDE would be the best way to go to share stacks with friends, family and 
> colleagues.
> 
> Roger
> 
> 
> 
>> On Mar 28, 2021, at 12:24 AM, scott--- via use-livecode 
>>  wrote:
>> 
>> Kelly is correct. While holding down the control key, click and hold (or 
>> right click) to get an additional menu allowing you to choose to open the 
>> app.
>> —
>> Scott 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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-29 Thread scott--- via use-livecode
Hello Roger,

I made a standalone from an empty stack (and one button that does nothing.)  It 
is 64 bit Mac. It is zipped. It isn’t in a DMG or any sort of installer. It is 
NOT code signed. I have been using this app to test how opening non-signed Mac 
Apps work. After (finally) opening the app I can throw it away and double click 
the zipped original to get another app that hasn’t been approved  if I want to 
try the process again.

You can find this app here:

http://traditionaltaekwondo.org/test/Testeroni.app.zip


--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
mobile   360-920-0715
--








___
use-livecode mailing list
use-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-29 Thread scott--- via use-livecode
Oops, meant to send that off-list.
—
Scott


> On Mar 29, 2021, at 3:33 PM, scott--- via use-livecode 
>  wrote:
> 
> Hello Roger,
> 
> I made a standalone from an empty stack (and one button that does nothing.)  
> It is 64 bit Mac. It is zipped. It isn’t in a DMG or any sort of installer. 
> It is NOT code signed. I have been using this app to test how opening 
> non-signed Mac Apps work. After (finally) opening the app I can throw it away 
> and double click the zipped original to get another app that hasn’t been 
> approved  if I want to try the process again.
> 
> You can find this app here:
> 
> http://traditionaltaekwondo.org/test/Testeroni.app.zip
> 
> 
> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-360-734-4701
> mobile   360-920-0715
> --
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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-29 Thread scott--- via use-livecode
That symbol probably means it was compiled to run on an older (Motorola ?) 
processor… similar to what happens if you have a 32 bit app on Big Sur.
—
Scott

> 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


Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread scott--- via use-livecode
I DO remember SuperEdit.  So fast!  But it was a completely “dead” development 
environment. You had to leave it in order to get any messages, IIRC.
—
Scott


> On Mar 29, 2021, at 4:26 PM, Jim Lambert via use-livecode 
>  wrote:
> 
>> Paul wrote:
>> 
>> This is not a bug, but a feature. Our app contains a specialized network 
>> drawing tool and we switch to the pointer tool to allow the user to 
>> interact with drawn objects
> 
> I'd respectfully suggest that is a fringe use case when compared to authoring 
> in the LC IDE.
> Every time I click on a button in the IDE with the pointer tool in order to 
> select and, say, move it, I'd prefer if the mousedown/up scripts didn't fire 
> off because I'm editing the UI not running it. If I recall correctly this was 
> not how LC/Revolution originally behaved.
> 
> Richard, remember SuperEdit? Very much about authoring.
> 
> Jim Lambert
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: mouseenter/mouseleave and pointer tool

2021-03-30 Thread scott--- via use-livecode
In the video, when you switch tools between Browse and Pointer your cursor does 
not change to reflect this. Not sure whether this visual anomaly  is actually 
happening on your system or if your cursor is being altered by the video screen 
capture software.

Putting the answer dialog inside the mouseEnter handler does make it difficult 
to select.   :- )

—
Scott

> On Mar 30, 2021, at 1:10 PM, Jim Lambert via use-livecode 
>  wrote:
> 
> Actually I'm not entirely crazy.
> Here is a MOV showing the anomalous   behavior of mouse events executing even 
> when the Pointer Tool is active.
> 
> https://netrin.on-rev.com/videos/lc_select_issue.mov 
> 
> 
> This is intermittent. I don't have a reliable way of reproducing. If I did 
> I'd file a bug report or attach an example stack to Klaus' report.
> Sometimes it is solved by closing and re-opening LC or a different version of 
> LC.
> 
> Odd.
> 
> Jim Lambert
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: How to get the path to the 'My Livecode' or the plugins folder?

2021-03-31 Thread scott--- via use-livecode
Matthias, when I didn’t see you at the Zoom “coffee break” during Panos' 
Livecode Advanced course (on just this topic) I assumed that it was because you 
were using that time to create such a tool.  :- )

—
Scott

> On Mar 31, 2021, at 9:48 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Thanks Bob for the "reminder" about Devolution and its custom1 buttons.
> 
> 
> I needed it to load a plugin right after i've built a standalone. Yesterdays 
> discussion "New idea for Standalones" led me there.
> I want to automatically sign and notarize a MacOS standalone without any 
> additional user interaction right away after it was built.
> 
> For this i am using the standaloneSaved message. In this handler i am 
> calling/opening my NotarizeHelper stack, give all needed information to the 
> stack (just the path to the app bundle and the desired action) and start the 
> notarization process.  So no need anymore to do this manually after the 
> standalone build process. ;)
> 
> This works now w/o a problem. I am now enhancing the script to code sign also 
> Windows standalones under macOS using osslsigncode. I have alreay an help app 
> for this, but i would prefer to get it done also right after the standalone 
> building process.
> 
> So if i get/have this working, I can build standalones and code sign / 
> notarize them with only one click.
> 
> Regards,
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 31.03.2021 um 02:25 schrieb Bob Sneidar via use-livecode 
>> :
>> 
>> Which is what you have to do to add a plugin to Devolution. Someone turned 
>> me on to this:
>> 
>> eg. I have in the Custom 1 script:
>> 
>> on mouseUp
>>  -- Your custom code goes here:
>>  put revenvironmentuserpluginspath() & "/" into tPluginsPath
>>  put tPluginsPath & "Navigator.rev" into tFilePath
>>  go stack tFilePath
>>  go stack (the defaultStack)
>> end mouseUp
>> 
>> 
>> On Mar 29, 2021, at 4:40 PM, Mark Wieder via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> On 3/29/21 4:06 PM, matthias rebbe via use-livecode wrote:
>> Dear all,
>> is there a way to get the path to the 'My Livecode' or the 'Plugins' folder?
>> Searched now for more than 40 minutes and did not find anything about it?
>> Is there maybe a hidden variable / property available for this?
>> 
>> Not well documented, but...
>> 
>> put revEnvironmentUserPluginsPath()
>> 
>> --
>> Mark Wieder
>> ahsoftw...@gmail.com
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: IOS required SDK

2021-04-23 Thread scott--- via use-livecode
I did it the other way around (just last month!) I set up a VM (Parallels) for 
running Catalina for older 32 bit apps. I was primarily trying to get my older 
Adobe CS6 apps to work… though even with all the original disks (and a drive), 
reinstalling ancient apps turned out to be more problematic than I had hoped. 
So maintaining your current install and doing a VM for 64bit makes more sense 
to me now.
--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--

> On Apr 23, 2021, at 2:43 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Thanks Paul, I was wondering about a VM. I've scanned Oracle's docs for all 
> of 10 minutes but it looks a bit complicated. Did you need to partition your 
> hard drive? It also says to put the OS intaller on a DVD but of course we 
> don't have DVD drives any more. Does the mounted OS install image work?
> 
> On 4/23/21 4:13 PM, Paul Dupuis via use-livecode wrote:
>> On 4/23/2021 5:02 PM, J. Landman Gay via use-livecode wrote:
>>> Apple will require SDK 14 for new or updated iOS apps. Due to incompatible 
>>> 32-bit software, I'm still on Mojave. Does this mean I need to update to 
>>> Big Sur or Catalina before I can build for iOS?
>>> 
>>> I don't suppose there's any way to do it on Mojave? I've been dreading 
>>> this...
>>> 
>> I run Mojave on a Macbook Pro and use VirtualBox to have a Catalina and Big 
>> Sur VMs as I too have 32 bit software I want to be able to continue to run. 
>> I do macOS development under Mojave and only use the Catalina and/or Big Sur 
>> VMs for testing or builds (if for some reason I need to check a build under 
>> one of those OSes. Both Catalina and Big Sur work with VirtualBox. VMs are 
>> of course slower, but he ability to back them up, clone them, restore to a 
>> specific save point and such I think outweigh  the speed as a developer tool.
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


App fails to launch after code signing

2021-04-25 Thread scott--- via use-livecode
I have created a standalone Mac app. It launches and works as expected. The 
problem is that after code signing it (though it throws a few errors they seem 
to all be ones that are generally regarded as bogus error messages) the app 
fails to launch. 

It reports success for code signing, notarization and staplication.
I’m using a lightly modified version of  Matthias Rebbe’s great  < 
mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. Checking 
with the terminal shows:

"valid on disk”
"satisfies its Designated Requirement"

When I look in the console I see this happens when the app tries to launch:

"AddInstanceForFactory: No factory registered for id  
F8BB1C28-BAE8-11D6-9C31-00039315CD46”

This app uses the following inclusions (added manually)
  tsNet
  mergJSON
  Revolution Zip
  Internet
  DataGrid

The Googles seem to indicate that it is associated with AV stuff (primarily 
audio) but my app doesn’t do anything like that. Any ideas what this might mean?

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--








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


Re: App fails to launch after code signing

2021-04-25 Thread scott--- via use-livecode
I just tried building the app using LC 9.5.1 (business) rather than 9.6.2 (rc 
5) which is what I had been using. And it worked… which is great but I have no 
idea why.

—
Scott


> On Apr 25, 2021, at 1:04 AM, scott--- via use-livecode 
>  wrote:
> 
> I have created a standalone Mac app. It launches and works as expected. The 
> problem is that after code signing it (though it throws a few errors they 
> seem to all be ones that are generally regarded as bogus error messages) the 
> app fails to launch. 
> 
> It reports success for code signing, notarization and staplication.
> I’m using a lightly modified version of  Matthias Rebbe’s great  < 
> mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. Checking 
> with the terminal shows:
> 
> "valid on disk”
> "satisfies its Designated Requirement"
> 
> When I look in the console I see this happens when the app tries to launch:
> 
> "AddInstanceForFactory: No factory registered for id  
> F8BB1C28-BAE8-11D6-9C31-00039315CD46”
> 
> This app uses the following inclusions (added manually)
>  tsNet
>  mergJSON
>  Revolution Zip
>  Internet
>  DataGrid
> 
> The Googles seem to indicate that it is associated with AV stuff (primarily 
> audio) but my app doesn’t do anything like that. Any ideas what this might 
> mean?
> 
> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-360-734-4701
> --
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: App fails to launch after code signing

2021-04-25 Thread scott--- via use-livecode
Thanks for that pointer, Phil. It is suggestive of where I should start digging 
first.

—
Scott

> On Apr 25, 2021, at 6:43 AM, Jimmieson, Phil via use-livecode 
>  wrote:
> 
> Hi Scott,
> 
> I had something similar with an app that uses revZip. Have a look at this 
> discussion on livecode’s bug reporter site:
> 
> 
> https://quality.livecode.com/show_bug.cgi?id=23176
> 
> Sent from my iPhone
> 
> On 25 Apr 2021, at 11:38, scott--- via use-livecode 
>  wrote:
> 
> I just tried building the app using LC 9.5.1 (business) rather than 9.6.2 
> (rc 5) which is what I had been using. And it worked… which is great but I 
> have no idea why.
> 
> —
> Scott
> 
> 
> On Apr 25, 2021, at 1:04 AM, scott--- via use-livecode 
>  wrote:
> 
> I have created a standalone Mac app. It launches and works as expected. The 
> problem is that after code signing it (though it throws a few errors they 
> seem to all be ones that are generally regarded as bogus error messages) the 
> app fails to launch.
> 
> It reports success for code signing, notarization and staplication.
> I’m using a lightly modified version of  Matthias Rebbe’s great  < 
> mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. Checking 
> with the terminal shows:
> 
> "valid on disk”
> "satisfies its Designated Requirement"
> 
> When I look in the console I see this happens when the app tries to launch:
> 
> "AddInstanceForFactory: No factory registered for id  
> F8BB1C28-BAE8-11D6-9C31-00039315CD46”
> 
> This app uses the following inclusions (added manually)
>   tsNet
>   mergJSON
>   Revolution Zip
>   Internet
>   DataGrid
> 
> The Googles seem to indicate that it is associated with AV stuff (primarily 
> audio) but my app doesn’t do anything like that. Any ideas what this might 
> mean?
> 
> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-360-734-4701
> --
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: App fails to launch after code signing

2021-04-25 Thread scott--- via use-livecode
Adding the entitlement did the trick (I thought that I had tried it already but 
apparently not.) Oddly, I found that if I just swapped the revzip.bundle with 
one from an earlier version of LC I was able to build it without entitlements. 
Thanks for the help.
—Scott

ps. Out of curiosity, what might cause the app/installer to change if it were 
launched before signing?

> On Apr 25, 2021, at 5:43 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Also, you don’t want to test the app/installer before signing it—that could 
> cause things to fail.
> 
> Peter
> 
>> On Apr 25, 2021, at 4:44 PM, scott--- via use-livecode 
>>  wrote:
>> 
>> Thanks for that pointer, Phil. It is suggestive of where I should start 
>> digging first.
>> 
>> —
>> Scott
>> 
>>> On Apr 25, 2021, at 6:43 AM, Jimmieson, Phil via use-livecode 
>>>  wrote:
>>> 
>>> Hi Scott,
>>> 
>>> I had something similar with an app that uses revZip. Have a look at this 
>>> discussion on livecode’s bug reporter site:
>>> 
>>> 
>>> https://quality.livecode.com/show_bug.cgi?id=23176
>>> 
>>> Sent from my iPhone
>>> 
>>> On 25 Apr 2021, at 11:38, scott--- via use-livecode 
>>>  wrote:
>>> 
>>> I just tried building the app using LC 9.5.1 (business) rather than 9.6.2 
>>> (rc 5) which is what I had been using. And it worked… which is great but I 
>>> have no idea why.
>>> 
>>> —
>>> Scott
>>> 
>>> 
>>> On Apr 25, 2021, at 1:04 AM, scott--- via use-livecode 
>>>  wrote:
>>> 
>>> I have created a standalone Mac app. It launches and works as expected. The 
>>> problem is that after code signing it (though it throws a few errors they 
>>> seem to all be ones that are generally regarded as bogus error messages) 
>>> the app fails to launch.
>>> 
>>> It reports success for code signing, notarization and staplication.
>>> I’m using a lightly modified version of  Matthias Rebbe’s great  < 
>>> mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. 
>>> Checking with the terminal shows:
>>> 
>>> "valid on disk”
>>> "satisfies its Designated Requirement"
>>> 
>>> When I look in the console I see this happens when the app tries to launch:
>>> 
>>> "AddInstanceForFactory: No factory registered for id >> 0x7fae534148a0> F8BB1C28-BAE8-11D6-9C31-00039315CD46”
>>> 
>>> This app uses the following inclusions (added manually)
>>> tsNet
>>> mergJSON
>>> Revolution Zip
>>> Internet
>>> DataGrid
>>> 
>>> The Googles seem to indicate that it is associated with AV stuff (primarily 
>>> audio) but my app doesn’t do anything like that. Any ideas what this might 
>>> mean?
>>> 
>>> --
>>> Scott Morrow
>>> 
>>> Elementary Software
>>> (Now with 20% less chalk dust!)
>>> web   https://elementarysoftware.com/
>>> email sc...@elementarysoftware.com
>>> booth1-360-734-4701
>>> --
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Close & remove from memory - Engine hang

2021-05-07 Thread scott--- via use-livecode
Paypal account or not, if Matthias is a bot we need to figure out how to spawn 
more instances.
--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--

> On May 7, 2021, at 1:31 PM, Curry Kenworthy via use-livecode 
>  wrote:
> 
> Matthias:
> 
> > Believe me i am real. I purchased every library
> > you've created in the past, so i must be real.
> 
> Not necessarily! You could be a "bot" with a Paypal account.
> But I am not prejudiced; human or not, you're a valued customer. :)








___
use-livecode mailing list
use-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 scott--- via use-livecode
Paul,
I have taken to doing exactly what you describe. Additionally, I am in the 
habit of waiting for the iOS simulator to load before I even launch LiveCode… 
though this step may be superstition.
--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--

> On May 8, 2021, at 8:31 PM, Paul Hibbert via use-livecode 
>  wrote:
> 
> The process I use:
> 
> One time process for each Xcode version/update:
> Launch Xcode > Open the Simulator(s) that I want to use.
> Add the Simulator app(s) to the dock — Right Click on the Simulator Icon in 
> the Dock while it’s open and choose “Keep in dock”.
> Quit Xcode.
> 
> From then on, whenever I’m working on an iOS app, I launch the simulator from 
> the dock and wait until it fully loads before testing from LC, no need to 
> launch Xcode and no messages from LC saying the simulator is taking too long 
> to load. It’s still not a quick process until the simulator is open, but it 
> does seem more reliable to me.
> 
> When you update to the next version of Xcode, it is necessary to clean out 
> the old simulators from the dock and make new Dock entries, but that’s not 
> too much hassle in comparison to the time saving.
> 
> Paul
> 
> 
>> On 8May, 2021, at 5:45 AM, Mark Smith via use-livecode 
>>  wrote:
>> 
>> 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: What happened to mobilePickDate ??

2021-06-16 Thread scott--- via use-livecode
On my iPhone 12 the initial date/time appears so far at the bottom of the 
screen it is partially covered by the Home Indicator. Agreed that this 
position… or needing to tap the tiny date/time at the bottom of the screen at 
all,  is now incorrect. I wonder if this is caused by a recent change in iOS 
that LC hasn’t adapted to yet.

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
mobile   360-920-0715
--

> On Jun 15, 2021, at 9:11 PM, Dan Friedman via use-livecode 
>  wrote:
> 
> Has anyone tried mobilePickDate in LC 9.6.2?   On both a phone and tablet, 
> you don't get a picker!   It popups a dialog that contains the date (or 
> time).  Then you have to tap the date/time and then you get the most tiny 
> date (or time) editor.  Is this the new Apple Guidline for picking a 
> date/time??   Can't be!   This must be a bug.   And, on an iPhone, it's so 
> far to the bottom of the screen, it's barely usable!Anyone have any 
> insight on this?
> 
> -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: What happened to mobilePickDate ??

2021-06-16 Thread scott--- via use-livecode
I forgot to include this link to a brief discussion of the changed date picker 
in iOS 14

https://blog.prototypr.io/dear-product-designers-this-is-new-in-ios-14-e70035083cc

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
———

> On Jun 15, 2021, at 9:11 PM, Dan Friedman via use-livecode 
>  wrote:
> 
> Has anyone tried mobilePickDate in LC 9.6.2?   On both a phone and tablet, 
> you don't get a picker!   It popups a dialog that contains the date (or 
> time).  Then you have to tap the date/time and then you get the most tiny 
> date (or time) editor.  Is this the new Apple Guidline for picking a 
> date/time??   Can't be!   This must be a bug.   And, on an iPhone, it's so 
> far to the bottom of the screen, it's barely usable!Anyone have any 
> insight on this?
> 
> -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: MouseDoubleUp in a datagrid

2021-07-09 Thread scott--- via use-livecode
Hello Bob,

Using Martin’s idea I put this into a frontScript and it allowed the 
“mouseDoubleUp” to get caught. (Make sure you are referencing the correct 
dataGrid… this script is specific to "DataGrid 1")

on selectionChanged
   if ("DataGrid 1" is in the target) then
  wait 5 millisec with messages
   else
  pass selectionChanged
   end if 
end selectionChanged

on mouseDoubleUp
   answer "mouseDoubleUp"
end mouseDoubleUp


--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--



> On Jul 9, 2021, at 4:16 PM, Martin Koob via use-livecode 
>  wrote:
> 
> Hi
> 
> I am interested in the answer to this too.   I wonder if is this something 
> that you could use a frontScript for? I haven’t really used frontScripts so I 
> am not quite sure whether this would work.  
> The idea I thought of is could you have a mouseDoubleUp handler in the front 
> script and have a condition as shown in the following pseudocode
> 
> if the target is your datagrid then
> call a handler that you wanted mouseDoubleUp handler to call, 
> else
> pass mouseDoubleUp.  
> end if 
> 
> 
> I would think that since the frontScript gets the mouseDoubleUp first it 
> would handle it there before the selectionChanged messages are handled in the 
> Datagrid itself.  Whats more if the target is the data grid and there is not 
> a pass mouseDoubleUp command in the Lines of code after the if clause then 
> mouseDoubleUp has been handled and that message will not make it to the 
> DataGrid.Is that a correct understanding of how the two could be made to 
> achieve there result that Bob Wants?
> 
> Martin Koob
> 
> 
>> On Jul 9, 2021, at 5:03 PM, Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> Hi all. 
>> 
>> I want to handle mouseDoubleUp in a datagrid WITHOUT triggering 
>> SelectionChanged. What is happening now is that selectionChanged gets sent 
>> twice before mouseDoubleUp gets sent. Setting a delay in mouseDoubleUp or 
>> mouseUp won't work because selectionChanged gets sent BEFORE those messages. 
>> 
>> Any ideas? 
>> 
>> 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









___
use-livecode mailing list
use-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: First LC engine in 64bit?

2021-07-24 Thread scott--- via use-livecode
LiveCode 8.0 allowed building a 64 bit standalone (with some audio recording 
and video capture limits)


> On Jul 24, 2021, at 1:50 PM, JeeJeeStudio via use-livecode 
>  wrote:
> 
> Hallo mein freund,
> 
> 
> according the downloads page 9.5.0.
> 
> 
> Groetjes!
> 
> Jerry (Sphere)
> 
> 
> Op 24-7-2021 om 19:06 schreef Klaus major-k via use-livecode:
>> Hi all,
>> 
>>> Am 24.07.2021 um 18:57 schrieb Klaus major-k via use-livecode 
>>> :
>>> 
>>> Hi friends,
>>> 
>>> the subject says it all, anyone happen to know the answer?
>>> Thanks in advance!
>>> 
>>> 
>>> Best
>>> 
>>> Klaus
>> of course I mean the Mac version of LC.
>> 
>> 
>> --
>> Klaus Major
>> https://www.major-k.de
>> https://www.major-k.de/bass
>> kl...@major-k.de
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


  1   2   3   >