Re: Substacks

2022-05-29 Thread Jim At Consensus via use-livecode
At the risk of repeating someone else’s suggestion. I address this by have an 
on closeStsck handler in the main stack. I’m in my phone so don’t have access 
to code but it’s along the lines of:

On closeStack
If the short name of me is “” then closeStack
End closeStack

Works rely  as bay for me though variations could include “if name is not “xxx” 
then exit closeStsck

Will see which is correct when I get to my machine.

Good Luck. 

Jim

NOTE: This has worked reliably for years. I doubt something has changed but 
perhaps?

NOTE 2: To avoid the “mental pain” of not having something like this working, 
I’d recommend creating a new stack and sub stack combination just to trouble 
shoot the problem. I’d say 9 times out of 10, I can get the simple test to work 
which points me to some other issue I never would have discovered that ended up 
being the issue (like not remembering that before my closeStack was issued, i 
navigated back to the main stack by a go card “” of the main stack as part 
of my trying to figure out what was happening but the timing was such I never 
saw the transition.)




Sent from Jim's iPhone
Please excuse brevity, typos and errors

> On May 29, 2022, at 4:05 AM, General 2018 via use-livecode 
>  wrote:
> 
> Still no luck, no closestack handler in “main stack” , tried the other 
> suggestions with hide/show etc. But still “mainstack” quits on closing the 
> “substack xyz”
> 
> Will keep looking……..
> 
> Regards
> 
>>> On 29 May 2022, at 00:12, Mark Wieder via use-livecode 
>>>  wrote:
>>> 
>>> On 5/28/22 07:15, General 2018 via use-livecode wrote:
>>> Hi ,
>>> New to substacks - I have a “mainstack” used as a menu page for 2x 
>>> “substacks”
>>> When “substacks” opened from “mainstack” they open fine using — go to stack 
>>> “xyz”
>>> The problem is closing of the “substacks” using - close stack, go to 
>>> “mainstack” or close this stack it always closes (quit) everything. Need 
>>> “mainstack” to reappear/remain ?
>>> Looked at docs and other posts. But stuck no doubt I have missed something.
>> 
>> Do you have a closeStack handler in the script of the mainstack?
>> 
>> 
>> -- 
>> 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: IDE behaviour MacOS

2022-01-05 Thread Jim At Consensus via use-livecode
Strange behavior. 

When you say disappear, are they missing from Project Browser? 
This shouldn’t be happening  but… I have “lost” things when a graphic “changed” 
levels and ended up in front of other elements. Also wondering if something is 
getting messed up with top level. Are you setting it anywhere

Sent from Jim's iPhone XR
Please excuse brevity, typos and errors

> On Jan 5, 2022, at 7:57 AM, General 2018 via use-livecode 
>  wrote:
> Hi ,
> 
> Slide buttons go missing from card in my stack and answer dialogs get hidden 
> behind my stack. Only in IDE and only if stack is launched by clicking on it.
> 
> Mojave.
> 
> Regards Camm
> 
>> On 5 Jan 2022, at 14:55, Craig Newman via use-livecode 
>>  wrote:
>> 
>> Hi.
>> 
>> Do you mean sliders and scrollbars are missing from the tools palette?  And 
>> an Answer dialog appears BEHIND a stack
>> 
>> Cannot imagine any of this. I am on a Mac. What version OS?
>> 
>> Craig
>> 
>>> On Jan 4, 2022, at 12:35 PM, General 2018 via use-livecode 
>>>  wrote:
>>> Hi,
>>> On MacOS, If I click on a stack - Livecode loads but in IDE some stack 
>>> slide buttons go missing and answer dialogs go hidden behind main stack.
>>> All else seems to work.
>>> If I open Livecode and then open the stack all is good.
>>> On Windows no issues either way.
>>> Regards Camm
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Invalid mac/ios standalone engine file

2021-12-31 Thread Jim At Consensus via use-livecode
Andreas/Panos,
So glad you asked/answered.
I’ve been putting off the Monterey update as I was afraid I wouldn’t be able to 
successfully build and deploy. 
Sounds safe to do as at least 1 person has had success.

Happy New Year.
~j

Sent from Jim's iPhone XR
Please excuse brevity, typos and errors

