Re: Problem an Repeat Loop
Yes! I was thinking of a one card, Sheesh It all worked! Paul Dupuis wrote: set the itemDelimiter to “|” repeat with x = 2 to sTotalSceneCount set the filename of img "slideImage" of card x to line x of sImageList set the text of fld "mainText" of card x to item x of of sQuoteList end repeat Brian Milby wrote: image “slideImage” of cd x fld “mainText” of cd x ___ use-livecode mailing list use-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 delete cards but card 1
You did it! Yay! BR Paul Dupuis wrote: repeat with i = the number of cards down to 2 delete card i end repeat ___ use-livecode mailing list use-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 delete cards but card 1
You cannot delete a card that contains a running script unless you send in time. If you delete the last card of a stack if will create a new card as otherwise there would be no stack. So this script it seems would run forever. Bob S > On Sep 28, 2020, at 6:02 AM, Sannyasin Brahmanathaswami via use-livecode > wrote: > > repeat forever > go last card > delete this card > end repeat > > I have tried everything in the manual > > ?? > BR > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: I Have a Problem With a Plug-In
Before launching your stack, select Suppress Messages from the Development menu. Bob S > On Sep 27, 2020, at 1:52 AM, FlexibleLearning.com via use-livecode > wrote: > > Assuming your openCard handler is in the script of card 1, from the message > box... > > edit the script of cd 1 of stack " CollectMyStacks.rev" > > Hugh Senior > > >> I have? CollectMyStacks.rev, close itself after opens the card >> >> on opencard >> send "mouseUp" to button "Position IDE" in 1 seconds >> close this stack >> end opencard >> >> Now, this was a bad idea. How to get the message >> >> close this stack >> >> how to delete that? >> >> set the lockMessages to true >> >> it has no affect. >> >> BR > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: included inclusions
If you manually select an inclusion that api is included in the project. I think the whole point of manual inclusions is to bypass what the engine thinks it ought to include. Bob S > On Sep 25, 2020, at 10:40 PM, scott--- via use-livecode > wrote: > > 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 ___ use-livecode mailing list use-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 published an iPhone app that works on iOS 14?
I’ve just recently upgraded my iPhone and so ended up using iOS14, initially some apps that I had previously installed on my older iPhone would’t install on the new phone, most of them are quite old, so I rebuilt them using LC9.6.0 and Xcode 11.4. The first time I launched them they all worked fine on first launch, but none of them would launch for a second time, however, when I rebuilt them again using LC9.6.1 and Xcode 11.5 they all work fine. These are all apps that I have built for my own use and are not published through the app store. Paul > On 28Sep, 2020, at 01:44, Graham Samuel via use-livecode > wrote: > > Sorry if this has been asked before, but a quick search of the list didn’t > reveal anything, and I have only been semi-lurking lately. > > The subject says it all. At this point I don’t know if I can create an app in > LC that runs reliably with iOS 14. I know there have been high volume > grumbles from some non-LC developers that they weren’t ready when Apple > started the rollout of 14 earlier than expected, but I don’t know the > substance of the complaints. > > Anyone just sailing along with no problems? I ask because I’m about to revive > an earlier app project and don’t want to crash and burn the moment I restart. > > 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: Has anyone published an iPhone app that works on iOS 14?
I have two iOS apps in the app store and they both run fine on iOS 14. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 28, 2020 3:46:13 AM Graham Samuel via use-livecode wrote: Sorry if this has been asked before, but a quick search of the list didn’t reveal anything, and I have only been semi-lurking lately. The subject says it all. At this point I don’t know if I can create an app in LC that runs reliably with iOS 14. I know there have been high volume grumbles from some non-LC developers that they weren’t ready when Apple started the rollout of 14 earlier than expected, but I don’t know the substance of the complaints. Anyone just sailing along with no problems? I ask because I’m about to revive an earlier app project and don’t want to crash and burn the moment I restart. 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: Has anyone published an iPhone app that works on iOS 14?
There are a few apps that I’ve worked on in the store that still work in iOS 14. Siva Siva is one that you can install and test. Sent from my iPhone > On Sep 28, 2020, at 4:45 AM, Graham Samuel via use-livecode > wrote: > > Sorry if this has been asked before, but a quick search of the list didn’t > reveal anything, and I have only been semi-lurking lately. > > The subject says it all. At this point I don’t know if I can create an app in > LC that runs reliably with iOS 14. I know there have been high volume > grumbles from some non-LC developers that they weren’t ready when Apple > started the rollout of 14 earlier than expected, but I don’t know the > substance of the complaints. > > Anyone just sailing along with no problems? I ask because I’m about to revive > an earlier app project and don’t want to crash and burn the moment I restart. > > 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: Problem an Repeat Loop
The long ID of the image will be different for each card, so this loop won’t work as expected. Also, do you really need to go to the card? You probably could build the object reference to include the card. So you would use: image “slideImage” of cd x fld “mainText” of cd x Sent from my iPhone > On Sep 28, 2020, at 8:43 AM, Sannyasin Brahmanathaswami via use-livecode > wrote: > > I use the long name of the image > > local sStoryImage > put the long id of img "slideImage" into sStoryImage > > still: > > # for development > local tPath > repeat with x = 2 to sTotalSceneCount > > put line x of sImageList into tPath >go to card x > set the filename of sStoryImage to tPath > set the itemDelimiter to “|” > put item x of sQuoteList into fld “mainText” > end repeat > > # I get a full line > > stack “makeStoryFromDisk”: execution error at line 68 (Chunk: error in > object expression), char 1 > > It is exactly the same as in input for behavior_story except that > do not work a repeat loop? > > > Tore Nilsen wrote: > >You do not refer to any object type when you try to set the fileName of > what should possibly be an image. > >Try this: >Set the fileName of image sStoryImage to tPath > >Best regards >Tore Nilsen > > > > ___ > use-livecode mailing list > use-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: Problem an Repeat Loop
On 9/28/2020 8:42 AM, Sannyasin Brahmanathaswami via use-livecode wrote: repeat with x = 2 to sTotalSceneCount put line x of sImageList into tPath go to card x set the filename of sStoryImage to tPath set the itemDelimiter to “|” put item x of sQuoteList into fld “mainText” end repeat something like this? It might be easier to help if you explained what you are trying to do. Have all the cards in this stack been created already? i.e. do you have sTotalSceneCount cards? Does each card contain a field called "mainText" and an image called "slideImage"? set the itemDelimiter to “|” repeat with x = 2 to sTotalSceneCount set the filename of img "slideImage" of card x to line x of sImageList set the text of fld "mainText" of card x to item x of of sQuoteList end repeat ___ use-livecode mailing list use-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 delete cards but card 1
repeat with i = the number of cards down to 2 delete card i end repeat On 9/28/2020 9:02 AM, Sannyasin Brahmanathaswami via use-livecode wrote: repeat forever go last card delete this card end repeat I have tried everything in the manual ?? BR ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
How to delete cards but card 1
repeat forever go last card delete this card end repeat I have tried everything in the manual ?? BR ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Problem an Repeat Loop
I use the long name of the image local sStoryImage put the long id of img "slideImage" into sStoryImage still: # for development local tPath repeat with x = 2 to sTotalSceneCount put line x of sImageList into tPath go to card x set the filename of sStoryImage to tPath set the itemDelimiter to “|” put item x of sQuoteList into fld “mainText” end repeat # I get a full line stack “makeStoryFromDisk”: execution error at line 68 (Chunk: error in object expression), char 1 It is exactly the same as in input for behavior_story except that do not work a repeat loop? Tore Nilsen wrote: You do not refer to any object type when you try to set the fileName of what should possibly be an image. Try this: Set the fileName of image sStoryImage to tPath Best regards Tore Nilsen ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Has anyone published an iPhone app that works on iOS 14?
Sorry if this has been asked before, but a quick search of the list didn’t reveal anything, and I have only been semi-lurking lately. The subject says it all. At this point I don’t know if I can create an app in LC that runs reliably with iOS 14. I know there have been high volume grumbles from some non-LC developers that they weren’t ready when Apple started the rollout of 14 earlier than expected, but I don’t know the substance of the complaints. Anyone just sailing along with no problems? I ask because I’m about to revive an earlier app project and don’t want to crash and burn the moment I restart. 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