> On Dec 31, 2021, at 8:25 AM, panagiotis m via use-livecode 
>  wrote:
> 
> Hello Andreas,
> 
> You're welcome.
> 
> RE "ITMS-90683: Missing Purpose String in Info.plist”, since it is a
> warning, it can be ignored for now.
> 
> *Or should I always fill in the App Tracking Transparency field in the
> standalone settings, even if not relevant?*
> Nope, you should fill in this field only if your app tracks user activity
> among other apps/websites.
> 
> Have a happy new year :)
> 
> Cheers,
> Panos
> --
> 
> 
> 
> 
>> On Fri, 31 Dec 2021 at 18:11, Andreas Bergendal via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> Hi Panos,
>> 
>> I had set the minimum deployment target to 15.0 or later. Changing it to
>> 9.0 or later solved the problem!
>> 
>> The new standalone was successfully deployed to device, as well as
>> submitted for review on AppStore.
>> 
>> I got this warning feedback (on top of the traditional "ITMS-90078:
>> Missing Push Notification Entitlement”):
>> "ITMS-90683: Missing Purpose String in Info.plist”
>> 
>> As the app does not "access sensitive user data” I hope that warning too
>> can safely be ignored.
>> Or should I always fill in the App Tracking Transparency field in the
>> standalone settings, even if not relevant?
>> 
>> Anyway, many thanks for you swift and helpful reply Panos - I wish an
>> especially Happy New Year to you!
>> 
>> /Andreas
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Error when creating Android APK

2021-11-17 Thread Jim At Consensus via use-livecode
Strange. 

Clarification. My error is occurring during stand-alone build. I include a 
folder in the “Copy Files” section. In the folder are files “to be filled” 
recording user choices, etc. The build process fails on the first “empty” file.

Will be chasing workarounds today so will see. Many alternative approaches. 
First priority is getting successful build to test other stuff.

~j

Sent from Jim's iPhone XR
Please excuse brevity, typos and errors

> On Nov 17, 2021, at 7:29 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Jim,
> 
>> Am 17.11.2021 um 16:16 schrieb Jim At Consensus via use-livecode 
>> :
>> 
>> I just started getting a similar error when building a stand-alone for iOS. 
>> All of a sudden, the stand-alone builder is failing to find files when 
>> building and fails. Haven’t started troubleshooting in detail BUT it only 
>> happens when the file is empty (e.g. a text file with no data). Might be 
>> related?
> 
> no external files used with my stack!?
> 
>> Jim
>> LC9.6.4; xCode 12.5; Big Sur
> 
> oh, my system:
> macOS 10.14.6
> LC 9.6.4
> 
> But this is obviously only with that namely stack.
> Other stacks and newly created ones work fine.
> Very strange...
> 
>> Sent from Jim's iPhone XR
>> Please excuse brevity, typos and errors
>> 
>>>> On Nov 17, 2021, at 7:09 AM, Klaus major-k via use-livecode 
>>>>  wrote:
>>> 
>>> Hi friends,
>>> 
>>> until yesterday I could create Android APK packages without problems.
>>> 
>>> Today I tried the lesson: 
>>> <https://lessons.livecode.com/m/4069/l/32674-how-do-i-create-a-self-signed-certificate-for-an-android-app>
>>> Worked fine so far, Android Studio worked for a couple of minutes and 
>>> finally finished, whatever it was doing.
>>> 
>>> Now when I save a very simple stack, that I already created a standalone 
>>> from earlier,
>>> as standalone just for testing, I get this error:
>>> ---
>>> There was an error saving the standalone application
>>> could not find referenced asset to include -
>>> /Users/klaus2/Desktop/de.lproj
>>> ---
>>> Desktop? de.lproj? WTF? 8-)
>>> 
>>> I get this error when I select "Sign for development only" and also when 
>>> I select "Sign with my key" with the just created keystore file, so it is 
>>> not
>>> the keystore file. What am I missing?
>>> 
>>> Thanks in advance!
> 
> Best
> 
> Klaus
> 
> --
> 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


Re: Error when creating Android APK

2021-11-17 Thread Jim At Consensus via use-livecode
I just started getting a similar error when building a stand-alone for iOS. All 
of a sudden, the stand-alone builder is failing to find files when building and 
fails. Haven’t started troubleshooting in detail BUT it only happens when the 
file is empty (e.g. a text file with no data). Might be related?
Jim
LC9.6.4; xCode 12.5; Big Sur

Sent from Jim's iPhone XR
Please excuse brevity, typos and errors

> On Nov 17, 2021, at 7:09 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi friends,
> 
> until yesterday I could create Android APK packages without problems.
> 
> Today I tried the lesson: 
> 
> Worked fine so far, Android Studio worked for a couple of minutes and finally 
> finished, whatever it was doing.
> 
> Now when I save a very simple stack, that I already created a standalone from 
> earlier,
> as standalone just for testing, I get this error:
> ---
> There was an error saving the standalone application
> could not find referenced asset to include -
> /Users/klaus2/Desktop/de.lproj
> ---
> Desktop? de.lproj? WTF? 8-)
> 
> I get this error when I select "Sign for development only" and also when 
> I select "Sign with my key" with the just created keystore file, so it is not
> the keystore file. What am I missing?
> 
> Thanks in advance!
> 
> 
> Best
> 
> Klaus
> --
> 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


Re: xcode and catalina **NEW MBP**

2021-11-16 Thread Jim At Consensus via use-livecode
Do you mean “Monterey”. I’m in Bog Sur and Vataliba was a version Orr more ago. 

Doesn’t really matter. I’m holding off on upgrade to Monterey until LC can deal 
with xCode 13.

~j

Sent from Jim's iPhone XR
Please excuse brevity, typos and errors

> On Nov 16, 2021, at 9:23 AM, Mike Kerner via use-livecode 
>  wrote:
> 
> Has anyone gotten LC/XC to work on a new mac that came with catalina
> pre-installed?
> I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC 12.5.1
> and below not even running in Catalina, so I can't complete the installs.
> 
> -- 
> 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: [OT] M1 Mac Mini USB problems

2021-10-27 Thread Jim At Consensus via use-livecode
Can’t really help but would be surprised if Mini issue?

I’ve had issues with swapping things on my USB hub. I have a 10 port powered 
Aukey hub; 3 of the ports are power only for charging things without mounting. 
On the others, when I plug in a new accessory everything dismounts for a bit 
and then comes back. I haven’t figured out why and just avoid inserting things 
while other activities are going on. I leave a lightning cable or two plugged 
in even if not using them as the problem seems to only occur when I insert 
something into the USB ports on the hub and not when I mount something to a 
previously connected cable (though I could just be missing the issue).

J

Sent from Jim's iPhone XR
Please excuse brevity, typos and errors

> On Oct 27, 2021, at 8:47 AM, Ralph DiMola via use-livecode 
>  wrote:
> 
> I am having problems with my new 2020 Mac Mini's USB ports. The new time 
> machine disk will only backup a gig or two before erroring out. Then the disk 
> is then is not mountable. All sorts of errors when trying first aid or trying 
> to mount it via first aid. Sent the disk back and the new one did the same 
> thing. I can init it on the win 10 system and then the Mac Mini sees it 
> again. I thought it was an unpowered USB-A hub issue. I then got the power 
> supply for the hub and same thing. I bought an USB-C hub and again same 
> thing. Plugged the Drive directly into the Mac Mini and same problems. My USB 
> keyboard/mouse will not work reliably using either the USB-A or C hub. It 
> seems that the Mac Mini's USB HW/SW is flakey. 
> 
> Has anyone else seen/heard anything like this?
> 
> This is very annoying after dropping over a yard and a half on this thing to 
> replace my perfectly running Mac Book Pro so I could upgrade to Big Sur.
> 
> 
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC and the Apple Watch?

2021-07-15 Thread Jim At Consensus via use-livecode
We use simple notifications with our mindfulness app (ThanxBot). Would be easy 
enough to tweak that to convey real info but I think you’re limited to just the 
notification text unless you want to use something external.

Jim

Sent from Jim's iPhone XR
Please excuse brevity, typos and errors

> On Jul 15, 2021, at 2:45 PM, Graham Samuel via use-livecode 
>  wrote:
> 
> I’m refining my previous question: I see from a very sketchy read of Apple’s 
> documentation that a notification sent to an iPhone will be automatically 
> diverted to the phone’s user’s watch if the phone is locked. i still have no 
> real understanding of this mechanism. Has anyone in the LC community looked 
> into this?
> 
> Just wondering
> 
> Graham
> 
>> On 13 Jul 2021, at 11:04, Graham Samuel via use-livecode 
>>  wrote:
>> 
>> I notice that iOS apps can interact with the Apple Watch, for example by 
>> providing snippets of information on the watch while the main data or 
>> display stays on the iOS app. Can LC help in this limited use of the Watch? 
>> I am not expecting to develop fully functional watch apps, but rather to 
>> access some iOS API for communication with WatchOS.
>> 
>> Expecting the answer No, but you never know.
>> 
>> Graham
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: background images

2021-01-19 Thread Jim At Consensus via use-livecode
I usually use the preOpenCard approach with background images but have 
occasionally wanted to have a set of images on individual cards that do not 
change dynamically over time. In that case I’ve used an image that was NOT part 
of the background group. To create a new card (with a new image), I use “clone 
card” rather than new card. The image is created on the new card but is an 
individual image. I assign it a new file name and it doesn’t affect anything 
else. 

The best approach really depends on you use case.
Not sure which is more efficient. Storing images separately and loading on 
preOpenCard or having them preloaded on individual cards would guess the 
former if the stack starts with only a few images.

Sent from my iPhone
Please excuse brevity, typos and errors

> On Jan 19, 2021, at 1:49 AM, Richmond via use-livecode 
>  wrote:
> 
> Just import an image for a card and set its level to 1: no 'nonsense' about
> background images at all.
> 
> Richmond.
> 
>> On 19.01.21 2:44, Tim Selander via use-livecode wrote:
>> Right, which is why this is so confusing. I do not want a 'shared text' 
>> image.
>> Each card should keep it's own unique image, but when I change the image on 
>> one card, all the cards end up with the same image. That is what I want to 
>> fix.
>> 
>> Tim Selander
>> 
>>> On 2021.01.19 3:21, Klaus major-k via use-livecode wrote:
>>> Hi Tim,
>>> 
 Am 18.01.2021 um 19:12 schrieb Tim Selander via use-livecode 
 :
 
 This is driving me nuts.
 
 Have a 'background' group with an image. If I change the filename of an 
 image on one card, ALL the cards change to that image. Yet a field in the 
 same group properly will take unique values for each card.
 
 I know I've done this before... what setting am I missing??
 Dropbox link to test stack: 
 https://www.dropbox.com/s/0r0ku3fw2i2pen7/test.livecode?dl=0
>>> 
>>> fields can have a "sharedtext" property, so they can hold different text on 
>>> each card if part of a group.
>>> Images can NOT!
>>> 
 Any help appreciated!
 
 Tim Selander
 Tokyo, Japan
>>> 
>>> 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: Slightly OT: downloading Xcode

2020-10-03 Thread Jim At Consensus via use-livecode
Lest anyone think this is a rural issue. 

I live in a major metropolitan city in the US. (Seattle, Wa) And am still on 
DSL and can’t get cable or fiber to my house without paying to have poles 
placed and or conduit run underground... very expensive. Our DSL is over copper 
lines from 1936 whose insulation (lead) has been riddled with holes. 

When it rains, we have no internet and usually no phone. To get Apple updates, 
I either lose a day or go someplace with a reliable hispeed connecton.

Sent from Jim's iPhone XR
Please excuse brevity, typos and errors

> On Oct 3, 2020, at 9:26 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> This would be a saver alternative
> https://blog.kulman.sk/faster-way-to-download-and-install-xcode/ 
> 
> 
> It uses Aria2 
> https://formulae.brew.sh/formula/aria2 
> 
> and a ruby script
> https://gist.github.com/iandundas/fabe07455e5216442a421922361f698c 
> 
> 
> 
> Regards,
> 
> Matthias
> 
> Matthias Rebbe
> Software & Support
> Externer Datenschutz
> Bramkampsieke 13
> 32312 Lübbecke
> Tel+49 5741 31
>+49 160 5504462
> Fax: +49 5741 310002
> eMail: matth...@m-r-d.de 
> 
> BR5 Konverter - BR5 -> MP3 
> 
>> Am 03.10.2020 um 17:39 schrieb Mark Wieder via use-livecode 
>> mailto:use-livecode@lists.runrev.com>>:
>> 
>>> On 10/3/20 8:09 AM, Richmond via use-livecode wrote:
>>> I wonder:
>>> https://developerinsider.co/download-xcode-and-other-developer-tools-up-to-16-times-faster/
>>>  
>>> 
>>>  
>> 
>> Looks interesting, but I'd be wary of anything that does
>> install.sh | bash
>> without checking the source first
>> 
>> -- 
>> 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
> 
> 
> 
> -
> 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