From kaveh at rivervalleytechnologies.com Fri Mar 1 05:44:30 2019 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Fri, 1 Mar 2019 10:44:30 +0000 Subject: Format text data records for processing in Livecode In-Reply-To: <9ddd63bd-b97a-3c2e-5e25-eb80df286657@fourthworld.com> References: <9ddd63bd-b97a-3c2e-5e25-eb80df286657@fourthworld.com> Message-ID: On Fri, 1 Mar 2019 at 03:44, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Kaveh Bazargan wrote: > > > If it's working and you're happy keep doing it. > > At some point you may find arrays very powerful. This circumstance seems > a natural fit for them, as they keep data separated -- even binary data > -- while remaining blindingly fast to get at the piece you want whenever > you want it. > > You are right Richard. It is a testament to LiveCode that I can do sophisticated stuff (by my standards) and not use arrays, but you have now rightly pushed me to get into arrays, especially the speed gain that is important for me. Thanks for all the good advice you give on this list. :-) > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Kaveh Bazargan PhD Director River Valley Technologies ? Twitter ? LinkedIn From michael-kristensen at dsa-net.dk Fri Mar 1 06:26:54 2019 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Fri, 1 Mar 2019 12:26:54 +0100 Subject: Bug with polygons Message-ID: <90842B2F-E10F-4449-BABD-82CA8DB397D0@dsa-net.dk> Hi there Mac, Livecode 9.02 Non-Opaque polygons block the mouse click, when their lineSize is greater than 9. (This figure varies) You can test the bug in this little stack. https://www.dropbox.com/s/7rsa9qo7fi1295e/Polygon%20Bug.zip?dl=0 Michael From brahma at hindu.org Fri Mar 1 10:09:41 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 1 Mar 2019 15:09:41 +0000 Subject: Go in Window on Mobile / Not Obeying Purge? Message-ID: Good news! Go [new-stack] in window of stack [old-stack] Is working on mobile! I was revamping the navigation of SivaSiva, and thought I would try it. (did not work on a few version ago). Now works great. Even moving from portrait to landscope, as a long you have to mobileSetFullScreenRectForOrientations "landscape left,landscape right","0,0,667,375" set right. BUT... although all my modules/stacks have both "purge stack/window" set to true, I am seeing change on stacks that are "closed" when you reopen them again. Thus, it means that Purge stack/window is not implemented on Go [new-stack] in window of stack [old-stack] on mobile. Can anyone confirm? I wonder how long the RAM can keep up before it crashes. BR From ambassador at fourthworld.com Fri Mar 1 10:37:14 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Mar 2019 07:37:14 -0800 Subject: Go in Window on Mobile / Not Obeying Purge? In-Reply-To: References: Message-ID: <9f2459a7-7a03-c23e-79db-d8c23c3e6a81@fourthworld.com> Sannyasin Brahmanathaswami wrote: >... although all my modules/stacks have both "purge stack/window" set > to true, I am seeing change on stacks that are "closed" when you > reopen them again. > > Thus, it means that Purge stack/window is not implemented on > > Go [new-stack] in window of stack [old-stack] on mobile. > > Can anyone confirm? I wonder how long the RAM can keep up before it > crashes. Personally that seems like a bug to me. Maybe worth reporting. The manner in which a stack is closed shouldn't matter with regard to how destroyStack works. But just to clarify, the stack in question is a separate stack file, and not a substack of the one you're going to, yes? Remember that LC keeps the entire stack file in RAM, and can't purge it until the mainstack and all substacks within the stack file are closed. If it is purgeable (as a separate stack file), my hunch is you won't ever see a RAM issue from caching. If you do it would be a bug. Caching is intended to speed up access, not to prevent ordinary behavior, so things not in use are purged as RAM is needed (same with cached images and other things). If you're seeing slow or crashing behavior that seems like it might be RAM-related, maybe Apple's Instruments tool in xCode can help provide clarity on that: https://apple.stackexchange.com/questions/71237/how-to-identify-cpu-and-memory-usage-per-process-on-iphone -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From hh at hyperhh.de Fri Mar 1 11:20:10 2019 From: hh at hyperhh.de (hh) Date: Fri, 1 Mar 2019 17:20:10 +0100 Subject: Bug with polygons Message-ID: Yes. I have it too here, in LC 9.0.2 and LC 8.1.10. Did you already report the bug? Currently we could use as a workaround to disable the graphic, from the message box, for simple scenarios. And set the foreColor of it to have a full color. > Michael K. wrote: > Non-Opaque polygons block the mouse click, when their > lineSize is greater than 9. (This figure varies) From bogdanoff at me.com Fri Mar 1 14:09:50 2019 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 1 Mar 2019 11:09:50 -0800 Subject: Go in Window on Mobile / Not Obeying Purge? In-Reply-To: <9f2459a7-7a03-c23e-79db-d8c23c3e6a81@fourthworld.com> References: <9f2459a7-7a03-c23e-79db-d8c23c3e6a81@fourthworld.com> Message-ID: <66691A9F-5B2A-4795-BA9F-7D812F8476FB@me.com> I?ve found that if an inspector is open for something in that stack, purging is incomplete. Peter > On Mar 1, 2019, at 7:37 AM, Richard Gaskin via use-livecode wrote: > > Sannyasin Brahmanathaswami wrote: > > >... although all my modules/stacks have both "purge stack/window" set > > to true, I am seeing change on stacks that are "closed" when you > > reopen them again. > > > > Thus, it means that Purge stack/window is not implemented on > > > > Go [new-stack] in window of stack [old-stack] on mobile. > > > > Can anyone confirm? I wonder how long the RAM can keep up before it > > crashes. > > Personally that seems like a bug to me. Maybe worth reporting. The manner in which a stack is closed shouldn't matter with regard to how destroyStack works. > > But just to clarify, the stack in question is a separate stack file, and not a substack of the one you're going to, yes? > > Remember that LC keeps the entire stack file in RAM, and can't purge it until the mainstack and all substacks within the stack file are closed. > > If it is purgeable (as a separate stack file), my hunch is you won't ever see a RAM issue from caching. If you do it would be a bug. Caching is intended to speed up access, not to prevent ordinary behavior, so things not in use are purged as RAM is needed (same with cached images and other things). > > If you're seeing slow or crashing behavior that seems like it might be RAM-related, maybe Apple's Instruments tool in xCode can help provide clarity on that: > https://apple.stackexchange.com/questions/71237/how-to-identify-cpu-and-memory-usage-per-process-on-iphone > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Fri Mar 1 14:43:04 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 1 Mar 2019 14:43:04 -0500 Subject: Go in Window on Mobile / Not Obeying Purge? In-Reply-To: <66691A9F-5B2A-4795-BA9F-7D812F8476FB@me.com> References: <9f2459a7-7a03-c23e-79db-d8c23c3e6a81@fourthworld.com> <66691A9F-5B2A-4795-BA9F-7D812F8476FB@me.com> Message-ID: <007b01d4d067$00b99c00$022cd400$@net> That's one of my annoyances. Say you are inspecting a field and then delete the field the inspector does not close. One would think that if a control is deleted while an inspector for that object is open the inspector would close. This makes me wonder if the card retains some artifacts of the deleted field if it's deleted while the inspector is open? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter Bogdanoff via use-livecode Sent: Friday, March 01, 2019 2:10 PM To: How to use LiveCode Cc: Peter Bogdanoff Subject: Re: Go in Window on Mobile / Not Obeying Purge? I?ve found that if an inspector is open for something in that stack, purging is incomplete. Peter > On Mar 1, 2019, at 7:37 AM, Richard Gaskin via use-livecode wrote: > > Sannyasin Brahmanathaswami wrote: > > >... although all my modules/stacks have both "purge stack/window" set > >to true, I am seeing change on stacks that are "closed" when you > >reopen them again. > > > > Thus, it means that Purge stack/window is not implemented on > > > > Go [new-stack] in window of stack [old-stack] on mobile. > > > > Can anyone confirm? I wonder how long the RAM can keep up before it > > crashes. > > Personally that seems like a bug to me. Maybe worth reporting. The manner in which a stack is closed shouldn't matter with regard to how destroyStack works. > > But just to clarify, the stack in question is a separate stack file, and not a substack of the one you're going to, yes? > > Remember that LC keeps the entire stack file in RAM, and can't purge it until the mainstack and all substacks within the stack file are closed. > > If it is purgeable (as a separate stack file), my hunch is you won't ever see a RAM issue from caching. If you do it would be a bug. Caching is intended to speed up access, not to prevent ordinary behavior, so things not in use are purged as RAM is needed (same with cached images and other things). > > If you're seeing slow or crashing behavior that seems like it might be RAM-related, maybe Apple's Instruments tool in xCode can help provide clarity on that: > https://apple.stackexchange.com/questions/71237/how-to-identify-cpu-an > d-memory-usage-per-process-on-iphone > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Fri Mar 1 15:06:53 2019 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 1 Mar 2019 12:06:53 -0800 Subject: Format text data records for processing in Livecode In-Reply-To: References: <9ddd63bd-b97a-3c2e-5e25-eb80df286657@fourthworld.com> Message-ID: <9AC76F38-A374-403E-98AF-1C3A2354EE1D@me.com> I must say that once I started using arrays for data storage and access, I never looked back. Compact, fast, malleable. Many years ago I thought I would take a continuing education C programming class at a university. Knowing only HyperTalk, I muddled along until mid-semester when the curriculum now turned to arrays. I withdrew from the class; I wasn?t ready. Now, with more water under the bridge, I embrace the array. Peter Bogdanoff ArtsInteractive > On Mar 1, 2019, at 2:44 AM, Kaveh Bazargan via use-livecode wrote: > > On Fri, 1 Mar 2019 at 03:44, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Kaveh Bazargan wrote: >> >> >> If it's working and you're happy keep doing it. >> >> At some point you may find arrays very powerful. This circumstance seems >> a natural fit for them, as they keep data separated -- even binary data >> -- while remaining blindingly fast to get at the piece you want whenever >> you want it. >> >> > You are right Richard. It is a testament to LiveCode that I can do > sophisticated stuff (by my standards) and not use arrays, but you have now > rightly pushed me to get into arrays, especially the speed gain that is > important for me. Thanks for all the good advice you give on this list. :-) > > >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Kaveh Bazargan PhD > Director > River Valley Technologies ? Twitter > ? LinkedIn > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Sat Mar 2 04:07:07 2019 From: david.bovill at gmail.com (David Bovill) Date: Sat, 2 Mar 2019 09:07:07 +0000 Subject: Dead code elimination In-Reply-To: References: <562BAD62.5020004@fourthworld.com> <7461D6A0-32CD-4920-BCAE-57654B67F818@livecode.com> <31c6f306edadde31367bf8a4d30b40fb@livecode.com> <78FC0ECB-4DA0-4DC3-A33C-9C0B295DA1B1@sweattechnologies.com> <9F6C9114-EBF1-47A6-B77E-6496D1EEB1E3@sweattechnologies.com> Message-ID: I?ve searched around but still nothing I can find regarding tree shaking / dead code elimination in C++. What I want to be able to do is not compile the whole engine, just the code needed for the execution of the cgi. Is this possible? Is this on the road map? On Sun, 24 Feb 2019 at 18:38, David Bovill wrote: > I understand that Livecode uses the LLVM compiler infrastructure to create > llvm bytecode that for instance emscripten can use to transpile to > javascript. I'm wandering if it is possible to do things like: > > - Export the server engine to llvm bytecode? > - Take a some livecode script, do some tree shaking and get some nice > compact bytecode export that uses only the bits needed by the livecode > script? > > Is any of this possible now, is it planned for or looks like it may be > possible in the nearish future / next couple of years? > From michael-kristensen at dsa-net.dk Sat Mar 2 08:36:59 2019 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Sat, 2 Mar 2019 14:36:59 +0100 Subject: Polygon Bug In-Reply-To: References: Message-ID: <20850D1F-771D-409A-9D92-CEE675055BD3@dsa-net.dk> Hi hh Thanks for the reply If you are a reg member of the bug site then please go a head and report it, because Im not Michael > > Yes. I have it too here, in LC 9.0.2 and LC 8.1.10. > Did you already report the bug? > > Currently we could use as a workaround to disable the graphic, > from the message box, for simple scenarios. > And set the foreColor of it to have a full color. > >> Michael K. wrote: >> Non-Opaque polygons block the mouse click, when their >> lineSize is greater than 9. (This figure varies) > From brahma at hindu.org Sat Mar 2 08:41:40 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 2 Mar 2019 13:41:40 +0000 Subject: Go in Window on Mobile / Not Obeying Purge? In-Reply-To: <9f2459a7-7a03-c23e-79db-d8c23c3e6a81@fourthworld.com> References: <9f2459a7-7a03-c23e-79db-d8c23c3e6a81@fourthworld.com> Message-ID: <6DB0A900-9729-4C8A-90D3-C031A315B1D4@hindu.org> Good morning Richard "But just to clarify, the stack in question is a separate stack file, and not a substack of the one you're going to, yes?" @ Peter & Ralph "inspectors still open for closed stack" -- that would be only desktop. But this is on mobile. In a standalone. I am seeing runtime changes to the UI -- a puzzle game, you can leave it mid-way through the game, all the "tiles" left in a new location... go to another stack, go third stack, and back to the puzzle. Tiles are still where you left them So, we deem this a "bug"? But... could be a possible use case to leave it the way it is? Navigation is now using a "back" script call Lib_SivaSivaPortal.livecodescript Handler: portal_GoStack (trimmed version for this mail) command portal_GoStack cardOrStackObject put the short name of this stack into oStackName # cannot pass quotes to these strings or you will # break the JSON, BR added utilities section to lib_SivaSiva put removeQuotes(cardOrStackObject) into pTrackdata["contentTarget"] if oStackName <> empty then # this is not the first run boot of portal deleteAllMobileControls # will destroy all except audioPlayer end if set the acceleratedRendering of stack oStackName to false if isMobile() then go cardOrStackObject in stack oStackName else # desktop: does not work to go from portrait to landscape # hence: close stack oStackName go cardOrStackObject end if end portal_GoStack It appears that a simple hack would be if isMobile() then go cardOrStackObject in stack oStackName close stack oStackName [snip] ... Which I tried... it works and does not affect performance. But the use case could be: ---------------- Put "wordpuzzles,journal,myTracking" into tNoCloseStacks if isMobile() then go cardOrStackObject in stack oStackName If oStackname notI(is among) items of tNoCloseStacks then close stack oStackName end if [snip] My puzzle fanatic users will love that! Users as the "high end" - Level 4 with 206-270 characters, (really hard!) means they can came back to it... but oops? On iOS, if leave the app, but don't close the app. And come back to it, the puzzle reverts to the original, default save state. (no tiles, waiting to choose "New Puzzle" :-( Aside: This means that there *is* a resume app message that is sent on mobile! Jacque has asked about this in the past.... Now I don't know, it is a bug or not? I don?t see "this close the previous stack" anyway in the "Go" entry of the dictionary " Use the go command to move to another card in the current stack, to open a stack and go to a card within it, or to move backward and forward among recently visited cards. If the stack is open, is closed but loaded into memory, or is listed in the current stack's stackFiles property, you can specify it simply by name:" BR From liste.revo at medard.on-rev.com Sat Mar 2 11:04:11 2019 From: liste.revo at medard.on-rev.com (Medard) Date: Sat, 2 Mar 2019 17:04:11 +0100 Subject: [FR] Message de gestion : suppression de la liste livecodefr Message-ID: <1o3tlux.14y7qch10sjd4wM%liste.revo@medard.on-rev.com> Hi! This message to warn french speaking users of "livecodefr" list =========== Bonjour ! De part mes pouvoirs de mod?rateur de la liste revolutionfr sur Yahoo ;-) j'ai demand? ? l'effacement ? (comme ils disent) de cette liste. Cette liste ?tait compl?tement inactive depuis un long moment ? mais il y avait encore des personnes qui s'inscrivaient ! Suppression d?finitive dans 15 jours. Voili, voilo, Domi, AKA M?dard From jacque at hyperactivesw.com Sat Mar 2 12:09:21 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 02 Mar 2019 11:09:21 -0600 Subject: Go in Window on Mobile / Not Obeying Purge? In-Reply-To: <6DB0A900-9729-4C8A-90D3-C031A315B1D4@hindu.org> References: <9f2459a7-7a03-c23e-79db-d8c23c3e6a81@fourthworld.com> <6DB0A900-9729-4C8A-90D3-C031A315B1D4@hindu.org> Message-ID: <1693f61b1e8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On Android, if you leave the app, the OS will remove it from RAM if it needs the memory. It sounds like iOS is doing the same thing. Since SivaSiva is so big, memory may be tight enough to drop the puzzle stack when you come back to the app. It would depend on the RAM in the device. I don't know of any resume messages, though I wish we had them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 2, 2019 7:43:20 AM Sannyasin Brahmanathaswami via use-livecode wrote: > Good morning Richard > > "But just to clarify, the stack in question is a separate stack file, and > not a substack of the one you're going to, yes?" > > @ Peter & Ralph > > "inspectors still open for closed stack" -- that would be only desktop. But > this is on mobile. In a standalone. > > I am seeing runtime changes to the UI -- a puzzle game, you can leave it > mid-way through the game, all the "tiles" left in a new location... go to > another stack, go third stack, and back to the puzzle. Tiles are still > where you left them So, we deem this a "bug"? But... could be a possible > use case to leave it the way it is? > > Navigation is now using a "back" script call > > Lib_SivaSivaPortal.livecodescript > > Handler: portal_GoStack (trimmed version for this mail) > > command portal_GoStack cardOrStackObject > > put the short name of this stack into oStackName > > # cannot pass quotes to these strings or you will > # break the JSON, BR added utilities section to lib_SivaSiva > > put removeQuotes(cardOrStackObject) into pTrackdata["contentTarget"] > > if oStackName <> empty then # this is not the first run boot of portal > deleteAllMobileControls # will destroy all except audioPlayer > end if > > set the acceleratedRendering of stack oStackName to false > > if isMobile() then > go cardOrStackObject in stack oStackName > > else > > # desktop: does not work to go from portrait to landscape > # hence: > > close stack oStackName > go cardOrStackObject > > end if > > end portal_GoStack > > It appears that a simple hack would be > > if isMobile() then > go cardOrStackObject in stack oStackName > close stack oStackName > [snip] > > ... Which I tried... it works and does not affect performance. > > But the use case could be: > > ---------------- > Put "wordpuzzles,journal,myTracking" into tNoCloseStacks > > if isMobile() then > go cardOrStackObject in stack oStackName > If oStackname notI(is among) items of tNoCloseStacks then > close stack oStackName > end if > [snip] > > My puzzle fanatic users will love that! Users as the "high end" - Level 4 > with 206-270 characters, (really hard!) means they can came back to it... > > but oops? On iOS, if leave the app, but don't close the app. And come back > to it, the puzzle reverts to the original, default save state. (no tiles, > waiting to choose "New Puzzle" > > :-( > > Aside: This means that there *is* a resume app message that is sent on > mobile! Jacque has asked about this in the past.... > > Now I don't know, it is a bug or not? I don?t see "this close the previous > stack" anyway in the "Go" entry of the dictionary > > " Use the go command to move to another card in the current stack, to > open a stack and go to a card within it, or to move backward and forward > among recently visited cards. > > If the stack is open, is closed but loaded into memory, or is listed in > the current stack's stackFiles property, you can specify it simply > by name:" > > > BR > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Sat Mar 2 17:53:24 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sat, 2 Mar 2019 22:53:24 +0000 Subject: Go in Window on Mobile / Not Obeying Purge? In-Reply-To: <1693f61b1e8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <9f2459a7-7a03-c23e-79db-d8c23c3e6a81@fourthworld.com> <6DB0A900-9729-4C8A-90D3-C031A315B1D4@hindu.org> <1693f61b1e8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: While there don't appear to be suspend or resume messages on mobile you can sort of script your own resume message using a timer. If the timer is updated regularly using a send in time approach then the send will be delayed while the app is in the background. If the interval between the current and previous timer update is longer than expected then the app has been suspended and resumed. Some example code below... on updateSessionTimer pCmd if pCmd = "clear" then put empty into pSessionTimer put the pendingMessages into tPM filter tPM with "*updateSessionTimer*" repeat for each line tX in tPM cancel (item 1 of tX) end repeat exit updateSessionTimer end if if (pCmd = "reset") or (pSessionTimer is empty) then # initialise sessionTimer put seconds() into pSessionTimer send "updateSessionTimer" to me in 5 secs else put seconds() into tNow put tNow-pSessionTimer into tElapsed put tNow into pSessionTimer send "updateSessionTimer" to me in 5 secs if tElapsed > 10 then answer "resuming after suspend" ## end if end if end updateSessionTimer On 3/03/2019 4:10 am, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: On Android, if you leave the app, the OS will remove it from RAM if it needs the memory. It sounds like iOS is doing the same thing. Since SivaSiva is so big, memory may be tight enough to drop the puzzle stack when you come back to the app. It would depend on the RAM in the device. I don't know of any resume messages, though I wish we had them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 2, 2019 7:43:20 AM Sannyasin Brahmanathaswami via use-livecode wrote: > Good morning Richard > > "But just to clarify, the stack in question is a separate stack file, and > not a substack of the one you're going to, yes?" > > @ Peter & Ralph > > "inspectors still open for closed stack" -- that would be only desktop. But > this is on mobile. In a standalone. > > I am seeing runtime changes to the UI -- a puzzle game, you can leave it > mid-way through the game, all the "tiles" left in a new location... go to > another stack, go third stack, and back to the puzzle. Tiles are still > where you left them So, we deem this a "bug"? But... could be a possible > use case to leave it the way it is? > > Navigation is now using a "back" script call > > Lib_SivaSivaPortal.livecodescript > > Handler: portal_GoStack (trimmed version for this mail) > > command portal_GoStack cardOrStackObject > > put the short name of this stack into oStackName > > # cannot pass quotes to these strings or you will > # break the JSON, BR added utilities section to lib_SivaSiva > > put removeQuotes(cardOrStackObject) into pTrackdata["contentTarget"] > > if oStackName <> empty then # this is not the first run boot of portal > deleteAllMobileControls # will destroy all except audioPlayer > end if > > set the acceleratedRendering of stack oStackName to false > > if isMobile() then > go cardOrStackObject in stack oStackName > > else > > # desktop: does not work to go from portrait to landscape > # hence: > > close stack oStackName > go cardOrStackObject > > end if > > end portal_GoStack > > It appears that a simple hack would be > > if isMobile() then > go cardOrStackObject in stack oStackName > close stack oStackName > [snip] > > ... Which I tried... it works and does not affect performance. > > But the use case could be: > > ---------------- > Put "wordpuzzles,journal,myTracking" into tNoCloseStacks > > if isMobile() then > go cardOrStackObject in stack oStackName > If oStackname notI(is among) items of tNoCloseStacks then > close stack oStackName > end if > [snip] > > My puzzle fanatic users will love that! Users as the "high end" - Level 4 > with 206-270 characters, (really hard!) means they can came back to it... > > but oops? On iOS, if leave the app, but don't close the app. And come back > to it, the puzzle reverts to the original, default save state. (no tiles, > waiting to choose "New Puzzle" > > :-( > > Aside: This means that there *is* a resume app message that is sent on > mobile! Jacque has asked about this in the past.... > > Now I don't know, it is a bug or not? I don?t see "this close the previous > stack" anyway in the "Go" entry of the dictionary > > " Use the go command to move to another card in the current stack, to > open a stack and go to a card within it, or to move backward and forward > among recently visited cards. > > If the stack is open, is closed but loaded into memory, or is listed in > the current stack's stackFiles property, you can specify it simply > by name:" > > > BR > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacques.clavel at gmail.com Sun Mar 3 03:49:30 2019 From: jacques.clavel at gmail.com (Jacques Clavel) Date: Sun, 3 Mar 2019 09:49:30 +0100 Subject: [FR] Message de gestion : suppression de la liste livecodefr In-Reply-To: <1o3tlux.14y7qch10sjd4wM%liste.revo@medard.on-rev.com> References: <1o3tlux.14y7qch10sjd4wM%liste.revo@medard.on-rev.com> Message-ID: OK pas de probl?me Jacques Clavel Le sam. 2 mars 2019 ? 17:04, Medard via use-livecode < use-livecode at lists.runrev.com> a ?crit : > Hi! > > This message to warn french speaking users of "livecodefr" list > > =========== > > Bonjour ! > > > De part mes pouvoirs de mod?rateur de la liste revolutionfr sur Yahoo > ;-) > > j'ai demand? ? l'effacement ? (comme ils disent) de cette liste. > > Cette liste ?tait compl?tement inactive depuis un long moment > ? mais il y avait encore des personnes qui s'inscrivaient ! > > Suppression d?finitive dans 15 jours. > > Voili, voilo, > Domi, AKA M?dard > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacques Clavel From brahma at hindu.org Sun Mar 3 08:03:47 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 3 Mar 2019 13:03:47 +0000 Subject: Go in Window on Mobile / Not Obeying Purge? In-Reply-To: References: <9f2459a7-7a03-c23e-79db-d8c23c3e6a81@fourthworld.com> <6DB0A900-9729-4C8A-90D3-C031A315B1D4@hindu.org> <1693f61b1e8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5E7101DF-C686-46BC-8542-81A293ED8EEB@hindu.org> Wow, that's cool.... we could put a button in the game that passed. "Keep Puzzle" (# for as long as the app is open) on MouseUp updateSessionTimer "reset" end mouseup though I wonder if the app would crash after a while, if the user forgot about it? Worth a try, because there a very "strong" use case for this. -- user is doing an activity in your app -- received/makes a phone call, email, got a "What app" notification...etc interrupted for whatever reason... -- resumes activity in your app Brahmanathaswami Terry Judd wrote: While there don't appear to be suspend or resume messages on mobile you can sort of script your own resume message using a timer. From brahma at hindu.org Sun Mar 3 08:07:48 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 3 Mar 2019 13:07:48 +0000 Subject: Release 9.0.3 RC-1 iOS Rejection (app uses the HealthKit or CareKit APIs but does not indicate integration with the Health app) In-Reply-To: References: <7289908A-E991-4BB6-8FD3-1A03D4D890C9@hyperhh.de> <007501d4cf99$0b065fa0$21131ee0$@net> Message-ID: Bug report # - is what? Brahmanathaswami ?On 2/28/19, 10:26 AM, "use-livecode on behalf of panagiotis merakos via use-livecode" wrote: Hello Ralph, Yes, this is caused by the HealthKit-related plist entries. See this bug report, and the linked forum discussion for a workaround. Or you could apply locally the fix described in the PR Best, Panos From General.2018 at outlook.com Sun Mar 3 10:33:48 2019 From: General.2018 at outlook.com (General 2018) Date: Sun, 3 Mar 2019 15:33:48 +0000 Subject: Is this a bug ? Message-ID: Hi , Windows 10 tablet on screen keyboard does not open when attempting to enter field text ? LC 9.0.2 Regards Camm From jjs at krutt.org Sun Mar 3 10:14:58 2019 From: jjs at krutt.org (JJS) Date: Sun, 3 Mar 2019 16:14:58 +0100 Subject: Standalone Linux X64 place word Standalone behind name Message-ID: Hi, anyone noticed that if you create a standalone for Linux and use x64, the word Standalone is added after the name. This happens on Linux and Windows, did not test on Mac. It's not happening with x32. Must be a simple bug. Regards, Jerry From rdimola at evergreeninfo.net Sun Mar 3 11:33:35 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 3 Mar 2019 11:33:35 -0500 Subject: Release 9.0.3 RC-1 iOS Rejection (app uses the HealthKit or CareKit APIs but does not indicate integration with the Health app) In-Reply-To: References: <7289908A-E991-4BB6-8FD3-1A03D4D890C9@hyperhh.de> <007501d4cf99$0b065fa0$21131ee0$@net> Message-ID: <004501d4d1de$dbb62800$93227800$@net> Bug report https://quality.livecode.com/show_bug.cgi?id=21862 Forum: https://forums.livecode.com/viewtopic.php?f=49&t=32227&p=177162&hilit=HealthKit#p177162 Pull: https://github.com/livecode/livecode/pull/6891 I locally implemented the fix in the pull request. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Sannyasin Brahmanathaswami via use-livecode Sent: Sunday, March 03, 2019 8:08 AM To: How to use LiveCode Cc: Sannyasin Brahmanathaswami Subject: Re: Release 9.0.3 RC-1 iOS Rejection (app uses the HealthKit or CareKit APIs but does not indicate integration with the Health app) Bug report # - is what? Brahmanathaswami ?On 2/28/19, 10:26 AM, "use-livecode on behalf of panagiotis merakos via use-livecode" wrote: Hello Ralph, Yes, this is caused by the HealthKit-related plist entries. See this bug report, and the linked forum discussion for a workaround. Or you could apply locally the fix described in the PR Best, Panos _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sun Mar 3 12:11:17 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 3 Mar 2019 18:11:17 +0100 Subject: Standalone Linux X64 place word Standalone behind name In-Reply-To: References: Message-ID: <73AD1993-2BBC-45D2-9046-3E24F492F994@m-r-d.de> Hi, i?ve just tried it here on Mac and can replicate this, but only i select to build for Linux and for Linux X64. If i select to just build for Linux X64 then this does not happen. Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 03.03.2019 um 16:14 schrieb JJS via use-livecode >: > > Hi, > > > anyone noticed that if you create a standalone for Linux and use x64, the word Standalone is added after the name. > > This happens on Linux and Windows, did not test on Mac. > > It's not happening with x32. > > > Must be a simple bug. > > > Regards, > > Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sun Mar 3 13:28:07 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 3 Mar 2019 10:28:07 -0800 Subject: Go in Window on Mobile / Not Obeying Purge? In-Reply-To: References: Message-ID: <95839ad6-bd06-c619-e9b3-4a3ea1c96c11@fourthworld.com> Terry Judd wrote: > While there don't appear to be suspend or resume messages on mobile > you can sort of script your own resume message using a timer. I had thought both iOS and Android would reclaim memory by closing backgrounded apps if needed. Is that no longer the case? Does the use of the timer prevent the OS from being able to manage its apps, perhaps similar to how LC on the desktop won't quit if timers are pending? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jjs at krutt.org Sun Mar 3 15:16:15 2019 From: jjs at krutt.org (JJS) Date: Sun, 3 Mar 2019 21:16:15 +0100 Subject: Standalone Linux X64 place word Standalone behind name In-Reply-To: <73AD1993-2BBC-45D2-9046-3E24F492F994@m-r-d.de> References: <73AD1993-2BBC-45D2-9046-3E24F492F994@m-r-d.de> Message-ID: <46dc9e48-14ae-8cb5-28ab-c238e091bcf7@krutt.org> Yes, indeed. I just checked. When selecting only x64 then the Standalone is not added after the name. I think i will report a bug, because either build is in it's own folder anyway so it does not need the standalone word after it. Thanks for checking. Jerry Op 3-3-2019 om 18:11 schreef Matthias Rebbe via use-livecode: > Hi, > > i?ve just tried it here on Mac and can replicate this, but only i select to build for Linux and for Linux X64. > If i select to just build for Linux X64 then this does not happen. > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > >> Am 03.03.2019 um 16:14 schrieb JJS via use-livecode >: >> >> Hi, >> >> >> anyone noticed that if you create a standalone for Linux and use x64, the word Standalone is added after the name. >> >> This happens on Linux and Windows, did not test on Mac. >> >> It's not happening with x32. >> >> >> Must be a simple bug. >> >> >> Regards, >> >> Jerry >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Sun Mar 3 15:22:40 2019 From: jjs at krutt.org (JJS) Date: Sun, 3 Mar 2019 21:22:40 +0100 Subject: Standalone Linux X64 place word Standalone behind name In-Reply-To: <46dc9e48-14ae-8cb5-28ab-c238e091bcf7@krutt.org> References: <73AD1993-2BBC-45D2-9046-3E24F492F994@m-r-d.de> <46dc9e48-14ae-8cb5-28ab-c238e091bcf7@krutt.org> Message-ID: <72b13a48-7179-3351-d6c2-9f4f87b197d1@krutt.org> added https://quality.livecode.com/show_bug.cgi?id=21871 Op 3-3-2019 om 21:16 schreef JJS via use-livecode: > Yes, indeed. I just checked. > > When selecting only x64 then the Standalone is not added after the name. > > > I think i will report a bug, because either build is in it's own > folder anyway so it does not need the standalone word after it. > > > Thanks for checking. > > Jerry > > Op 3-3-2019 om 18:11 schreef Matthias Rebbe via use-livecode: >> Hi, >> >> i?ve just tried it here on Mac and can replicate this, but only i >> select to build for Linux and for Linux X64. >> If i select to just build for Linux X64 then this does not happen. >> >> >> Matthias Rebbe >> >> free tools for Livecoders: >> https://instamaker.dermattes.de >> https://winsignhelper.dermattes.de >> >>> Am 03.03.2019 um 16:14 schrieb JJS via use-livecode >>> >: >>> >>> Hi, >>> >>> >>> anyone noticed that if you create a standalone for Linux and use >>> x64, the word Standalone is added after the name. >>> >>> This happens on Linux and Windows, did not test on Mac. >>> >>> It's not happening with x32. >>> >>> >>> Must be a simple bug. >>> >>> >>> Regards, >>> >>> Jerry >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Sun Mar 3 16:17:44 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 3 Mar 2019 21:17:44 +0000 Subject: Go in Window on Mobile / Not Obeying Purge? In-Reply-To: <95839ad6-bd06-c619-e9b3-4a3ea1c96c11@fourthworld.com> References: <95839ad6-bd06-c619-e9b3-4a3ea1c96c11@fourthworld.com> Message-ID: <8051C5E1-B008-4DD9-966C-7E8694FF4E3B@unimelb.edu.au> Haven't noticed any problems but the honest answer is that I don't know. How would you go about testing for issues? Terry... On 4/3/19, 5:28 am, "use-livecode on behalf of Richard Gaskin via use-livecode" wrote: Terry Judd wrote: > While there don't appear to be suspend or resume messages on mobile > you can sort of script your own resume message using a timer. I had thought both iOS and Android would reclaim memory by closing backgrounded apps if needed. Is that no longer the case? Does the use of the timer prevent the OS from being able to manage its apps, perhaps similar to how LC on the desktop won't quit if timers are pending? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From General.2018 at outlook.com Sun Mar 3 16:52:17 2019 From: General.2018 at outlook.com (General 2018) Date: Sun, 3 Mar 2019 21:52:17 +0000 Subject: Is this a bug ? In-Reply-To: References: Message-ID: Hi , Reported as Bug 21872. Regards Steve > On 3 Mar 2019, at 15:34, General 2018 via use-livecode wrote: > > Hi , > > Windows 10 tablet on screen keyboard does not open when attempting to enter field text ? > > LC 9.0.2 > > Regards > Camm > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sun Mar 3 18:54:06 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 3 Mar 2019 15:54:06 -0800 Subject: Go in Window on Mobile / Not Obeying Purge? In-Reply-To: <8051C5E1-B008-4DD9-966C-7E8694FF4E3B@unimelb.edu.au> References: <8051C5E1-B008-4DD9-966C-7E8694FF4E3B@unimelb.edu.au> Message-ID: <5357fa22-60e3-fd1a-22c4-02e40ee079c4@fourthworld.com> Good question. Unless there are stress-testing tools for this, maybe open the app in the morning, use a lot of apps throughout day while never re-opening yours, and in the evening finally bring yours to the front any see if it evidences time-dependent behavior. -- Richard Gaskin Fourth World Systems Terry Judd wrote: > Haven't noticed any problems but the honest answer is that I don't > know. How would you go about testing for issues? > > > On 4/3/19, 5:28 am, "use-livecode on behalf of Richard Gaskin wrote: > > Terry Judd wrote: > >> While there don't appear to be suspend or resume messages on >> mobile you can sort of script your own resume message using a >> timer. >> >> I had thought both iOS and Android would reclaim memory by closing >> backgrounded apps if needed. >> >> Is that no longer the case? > > Does the use of the timer prevent the OS from being able to manage > its apps, perhaps similar to how LC on the desktop won't quit if > timers are pending? > > -- > Richard Gaskin From bogdanoff at me.com Mon Mar 4 00:10:00 2019 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sun, 3 Mar 2019 21:10:00 -0800 Subject: WordPress/PHP In-Reply-To: References: Message-ID: <3DEE477C-D038-4225-B46E-631DCED13146@me.com> Hi, Any PHP people on this list? A non-LiveCode problem: I have a person who has been doing some work modifying our WordPress/WooCommerce site and is having trouble communicating with an outside system (.net). He says he cannot figure out how to properly decrypt what?s being sent to him. Is there anyone who would be able and willing jump in to help us out? Peter Bogdanoff ArtsInteractive bogdanoff at me.com From prothero at earthlearningsolutions.org Mon Mar 4 01:18:18 2019 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Sun, 3 Mar 2019 22:18:18 -0800 Subject: WordPress/PHP In-Reply-To: <3DEE477C-D038-4225-B46E-631DCED13146@me.com> References: <3DEE477C-D038-4225-B46E-631DCED13146@me.com> Message-ID: Don?t know if this will help, but I have a php script that demonstrates php encryption at: http://earthlearningsolutions.org/google-static-maps-demo/ The encryption is of traffic between LC and a php script on a server and, as an example, may help. Best, Bill William Prothero http://es.earthednet.org > On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode wrote: > > Hi, > > Any PHP people on this list? A non-LiveCode problem: > > I have a person who has been doing some work modifying our WordPress/WooCommerce site and is having trouble communicating with an outside system (.net). He says he cannot figure out how to properly decrypt what?s being sent to him. > > Is there anyone who would be able and willing jump in to help us out? > > Peter Bogdanoff > ArtsInteractive > bogdanoff at me.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Mar 4 09:35:17 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 4 Mar 2019 16:35:17 +0200 Subject: [ANN] This Week in LiveCode 170 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #170 here: https://goo.gl/p44iZr This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From tom at makeshyft.com Mon Mar 4 10:54:55 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 4 Mar 2019 10:54:55 -0500 Subject: WordPress/PHP In-Reply-To: References: <3DEE477C-D038-4225-B46E-631DCED13146@me.com> Message-ID: i remember doing a php encryption and trying to make it work with LC..it was a no go....based on some kind of padding that PHP does. I didn't have time to figure it out, so I can't help you solve it from my experience...... but .....you're not going crazy...its PHP. On Mon, Mar 4, 2019 at 1:18 AM prothero--- via use-livecode < use-livecode at lists.runrev.com> wrote: > Don?t know if this will help, but I have a php script that demonstrates > php encryption at: > http://earthlearningsolutions.org/google-static-maps-demo/ > The encryption is of traffic between LC and a php script on a server and, > as an example, may help. > Best, > Bill > > William Prothero > http://es.earthednet.org > > > On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi, > > > > Any PHP people on this list? A non-LiveCode problem: > > > > I have a person who has been doing some work modifying our > WordPress/WooCommerce site and is having trouble communicating with an > outside system (.net). He says he cannot figure out how to properly decrypt > what?s being sent to him. > > > > Is there anyone who would be able and willing jump in to help us out? > > > > Peter Bogdanoff > > ArtsInteractive > > bogdanoff at me.com > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Mon Mar 4 10:07:03 2019 From: jjs at krutt.org (JJS) Date: Mon, 4 Mar 2019 16:07:03 +0100 Subject: WordPress/PHP In-Reply-To: References: <3DEE477C-D038-4225-B46E-631DCED13146@me.com> Message-ID: <5c87badb-b699-3080-2f13-58ec89064fa3@krutt.org> If you happen to know the type of encryption used and also have the keys or hash, salt whatever used to decrypt it you could read out the DB value with LC and decrypt it with LC i only use PHP as middleware to communicate with MySql/MariaDB Op 4-3-2019 om 16:54 schreef Tom Glod via use-livecode: > i remember doing a php encryption and trying to make it work with LC..it > was a no go....based on some kind of padding that PHP does. > > I didn't have time to figure it out, so I can't help you solve it from my > experience...... but .....you're not going crazy...its PHP. > > On Mon, Mar 4, 2019 at 1:18 AM prothero--- via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Don?t know if this will help, but I have a php script that demonstrates >> php encryption at: >> http://earthlearningsolutions.org/google-static-maps-demo/ >> The encryption is of traffic between LC and a php script on a server and, >> as an example, may help. >> Best, >> Bill >> >> William Prothero >> http://es.earthednet.org >> >>> On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> Hi, >>> >>> Any PHP people on this list? A non-LiveCode problem: >>> >>> I have a person who has been doing some work modifying our >> WordPress/WooCommerce site and is having trouble communicating with an >> outside system (.net). He says he cannot figure out how to properly decrypt >> what?s being sent to him. >>> Is there anyone who would be able and willing jump in to help us out? >>> >>> Peter Bogdanoff >>> ArtsInteractive >>> bogdanoff at me.com >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Mon Mar 4 11:21:18 2019 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Mon, 4 Mar 2019 08:21:18 -0800 Subject: WordPress/PHP In-Reply-To: <5c87badb-b699-3080-2f13-58ec89064fa3@krutt.org> References: <3DEE477C-D038-4225-B46E-631DCED13146@me.com> <5c87badb-b699-3080-2f13-58ec89064fa3@krutt.org> Message-ID: <9A85FA93-6B16-4C09-9B0A-DF52ADF5C3CA@earthlearningsolutions.org> Entries on the dB itself are not encrypted, so I could use Navicat to view them. But it probably would be more secure if the entries in the dB itself were encrypted. Bill William Prothero http://es.earthednet.org > On Mar 4, 2019, at 7:07 AM, JJS via use-livecode wrote: > > If you happen to know the type of encryption used and also have the keys or hash, salt whatever used to decrypt it > > you could read out the DB value with LC and decrypt it with LC > > i only use PHP as middleware to communicate with MySql/MariaDB > > Op 4-3-2019 om 16:54 schreef Tom Glod via use-livecode: >> i remember doing a php encryption and trying to make it work with LC..it >> was a no go....based on some kind of padding that PHP does. >> >> I didn't have time to figure it out, so I can't help you solve it from my >> experience...... but .....you're not going crazy...its PHP. >> >> On Mon, Mar 4, 2019 at 1:18 AM prothero--- via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Don?t know if this will help, but I have a php script that demonstrates >>> php encryption at: >>> http://earthlearningsolutions.org/google-static-maps-demo/ >>> The encryption is of traffic between LC and a php script on a server and, >>> as an example, may help. >>> Best, >>> Bill >>> >>> William Prothero >>> http://es.earthednet.org >>> >>>> On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> Hi, >>>> >>>> Any PHP people on this list? A non-LiveCode problem: >>>> >>>> I have a person who has been doing some work modifying our >>> WordPress/WooCommerce site and is having trouble communicating with an >>> outside system (.net). He says he cannot figure out how to properly decrypt >>> what?s being sent to him. >>>> Is there anyone who would be able and willing jump in to help us out? >>>> >>>> Peter Bogdanoff >>>> ArtsInteractive >>>> bogdanoff at me.com >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Mon Mar 4 12:21:30 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 4 Mar 2019 17:21:30 +0000 Subject: Fields in Android Do Not Show Last Line Message-ID: <7398D715-0E7D-4A34-80E9-9523A8FD7E31@hindu.org> I have a field which shows quotes in an app. 400 pixels wide 320 pixels tall Font is Helvetica Neue (which shows nicely on iOS and Android) Font size is 24 Fixed line height = true Text Height = 32 Margins: 48,0,37.0 On desktop: scroll down.. that last line of the field shows completely On iOS scroll down.. that last line of the field shows completely On Android scroll down.. that last line of the field will not show! We use this to create a scroller on mobile command CreateScroller pName -- scrolling fields if not isMobile() then exit CreateScroller deleteMobileControl pName -- delete any existing put (the rect of control pName) into tRect mobileControlCreate "scroller", pName mobileControlSet pName, "rect", tRect put ("0,0," & (the formattedwidth of control pName) & "," & the formattedheight of control pName) into tRect mobileControlSet pName, "contentRect" , tRect mobileControlSet pName, "hScroll" , 0 mobileControlSet pName, "vScroll" , 0 mobileControlSet pName, "hIndicator" , false if pName = "quote" then mobileControlSet pName, "vIndicator", true end if mobileControlSet pName, "visible", true end CreateScroller Why can't we scroll to show that last line of the field on Android? BR From rdimola at evergreeninfo.net Mon Mar 4 12:39:19 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 4 Mar 2019 12:39:19 -0500 Subject: Fields in Android Do Not Show Last Line In-Reply-To: <7398D715-0E7D-4A34-80E9-9523A8FD7E31@hindu.org> References: <7398D715-0E7D-4A34-80E9-9523A8FD7E31@hindu.org> Message-ID: <001801d4d2b1$3584d890$a08e89b0$@net> BR, I always add 20px to item 4 the "contentRect". I did this a long time ago. 20 Is probably a kludge and could be calculated to a more precise value, but it has worked for me since 2011. In your example: ("0,0," & (the formattedwidth of control pName) & "," & the formattedheight of control pName + 20) into tRect mobileControlSet pName, "contentRect" , tRect Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Sannyasin Brahmanathaswami via use-livecode Sent: Monday, March 04, 2019 12:22 PM To: How LiveCode Cc: Sannyasin Brahmanathaswami Subject: Fields in Android Do Not Show Last Line I have a field which shows quotes in an app. 400 pixels wide 320 pixels tall Font is Helvetica Neue (which shows nicely on iOS and Android) Font size is 24 Fixed line height = true Text Height = 32 Margins: 48,0,37.0 On desktop: scroll down.. that last line of the field shows completely On iOS scroll down.. that last line of the field shows completely On Android scroll down.. that last line of the field will not show! We use this to create a scroller on mobile command CreateScroller pName -- scrolling fields if not isMobile() then exit CreateScroller deleteMobileControl pName -- delete any existing put (the rect of control pName) into tRect mobileControlCreate "scroller", pName mobileControlSet pName, "rect", tRect put ("0,0," & (the formattedwidth of control pName) & "," & the formattedheight of control pName) into tRect mobileControlSet pName, "contentRect" , tRect mobileControlSet pName, "hScroll" , 0 mobileControlSet pName, "vScroll" , 0 mobileControlSet pName, "hIndicator" , false if pName = "quote" then mobileControlSet pName, "vIndicator", true end if mobileControlSet pName, "visible", true end CreateScroller Why can't we scroll to show that last line of the field on Android? BR _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Mon Mar 4 13:02:42 2019 From: jjs at krutt.org (JJS) Date: Mon, 4 Mar 2019 19:02:42 +0100 Subject: WordPress/PHP In-Reply-To: <9A85FA93-6B16-4C09-9B0A-DF52ADF5C3CA@earthlearningsolutions.org> References: <3DEE477C-D038-4225-B46E-631DCED13146@me.com> <5c87badb-b699-3080-2f13-58ec89064fa3@krutt.org> <9A85FA93-6B16-4C09-9B0A-DF52ADF5C3CA@earthlearningsolutions.org> Message-ID: <98db351c-2065-6b19-8f87-087f3571d0e2@krutt.org> Ok you said that the info he received was not decryptable. Can you put that info in a field in LC and then try to decrypt it, if you have the credentials? Op 4-3-2019 om 17:21 schreef prothero--- via use-livecode: > Entries on the dB itself are not encrypted, so I could use Navicat to view them. But it probably would be more secure if the entries in the dB itself were encrypted. > > Bill > > William Prothero > http://es.earthednet.org > >> On Mar 4, 2019, at 7:07 AM, JJS via use-livecode wrote: >> >> If you happen to know the type of encryption used and also have the keys or hash, salt whatever used to decrypt it >> >> you could read out the DB value with LC and decrypt it with LC >> >> i only use PHP as middleware to communicate with MySql/MariaDB >> >> Op 4-3-2019 om 16:54 schreef Tom Glod via use-livecode: >>> i remember doing a php encryption and trying to make it work with LC..it >>> was a no go....based on some kind of padding that PHP does. >>> >>> I didn't have time to figure it out, so I can't help you solve it from my >>> experience...... but .....you're not going crazy...its PHP. >>> >>> On Mon, Mar 4, 2019 at 1:18 AM prothero--- via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Don?t know if this will help, but I have a php script that demonstrates >>>> php encryption at: >>>> http://earthlearningsolutions.org/google-static-maps-demo/ >>>> The encryption is of traffic between LC and a php script on a server and, >>>> as an example, may help. >>>> Best, >>>> Bill >>>> >>>> William Prothero >>>> http://es.earthednet.org >>>> >>>>> On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>> Hi, >>>>> >>>>> Any PHP people on this list? A non-LiveCode problem: >>>>> >>>>> I have a person who has been doing some work modifying our >>>> WordPress/WooCommerce site and is having trouble communicating with an >>>> outside system (.net). He says he cannot figure out how to properly decrypt >>>> what?s being sent to him. >>>>> Is there anyone who would be able and willing jump in to help us out? >>>>> >>>>> Peter Bogdanoff >>>>> ArtsInteractive >>>>> bogdanoff at me.com >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Mon Mar 4 15:24:54 2019 From: irog at mac.com (Roger Guay) Date: Mon, 4 Mar 2019 13:24:54 -0700 Subject: TabStops and Tab Spacings Message-ID: <9A09785F-8AE9-4BC4-9980-CF6084E111A2@mac.com> This is driving me crazy: I have a styled text field in the IDE called myFld for which I set the TabStops to 15,250,320 Is there any way to export myFld to URL and retain the Tab spacings 15,250,320 ? Thanks for your help, Roger From stephen at barncard.com Mon Mar 4 15:53:27 2019 From: stephen at barncard.com (Stephen Barncard) Date: Mon, 4 Mar 2019 12:53:27 -0800 Subject: TabStops and Tab Spacings In-Reply-To: <9A09785F-8AE9-4BC4-9980-CF6084E111A2@mac.com> References: <9A09785F-8AE9-4BC4-9980-CF6084E111A2@mac.com> Message-ID: Hi, In the past I've set up a special format for field listing with column names on the first line and tab stops (as comma separated integers( on the very last line) human readable sqb -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Mon, Mar 4, 2019 at 12:25 PM Roger Guay via use-livecode < use-livecode at lists.runrev.com> wrote: > This is driving me crazy: > > I have a styled text field in the IDE called myFld for which I set the > TabStops to 15,250,320 > Is there any way to export myFld to URL and retain the Tab spacings > 15,250,320 ? > > Thanks for your help, > > Roger > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bogdanoff at me.com Mon Mar 4 17:48:58 2019 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 4 Mar 2019 14:48:58 -0800 Subject: WordPress/PHP In-Reply-To: <98db351c-2065-6b19-8f87-087f3571d0e2@krutt.org> References: <3DEE477C-D038-4225-B46E-631DCED13146@me.com> <5c87badb-b699-3080-2f13-58ec89064fa3@krutt.org> <9A85FA93-6B16-4C09-9B0A-DF52ADF5C3CA@earthlearningsolutions.org> <98db351c-2065-6b19-8f87-087f3571d0e2@krutt.org> Message-ID: <0AE6AD81-4A30-4EE7-8ECD-9BA59848C255@me.com> Thanks for all the replies. The whole operation I?m describing is solely WordPress, not touching LiveCode at all. I personally have no knowledge of PHP/WordPress but am tasked with getting this problem fixed somehow. If there is someone who could talk to my guy and help him troubleshoot, we would be glad to reimburse for your time and expertise! Peter Bogdanoff > On Mar 4, 2019, at 10:02 AM, JJS via use-livecode wrote: > > Ok you said that the info he received was not decryptable. > > Can you put that info in a field in LC and then try to decrypt it, if you have the credentials? > > Op 4-3-2019 om 17:21 schreef prothero--- via use-livecode: >> Entries on the dB itself are not encrypted, so I could use Navicat to view them. But it probably would be more secure if the entries in the dB itself were encrypted. >> >> Bill >> >> William Prothero >> http://es.earthednet.org >> >>> On Mar 4, 2019, at 7:07 AM, JJS via use-livecode wrote: >>> >>> If you happen to know the type of encryption used and also have the keys or hash, salt whatever used to decrypt it >>> >>> you could read out the DB value with LC and decrypt it with LC >>> >>> i only use PHP as middleware to communicate with MySql/MariaDB >>> >>> Op 4-3-2019 om 16:54 schreef Tom Glod via use-livecode: >>>> i remember doing a php encryption and trying to make it work with LC..it >>>> was a no go....based on some kind of padding that PHP does. >>>> >>>> I didn't have time to figure it out, so I can't help you solve it from my >>>> experience...... but .....you're not going crazy...its PHP. >>>> >>>> On Mon, Mar 4, 2019 at 1:18 AM prothero--- via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> Don?t know if this will help, but I have a php script that demonstrates >>>>> php encryption at: >>>>> http://earthlearningsolutions.org/google-static-maps-demo/ >>>>> The encryption is of traffic between LC and a php script on a server and, >>>>> as an example, may help. >>>>> Best, >>>>> Bill >>>>> >>>>> William Prothero >>>>> http://es.earthednet.org >>>>> >>>>>> On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>>> Hi, >>>>>> >>>>>> Any PHP people on this list? A non-LiveCode problem: >>>>>> >>>>>> I have a person who has been doing some work modifying our >>>>> WordPress/WooCommerce site and is having trouble communicating with an >>>>> outside system (.net). He says he cannot figure out how to properly decrypt >>>>> what?s being sent to him. >>>>>> Is there anyone who would be able and willing jump in to help us out? >>>>>> >>>>>> Peter Bogdanoff >>>>>> ArtsInteractive >>>>>> bogdanoff at me.com >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Mon Mar 4 17:59:49 2019 From: tore.nilsen at me.com (Tore Nilsen) Date: Mon, 4 Mar 2019 23:59:49 +0100 Subject: TabStops and Tab Spacings In-Reply-To: <9A09785F-8AE9-4BC4-9980-CF6084E111A2@mac.com> References: <9A09785F-8AE9-4BC4-9980-CF6084E111A2@mac.com> Message-ID: If I understand your question correctly, you would like to export the styled text to an external document. If this is the case then you could use this: Put the rtfText of field myField into url myURL ? where the file extension should be .rtf. You will then have styled text document where, to the best of my knowledge, your tab stops should be preserved. Best regard Tore Nilsen > 4. mar. 2019 kl. 21:24 skrev Roger Guay via use-livecode : > > This is driving me crazy: > > I have a styled text field in the IDE called myFld for which I set the TabStops to 15,250,320 > Is there any way to export myFld to URL and retain the Tab spacings 15,250,320 ? > > Thanks for your help, > > Roger > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Mon Mar 4 20:14:08 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 4 Mar 2019 20:14:08 -0500 Subject: WordPress/PHP In-Reply-To: <0AE6AD81-4A30-4EE7-8ECD-9BA59848C255@me.com> References: <3DEE477C-D038-4225-B46E-631DCED13146@me.com> <5c87badb-b699-3080-2f13-58ec89064fa3@krutt.org> <9A85FA93-6B16-4C09-9B0A-DF52ADF5C3CA@earthlearningsolutions.org> <98db351c-2065-6b19-8f87-087f3571d0e2@krutt.org> <0AE6AD81-4A30-4EE7-8ECD-9BA59848C255@me.com> Message-ID: hey peter, i work with wordpress and php all the time....and lc of course........ i can take a shot at it.....i wouldn't mind solving this for my project as well. pm me, tom at makeshyft.com On Mon, Mar 4, 2019 at 5:49 PM Peter Bogdanoff via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks for all the replies. > > The whole operation I?m describing is solely WordPress, not touching > LiveCode at all. I personally have no knowledge of PHP/WordPress but am > tasked with getting this problem fixed somehow. > > If there is someone who could talk to my guy and help him troubleshoot, we > would be glad to reimburse for your time and expertise! > > Peter Bogdanoff > > > > On Mar 4, 2019, at 10:02 AM, JJS via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Ok you said that the info he received was not decryptable. > > > > Can you put that info in a field in LC and then try to decrypt it, if > you have the credentials? > > > > Op 4-3-2019 om 17:21 schreef prothero--- via use-livecode: > >> Entries on the dB itself are not encrypted, so I could use Navicat to > view them. But it probably would be more secure if the entries in the dB > itself were encrypted. > >> > >> Bill > >> > >> William Prothero > >> http://es.earthednet.org > >> > >>> On Mar 4, 2019, at 7:07 AM, JJS via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> If you happen to know the type of encryption used and also have the > keys or hash, salt whatever used to decrypt it > >>> > >>> you could read out the DB value with LC and decrypt it with LC > >>> > >>> i only use PHP as middleware to communicate with MySql/MariaDB > >>> > >>> Op 4-3-2019 om 16:54 schreef Tom Glod via use-livecode: > >>>> i remember doing a php encryption and trying to make it work with > LC..it > >>>> was a no go....based on some kind of padding that PHP does. > >>>> > >>>> I didn't have time to figure it out, so I can't help you solve it > from my > >>>> experience...... but .....you're not going crazy...its PHP. > >>>> > >>>> On Mon, Mar 4, 2019 at 1:18 AM prothero--- via use-livecode < > >>>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>>> Don?t know if this will help, but I have a php script that > demonstrates > >>>>> php encryption at: > >>>>> http://earthlearningsolutions.org/google-static-maps-demo/ > >>>>> The encryption is of traffic between LC and a php script on a server > and, > >>>>> as an example, may help. > >>>>> Best, > >>>>> Bill > >>>>> > >>>>> William Prothero > >>>>> http://es.earthednet.org > >>>>> > >>>>>> On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode < > >>>>> use-livecode at lists.runrev.com> wrote: > >>>>>> Hi, > >>>>>> > >>>>>> Any PHP people on this list? A non-LiveCode problem: > >>>>>> > >>>>>> I have a person who has been doing some work modifying our > >>>>> WordPress/WooCommerce site and is having trouble communicating with > an > >>>>> outside system (.net). He says he cannot figure out how to properly > decrypt > >>>>> what?s being sent to him. > >>>>>> Is there anyone who would be able and willing jump in to help us > out? > >>>>>> > >>>>>> Peter Bogdanoff > >>>>>> ArtsInteractive > >>>>>> bogdanoff at me.com > >>>>>> _______________________________________________ > >>>>>> use-livecode mailing list > >>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Mon Mar 4 20:14:49 2019 From: hh at hyperhh.de (hh) Date: Tue, 5 Mar 2019 02:14:49 +0100 Subject: TabStops and Tab Spacings Message-ID: <0A8607F5-2E8B-4BFC-B838-B894486ED83E@hyperhh.de> Using the htmltext or the rtfText will not work: They contain the tabs but NOT the tabspacing. You could try the following, it works for me. Make a browser widget with the width of your table field = fld 1. -- Converts a simple table field with tabstops to a html -- [-hh fect Mar 2019] on mouseUp put the htmltext of fld 1 into ht put the effective textSize of fld 1 into fs put the tabstops of fld 1 into tStops put the width of fld 1 into fw put empty into tabbs -- we need tabstops relative, not absolute put item 1 of tStops into tabbs[1] repeat with i=2 to the num of items of tStops put item i of tStops - item (i-1) of tStops into tabbs[i] end repeat set itemdel to " " set linedel to "

" replace "

" with empty in ht put "
"into s0 repeat for each line L in ht put empty into s repeat with i=1 to the num of items of L put item i of L into II put "" after s end repeat if s is not empty then put cr&""&s&"" after s0 end repeat put "" & cr & \ "" & \ s0 & cr & "
" &II& "
" into htm set htmltext of widget "browser" to htm end mouseUp From hh at hyperhh.de Mon Mar 4 20:20:59 2019 From: hh at hyperhh.de (hh) Date: Tue, 5 Mar 2019 02:20:59 +0100 Subject: TabStops and Tab Spacings Message-ID: <8C9CD081-38F7-4613-A139-1DE66C649121@hyperhh.de> The itemdel (that was translated from html in my last post to a tab) is the htmlCode of tab: numToChar(38)&"#9;". From hh at hyperhh.de Mon Mar 4 20:41:21 2019 From: hh at hyperhh.de (hh) Date: Tue, 5 Mar 2019 02:41:21 +0100 Subject: TabStops and Tab Spacings Message-ID: To avoid misunderstandings here again the (correctly displayed) code: -- Converts a simple table field with tabstops to a html -- [-hh fecit, Mar 2019] on mouseUp put the htmltext of fld 1 into ht put the effective textSize of fld 1 into fs put the tabstops of fld 1 into tStops put the width of fld 1 into fw put empty into tabbs -- we need tabstops relative, not absolute put item 1 of tStops into tabbs[1] repeat with i=2 to the num of items of tStops put item i of tStops - item (i-1) of tStops into tabbs[i] end repeat set itemdel to ("&" & "#9"); set linedel to "

" replace "

" with empty in ht put "
"into s0 repeat for each line L in ht put empty into s repeat with i=1 to the num of items of L put item i of L into II put "" after s end repeat if s is not empty then put cr&""&s&"" after s0 end repeat put "" & cr & \ "" & \ s0 & cr & "
" &II& "
" into htm set htmltext of widget "browser" to htm end mouseUp From hh at hyperhh.de Mon Mar 4 20:45:52 2019 From: hh at hyperhh.de (hh) Date: Tue, 5 Mar 2019 02:45:52 +0100 Subject: TabStops and Tab Spacings Message-ID: Last trial. Typos removed and tested to work. Sorry for the previous faulty version, it's too late here. -- Converts a simple table field with tabstops to a html -- [-hh fecit, Mar 2019] on mouseUp put the htmltext of fld 1 into ht put the effective textSize of fld 1 into fs put the tabstops of fld 1 into tStops put the width of fld 1 into fw put empty into tabbs -- we need tabstops relative, not absolute put item 1 of tStops into tabbs[1] repeat with i=2 to the num of items of tStops put item i of tStops - item (i-1) of tStops into tabbs[i] end repeat set itemdel to ("&" & "#9;"); set linedel to "

" replace "

" with empty in ht put "
"into s0 repeat for each line L in ht put empty into s repeat with i=1 to the num of items of L put item i of L into II put "" after s end repeat if s is not empty then put cr&""&s&"" after s0 end repeat put "" & cr & \ "" & \ s0 & cr & "
" &II& "
" into htm set htmltext of widget "browser" to htm end mouseUp From irog at mac.com Mon Mar 4 21:33:46 2019 From: irog at mac.com (Roger Guay) Date: Mon, 4 Mar 2019 19:33:46 -0700 Subject: TabStops and Tab Spacings In-Reply-To: References: <9A09785F-8AE9-4BC4-9980-CF6084E111A2@mac.com> Message-ID: <5F446F83-45BA-4044-9004-0B975623DCD3@mac.com> This is what I am doing, Torre, but it?s not working! What is preserved is the number of tabs inserted but not the tab spacing. In the output document, I have to manually adjust the tabs in the tab bar of TextEdit. Thanks, Roger > On Mar 4, 2019, at 3:59 PM, Tore Nilsen via use-livecode wrote: > > Put the rtfText of field myField into url myURL ? where the file extension should be .rtf. You will then have styled text document where, to the best of my knowledge, your tab stops should be preserved. > From irog at mac.com Mon Mar 4 21:44:09 2019 From: irog at mac.com (Roger Guay) Date: Mon, 4 Mar 2019 19:44:09 -0700 Subject: TabStops and Tab Spacings In-Reply-To: References: Message-ID: <6D694E4A-2260-4B3D-BA29-4966D02123B7@mac.com> Thank you, Herman. I?m going to have to study this to see if I can use it. I am not converting a "simple table field? but rather a simple field with tabStops (not sure if that makes a difference?). Also, I?m working with rtfText instead of HTMLText. (Again, not sure if that makes a difference or even what the trades are of each) Thank you very much for taking so much time to help me. Roger > On Mar 4, 2019, at 6:45 PM, hh via use-livecode wrote: > > Last trial. Typos removed and tested to work. > Sorry for the previous faulty version, it's too late here. > > -- Converts a simple table field with tabstops to a html > -- [-hh fecit, Mar 2019] > on mouseUp > put the htmltext of fld 1 into ht > put the effective textSize of fld 1 into fs > put the tabstops of fld 1 into tStops > put the width of fld 1 into fw > put empty into tabbs > -- we need tabstops relative, not absolute > put item 1 of tStops into tabbs[1] > repeat with i=2 to the num of items of tStops > put item i of tStops - item (i-1) of tStops into tabbs[i] > end repeat > set itemdel to ("&" & "#9;"); > set linedel to "

" > replace "

" with empty in ht > put "
"style='font-size:"&fs&"'>"into s0 > repeat for each line L in ht > put empty into s > repeat with i=1 to the num of items of L > put item i of L into II > put "" after s > end repeat > if s is not empty then put cr&""&s&"" after s0 > end repeat > put "" & cr & \ > "" & \ > s0 & cr & "
" &II& "
" into htm > set htmltext of widget "browser" to htm > end mouseUp > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Tue Mar 5 00:37:37 2019 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 4 Mar 2019 21:37:37 -0800 Subject: WordPress/PHP In-Reply-To: References: <3DEE477C-D038-4225-B46E-631DCED13146@me.com> <5c87badb-b699-3080-2f13-58ec89064fa3@krutt.org> <9A85FA93-6B16-4C09-9B0A-DF52ADF5C3CA@earthlearningsolutions.org> <98db351c-2065-6b19-8f87-087f3571d0e2@krutt.org> <0AE6AD81-4A30-4EE7-8ECD-9BA59848C255@me.com> Message-ID: <89F843C1-C1C2-4FF1-8039-1EE44B6CC7B7@me.com> Hi Tom and all, An update?the people at the remote end (actually in China) have gotten someone else on the case, whom it seems will be a better fit to work with our guy here to try to solve the problems. Previously, there was language/communication difficulties and we were getting nowhere, and our WordPress programmer was getting discouraged with the whole thing. So, at the moment, I?m going to see if they can figure it out. Thanks to all who jumped in to help. I do appreciate you all! Peter Bogdanoff ArtsInteractive > On Mar 4, 2019, at 5:14 PM, Tom Glod via use-livecode wrote: > > hey peter, i work with wordpress and php all the time....and lc of > course........ i can take a shot at it.....i wouldn't mind solving this > for my project as well. > > pm me, tom at makeshyft.com > > On Mon, Mar 4, 2019 at 5:49 PM Peter Bogdanoff via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Thanks for all the replies. >> >> The whole operation I?m describing is solely WordPress, not touching >> LiveCode at all. I personally have no knowledge of PHP/WordPress but am >> tasked with getting this problem fixed somehow. >> >> If there is someone who could talk to my guy and help him troubleshoot, we >> would be glad to reimburse for your time and expertise! >> >> Peter Bogdanoff >> >> >>> On Mar 4, 2019, at 10:02 AM, JJS via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Ok you said that the info he received was not decryptable. >>> >>> Can you put that info in a field in LC and then try to decrypt it, if >> you have the credentials? >>> >>> Op 4-3-2019 om 17:21 schreef prothero--- via use-livecode: >>>> Entries on the dB itself are not encrypted, so I could use Navicat to >> view them. But it probably would be more secure if the entries in the dB >> itself were encrypted. >>>> >>>> Bill >>>> >>>> William Prothero >>>> http://es.earthednet.org >>>> >>>>> On Mar 4, 2019, at 7:07 AM, JJS via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> If you happen to know the type of encryption used and also have the >> keys or hash, salt whatever used to decrypt it >>>>> >>>>> you could read out the DB value with LC and decrypt it with LC >>>>> >>>>> i only use PHP as middleware to communicate with MySql/MariaDB >>>>> >>>>> Op 4-3-2019 om 16:54 schreef Tom Glod via use-livecode: >>>>>> i remember doing a php encryption and trying to make it work with >> LC..it >>>>>> was a no go....based on some kind of padding that PHP does. >>>>>> >>>>>> I didn't have time to figure it out, so I can't help you solve it >> from my >>>>>> experience...... but .....you're not going crazy...its PHP. >>>>>> >>>>>> On Mon, Mar 4, 2019 at 1:18 AM prothero--- via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>>> Don?t know if this will help, but I have a php script that >> demonstrates >>>>>>> php encryption at: >>>>>>> http://earthlearningsolutions.org/google-static-maps-demo/ >>>>>>> The encryption is of traffic between LC and a php script on a server >> and, >>>>>>> as an example, may help. >>>>>>> Best, >>>>>>> Bill >>>>>>> >>>>>>> William Prothero >>>>>>> http://es.earthednet.org >>>>>>> >>>>>>>> On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode < >>>>>>> use-livecode at lists.runrev.com> wrote: >>>>>>>> Hi, >>>>>>>> >>>>>>>> Any PHP people on this list? A non-LiveCode problem: >>>>>>>> >>>>>>>> I have a person who has been doing some work modifying our >>>>>>> WordPress/WooCommerce site and is having trouble communicating with >> an >>>>>>> outside system (.net). He says he cannot figure out how to properly >> decrypt >>>>>>> what?s being sent to him. >>>>>>>> Is there anyone who would be able and willing jump in to help us >> out? >>>>>>>> >>>>>>>> Peter Bogdanoff >>>>>>>> ArtsInteractive >>>>>>>> bogdanoff at me.com >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Tue Mar 5 05:43:59 2019 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 5 Mar 2019 11:43:59 +0100 Subject: Attaching Engine - running forever Message-ID: <003f01d4d340$583d3140$08b793c0$@kestner.de> Hello, building only a windows standalone on Win10 with LC 9.0.1/9.0.2 the standalone builder runs forever at "Attaching engine". This happens only with one of my stacks. With LC 8.1.10 the standalone builder runs fine with the same stack. 1. Is there anything I can check for? 2. The build of the exe seems to be fine (it runs). Is there anything, what is to be build after the externals folder, resources folder and the exe, or do you think I can just kill LC in this endless loop of "Attaching engine" and my standalone will be fine anyway? Thanks Tiemo From david.bovill at gmail.com Tue Mar 5 07:34:00 2019 From: david.bovill at gmail.com (David Bovill) Date: Tue, 5 Mar 2019 12:34:00 +0000 Subject: Compiling Livecode In-Reply-To: References: <562BAD62.5020004@fourthworld.com> <7461D6A0-32CD-4920-BCAE-57654B67F818@livecode.com> <31c6f306edadde31367bf8a4d30b40fb@livecode.com> <78FC0ECB-4DA0-4DC3-A33C-9C0B295DA1B1@sweattechnologies.com> <9F6C9114-EBF1-47A6-B77E-6496D1EEB1E3@sweattechnologies.com> Message-ID: I'm reading up on compiling Livecode from source - will take the plunge in the coming days - would like to read up on it. The docs here are sparse... anyone written up their experience? On Sat, 2 Mar 2019 at 09:07, David Bovill wrote: > I?ve searched around but still nothing I can find regarding tree shaking / > dead code elimination in C++. > > What I want to be able to do is not compile the whole engine, just the > code needed for the execution of the cgi. Is this possible? Is this on the > road map? > > On Sun, 24 Feb 2019 at 18:38, David Bovill wrote: > >> I understand that Livecode uses the LLVM compiler infrastructure to >> create llvm bytecode that for instance emscripten can use to transpile to >> javascript. I'm wandering if it is possible to do things like: >> >> - Export the server engine to llvm bytecode? >> - Take a some livecode script, do some tree shaking and get some nice >> compact bytecode export that uses only the bits needed by the livecode >> script? >> >> Is any of this possible now, is it planned for or looks like it may be >> possible in the nearish future / next couple of years? >> > From hh at hyperhh.de Tue Mar 5 08:59:31 2019 From: hh at hyperhh.de (hh) Date: Tue, 5 Mar 2019 14:59:31 +0100 Subject: TabStops and Tab Spacings Message-ID: <946FF90F-8ADF-4DDC-A163-9A0736B530F7@hyperhh.de> > Roger G. wrote: > Is there any way to export myFld to URL and retain the Tab spacings 15,250,320 ? > ... > I?m working with rtfText instead of HTMLText. (Again, not sure if that makes a > difference or even what the trades are of each). RtfText is, without a large JavaScript library, unusable as input for a browser widget (or a browser). The htmltext retains, alike rtfText, styled formatting. > Roger G. wrote: > I am not converting a "simple table field" but rather a simple field with > tabStops. A simple field with tabstops as input is OK. From brian at milby7.com Tue Mar 5 08:59:50 2019 From: brian at milby7.com (Brian Milby) Date: Tue, 5 Mar 2019 08:59:50 -0500 Subject: Compiling Livecode In-Reply-To: References: <562BAD62.5020004@fourthworld.com> <7461D6A0-32CD-4920-BCAE-57654B67F818@livecode.com> <31c6f306edadde31367bf8a4d30b40fb@livecode.com> <78FC0ECB-4DA0-4DC3-A33C-9C0B295DA1B1@sweattechnologies.com> <9F6C9114-EBF1-47A6-B77E-6496D1EEB1E3@sweattechnologies.com> Message-ID: The target platform link provides more details. ?Trevor put some help up for getting Windows versions to compile. ?I?ve compiled Mac and Linux. ?What OS/Version will you be using? Thanks, Brian On Mar 5, 2019, 7:35 AM -0500, David Bovill via use-livecode , wrote: > I'm reading up on compiling Livecode from source - will take the plunge in > the coming days - would like to read up on it. The docs here > are sparse... anyone written up > their experience? > > On Sat, 2 Mar 2019 at 09:07, David Bovill wrote: > > > I?ve searched around but still nothing I can find regarding tree shaking / > > dead code elimination in C++. > > > > What I want to be able to do is not compile the whole engine, just the > > code needed for the execution of the cgi. Is this possible? Is this on the > > road map? > > > > On Sun, 24 Feb 2019 at 18:38, David Bovill wrote: > > > > > I understand that Livecode uses the LLVM compiler infrastructure to > > > create llvm bytecode that for instance emscripten can use to transpile to > > > javascript. I'm wandering if it is possible to do things like: > > > > > > - Export the server engine to llvm bytecode? > > > - Take a some livecode script, do some tree shaking and get some nice > > > compact bytecode export that uses only the bits needed by the livecode > > > script? > > > > > > Is any of this possible now, is it planned for or looks like it may be > > > possible in the nearish future / next couple of years? > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Tue Mar 5 13:14:56 2019 From: jjs at krutt.org (JJS) Date: Tue, 5 Mar 2019 19:14:56 +0100 Subject: Attaching Engine - running forever In-Reply-To: <003f01d4d340$583d3140$08b793c0$@kestner.de> References: <003f01d4d340$583d3140$08b793c0$@kestner.de> Message-ID: Hi Tiemo, maybe you need to add the piece of code which is mentioned in the release notes. You can add that piece at the top in your closestack handler. Try it if it helps. regards, Jerry Op 5-3-2019 om 11:43 schreef Tiemo Hollmann TB via use-livecode: > Hello, > > building only a windows standalone on Win10 with LC 9.0.1/9.0.2 the > standalone builder runs forever at "Attaching engine". > > This happens only with one of my stacks. With LC 8.1.10 the standalone > builder runs fine with the same stack. > > 1. Is there anything I can check for? > > 2. The build of the exe seems to be fine (it runs). Is there anything, > what is to be build after the externals folder, resources folder and the > exe, or do you think I can just kill LC in this endless loop of "Attaching > engine" and my standalone will be fine anyway? > > > > Thanks > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Tue Mar 5 13:38:39 2019 From: hh at hyperhh.de (hh) Date: Tue, 5 Mar 2019 19:38:39 +0100 Subject: Polygon Bug Message-ID: <80531497-2B72-429A-9CCA-2584AA483994@hyperhh.de> > Michael K. wrote: > >> Non-Opaque polygons block the mouse click, when their > >> lineSize is greater than 9. (This figure varies) > Hi hh, if you are a reg member of the bug site then please go > ahead and report it, because Im not. https://quality.livecode.com/show_bug.cgi?id=21877 From david.bovill at gmail.com Tue Mar 5 14:39:36 2019 From: david.bovill at gmail.com (David Bovill) Date: Tue, 5 Mar 2019 19:39:36 +0000 Subject: Compiling Livecode In-Reply-To: References: <562BAD62.5020004@fourthworld.com> <7461D6A0-32CD-4920-BCAE-57654B67F818@livecode.com> <31c6f306edadde31367bf8a4d30b40fb@livecode.com> <78FC0ECB-4DA0-4DC3-A33C-9C0B295DA1B1@sweattechnologies.com> <9F6C9114-EBF1-47A6-B77E-6496D1EEB1E3@sweattechnologies.com> Message-ID: I'll be testing on latest OSX. I'm considering buying a new laptop set up for development of this sort. Will probably get another OSX laptop - but may consider getting a Linux beast if the development environment works well? I wonder what the best set-up is for developing for Livecode - including fancy low level stuff? On Tue, 5 Mar 2019 at 14:01, Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > The target platform link provides more details. Trevor put some help up > for getting Windows versions to compile. I?ve compiled Mac and Linux. > What OS/Version will you be using? > > Thanks, > Brian > On Mar 5, 2019, 7:35 AM -0500, David Bovill via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > I'm reading up on compiling Livecode from source - will take the plunge > in > > the coming days - would like to read up on it. The docs here > > are sparse... anyone written up > > their experience? > > > > On Sat, 2 Mar 2019 at 09:07, David Bovill > wrote: > > > > > I?ve searched around but still nothing I can find regarding tree > shaking / > > > dead code elimination in C++. > > > > > > What I want to be able to do is not compile the whole engine, just the > > > code needed for the execution of the cgi. Is this possible? Is this on > the > > > road map? > > > > > > On Sun, 24 Feb 2019 at 18:38, David Bovill > wrote: > > > > > > > I understand that Livecode uses the LLVM compiler infrastructure to > > > > create llvm bytecode that for instance emscripten can use to > transpile to > > > > javascript. I'm wandering if it is possible to do things like: > > > > > > > > - Export the server engine to llvm bytecode? > > > > - Take a some livecode script, do some tree shaking and get some nice > > > > compact bytecode export that uses only the bits needed by the > livecode > > > > script? > > > > > > > > Is any of this possible now, is it planned for or looks like it may > be > > > > possible in the nearish future / next couple of years? > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From e.beugelaar at me.com Tue Mar 5 15:32:39 2019 From: e.beugelaar at me.com (Erik Beugelaar) Date: Tue, 05 Mar 2019 21:32:39 +0100 Subject: Compiling Livecode In-Reply-To: References: <562BAD62.5020004@fourthworld.com> <7461D6A0-32CD-4920-BCAE-57654B67F818@livecode.com> <31c6f306edadde31367bf8a4d30b40fb@livecode.com> <78FC0ECB-4DA0-4DC3-A33C-9C0B295DA1B1@sweattechnologies.com> <9F6C9114-EBF1-47A6-B77E-6496D1EEB1E3@sweattechnologies.com> Message-ID: <0AFF6A44-4F62-40F6-BB65-95B313B82791@me.com> For multi-platform development I prefer a MacBook Pro (16GB+ and 500+ SSD) with Parallels Desktop installed for testing/developing on both Linux and Windows. Just my 2 cents. ?On 05/03/2019, 20:40, "use-livecode on behalf of David Bovill via use-livecode" wrote: I'll be testing on latest OSX. I'm considering buying a new laptop set up for development of this sort. Will probably get another OSX laptop - but may consider getting a Linux beast if the development environment works well? I wonder what the best set-up is for developing for Livecode - including fancy low level stuff? On Tue, 5 Mar 2019 at 14:01, Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > The target platform link provides more details. Trevor put some help up > for getting Windows versions to compile. I?ve compiled Mac and Linux. > What OS/Version will you be using? > > Thanks, > Brian > On Mar 5, 2019, 7:35 AM -0500, David Bovill via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > I'm reading up on compiling Livecode from source - will take the plunge > in > > the coming days - would like to read up on it. The docs here > > are sparse... anyone written up > > their experience? > > > > On Sat, 2 Mar 2019 at 09:07, David Bovill > wrote: > > > > > I?ve searched around but still nothing I can find regarding tree > shaking / > > > dead code elimination in C++. > > > > > > What I want to be able to do is not compile the whole engine, just the > > > code needed for the execution of the cgi. Is this possible? Is this on > the > > > road map? > > > > > > On Sun, 24 Feb 2019 at 18:38, David Bovill > wrote: > > > > > > > I understand that Livecode uses the LLVM compiler infrastructure to > > > > create llvm bytecode that for instance emscripten can use to > transpile to > > > > javascript. I'm wandering if it is possible to do things like: > > > > > > > > - Export the server engine to llvm bytecode? > > > > - Take a some livecode script, do some tree shaking and get some nice > > > > compact bytecode export that uses only the bits needed by the > livecode > > > > script? > > > > > > > > Is any of this possible now, is it planned for or looks like it may > be > > > > possible in the nearish future / next couple of years? > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Tue Mar 5 16:33:12 2019 From: jjs at krutt.org (JJS) Date: Tue, 5 Mar 2019 22:33:12 +0100 Subject: Compiling Livecode In-Reply-To: <0AFF6A44-4F62-40F6-BB65-95B313B82791@me.com> References: <562BAD62.5020004@fourthworld.com> <7461D6A0-32CD-4920-BCAE-57654B67F818@livecode.com> <31c6f306edadde31367bf8a4d30b40fb@livecode.com> <78FC0ECB-4DA0-4DC3-A33C-9C0B295DA1B1@sweattechnologies.com> <9F6C9114-EBF1-47A6-B77E-6496D1EEB1E3@sweattechnologies.com> <0AFF6A44-4F62-40F6-BB65-95B313B82791@me.com> Message-ID: you could use vmware to run other OS's But you could also do a triple boot. It's easier to create a multi boot on a Mac(hardware) than creating a multiboot with hackintosh on a (win)PC because Windows and Linux run almost everywhere and apple provides drivers via Bootcamp Running MacOs on pc is more difficult as not all videocards/other hardware is supported for the first check out refind http://www.rodsbooks.com/refind/ ??? and for hackintosh check out https://tonymacx86.com If you only want a dualboot Mac and Windows then Bootcamp is sufficient on my previous job i had a Macbook with Macos and win8.1 and win10 now at home i have a PC with Win10/MacOS Mojave Hackintosh/Ubuntu Mate It taks patience to get it done So i would go for the Mac Op 5-3-2019 om 21:32 schreef Erik Beugelaar via use-livecode: > For multi-platform development I prefer a MacBook Pro (16GB+ and 500+ SSD) with Parallels Desktop installed for testing/developing on both Linux and Windows. > > Just my 2 cents. > > ?On 05/03/2019, 20:40, "use-livecode on behalf of David Bovill via use-livecode" wrote: > > I'll be testing on latest OSX. > > I'm considering buying a new laptop set up for development of this sort. > Will probably get another OSX laptop - but may consider getting a Linux > beast if the development environment works well? I wonder what the best > set-up is for developing for Livecode - including fancy low level stuff? > > On Tue, 5 Mar 2019 at 14:01, Brian Milby via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > The target platform link provides more details. Trevor put some help up > > for getting Windows versions to compile. I?ve compiled Mac and Linux. > > What OS/Version will you be using? > > > > Thanks, > > Brian > > On Mar 5, 2019, 7:35 AM -0500, David Bovill via use-livecode < > > use-livecode at lists.runrev.com>, wrote: > > > I'm reading up on compiling Livecode from source - will take the plunge > > in > > > the coming days - would like to read up on it. The docs here > > > are sparse... anyone written up > > > their experience? > > > > > > On Sat, 2 Mar 2019 at 09:07, David Bovill > > wrote: > > > > > > > I?ve searched around but still nothing I can find regarding tree > > shaking / > > > > dead code elimination in C++. > > > > > > > > What I want to be able to do is not compile the whole engine, just the > > > > code needed for the execution of the cgi. Is this possible? Is this on > > the > > > > road map? > > > > > > > > On Sun, 24 Feb 2019 at 18:38, David Bovill > > wrote: > > > > > > > > > I understand that Livecode uses the LLVM compiler infrastructure to > > > > > create llvm bytecode that for instance emscripten can use to > > transpile to > > > > > javascript. I'm wandering if it is possible to do things like: > > > > > > > > > > - Export the server engine to llvm bytecode? > > > > > - Take a some livecode script, do some tree shaking and get some nice > > > > > compact bytecode export that uses only the bits needed by the > > livecode > > > > > script? > > > > > > > > > > Is any of this possible now, is it planned for or looks like it may > > be > > > > > possible in the nearish future / next couple of years? > > > > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Wed Mar 6 03:25:00 2019 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 6 Mar 2019 09:25:00 +0100 Subject: AW: Attaching Engine - running forever In-Reply-To: References: <003f01d4d340$583d3140$08b793c0$@kestner.de> Message-ID: <001a01d4d3f6$182a7c00$487f7400$@kestner.de> Hi Jerry, thanks for the idea. I tested it, but the result is the same. I now filed a bug report Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von JJS via use-livecode Gesendet: Dienstag, 5. M?rz 2019 19:15 An: Tiemo Hollmann TB via use-livecode Cc: JJS Betreff: Re: Attaching Engine - running forever Hi Tiemo, maybe you need to add the piece of code which is mentioned in the release notes. You can add that piece at the top in your closestack handler. Try it if it helps. regards, Jerry Op 5-3-2019 om 11:43 schreef Tiemo Hollmann TB via use-livecode: > Hello, > > building only a windows standalone on Win10 with LC 9.0.1/9.0.2 the > standalone builder runs forever at "Attaching engine". > > This happens only with one of my stacks. With LC 8.1.10 the standalone > builder runs fine with the same stack. > > 1. Is there anything I can check for? > > 2. The build of the exe seems to be fine (it runs). Is there anything, > what is to be build after the externals folder, resources folder and > the exe, or do you think I can just kill LC in this endless loop of > "Attaching engine" and my standalone will be fine anyway? > > > > Thanks > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Mar 6 04:45:30 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 6 Mar 2019 11:45:30 +0200 Subject: scriptEditor windows Message-ID: So; one can open the scripts of 2 objects, and by default they both appear in a tabbed scritpEditor. If one wants them to be in separate windows one can do that but right-clicking on a tab and selecting "Move to new window." It would be really lovely, if, in the IDE Preferences, one could set things so that each object script automatically opened in its own window. Richmond. From david.bovill at gmail.com Wed Mar 6 06:57:13 2019 From: david.bovill at gmail.com (David Bovill) Date: Wed, 6 Mar 2019 11:57:13 +0000 Subject: Compiling Livecode In-Reply-To: References: <562BAD62.5020004@fourthworld.com> <7461D6A0-32CD-4920-BCAE-57654B67F818@livecode.com> <31c6f306edadde31367bf8a4d30b40fb@livecode.com> <78FC0ECB-4DA0-4DC3-A33C-9C0B295DA1B1@sweattechnologies.com> <9F6C9114-EBF1-47A6-B77E-6496D1EEB1E3@sweattechnologies.com> <0AFF6A44-4F62-40F6-BB65-95B313B82791@me.com> Message-ID: Thanks Eric, I may well go that route. I've run Parallel before - but I found all the switching, and space it took up a bit much. One reason for choosing Linux for me would be too properly integrate my development environment with how I work on the server. I rather like the idea of running my entire laptop based environment in dockers and mirroring how my servers work. That way I get to learn technology i can actually deploy rather than working so hard to translate what I work on to something that the server can run and then deploy at some reasonable scale. Still the descriptions of laptop environments running on docker are a bit on the experimental side for now... On Tue, 5 Mar 2019 at 21:33, JJS via use-livecode < use-livecode at lists.runrev.com> wrote: > you could use vmware to run other OS's > > But you could also do a triple boot. > > It's easier to create a multi boot on a Mac(hardware) than creating a > multiboot with hackintosh on a (win)PC > > because Windows and Linux run almost everywhere and apple provides > drivers via Bootcamp > > Running MacOs on pc is more difficult as not all videocards/other > hardware is supported > > for the first check out refind http://www.rodsbooks.com/refind/ and > for hackintosh check out https://tonymacx86.com > > If you only want a dualboot Mac and Windows then Bootcamp is sufficient > > > on my previous job i had a Macbook with Macos and win8.1 and win10 > > now at home i have a PC with Win10/MacOS Mojave Hackintosh/Ubuntu Mate > > > It taks patience to get it done > > So i would go for the Mac > > Op 5-3-2019 om 21:32 schreef Erik Beugelaar via use-livecode: > > For multi-platform development I prefer a MacBook Pro (16GB+ and 500+ > SSD) with Parallels Desktop installed for testing/developing on both Linux > and Windows. > > > > Just my 2 cents. > > > > ?On 05/03/2019, 20:40, "use-livecode on behalf of David Bovill via > use-livecode" use-livecode at lists.runrev.com> wrote: > > > > I'll be testing on latest OSX. > > > > I'm considering buying a new laptop set up for development of this > sort. > > Will probably get another OSX laptop - but may consider getting a > Linux > > beast if the development environment works well? I wonder what the > best > > set-up is for developing for Livecode - including fancy low level > stuff? > > > > On Tue, 5 Mar 2019 at 14:01, Brian Milby via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > The target platform link provides more details. Trevor put some > help up > > > for getting Windows versions to compile. I?ve compiled Mac and > Linux. > > > What OS/Version will you be using? > > > > > > Thanks, > > > Brian > > > On Mar 5, 2019, 7:35 AM -0500, David Bovill via use-livecode < > > > use-livecode at lists.runrev.com>, wrote: > > > > I'm reading up on compiling Livecode from source - will take > the plunge > > > in > > > > the coming days - would like to read up on it. The docs here > > > > are sparse... anyone > written up > > > > their experience? > > > > > > > > On Sat, 2 Mar 2019 at 09:07, David Bovill < > david.bovill at gmail.com> > > > wrote: > > > > > > > > > I?ve searched around but still nothing I can find regarding > tree > > > shaking / > > > > > dead code elimination in C++. > > > > > > > > > > What I want to be able to do is not compile the whole engine, > just the > > > > > code needed for the execution of the cgi. Is this possible? > Is this on > > > the > > > > > road map? > > > > > > > > > > On Sun, 24 Feb 2019 at 18:38, David Bovill < > david.bovill at gmail.com> > > > wrote: > > > > > > > > > > > I understand that Livecode uses the LLVM compiler > infrastructure to > > > > > > create llvm bytecode that for instance emscripten can use to > > > transpile to > > > > > > javascript. I'm wandering if it is possible to do things > like: > > > > > > > > > > > > - Export the server engine to llvm bytecode? > > > > > > - Take a some livecode script, do some tree shaking and get > some nice > > > > > > compact bytecode export that uses only the bits needed by > the > > > livecode > > > > > > script? > > > > > > > > > > > > Is any of this possible now, is it planned for or looks > like it may > > > be > > > > > > possible in the nearish future / next couple of years? > > > > > > > > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smudge.andy at googlemail.com Wed Mar 6 06:59:21 2019 From: smudge.andy at googlemail.com (AndyP) Date: Wed, 6 Mar 2019 05:59:21 -0600 (CST) Subject: scriptEditor windows In-Reply-To: References: Message-ID: <1551873561853-0.post@n4.nabble.com> Like this? ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From richmondmathewson at gmail.com Wed Mar 6 07:43:36 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 6 Mar 2019 14:43:36 +0200 Subject: scriptEditor windows In-Reply-To: <1551873561853-0.post@n4.nabble.com> References: <1551873561853-0.post@n4.nabble.com> Message-ID: <2846d560-d990-1a0b-4c2a-c1eb143a1f7a@gmail.com> You have made me feel both stupid and happy simultaneously. Thanks. Richmond. On 6.03.19 13:59, AndyP via use-livecode wrote: > Like this? > > > > > > ----- > Andy Piddock > > > My software never has bugs. It just develops random features. > > TinyIDE a Free alternative minimalist IDE Plugin for LiveCode > > > Script editor Themer for LC http://2108.co.uk > > PointandSee is a FREE simple but full featured under cursor colour picker / finder. > http://www.pointandsee.co.uk - made with LiveCode > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smudge.andy at googlemail.com Wed Mar 6 08:37:17 2019 From: smudge.andy at googlemail.com (AndyP) Date: Wed, 6 Mar 2019 07:37:17 -0600 (CST) Subject: scriptEditor windows In-Reply-To: <2846d560-d990-1a0b-4c2a-c1eb143a1f7a@gmail.com> References: <1551873561853-0.post@n4.nabble.com> <2846d560-d990-1a0b-4c2a-c1eb143a1f7a@gmail.com> Message-ID: <1551879437567-0.post@n4.nabble.com> > You have made me feel both stupid and happy simultaneously. Sounds like my usual state of being! ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From dan at clearvisiontech.com Wed Mar 6 11:30:55 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 6 Mar 2019 16:30:55 +0000 Subject: browserNavigateBegin on Android Message-ID: Greetings! I have a browser widget on a card with browserNavigateBegin in the card script. On Mac and iOS, the browserNavigateBegin is being called with a link is clicked in the browser. However, on Android, it's not. Is this a bug, a limitation of the browser widget, or do I have to flip a bit somewhere? Any insight would be VERY appreciated! -Dan From chipsm at themartinz.com Wed Mar 6 11:34:16 2019 From: chipsm at themartinz.com (chipsm at themartinz.com) Date: Wed, 6 Mar 2019 08:34:16 -0800 Subject: scriptEditor windows In-Reply-To: <1551873561853-0.post@n4.nabble.com> References: <1551873561853-0.post@n4.nabble.com> Message-ID: <024a01d4d43a$70a573f0$51f05bd0$@themartinz.com> It's amazing how as much as you look at things - one does not see. I was unaware also! Sincerely, Clarence Martin Email: Chipsm at themartinz.com Cell: 626 696-5561 -----Original Message----- From: use-livecode On Behalf Of AndyP via use-livecode Sent: Wednesday, March 06, 2019 3:59 AM To: use-revolution at lists.runrev.com Cc: AndyP Subject: Re: scriptEditor windows Like this? ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Mar 6 11:40:01 2019 From: klaus at major-k.de (Klaus major-k) Date: Wed, 6 Mar 2019 17:40:01 +0100 Subject: Windows: Open image with LC EXE Message-ID: <7CF99ABE-C9DE-43FC-B91C-857F855CA888@major-k.de> Hi friends, this came up in the german LC forum: If you right-click an image file (Jpg) on the desktop you will get a list of applications that can handle a Jpg image. This list is provided by the "Windows Explorer" (I think, I'm a Mac guy). Now if your LC exe happens to be in that list and we select our app, what message, if at all, does our EXE receive when the "Explorer" "sends" that image to our application whivh MAY be open already. I mean how can we get to know what image file the user wants to open with our EXE, so we can load it into an image object in our EXE? Know what I mean? Thanks for any hint! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From toolbook at kestner.de Wed Mar 6 11:47:04 2019 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 6 Mar 2019 17:47:04 +0100 Subject: AW: Windows: Open image with LC EXE In-Reply-To: <7CF99ABE-C9DE-43FC-B91C-857F855CA888@major-k.de> References: <7CF99ABE-C9DE-43FC-B91C-857F855CA888@major-k.de> Message-ID: <008501d4d43c$3b011540$b1033fc0$@kestner.de> There is a german LiveCode forum? Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Klaus major-k via use-livecode Gesendet: Mittwoch, 6. M?rz 2019 17:40 An: How to use LiveCode Cc: Klaus major-k Betreff: Windows: Open image with LC EXE Hi friends, this came up in the german LC forum: If you right-click an image file (Jpg) on the desktop you will get a list of applications that can handle a Jpg image. This list is provided by the "Windows Explorer" (I think, I'm a Mac guy). Now if your LC exe happens to be in that list and we select our app, what message, if at all, does our EXE receive when the "Explorer" "sends" that image to our application whivh MAY be open already. I mean how can we get to know what image file the user wants to open with our EXE, so we can load it into an image object in our EXE? Know what I mean? Thanks for any hint! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Mar 6 12:09:56 2019 From: klaus at major-k.de (Klaus major-k) Date: Wed, 6 Mar 2019 18:09:56 +0100 Subject: Windows: Open image with LC EXE In-Reply-To: <008501d4d43c$3b011540$b1033fc0$@kestner.de> References: <7CF99ABE-C9DE-43FC-B91C-857F855CA888@major-k.de> <008501d4d43c$3b011540$b1033fc0$@kestner.de> Message-ID: Hi Tiemo, > Am 06.03.2019 um 17:47 schrieb Tiemo Hollmann TB via use-livecode : > > There is a german LiveCode forum? mais oui, mon cher! :-) > Tiemo > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Klaus major-k via use-livecode > Gesendet: Mittwoch, 6. M?rz 2019 17:40 > An: How to use LiveCode > Cc: Klaus major-k > Betreff: Windows: Open image with LC EXE > > Hi friends, > > this came up in the german LC forum: > If you right-click an image file (Jpg) on the desktop you will get a list of > applications that can handle a Jpg image. > > This list is provided by the "Windows Explorer" (I think, I'm a Mac guy). > > Now if your LC exe happens to be in that list and we select our app, what > message, if at all, does our EXE receive when the "Explorer" "sends" > that image to our application whivh MAY be open already. > > I mean how can we get to know what image file the user wants to open with > our EXE, so we can load it into an image object in our EXE? > > Know what I mean? > Thanks for any hint! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From paul at researchware.com Wed Mar 6 12:13:17 2019 From: paul at researchware.com (Paul Dupuis) Date: Wed, 6 Mar 2019 12:13:17 -0500 Subject: Windows: Open image with LC EXE In-Reply-To: <7CF99ABE-C9DE-43FC-B91C-857F855CA888@major-k.de> References: <7CF99ABE-C9DE-43FC-B91C-857F855CA888@major-k.de> Message-ID: <7c39edcd-f82b-8a41-8a91-43bccd4822f7@researchware.com> If you select an LC standalone as the app t open an image with, the name and path to the image will be sent to the EXE as a command line parameter. See the dictionary/documentation on handling command line parameters in a standalone To tell Windows that your APP (standalone/EXE) can open and deal with jpg images, you must register that file type (.jpg) in the registry for your application. This is tricky on modern versions of Windows, because to use setRegistry to set a registry key, the application (process) calling setRegistry (an LC statement) must be a privileged process (i.e. have admin privs). Our app ships with a separate helper app (another LC standalone/EXE) that receives instructions from the main app via interprocess communications and makes all the setRegistry and getRegistry calls. That way, our main APP can start the helper app as a priviledged process and tell it to set the registry. This is to work around that a process (the main LC app/EXE) can not elevate its own privileges, so it can not ask to be given admin privs, but it can start another process that requests admin privs. On 3/6/2019 11:40 AM, Klaus major-k via use-livecode wrote: > Hi friends, > > this came up in the german LC forum: > If you right-click an image file (Jpg) on the desktop > you will get a list of applications that can handle a Jpg image. > > This list is provided by the "Windows Explorer" (I think, I'm a Mac guy). > > Now if your LC exe happens to be in that list and we select our app, > what message, if at all, does our EXE receive when the "Explorer" "sends" > that image to our application whivh MAY be open already. > > I mean how can we get to know what image file the user wants to open > with our EXE, so we can load it into an image object in our EXE? > > Know what I mean? > Thanks for any hint! > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Wed Mar 6 12:16:48 2019 From: klaus at major-k.de (Klaus major-k) Date: Wed, 6 Mar 2019 18:16:48 +0100 Subject: Windows: Open image with LC EXE In-Reply-To: <7c39edcd-f82b-8a41-8a91-43bccd4822f7@researchware.com> References: <7CF99ABE-C9DE-43FC-B91C-857F855CA888@major-k.de> <7c39edcd-f82b-8a41-8a91-43bccd4822f7@researchware.com> Message-ID: <61B0AC5D-74DB-48D4-96F4-2CABE14426B4@major-k.de> Hi Paul, > Am 06.03.2019 um 18:13 schrieb Paul Dupuis via use-livecode : > > If you select an LC standalone as the app t open an image with, the name and path to the image will be sent to the EXE as a command line parameter. See the dictionary/documentation on handling command line parameters in a standalone thanks, yes, I guessed, but WHAT message is sent to our EXE? Means WHERE can I handle the $1 or $2 CLI parameter? > To tell Windows that your APP (standalone/EXE) can open and deal with jpg images, you must register that file type (.jpg) in the registry for your application. This is tricky on modern versions of Windows, because to use setRegistry to set a registry key, the application (process) calling setRegistry (an LC statement) must be a privileged process (i.e. have admin privs). That was not part of the original question, so I think the TS does in fact know all this. > Our app ships with a separate helper app (another LC standalone/EXE) that receives instructions from the main app via interprocess communications and makes all the setRegistry and getRegistry calls. That way, our main APP can start the helper app as a priviledged process and tell it to set the registry. This is to work around that a process (the main LC app/EXE) can not elevate its own privileges, so it can not ask to be given admin privs, but it can start another process that requests admin privs. > > > On 3/6/2019 11:40 AM, Klaus major-k via use-livecode wrote: >> Hi friends, >> >> this came up in the german LC forum: >> If you right-click an image file (Jpg) on the desktop >> you will get a list of applications that can handle a Jpg image. >> >> This list is provided by the "Windows Explorer" (I think, I'm a Mac guy). >> >> Now if your LC exe happens to be in that list and we select our app, >> what message, if at all, does our EXE receive when the "Explorer" "sends" >> that image to our application whivh MAY be open already. >> >> I mean how can we get to know what image file the user wants to open >> with our EXE, so we can load it into an image object in our EXE? >> >> Know what I mean? >> Thanks for any hint! Best Klaus > -- Klaus Major http://www.major-k.de klaus at major-k.de From klaus at major-k.de Wed Mar 6 12:22:24 2019 From: klaus at major-k.de (Klaus major-k) Date: Wed, 6 Mar 2019 18:22:24 +0100 Subject: Windows: Open image with LC EXE In-Reply-To: <61B0AC5D-74DB-48D4-96F4-2CABE14426B4@major-k.de> References: <7CF99ABE-C9DE-43FC-B91C-857F855CA888@major-k.de> <7c39edcd-f82b-8a41-8a91-43bccd4822f7@researchware.com> <61B0AC5D-74DB-48D4-96F4-2CABE14426B4@major-k.de> Message-ID: <080BCB29-3654-44FE-AE37-443120926388@major-k.de> Hi all, > Am 06.03.2019 um 18:16 schrieb Klaus major-k via use-livecode : > > Hi Paul, > >> Am 06.03.2019 um 18:13 schrieb Paul Dupuis via use-livecode : >> >> If you select an LC standalone as the app t open an image with, the name and path to the image will be sent to the EXE as a command line parameter. See the dictionary/documentation on handling command line parameters in a standalone > > thanks, yes, I guessed, but WHAT message is sent to our EXE? > Means WHERE can I handle the $1 or $2 CLI parameter? ah, I think I found it, it is the "relaunch" message, right? Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From paul at researchware.com Wed Mar 6 12:40:18 2019 From: paul at researchware.com (Paul Dupuis) Date: Wed, 6 Mar 2019 12:40:18 -0500 Subject: Windows: Open image with LC EXE In-Reply-To: <080BCB29-3654-44FE-AE37-443120926388@major-k.de> References: <7CF99ABE-C9DE-43FC-B91C-857F855CA888@major-k.de> <7c39edcd-f82b-8a41-8a91-43bccd4822f7@researchware.com> <61B0AC5D-74DB-48D4-96F4-2CABE14426B4@major-k.de> <080BCB29-3654-44FE-AE37-443120926388@major-k.de> Message-ID: On 3/6/2019 12:22 PM, Klaus major-k via use-livecode wrote: > Hi all, > >> Am 06.03.2019 um 18:16 schrieb Klaus major-k via use-livecode : >> >> Hi Paul, >> >>> Am 06.03.2019 um 18:13 schrieb Paul Dupuis via use-livecode : >>> >>> If you select an LC standalone as the app t open an image with, the name and path to the image will be sent to the EXE as a command line parameter. See the dictionary/documentation on handling command line parameters in a standalone >> thanks, yes, I guessed, but WHAT message is sent to our EXE? >> Means WHERE can I handle the $1 or $2 CLI parameter? > ah, I think I found it, it is the "relaunch" message, right? > > > ?I am not sure if your APP is already open what message is sent (never tested that). If your APP is not open, windows starts it with the file as the parameter, so you can pick it up in pretty much any message sent on startup from "startup" through "preOpenStack" to "openStack" or even "openCard" From klaus at major-k.de Wed Mar 6 12:43:24 2019 From: klaus at major-k.de (Klaus major-k) Date: Wed, 6 Mar 2019 18:43:24 +0100 Subject: Windows: Open image with LC EXE In-Reply-To: References: <7CF99ABE-C9DE-43FC-B91C-857F855CA888@major-k.de> <7c39edcd-f82b-8a41-8a91-43bccd4822f7@researchware.com> <61B0AC5D-74DB-48D4-96F4-2CABE14426B4@major-k.de> <080BCB29-3654-44FE-AE37-443120926388@major-k.de> Message-ID: <3604FD6E-DD78-4FC9-AFC0-5C9B9F2EFF75@major-k.de> Hi Paul, > Am 06.03.2019 um 18:40 schrieb Paul Dupuis via use-livecode : > ... >> >>>> If you select an LC standalone as the app t open an image with, the name and path to the image will be sent to the EXE as a command line parameter. See the dictionary/documentation on handling command line parameters in a standalone >>> thanks, yes, I guessed, but WHAT message is sent to our EXE? >>> Means WHERE can I handle the $1 or $2 CLI parameter? >> ah, I think I found it, it is the "relaunch" message, right? > I am not sure if your APP is already open what message is sent (never tested that). I'll leave the testing to that namely german forum user. :-) > If your APP is not open, windows starts it with the file as the parameter, so you can pick it up in pretty much any message sent on startup from "startup" through "preOpenStack" to "openStack" or even "openCard" Thank you very much! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From jjs at krutt.org Wed Mar 6 13:39:54 2019 From: jjs at krutt.org (JJS) Date: Wed, 6 Mar 2019 19:39:54 +0100 Subject: AW: Attaching Engine - running forever In-Reply-To: <001a01d4d3f6$182a7c00$487f7400$@kestner.de> References: <003f01d4d340$583d3140$08b793c0$@kestner.de> <001a01d4d3f6$182a7c00$487f7400$@kestner.de> Message-ID: Hallo Tiemo, ok good, it was worth a try. Let's see what the devs come up with. Ciao! Jerry Op 6-3-2019 om 09:25 schreef Tiemo Hollmann TB via use-livecode: > Hi Jerry, > > thanks for the idea. I tested it, but the result is the same. I now filed a > bug report > > Tiemo > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von JJS via use-livecode > Gesendet: Dienstag, 5. M?rz 2019 19:15 > An: Tiemo Hollmann TB via use-livecode > Cc: JJS > Betreff: Re: Attaching Engine - running forever > > Hi Tiemo, > > > maybe you need to add the piece of code which is mentioned in the release > notes. > > You can add that piece at the top in your closestack handler. > > Try it if it helps. > > regards, > > Jerry > > Op 5-3-2019 om 11:43 schreef Tiemo Hollmann TB via use-livecode: >> Hello, >> >> building only a windows standalone on Win10 with LC 9.0.1/9.0.2 the >> standalone builder runs forever at "Attaching engine". >> >> This happens only with one of my stacks. With LC 8.1.10 the standalone >> builder runs fine with the same stack. >> >> 1. Is there anything I can check for? >> >> 2. The build of the exe seems to be fine (it runs). Is there > anything, >> what is to be build after the externals folder, resources folder and >> the exe, or do you think I can just kill LC in this endless loop of >> "Attaching engine" and my standalone will be fine anyway? >> >> >> >> Thanks >> >> Tiemo >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hakan at exformedia.se Wed Mar 6 15:16:50 2019 From: hakan at exformedia.se (hakan at exformedia.se) Date: Wed, 6 Mar 2019 21:16:50 +0100 Subject: TabStops and Tab Spacings In-Reply-To: <946FF90F-8ADF-4DDC-A163-9A0736B530F7@hyperhh.de> References: <946FF90F-8ADF-4DDC-A163-9A0736B530F7@hyperhh.de> Message-ID: There is a tab-size attribute that you can use but it can?t contain more than one number and it only handles ?number of spaces? for a tab like tab-size: 6 Will give you 6-spaced tab. To get the layout in HTML I instead suggest another approach. Replace each tab with an HTML-element to convert the text into something more HTML-like. I.e. 123 can be converted to something like 123 Then you can style your HTML in the way you want? Or if you really want table data in HTML you can use a (drumroll please ;) ! Converting a text field with tabs to an HTML table is a fairly straightforward process: function tabTextToHTMLTable pText ? ?set the itemDelimiter to tab ? ?put "
? into tHTML ? ?repeat for each line tLine ?in pText ? ? ? put "? after?tHTML ? ? ? ? ? repeat for each item tItem in tLine ? ? ? ? ? ? ? put ?? after tHTML ? ? ? ? ? end repeat ? ? ? put ?? after tHTML ? ?end repeat ? ?put "
? & tItem & ?
? after tHTML ? return tHTML end?tabTextToHTMLTable There is an OLD proposal (like from 1998 or 97 if I remember correct) about tab-stops in HTML but to my knowledge it has never been implemented. :-H?kan On 5 Mar 2019, 14:59 +0100, hh via use-livecode , wrote: > > Roger G. wrote: > > Is there any way to export myFld to URL and retain the Tab spacings 15,250,320 ? > > ... > > I?m working with rtfText instead of HTMLText. (Again, not sure if that makes a > > difference or even what the trades are of each). > > RtfText is, without a large JavaScript library, unusable as input for a browser > widget (or a browser). The htmltext retains, alike rtfText, styled formatting. > > > Roger G. wrote: > > I am not converting a "simple table field" but rather a simple field with > > tabStops. > > A simple field with tabstops as input is OK. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Mar 6 18:07:02 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 6 Mar 2019 23:07:02 +0000 Subject: Motion Graphics / Single Tread / Blocking Message-ID: This is a discussion on issues of what motion graphics are we capable of doing with the LC engine, as it is today. This is a current trend in a "revolution" going on in the UX/UI world of designers. It goes to expected behavior by users and those who design "for 2020" apps. Everything: "flows smooth, easing, just before stop. " I have a few presumptions, which may or may not be in correct. 1. Livecode is single-rethreaded 2. If we use the "Move" command on an image, it moved over, one pixel a time = "clunky" 3. If we use the Move command to do a slow KenBurns effect -- take a typical landscape background, say a mountain, move forward slow, to the left, all the while increasing rect/ratio of the image -- would be a typical KenBurns, very subtle?but give "life" to the screen. It will moved one pixel at a time = "clunky" 4. If you use try to hit a button on mobile while the move is in progress, it is blocked, but queued up until the move is finished, then, unexpectingly, it triggers the mouseup. (single thread behavior) 5. Scrolling of a text field or group... Some observations: 1) I have put some animated GIFs on a card. I can click a mouse while they are moving, The GIF stops momentarily. 2) an animated GIF that I use as an indicator of download, also stops... 3) I was encouraged by HH -- Widget TurnImage89_v135 -- Where "apparently" action is very smooth- maybe is it still a pixel at a time, I can't tell 4) I used a button on desktop, set the widget to turn and immediately access button. There does not appear to blocking. on mouseup put "one" wait 500 milliseconds with messages put "2" wait 500 milliseconds with messages put "3" wait 500 milliseconds with messages put "4" wait 500 milliseconds with messages put "5" wait 500 milliseconds with messages put "6" wait 500 milliseconds with messages end mouseup 1) Are the "presumptions" correct? 2) Is it true that blocking a touch event is "quaranteed" on mobile, but the Mouseup up occurs "later" (is it queued) I can experiment, to be sure, but want to open this discussion for better clarification. What can we do with Motion Graphics (or not) as of today, in LiveCode. (I have used animatedEngine) BR From bobsneidar at iotecdigital.com Wed Mar 6 18:35:46 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 6 Mar 2019 23:35:46 +0000 Subject: Compiling Livecode In-Reply-To: References: <562BAD62.5020004@fourthworld.com> <7461D6A0-32CD-4920-BCAE-57654B67F818@livecode.com> <31c6f306edadde31367bf8a4d30b40fb@livecode.com> <78FC0ECB-4DA0-4DC3-A33C-9C0B295DA1B1@sweattechnologies.com> <9F6C9114-EBF1-47A6-B77E-6496D1EEB1E3@sweattechnologies.com> <0AFF6A44-4F62-40F6-BB65-95B313B82791@me.com> Message-ID: <001E9037-45E9-4F91-B244-5BB36BA6F523@iotecdigital.com> I just had some experience with the VMWare Player, and if you install it, it also installs 2 virtual network ports. I was not able to get my laptop to work with regular networking without disabling these 2 ports. I was not in any wise able to get those ports to bridge to my default network adapter. I stuck with Parallels a long time ago because of the ease of configuration. I was able to create MULTIPLE virtual adapters and be bridged to multiple VLANS that way (I managed a network with 15 VLANS). I was advised by VMWare that in order to do that I would have to find an obscure config file and edit it correctly, and *maybe* I could get that working. I haven't looked back since. That's MY 2? Bob S > On Mar 5, 2019, at 13:33 , JJS via use-livecode wrote: > > you could use vmware to run other OS's From bobsneidar at iotecdigital.com Wed Mar 6 18:39:04 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 6 Mar 2019 23:39:04 +0000 Subject: Compiling Livecode In-Reply-To: References: <562BAD62.5020004@fourthworld.com> <7461D6A0-32CD-4920-BCAE-57654B67F818@livecode.com> <31c6f306edadde31367bf8a4d30b40fb@livecode.com> <78FC0ECB-4DA0-4DC3-A33C-9C0B295DA1B1@sweattechnologies.com> <9F6C9114-EBF1-47A6-B77E-6496D1EEB1E3@sweattechnologies.com> <0AFF6A44-4F62-40F6-BB65-95B313B82791@me.com> Message-ID: <8546C4AD-7BDB-4FF0-880A-D91075BEC0C3@iotecdigital.com> Don't have it switch. You can share anything, or else not. You cn use coherence view, or not. I personally like sharing my Mac environment with my PC environment (folder redirection and all that) because it makes it simple to collaborate between the two environments. Recently I was able to IMPORT a VMWare VM into Parallels, becaue the VMWare player wouldn't run the Virtual Machine I was given because it wasn't able to emulate some kind of processor mode! ICK! I hate crap like that! Bob S > On Mar 6, 2019, at 03:57 , David Bovill via use-livecode wrote: > > Thanks Eric, I may well go that route. I've run Parallel before - but I > found all the switching, and space it took up a bit much. From bobsneidar at iotecdigital.com Wed Mar 6 18:42:48 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 6 Mar 2019 23:42:48 +0000 Subject: Windows: Open image with LC EXE In-Reply-To: <7c39edcd-f82b-8a41-8a91-43bccd4822f7@researchware.com> References: <7CF99ABE-C9DE-43FC-B91C-857F855CA888@major-k.de> <7c39edcd-f82b-8a41-8a91-43bccd4822f7@researchware.com> Message-ID: <50191392-6A59-490E-BDA1-15A340D51BB3@iotecdigital.com> Hi Paul. I'd be interested in how you do that. I would love to be able to tell Adobe Reader to fill a form directly (as opposed to auto-loading an .fdf file), but was under the impression you had to write some kind of C app which included the API provided by Adobe to do that. Bob S > On Mar 6, 2019, at 09:13 , Paul Dupuis via use-livecode wrote: > > Our app ships with a separate helper app (another LC standalone/EXE) that receives instructions from the main app via interprocess From bobsneidar at iotecdigital.com Wed Mar 6 18:52:04 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 6 Mar 2019 23:52:04 +0000 Subject: scriptEditor windows In-Reply-To: <1551879437567-0.post@n4.nabble.com> References: <1551873561853-0.post@n4.nabble.com> <2846d560-d990-1a0b-4c2a-c1eb143a1f7a@gmail.com> <1551879437567-0.post@n4.nabble.com> Message-ID: I never quite acheive happy. Bob S > On Mar 6, 2019, at 05:37 , AndyP via use-livecode wrote: > >> You have made me feel both stupid and happy simultaneously. > > Sounds like my usual state of being! > > > > ----- > Andy Piddock From irog at mac.com Wed Mar 6 19:15:04 2019 From: irog at mac.com (Roger Guay) Date: Wed, 6 Mar 2019 17:15:04 -0700 Subject: TabStops and Tab Spacings In-Reply-To: References: <946FF90F-8ADF-4DDC-A163-9A0736B530F7@hyperhh.de> Message-ID: <71DD864E-3422-442C-9F01-4CF539A5CF3C@mac.com> Thank you, H?kan. I am working with rtfText and 4 or 5 tab-sizes, but this is very interesting and I will see what I can use. Is the Tab-size attribute an LC thing? If so, I don?t find anything about tab size in the dictionary. Roger > On Mar 6, 2019, at 1:16 PM, H?kan Liljegren via use-livecode wrote: > > There is a tab-size attribute that you can use but it can?t contain more than one number and it only handles ?number of spaces? for a tab like > tab-size: 6 > Will give you 6-spaced tab. > To get the layout in HTML I instead suggest another approach. Replace each tab with an HTML-element to convert the text into something more HTML-like. I.e. > 123 can be converted to something like > 123 > Then you can style your HTML in the way you want? > Or if you really want table data in HTML you can use a (drumroll please ;) ! > Converting a text field with tabs to an HTML table is a fairly straightforward process: > > function tabTextToHTMLTable pText > set the itemDelimiter to tab > put "
? into tHTML > repeat for each line tLine in pText > put "? after tHTML > repeat for each item tItem in tLine > put ?? after tHTML > end repeat > put ?? after tHTML > end repeat > put "
? & tItem & ?
? after tHTML > return tHTML > end tabTextToHTMLTable > > There is an OLD proposal (like from 1998 or 97 if I remember correct) about tab-stops in HTML but to my knowledge it has never been implemented. > > :-H?kan > On 5 Mar 2019, 14:59 +0100, hh via use-livecode , wrote: >>> Roger G. wrote: >>> Is there any way to export myFld to URL and retain the Tab spacings 15,250,320 ? >>> ... >>> I?m working with rtfText instead of HTMLText. (Again, not sure if that makes a >>> difference or even what the trades are of each). >> >> RtfText is, without a large JavaScript library, unusable as input for a browser >> widget (or a browser). The htmltext retains, alike rtfText, styled formatting. >> >>> Roger G. wrote: >>> I am not converting a "simple table field" but rather a simple field with >>> tabStops. >> >> A simple field with tabstops as input is OK. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Thu Mar 7 02:16:10 2019 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 6 Mar 2019 23:16:10 -0800 Subject: Compiling Livecode In-Reply-To: <8546C4AD-7BDB-4FF0-880A-D91075BEC0C3@iotecdigital.com> References: <562BAD62.5020004@fourthworld.com> <78FC0ECB-4DA0-4DC3-A33C-9C0B295DA1B1@sweattechnologies.com> <9F6C9114-EBF1-47A6-B77E-6496D1EEB1E3@sweattechnologies.com> <0AFF6A44-4F62-40F6-BB65-95B313B82791@me.com> <8546C4AD-7BDB-4FF0-880A-D91075BEC0C3@iotecdigital.com> Message-ID: After using Parallels for a few years, I realized I hate virtual environments. What I really do like, however, is having a Windows 10 physical machine's desktop available in a window on my Mac, much like Mac-to-Mac Screen Sharing. (I recently discovered MS Remote Desktop - no going back!) I guess I could do something similar with machines running earlier versions of Windows but haven't tried yet. Phil Davis On 3/6/19 3:39 PM, Bob Sneidar via use-livecode wrote: > Don't have it switch. You can share anything, or else not. You cn use coherence view, or not. I personally like sharing my Mac environment with my PC environment (folder redirection and all that) because it makes it simple to collaborate between the two environments. Recently I was able to IMPORT a VMWare VM into Parallels, becaue the VMWare player wouldn't run the Virtual Machine I was given because it wasn't able to emulate some kind of processor mode! ICK! I hate crap like that! > > Bob S > > >> On Mar 6, 2019, at 03:57 , David Bovill via use-livecode wrote: >> >> Thanks Eric, I may well go that route. I've run Parallel before - but I >> found all the switching, and space it took up a bit much. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Phil Davis From toolbook at kestner.de Thu Mar 7 06:29:11 2019 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 7 Mar 2019 12:29:11 +0100 Subject: AW: AW: Attaching Engine - running forever In-Reply-To: References: <003f01d4d340$583d3140$08b793c0$@kestner.de> <001a01d4d3f6$182a7c00$487f7400$@kestner.de> Message-ID: <004201d4d4d8$fd86ee90$f894cbb0$@kestner.de> Hello Jerry, your guess was good! Only in my case I had to add the same code snippet in my preopenstack and opencard handler. - Thanks to Panos for the quick solution! Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von JJS via use-livecode Gesendet: Mittwoch, 6. M?rz 2019 19:40 An: Tiemo Hollmann TB via use-livecode Cc: JJS Betreff: Re: AW: Attaching Engine - running forever Hallo Tiemo, ok good, it was worth a try. Let's see what the devs come up with. Ciao! Jerry Op 6-3-2019 om 09:25 schreef Tiemo Hollmann TB via use-livecode: > Hi Jerry, > > thanks for the idea. I tested it, but the result is the same. I now > filed a bug report > > Tiemo > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von JJS via use-livecode > Gesendet: Dienstag, 5. M?rz 2019 19:15 > An: Tiemo Hollmann TB via use-livecode > Cc: JJS > Betreff: Re: Attaching Engine - running forever > > Hi Tiemo, > > > maybe you need to add the piece of code which is mentioned in the > release notes. > > You can add that piece at the top in your closestack handler. > > Try it if it helps. > > regards, > > Jerry > > Op 5-3-2019 om 11:43 schreef Tiemo Hollmann TB via use-livecode: >> Hello, >> >> building only a windows standalone on Win10 with LC 9.0.1/9.0.2 the >> standalone builder runs forever at "Attaching engine". >> >> This happens only with one of my stacks. With LC 8.1.10 the >> standalone builder runs fine with the same stack. >> >> 1. Is there anything I can check for? >> >> 2. The build of the exe seems to be fine (it runs). Is there > anything, >> what is to be build after the externals folder, resources folder and >> the exe, or do you think I can just kill LC in this endless loop of >> "Attaching engine" and my standalone will be fine anyway? >> >> >> >> Thanks >> >> Tiemo >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Mar 7 08:30:57 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 7 Mar 2019 08:30:57 -0500 Subject: Windows: Open image with LC EXE In-Reply-To: <50191392-6A59-490E-BDA1-15A340D51BB3@iotecdigital.com> References: <7CF99ABE-C9DE-43FC-B91C-857F855CA888@major-k.de> <7c39edcd-f82b-8a41-8a91-43bccd4822f7@researchware.com> <50191392-6A59-490E-BDA1-15A340D51BB3@iotecdigital.com> Message-ID: <0e058ebc-558e-66d9-b87b-bd8301696ff9@researchware.com> Hi Bob, In our case, we have a Windows app that has multiple document types. We wanted it to behave like a "real" Windows app and (1) register it's multiple documents and icons since the Standalone builder limits you to a single document type (extension) and icon; and (2) check to see if the document types have a different application as their default app and if, so, ask the user if they want our app to be associated with those file types. To use the setRegistry function in LiveCode, the process (application / EXE) must run with privileges. So we made a single stack application called Helper that is written in LiveCode that sits in a small timed loop looking for input using "? read from stdin until cr" When our main app needs to change Registry settings (on startup), it use the LiveCode 'open elevated process "Helper.exe" ' command to start up the Helper.exe standalone as an elevated (or privileged) sub-process and then uses read from and write to to send messages with the registry settings as parameters and the Helper.exe updates the registry. So, for Adobe, you would need to know whether Adobe Reader supports Interprocess Communication (IPC) and if it does, what are the messages and responses (the APIs of its IPC) that it supports. Then use open process and read from process and write to process to communicate with it. On 3/6/2019 6:42 PM, Bob Sneidar via use-livecode wrote: > Hi Paul. I'd be interested in how you do that. I would love to be able to tell Adobe Reader to fill a form directly (as opposed to auto-loading an .fdf file), but was under the impression you had to write some kind of C app which included the API provided by Adobe to do that. > > Bob S > > >> On Mar 6, 2019, at 09:13 , Paul Dupuis via use-livecode wrote: >> >> Our app ships with a separate helper app (another LC standalone/EXE) that receives instructions from the main app via interprocess > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david.bovill at gmail.com Thu Mar 7 11:11:29 2019 From: david.bovill at gmail.com (David Bovill) Date: Thu, 7 Mar 2019 16:11:29 +0000 Subject: Compiling Livecode In-Reply-To: References: <562BAD62.5020004@fourthworld.com> <78FC0ECB-4DA0-4DC3-A33C-9C0B295DA1B1@sweattechnologies.com> <9F6C9114-EBF1-47A6-B77E-6496D1EEB1E3@sweattechnologies.com> <0AFF6A44-4F62-40F6-BB65-95B313B82791@me.com> <8546C4AD-7BDB-4FF0-880A-D91075BEC0C3@iotecdigital.com> Message-ID: No one using docker? A Linux based laptop with every application as a container has got to beat all this vmware? On Thu, 7 Mar 2019 at 07:17, Phil Davis via use-livecode < use-livecode at lists.runrev.com> wrote: > After using Parallels for a few years, I realized I hate virtual > environments. What I really do like, however, is having a Windows 10 > physical machine's desktop available in a window on my Mac, much like > Mac-to-Mac Screen Sharing. (I recently discovered MS Remote Desktop - no > going back!) I guess I could do something similar with machines running > earlier versions of Windows but haven't tried yet. > > Phil Davis > > > On 3/6/19 3:39 PM, Bob Sneidar via use-livecode wrote: > > Don't have it switch. You can share anything, or else not. You cn use > coherence view, or not. I personally like sharing my Mac environment with > my PC environment (folder redirection and all that) because it makes it > simple to collaborate between the two environments. Recently I was able to > IMPORT a VMWare VM into Parallels, becaue the VMWare player wouldn't run > the Virtual Machine I was given because it wasn't able to emulate some kind > of processor mode! ICK! I hate crap like that! > > > > Bob S > > > > > >> On Mar 6, 2019, at 03:57 , David Bovill via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Thanks Eric, I may well go that route. I've run Parallel before - but I > >> found all the switching, and space it took up a bit much. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > Phil Davis > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jjs at krutt.org Thu Mar 7 13:16:46 2019 From: jjs at krutt.org (JJS) Date: Thu, 7 Mar 2019 19:16:46 +0100 Subject: AW: AW: Attaching Engine - running forever In-Reply-To: <004201d4d4d8$fd86ee90$f894cbb0$@kestner.de> References: <003f01d4d340$583d3140$08b793c0$@kestner.de> <001a01d4d3f6$182a7c00$487f7400$@kestner.de> <004201d4d4d8$fd86ee90$f894cbb0$@kestner.de> Message-ID: <55ff8658-dc63-3956-507a-7bfbe17bde00@krutt.org> Hi Tiemo, great! Can you put the bugreport nr here so we can see what Panos had written? It's intereseting. Thanks! Jerry Op 7-3-2019 om 12:29 schreef Tiemo Hollmann TB via use-livecode: > Hello Jerry, > > your guess was good! > Only in my case I had to add the same code snippet in my preopenstack and opencard handler. - Thanks to Panos for the quick solution! > > Tiemo > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von JJS via use-livecode > Gesendet: Mittwoch, 6. M?rz 2019 19:40 > An: Tiemo Hollmann TB via use-livecode > Cc: JJS > Betreff: Re: AW: Attaching Engine - running forever > > Hallo Tiemo, > > ok good, it was worth a try. > > Let's see what the devs come up with. > > Ciao! > > Jerry > > Op 6-3-2019 om 09:25 schreef Tiemo Hollmann TB via use-livecode: >> Hi Jerry, >> >> thanks for the idea. I tested it, but the result is the same. I now >> filed a bug report >> >> Tiemo >> >> >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >> Auftrag von JJS via use-livecode >> Gesendet: Dienstag, 5. M?rz 2019 19:15 >> An: Tiemo Hollmann TB via use-livecode >> Cc: JJS >> Betreff: Re: Attaching Engine - running forever >> >> Hi Tiemo, >> >> >> maybe you need to add the piece of code which is mentioned in the >> release notes. >> >> You can add that piece at the top in your closestack handler. >> >> Try it if it helps. >> >> regards, >> >> Jerry >> >> Op 5-3-2019 om 11:43 schreef Tiemo Hollmann TB via use-livecode: >>> Hello, >>> >>> building only a windows standalone on Win10 with LC 9.0.1/9.0.2 the >>> standalone builder runs forever at "Attaching engine". >>> >>> This happens only with one of my stacks. With LC 8.1.10 the >>> standalone builder runs fine with the same stack. >>> >>> 1. Is there anything I can check for? >>> >>> 2. The build of the exe seems to be fine (it runs). Is there >> anything, >>> what is to be build after the externals folder, resources folder and >>> the exe, or do you think I can just kill LC in this endless loop of >>> "Attaching engine" and my standalone will be fine anyway? >>> >>> >>> >>> Thanks >>> >>> Tiemo >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Thu Mar 7 13:21:40 2019 From: jjs at krutt.org (JJS) Date: Thu, 7 Mar 2019 19:21:40 +0100 Subject: AW: AW: Attaching Engine - running forever In-Reply-To: <55ff8658-dc63-3956-507a-7bfbe17bde00@krutt.org> References: <003f01d4d340$583d3140$08b793c0$@kestner.de> <001a01d4d3f6$182a7c00$487f7400$@kestner.de> <004201d4d4d8$fd86ee90$f894cbb0$@kestner.de> <55ff8658-dc63-3956-507a-7bfbe17bde00@krutt.org> Message-ID: already found it:https://quality.livecode.com/show_bug.cgi?id=21881 Op 7-3-2019 om 19:16 schreef JJS via use-livecode: > Hi Tiemo, > > great! > > Can you put the bugreport nr here so we can see what Panos had written? > > It's intereseting. > > > Thanks! > > Jerry > > Op 7-3-2019 om 12:29 schreef Tiemo Hollmann TB via use-livecode: >> Hello Jerry, >> >> your guess was good! >> Only in my case I had to add the same code snippet in my preopenstack >> and opencard handler. - Thanks to Panos for the quick solution! >> >> Tiemo >> >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >> Auftrag von JJS via use-livecode >> Gesendet: Mittwoch, 6. M?rz 2019 19:40 >> An: Tiemo Hollmann TB via use-livecode >> Cc: JJS >> Betreff: Re: AW: Attaching Engine - running forever >> >> Hallo Tiemo, >> >> ok good, it was worth a try. >> >> Let's see what the devs come up with. >> >> Ciao! >> >> Jerry >> >> Op 6-3-2019 om 09:25 schreef Tiemo Hollmann TB via use-livecode: >>> Hi Jerry, >>> >>> thanks for the idea. I tested it, but the result is the same. I now >>> filed a bug report >>> >>> Tiemo >>> >>> >>> -----Urspr?ngliche Nachricht----- >>> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >>> Auftrag von JJS via use-livecode >>> Gesendet: Dienstag, 5. M?rz 2019 19:15 >>> An: Tiemo Hollmann TB via use-livecode >>> Cc: JJS >>> Betreff: Re: Attaching Engine - running forever >>> >>> Hi Tiemo, >>> >>> >>> maybe you need to add the piece of code which is mentioned in the >>> release notes. >>> >>> You can add that piece at the top in your closestack handler. >>> >>> Try it if it helps. >>> >>> regards, >>> >>> Jerry >>> >>> Op 5-3-2019 om 11:43 schreef Tiemo Hollmann TB via use-livecode: >>>> Hello, >>>> >>>> building only a windows standalone on Win10 with LC 9.0.1/9.0.2 the >>>> standalone builder runs forever at "Attaching engine". >>>> >>>> This happens only with one of my stacks. With LC 8.1.10 the >>>> standalone builder runs fine with the same stack. >>>> >>>> 1.?????? Is there anything I can check for? >>>> >>>> 2.?????? The build of the exe seems to be fine (it runs). Is there >>> anything, >>>> what is to be build after the externals folder, resources folder and >>>> the exe, or do you think I can just kill LC in this endless loop of >>>> "Attaching engine" and my standalone will be fine anyway? >>>> >>>> >>>> Thanks >>>> >>>> Tiemo >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Mar 7 15:32:47 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 7 Mar 2019 14:32:47 -0600 Subject: AW: AW: Attaching Engine - running forever In-Reply-To: <004201d4d4d8$fd86ee90$f894cbb0$@kestner.de> References: <003f01d4d340$583d3140$08b793c0$@kestner.de> <001a01d4d3f6$182a7c00$487f7400$@kestner.de> <004201d4d4d8$fd86ee90$f894cbb0$@kestner.de> Message-ID: <794d00bf-7901-4e31-59f8-3eadb95c3afa@hyperactivesw.com> I wish there was a toggle for this option so we could control whether or not to lock messages. I spent way too long tracking down all the handlers I had to change (and there were lots of them,) and it's irritating to have to add that much extra code just so I can avoid a build failure. I would happily trade losing my script locals for the ability to build without errors. On 3/7/19 5:29 AM, Tiemo Hollmann TB via use-livecode wrote: > Hello Jerry, > > your guess was good! > Only in my case I had to add the same code snippet in my preopenstack and opencard handler. - Thanks to Panos for the quick solution! > > Tiemo -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jjs at krutt.org Thu Mar 7 15:45:04 2019 From: jjs at krutt.org (JJS) Date: Thu, 7 Mar 2019 21:45:04 +0100 Subject: AW: AW: Attaching Engine - running forever In-Reply-To: <794d00bf-7901-4e31-59f8-3eadb95c3afa@hyperactivesw.com> References: <003f01d4d340$583d3140$08b793c0$@kestner.de> <001a01d4d3f6$182a7c00$487f7400$@kestner.de> <004201d4d4d8$fd86ee90$f894cbb0$@kestner.de> <794d00bf-7901-4e31-59f8-3eadb95c3afa@hyperactivesw.com> Message-ID: I can understand. Would OpenStack or preOpenStack and closeStack not be enough to put it in? Op 7-3-2019 om 21:32 schreef J. Landman Gay via use-livecode: > I wish there was a toggle for this option so we could control whether > or not to lock messages. I spent way too long tracking down all the > handlers I had to change (and there were lots of them,) and it's > irritating to have to add that much extra code just so I can avoid a > build failure. > > I would happily trade losing my script locals for the ability to build > without errors. > > On 3/7/19 5:29 AM, Tiemo Hollmann TB via use-livecode wrote: >> Hello Jerry, >> >> your guess was good! >> Only in my case I had to add the same code snippet in my preopenstack >> and opencard handler. - Thanks to Panos for the quick solution! >> >> Tiemo > > From jjs at krutt.org Thu Mar 7 16:18:15 2019 From: jjs at krutt.org (JJS) Date: Thu, 7 Mar 2019 22:18:15 +0100 Subject: acceleratedRendering bugs Message-ID: <5117d5ef-632d-8631-ae85-e01429cdb864@krutt.org> Hi, i saw there are stil 17 bugs open on acceleratedRendering. Is there any sight on when they will be solved? (or at least the most bugging ones) Especially the up shifted screen with the keyboards and the black screens (even short when switching cards) on mobile. And could it be cause for slow scrolling of DG's? (with images)? I know there are some tricks, but in most cases i turn it off and on again depending what's on the card and if a keyboard has to be used. Thanks, Jerry From jacque at hyperactivesw.com Thu Mar 7 20:11:16 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Mar 2019 19:11:16 -0600 Subject: AW: AW: Attaching Engine - running forever In-Reply-To: References: <003f01d4d340$583d3140$08b793c0$@kestner.de> <001a01d4d3f6$182a7c00$487f7400$@kestner.de> <004201d4d4d8$fd86ee90$f894cbb0$@kestner.de> <794d00bf-7901-4e31-59f8-3eadb95c3afa@hyperactivesw.com> Message-ID: <1695adab320.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> No. You need preOpen*/open*/stack, background, card, control and whatever else I forgot. Ditto all the closes. And remember to close any substacks before building or it gets worse. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 7, 2019 2:46:35 PM JJS via use-livecode wrote: > I can understand. > > Would OpenStack or preOpenStack and closeStack not be enough to put it in? > > > Op 7-3-2019 om 21:32 schreef J. Landman Gay via use-livecode: >> I wish there was a toggle for this option so we could control whether >> or not to lock messages. I spent way too long tracking down all the >> handlers I had to change (and there were lots of them,) and it's >> irritating to have to add that much extra code just so I can avoid a >> build failure. >> >> I would happily trade losing my script locals for the ability to build >> without errors. >> >> On 3/7/19 5:29 AM, Tiemo Hollmann TB via use-livecode wrote: >>> Hello Jerry, >>> >>> your guess was good! >>> Only in my case I had to add the same code snippet in my preopenstack >>> and opencard handler. - Thanks to Panos for the quick solution! >>> >>> Tiemo >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roland.huettmann at gmail.com Fri Mar 8 09:46:26 2019 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 8 Mar 2019 15:46:26 +0100 Subject: Drag-and-Drop with Desktop Files Message-ID: Desktop and IDE, mainly Windows 10 (could be any OS), LiveCode lastest version. Drag-and-Drop on Windows works as expected. But I have another request and do not know how to handle it so far. The OS should know which file a user has selected. Is there are a command or Shell function to know which files are selected in the Operating System to receive their file path back in LiveCode without much user interaction. The user shall NOT move the file as in Drag-and-Drop, but just click a button to know about these selected files and folders and process them as desired. Speaking about Windows, only folders and files in a current folder can be user-selected. So, if we had the information about the currently selected folder and the selected files and folders inside, it would be a huge advantage for the application I am working on. Thanks for any hint if this is conceivable. P.S. Windows users: Does anybody of you has a beginners script of using Powershell instead of VBScript on Windows? As far as I know, VBScript is deprecated. How would we call Powershell and receive information in LC back from Powershell? Powershell does not appear in the list of supported scripting languages of the OS when calling "alternateLanguages". From bobsneidar at iotecdigital.com Fri Mar 8 10:34:41 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 8 Mar 2019 15:34:41 +0000 Subject: Windows: Open image with LC EXE In-Reply-To: <0e058ebc-558e-66d9-b87b-bd8301696ff9@researchware.com> References: <7CF99ABE-C9DE-43FC-B91C-857F855CA888@major-k.de> <7c39edcd-f82b-8a41-8a91-43bccd4822f7@researchware.com> <50191392-6A59-490E-BDA1-15A340D51BB3@iotecdigital.com> <0e058ebc-558e-66d9-b87b-bd8301696ff9@researchware.com> Message-ID: <0305544F-33D1-4D97-B48D-A7E6F95AAA87@iotecdigital.com> OIC. I'll check that out. Bob S > On Mar 7, 2019, at 05:30 , Paul Dupuis via use-livecode wrote: > > So, for Adobe, you would need to know whether Adobe Reader supports Interprocess Communication (IPC) and if it does, what are the messages and responses (the APIs of its IPC) that it supports. Then use open process and read from process and write to process to communicate with it. From tom at makeshyft.com Fri Mar 8 11:46:18 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 8 Mar 2019 11:46:18 -0500 Subject: acceleratedRendering bugs In-Reply-To: <5117d5ef-632d-8631-ae85-e01429cdb864@krutt.org> References: <5117d5ef-632d-8631-ae85-e01429cdb864@krutt.org> Message-ID: Yeah...... accelerated rendering for dg2 and subgroups was moved to release 9.1 a while back. I'm looking forward to it as well. several things that can work in the mean time is * using lower resolution with scaling quality set to normal * updating images after the grid rows have updated. (this enables scrolling to be faster) * large text fields are slow too..... so putting in only enough text to render speeds it up alot I am very curious about the speed increase of the grid after these AR changes have been implemented. On Thu, Mar 7, 2019 at 4:18 PM JJS via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi, > > > i saw there are stil 17 bugs open on acceleratedRendering. > > Is there any sight on when they will be solved? (or at least the most > bugging ones) > > Especially the up shifted screen with the keyboards and the black > screens (even short when switching cards) on mobile. > > And could it be cause for slow scrolling of DG's (with images)? > > I know there are some tricks, but in most cases i turn it off and on > again depending what's on the card and if a keyboard has to be used. > > > Thanks, > > Jerry > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Fri Mar 8 15:11:56 2019 From: jjs at krutt.org (JJS) Date: Fri, 8 Mar 2019 21:11:56 +0100 Subject: acceleratedRendering bugs In-Reply-To: References: <5117d5ef-632d-8631-ae85-e01429cdb864@krutt.org> Message-ID: <2bad12c8-d271-6ce3-3ac3-66c6120eaf44@krutt.org> I checked github, nothing there yet, but... it's a DP1, so hoepfully ti will be adressed. Maybe it's not an easy one Op 8-3-2019 om 17:46 schreef Tom Glod via use-livecode: > Yeah...... accelerated rendering for dg2 and subgroups was moved to release > 9.1 a while back. > > I'm looking forward to it as well. > > several things that can work in the mean time is > > * using lower resolution with scaling quality set to normal > * updating images after the grid rows have updated. (this enables scrolling > to be faster) > * large text fields are slow too..... so putting in only enough text to > render speeds it up alot > > I am very curious about the speed increase of the grid after these AR > changes have been implemented. > > > > > On Thu, Mar 7, 2019 at 4:18 PM JJS via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi, >> >> >> i saw there are stil 17 bugs open on acceleratedRendering. >> >> Is there any sight on when they will be solved? (or at least the most >> bugging ones) >> >> Especially the up shifted screen with the keyboards and the black >> screens (even short when switching cards) on mobile. >> >> And could it be cause for slow scrolling of DG's (with images)? >> >> I know there are some tricks, but in most cases i turn it off and on >> again depending what's on the card and if a keyboard has to be used. >> >> >> Thanks, >> >> Jerry >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Fri Mar 8 15:44:41 2019 From: jjs at krutt.org (JJS) Date: Fri, 8 Mar 2019 21:44:41 +0100 Subject: Can't add column behavior Message-ID: <39443a36-b3df-7304-0f64-18a7abc55708@krutt.org> Hi, on one DG i can't add a column behavior, the + button is not responsive. (lc903rc1/win10) I noticed with another DG in the same stack it can take a few seconds, but this one does not respond at all. Does anyone know a quick fix? Thanks a lot! Jerry From tore.nilsen at me.com Sat Mar 9 07:51:41 2019 From: tore.nilsen at me.com (Tore Nilsen) Date: Sat, 9 Mar 2019 13:51:41 +0100 Subject: Resizing stacks and make changes on more than one card Message-ID: I have a stack with 2 cards. On these cards, some elements change size or position when the stack is resized. As the resizeStack message is only sent to the current card, any changes only happen on this card. If the user then navigates to the other card, elements will be out of order on this card. I have tried sending resizeStack to the other card in a resizeStack handler on each card, but this only causes a recursion limit error, obviously. I have also tried to send resizeStack before actually navigating to the other card with no result. Do anyone have a solution for this, apart from arranging the elements in an openCard handler? Best regards Tore Nilsen From brian at milby7.com Sat Mar 9 08:00:56 2019 From: brian at milby7.com (Brian Milby) Date: Sat, 9 Mar 2019 08:00:56 -0500 Subject: Resizing stacks and make changes on more than one card In-Reply-To: References: Message-ID: preOpenCard is what I?ve used. ?I know it includes ?openCard?, but it is a different handler. Thanks, Brian On Mar 9, 2019, 7:52 AM -0500, Tore Nilsen via use-livecode , wrote: > I have a stack with 2 cards. On these cards, some elements change size or position when the stack is resized. As the resizeStack message is only sent to the current card, any changes only happen on this card. If the user then navigates to the other card, elements will be out of order on this card. > > I have tried sending resizeStack to the other card in a resizeStack handler on each card, but this only causes a recursion limit error, obviously. I have also tried to send resizeStack before actually navigating to the other card with no result. > > Do anyone have a solution for this, apart from arranging the elements in an openCard handler? > > > Best regards > > Tore Nilsen > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Sat Mar 9 08:29:02 2019 From: paul at researchware.com (Paul Dupuis) Date: Sat, 9 Mar 2019 08:29:02 -0500 Subject: Resizing stacks and make changes on more than one card In-Reply-To: References: Message-ID: move the resizeStack handlers from each CARD to the STACK script and combine them so they update both cards to the new stack size On 3/9/2019 7:51 AM, Tore Nilsen via use-livecode wrote: > I have a stack with 2 cards. On these cards, some elements change size or position when the stack is resized. As the resizeStack message is only sent to the current card, any changes only happen on this card. If the user then navigates to the other card, elements will be out of order on this card. > > I have tried sending resizeStack to the other card in a resizeStack handler on each card, but this only causes a recursion limit error, obviously. I have also tried to send resizeStack before actually navigating to the other card with no result. > > Do anyone have a solution for this, apart from arranging the elements in an openCard handler? > > > Best regards > > Tore Nilsen > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tore.nilsen at me.com Sat Mar 9 08:37:25 2019 From: tore.nilsen at me.com (Tore Nilsen) Date: Sat, 9 Mar 2019 14:37:25 +0100 Subject: Resizing stacks and make changes on more than one card In-Reply-To: References: Message-ID: Thank you for your suggestions. I did not have any resizeStack handlers, but relied on the geometry manager to position the few elements I needed to reposition. I managed to have the changes implemented on both cards by using send resizeStack to me in a preOpenCard handler on both cards. Best regards Tore Nilsen > 9. mar. 2019 kl. 14:29 skrev Paul Dupuis via use-livecode : > > move the resizeStack handlers from each CARD to the STACK script and combine them so they update both cards to the new stack size > > > On 3/9/2019 7:51 AM, Tore Nilsen via use-livecode wrote: >> I have a stack with 2 cards. On these cards, some elements change size or position when the stack is resized. As the resizeStack message is only sent to the current card, any changes only happen on this card. If the user then navigates to the other card, elements will be out of order on this card. >> >> I have tried sending resizeStack to the other card in a resizeStack handler on each card, but this only causes a recursion limit error, obviously. I have also tried to send resizeStack before actually navigating to the other card with no result. >> >> Do anyone have a solution for this, apart from arranging the elements in an openCard handler? >> >> >> Best regards >> >> Tore Nilsen >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Sat Mar 9 08:39:25 2019 From: brian at milby7.com (Brian Milby) Date: Sat, 9 Mar 2019 08:39:25 -0500 Subject: Resizing stacks and make changes on more than one card In-Reply-To: References: Message-ID: revUpdateGeometry needs to be called in the preOpenCard handler to take care of GM updates. Thanks, Brian On Mar 9, 2019, 8:37 AM -0500, Tore Nilsen via use-livecode , wrote: > Thank you for your suggestions. I did not have any resizeStack handlers, but relied on the geometry manager to position the few elements I needed to reposition. I managed to have the changes implemented on both cards by using send resizeStack to me in a preOpenCard handler on both cards. > > Best regards > Tore Nilsen > > > 9. mar. 2019 kl. 14:29 skrev Paul Dupuis via use-livecode : > > > > move the resizeStack handlers from each CARD to the STACK script and combine them so they update both cards to the new stack size > > > > > > On 3/9/2019 7:51 AM, Tore Nilsen via use-livecode wrote: > > > I have a stack with 2 cards. On these cards, some elements change size or position when the stack is resized. As the resizeStack message is only sent to the current card, any changes only happen on this card. If the user then navigates to the other card, elements will be out of order on this card. > > > > > > I have tried sending resizeStack to the other card in a resizeStack handler on each card, but this only causes a recursion limit error, obviously. I have also tried to send resizeStack before actually navigating to the other card with no result. > > > > > > Do anyone have a solution for this, apart from arranging the elements in an openCard handler? > > > > > > > > > Best regards > > > > > > Tore Nilsen > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Sat Mar 9 09:21:44 2019 From: jjs at krutt.org (JJS) Date: Sat, 9 Mar 2019 15:21:44 +0100 Subject: Can't add column behavior In-Reply-To: <39443a36-b3df-7304-0f64-18a7abc55708@krutt.org> References: <39443a36-b3df-7304-0f64-18a7abc55708@krutt.org> Message-ID: Well, i deleted the DG (saving the internal scripts first). Then copied the working one and adjusted it. (it's in the same stack so no copy issues) Regards. Op 8-3-2019 om 21:44 schreef JJS via use-livecode: > Hi, > > > on one DG i can't add a column behavior, the + button is not > responsive. (lc903rc1/win10) > > I noticed with another DG in the same stack it can take a few seconds, > but this one does not respond at all. > > Does anyone know a quick fix? > > > Thanks a lot! > > > Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sat Mar 9 11:38:05 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 9 Mar 2019 08:38:05 -0800 Subject: Compiling Livecode In-Reply-To: References: Message-ID: David Bovill wrote: > No one using docker? https://hub.docker.com/r/techstrategies/livecode/ -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From e.beugelaar at me.com Sat Mar 9 12:16:26 2019 From: e.beugelaar at me.com (Erik Beugelaar) Date: Sat, 09 Mar 2019 18:16:26 +0100 Subject: Compiling Livecode In-Reply-To: References: Message-ID: <9DCDBA04-5667-4B33-9FE2-4E4A71F5C4D2@me.com> Very interesting... Thanks for sharing this info. ?On 09/03/2019, 17:38, "use-livecode on behalf of Richard Gaskin via use-livecode" wrote: David Bovill wrote: > No one using docker? https://hub.docker.com/r/techstrategies/livecode/ -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Mar 11 08:28:06 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 11 Mar 2019 14:28:06 +0200 Subject: [ANN] This Week in LiveCode 171 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #171 here: https://goo.gl/ous2aL This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From andre at andregarzia.com Mon Mar 11 10:19:51 2019 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 11 Mar 2019 14:19:51 +0000 Subject: Address and phone to the office Message-ID: Hey, Anyone here know the current address of LiveCode office and their phone number? Cheers Andre From klaus at major-k.de Mon Mar 11 10:29:44 2019 From: klaus at major-k.de (Klaus major-k) Date: Mon, 11 Mar 2019 15:29:44 +0100 Subject: Address and phone to the office In-Reply-To: References: Message-ID: <6797E1CD-568D-459E-8D28-5B601C8E0A91@major-k.de> Hi andre, > Am 11.03.2019 um 15:19 schrieb Andre Garzia via use-livecode : > Hey, > > Anyone here know the current address of LiveCode office and their > phone number? broken browser? :-) > Cheers > Andre Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From david.bovill at gmail.com Mon Mar 11 11:07:49 2019 From: david.bovill at gmail.com (David Bovill) Date: Mon, 11 Mar 2019 15:07:49 +0000 Subject: Compiling Livecode In-Reply-To: <9DCDBA04-5667-4B33-9FE2-4E4A71F5C4D2@me.com> References: <9DCDBA04-5667-4B33-9FE2-4E4A71F5C4D2@me.com> Message-ID: I tried that and have it hosted somewhere. By the way who is / are "techstrategies". What I'm looking for is more of how to run integrate Livecode into a future looking devops environment - so using docker on the testing and development side. That's what we use with other platforms and languages - so just wondering... I want to know how Livecode would fit into a future with docker and webassembly and so forth rather than simply what works now. Anyone else experimenting in this direction? On Sat, 9 Mar 2019 at 17:16, Erik Beugelaar via use-livecode < use-livecode at lists.runrev.com> wrote: > Very interesting... > Thanks for sharing this info. > > ?On 09/03/2019, 17:38, "use-livecode on behalf of Richard Gaskin via > use-livecode" use-livecode at lists.runrev.com> wrote: > > David Bovill wrote: > > > No one using docker? > > https://hub.docker.com/r/techstrategies/livecode/ > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Mon Mar 11 12:47:18 2019 From: livfoss at mac.com (Graham Samuel) Date: Mon, 11 Mar 2019 17:47:18 +0100 Subject: Address and phone to the office In-Reply-To: References: Message-ID: <5F54A218-6992-410C-BFDB-DBE1CBDBAC4E@mac.com> According to their web site, it?s LiveCode Ltd. 66 Albion Road Edinburgh Scotland, UK EH7 5QZ +44 (0) 845 219 8923 This is probably right - it?s certainly different from the address they had last year, and I know they?ve moved. HTH Graham > On 11 Mar 2019, at 15:19, Andre Garzia via use-livecode wrote: > > Hey, > > Anyone here know the current address of LiveCode office and their > phone number? > > Cheers > Andre > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Mon Mar 11 17:13:35 2019 From: jjs at krutt.org (JJS) Date: Mon, 11 Mar 2019 22:13:35 +0100 Subject: acceleratedRendering bugs In-Reply-To: <5117d5ef-632d-8631-ae85-e01429cdb864@krutt.org> References: <5117d5ef-632d-8631-ae85-e01429cdb864@krutt.org> Message-ID: <1c228051-a31e-865c-bfd9-57a58de20702@krutt.org> i was playing a bit with the separate command you can use instead of acceleratedrendering (on Android mobile) compositorTileSize,layerMode,compositorType,compositorCacheLimit and noticed that setting compositorType to opengl for android causes the black out screen i'm not sure yet about compositorTileSize what it does on speed the compositorCacheLimit needs to be big like 64*1024*1024 for 64MB according calculation in the dictionary, if you set it small it gets slow updated now i'm not sure if i need the separate commands to be set empty in the closecard (to prevent upshifting on other cards when using keyboard) or that setting the acceleratedrendering to false would be enough. till now i set the accelerated rendering on and off depending if i need keyboard on the card anyone else have experience with these commands? From iowahengst at mac.com Tue Mar 12 07:38:43 2019 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 12 Mar 2019 06:38:43 -0500 Subject: acceleratedRendering bugs In-Reply-To: <1c228051-a31e-865c-bfd9-57a58de20702@krutt.org> References: <5117d5ef-632d-8631-ae85-e01429cdb864@krutt.org> <1c228051-a31e-865c-bfd9-57a58de20702@krutt.org> Message-ID: <1E2B8C3C-8185-413B-BB85-4D6E748B40DD@mac.com> My work is only with iOS. So, no comments about Android? But, I found while working a recent iPad app (with many moving controls) that I needed to adjust the layerMode to dynamic and back to static after the move. I also increased the compositorCacheLimit as you noted? only I went up to 256*1024*1024. I made this adjustment in the startUp handler. I even needed to up the compositorCacheLimit while working in the IDE. I made that adjustment in the message box. I didn?t make any changes relative to compositorTileSize or compositorType. The app I was developing when I first started making these adjustments is free (if that will help understand my context) ?. here is the Apple App Preview page: https://itunes.apple.com/us/app/begotten/id1431461736?mt=8 be well, randy www.classroomFocusedSoftware.com > On Mar 11, 2019, at 4:13 PM, JJS via use-livecode wrote: > > i was playing a bit with the separate command you can use instead of acceleratedrendering (on Android mobile) > > compositorTileSize,layerMode,compositorType,compositorCacheLimit > > and noticed that setting compositorType to opengl for android causes the black out screen > > i'm not sure yet about compositorTileSize what it does on speed > > the compositorCacheLimit needs to be big like 64*1024*1024 for 64MB according calculation in the dictionary, if you set it small it gets slow updated > > now i'm not sure if i need the separate commands to be set empty in the closecard (to prevent upshifting on other cards when using keyboard) or that setting the acceleratedrendering to false would be enough. > > till now i set the accelerated rendering on and off depending if i need keyboard on the card > > > anyone else have experience with these commands? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Tue Mar 12 09:00:41 2019 From: jjs at krutt.org (jjs at krutt.org) Date: Tue, 12 Mar 2019 13:00:41 +0000 Subject: acceleratedRendering bugs In-Reply-To: <1E2B8C3C-8185-413B-BB85-4D6E748B40DD@mac.com> References: <5117d5ef-632d-8631-ae85-e01429cdb864@krutt.org> <1c228051-a31e-865c-bfd9-57a58de20702@krutt.org> <1E2B8C3C-8185-413B-BB85-4D6E748B40DD@mac.com> Message-ID: Thanks for your reply Randy. Nice app you made. I noticed it is sensitve and that the DG2 group with images and text got even slower. So i have to play some more to get it more smoother as it looked more cloggy when scrolling. i can try the max and see if it will have some effect. I also tried it on BlueStacks after i saw the hint from Richmond. That should be very fast, as we have to wait on 9.1 before we can use the fast x86 emulator. But even in BlueStacks the DG is slow and cloggy. Randy Hengst via use-livecode schreef op 2019-03-12 11:38: > My work is only with iOS. So, no comments about Android? > > But, I found while working a recent iPad app (with many moving > controls) that I needed to adjust the layerMode to dynamic and back to > static after the move. > > I also increased the compositorCacheLimit as you noted? only I went up > to 256*1024*1024. > I made this adjustment in the startUp handler. > > I even needed to up the compositorCacheLimit while working in the IDE. > I made that adjustment in the message box. > > I didn?t make any changes relative to compositorTileSize or > compositorType. > > The app I was developing when I first started making these adjustments > is free (if that will help understand my context) ?. > here is the Apple App Preview page: > https://itunes.apple.com/us/app/begotten/id1431461736?mt=8 > > > be well, > randy > www.classroomFocusedSoftware.com > > >> On Mar 11, 2019, at 4:13 PM, JJS via use-livecode >> wrote: >> >> i was playing a bit with the separate command you can use instead of >> acceleratedrendering (on Android mobile) >> >> compositorTileSize,layerMode,compositorType,compositorCacheLimit >> >> and noticed that setting compositorType to opengl for android causes >> the black out screen >> >> i'm not sure yet about compositorTileSize what it does on speed >> >> the compositorCacheLimit needs to be big like 64*1024*1024 for 64MB >> according calculation in the dictionary, if you set it small it gets >> slow updated >> >> now i'm not sure if i need the separate commands to be set empty in >> the closecard (to prevent upshifting on other cards when using >> keyboard) or that setting the acceleratedrendering to false would be >> enough. >> >> till now i set the accelerated rendering on and off depending if i >> need keyboard on the card >> >> >> anyone else have experience with these commands? >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Tue Mar 12 10:18:44 2019 From: hh at hyperhh.de (hh) Date: Tue, 12 Mar 2019 15:18:44 +0100 Subject: Statistics-Distributions_v105 Message-ID: This tabulates and displays 20 distributions: binomial, hypergeometric, negativebinomial, poisson, arcsine, beta,cauchy, centralF, chisquare, exponential, gamma, invgamma, kumaraswamy, lognormal, normal, pareto, studentt, triangular, uniform and weibull. Uses jStat ( https://github.com/jstat/jstat ) and Chartist ( https://github.com/gionkunz/chartist-js ). License MIT ( https://en.wikipedia.org/wiki/MIT_License ). Download Statistics-Distributions from "Sample Stacks" or http://livecodeshare.runrev.com/stack/932 The stack is tested to run with LC 9.0.2 on MacOS 10.14, Win 7+10 and linux(ubuntu1604). [Works also with LC 8.1.10 on MacOS and, except for the chisquare distribution, on Win/linux ]. From irog at mac.com Tue Mar 12 10:55:14 2019 From: irog at mac.com (Roger Guay) Date: Tue, 12 Mar 2019 07:55:14 -0700 Subject: Statistics-Distributions_v105 In-Reply-To: References: Message-ID: <33E5F811-A94D-4C55-A689-164699649B1F@mac.com> Herman, this is wonderful! I learn so much from you. Thank you! Roger > On Mar 12, 2019, at 7:18 AM, hh via use-livecode wrote: > > > > This tabulates and displays 20 distributions: > > binomial, hypergeometric, negativebinomial, poisson, > arcsine, beta,cauchy, centralF, chisquare, exponential, > gamma, invgamma, kumaraswamy, lognormal, normal, pareto, > studentt, triangular, uniform and weibull. > > Uses jStat ( https://github.com/jstat/jstat ) and > Chartist ( https://github.com/gionkunz/chartist-js ). > License MIT ( https://en.wikipedia.org/wiki/MIT_License ). > > Download Statistics-Distributions from "Sample Stacks" or > http://livecodeshare.runrev.com/stack/932 > > The stack is tested to run with LC 9.0.2 on MacOS 10.14, > Win 7+10 and linux(ubuntu1604). > [Works also with LC 8.1.10 on MacOS and, except for the > chisquare distribution, on Win/linux ]. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Tue Mar 12 11:15:58 2019 From: hh at hyperhh.de (hh) Date: Tue, 12 Mar 2019 16:15:58 +0100 Subject: Statistics-Distributions_v105 Message-ID: <7BBDBC1D-D583-44D3-9F65-19FF402D8AA8@hyperhh.de> Roger, a side effect of my announcement is that also your "Coup de Graph" is seen which opens a much wider field of applications. (You didn't announce it here in the list!sss?) So the same thanks to you. Hermann From ambassador at fourthworld.com Tue Mar 12 11:25:34 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Mar 2019 08:25:34 -0700 Subject: Compiling Livecode In-Reply-To: References: Message-ID: David Bovill wrote: >> ?On 09/03/2019 Richard Gaskin wrote: >> >> David Bovill wrote: >> > No one using docker? >> >> https://hub.docker.com/r/techstrategies/livecode/ > > I tried that and have it hosted somewhere. By the way who is / are > "techstrategies". That's the "ts" in "tsNet", Charles Warwick's Brisbane-based company who made the powerful networking external now bundled with proprietary editions of LiveCode. > What I'm looking for is more of how to run integrate Livecode into a > future looking devops environment - so using docker on the testing > and development side. That's what we use with other platforms and > languages - so just wondering... I want to know how Livecode would fit > into a future with docker and webassembly and so forth rather than > simply what > works now. > > Anyone else experimenting in this direction? Not a lot of devops folks on this list. I sit through sessions at my local Linux User Group with envy for all the fun tools my colleagues get to play with, but as interesting as they are I'm finding my modest needs well addressed with simple VMs. And with VPSes so cheap these days, I find myself with more Linux containers than I have tasks to deploy on them. Things are running well enough for the simple systems that make up my day job that Docker sits in a bin with LXD, Juju, Kubernetes, and other cool things that I'm keen to learn but haven't yet made time for. I envy those with large-scale, complex deployments, but I have to admit I'm not one of them. My use cases isn't interesting in itself, but as part of the dearth of devops folks here represents a chickens-and-eggs challenge for LC evangelism: As scripting languages go, LC is as capable as Ruby, Python, and many others. There is no across-the-board "best" among them, each with their own trade-offs, and LC's chunk expressions make it a good choice for a wide range of even faceless tasks. When we combine that with the unparalleled integration of GUI elements in the language for client-side work, the benefits of LC for server work become as apparent as using Linux on the client, having one system that lets us move code on either side of the network as needs change, without having to rewrite in an entirely different language. So one might think LC would make an ideal companion to the other languages hanging on a devops toolbelt. But I find many devops folks believe the user experience exists only in web browser applications, and have little interest in net-savvy native apps, at least on desktop. Odd, of course, given how this is opposite the mobile trend. But even with mobile, most enterprises seems to favor web deployment for their bespoke systems rather than native. The irony there, which us LC folks recognize instantly, is that many UIs can be built much faster in LC, and being dedicated they usually provide a much better, more focused user experience than limiting everything to the confines of a browser window. If more enterprise folks were familiar with the benefits of LC, they'd be using it for their internal apps. But of course enterprise folks won't generally adopt a technology until they see critical mass usage already in place. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From irog at mac.com Tue Mar 12 11:38:36 2019 From: irog at mac.com (Roger Guay) Date: Tue, 12 Mar 2019 08:38:36 -0700 Subject: Statistics-Distributions_v105 In-Reply-To: <7BBDBC1D-D583-44D3-9F65-19FF402D8AA8@hyperhh.de> References: <7BBDBC1D-D583-44D3-9F65-19FF402D8AA8@hyperhh.de> Message-ID: <6C77F3F1-ADEA-4FE1-A4DF-E160174948BF@mac.com> Herman, I?m not sure what you mean ""Coup de Graph? is seen ,,,?, but my stuff is built with a chain saw and chisel compared to your fine work. I didn?t see fit to announce it. Thanks again, Roger > On Mar 12, 2019, at 8:15 AM, hh via use-livecode wrote: > > a side effect of my announcement is that also your "Coup de Graph" > is seen which opens a much wider field of applications. > (You didn't announce it here in the list!sss?) From bobsneidar at iotecdigital.com Tue Mar 12 11:46:41 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 12 Mar 2019 15:46:41 +0000 Subject: Drag-and-Drop with Desktop Files In-Reply-To: References: Message-ID: <9B568F80-38D8-458C-8D87-FB0A755FDF68@iotecdigital.com> On a Mac you could just make an Applescript call to the Finder. Windows, I don't know. There is probably a powershell call that will do it. Bob S > On Mar 8, 2019, at 06:46 , R.H. via use-livecode wrote: > > Desktop and IDE, mainly Windows 10 (could be any OS), LiveCode lastest > version. > > Drag-and-Drop on Windows works as expected. But I have another request and > do not know how to handle it so far. > > The OS should know which file a user has selected. Is there are a command > or Shell function to know which files are selected in the Operating System > to receive their file path back in LiveCode without much user interaction. > The user shall NOT move the file as in Drag-and-Drop, but just click a > button to know about these selected files and folders and process them as > desired. > > Speaking about Windows, only folders and files in a current folder can be > user-selected. So, if we had the information about the currently selected > folder and the selected files and folders inside, it would be a huge > advantage for the application I am working on. > > Thanks for any hint if this is conceivable. From bobsneidar at iotecdigital.com Tue Mar 12 11:56:17 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 12 Mar 2019 15:56:17 +0000 Subject: Can't add column behavior In-Reply-To: References: <39443a36-b3df-7304-0f64-18a7abc55708@krutt.org> Message-ID: <52D0BB22-7EFF-4099-BB06-7F0FD685AB1A@iotecdigital.com> When I have encountered DG wierdness, that is what I do. In fact I have a script that backs up the important settings of a datagrid (column names, labels, widths etc.) as a property of the card it's on, then another script that creates a new one and restores the settings. Bob S > On Mar 9, 2019, at 06:21 , JJS via use-livecode wrote: > > Well, i deleted the DG (saving the internal scripts first). > > Then copied the working one and adjusted it. (it's in the same stack so no copy issues) > > Regards. From jacque at hyperactivesw.com Tue Mar 12 14:17:42 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Mar 2019 13:17:42 -0500 Subject: Drag-and-Drop with Desktop Files In-Reply-To: <9B568F80-38D8-458C-8D87-FB0A755FDF68@iotecdigital.com> References: <9B568F80-38D8-458C-8D87-FB0A755FDF68@iotecdigital.com> Message-ID: <9fdaeebb-d5aa-c534-6676-ee0335ea47e9@hyperactivesw.com> See the entry for dragDrop in the dictionary. You can get the file paths from there. on dragDrop -- check for file paths get the dragData["files"] ... pass dragDrop end dragDrop On 3/12/19 10:46 AM, Bob Sneidar via use-livecode wrote: > On a Mac you could just make an Applescript call to the Finder. Windows, I don't know. There is probably a powershell call that will do it. > > Bob S > > >> On Mar 8, 2019, at 06:46 , R.H. via use-livecode wrote: >> >> Desktop and IDE, mainly Windows 10 (could be any OS), LiveCode lastest >> version. >> >> Drag-and-Drop on Windows works as expected. But I have another request and >> do not know how to handle it so far. >> >> The OS should know which file a user has selected. Is there are a command >> or Shell function to know which files are selected in the Operating System >> to receive their file path back in LiveCode without much user interaction. >> The user shall NOT move the file as in Drag-and-Drop, but just click a >> button to know about these selected files and folders and process them as >> desired. >> >> Speaking about Windows, only folders and files in a current folder can be >> user-selected. So, if we had the information about the currently selected >> folder and the selected files and folders inside, it would be a huge >> advantage for the application I am working on. >> >> Thanks for any hint if this is conceivable. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jjs at krutt.org Tue Mar 12 13:48:22 2019 From: jjs at krutt.org (JJS) Date: Tue, 12 Mar 2019 18:48:22 +0100 Subject: Can't add column behavior In-Reply-To: <52D0BB22-7EFF-4099-BB06-7F0FD685AB1A@iotecdigital.com> References: <39443a36-b3df-7304-0f64-18a7abc55708@krutt.org> <52D0BB22-7EFF-4099-BB06-7F0FD685AB1A@iotecdigital.com> Message-ID: <8c8792f5-b6ab-307d-2116-b8dc6ac31bb1@krutt.org> That's a smart idea. Thanks for mentioning it Bob. Regards, Jerry Op 12-3-2019 om 16:56 schreef Bob Sneidar via use-livecode: > When I have encountered DG wierdness, that is what I do. In fact I have a script that backs up the important settings of a datagrid (column names, labels, widths etc.) as a property of the card it's on, then another script that creates a new one and restores the settings. > > Bob S > > >> On Mar 9, 2019, at 06:21 , JJS via use-livecode wrote: >> >> Well, i deleted the DG (saving the internal scripts first). >> >> Then copied the working one and adjusted it. (it's in the same stack so no copy issues) >> >> Regards. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Mar 12 17:00:08 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 12 Mar 2019 22:00:08 +0100 Subject: get an overview of all scripts (e.g total lines of all scripts) of a stack Message-ID: Hi, i might be wrong, but i think to remember that there was a plugin or tool available some (maybe long) time ago which was able to give some stats about the scripts in a stack or was able to export all scripts of a stack. If so, does anyone remember where to find that tool? Regards, Matthias From jjs at krutt.org Tue Mar 12 16:16:12 2019 From: jjs at krutt.org (JJS) Date: Tue, 12 Mar 2019 21:16:12 +0100 Subject: get an overview of all scripts (e.g total lines of all scripts) of a stack In-Reply-To: References: Message-ID: <3f176e4a-b37d-a4f8-c55e-5deba9d5377b@krutt.org> check here: https://forums.livecode.com/viewtopic.php?f=77&p=174741#p174704 from brian milby, it's great. regards, Jerry Op 12-3-2019 om 22:00 schreef Matthias Rebbe via use-livecode: > Hi, > > i might be wrong, but i think to remember that there was a plugin or tool available some (maybe long) time ago which was able to give some stats about the scripts in a stack or was able to export all scripts of a stack. > > If so, does anyone remember where to find that tool? > > Regards, > > Matthias > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Tue Mar 12 17:15:31 2019 From: brian at milby7.com (Brian Milby) Date: Tue, 12 Mar 2019 17:15:31 -0400 Subject: get an overview of all scripts (e.g total lines of all scripts) of a stack In-Reply-To: References: Message-ID: <4cdaccae-df03-40cb-a675-5f01640ae0ed@Spark> I have a tool that exports the scripts of a stack but does not supply any stats. https://forums.livecode.com/viewtopic.php?f=77&t=31079 https://github.com/bwmilby/lc-misc/tree/master/ScriptTracker https://github.com/bwmilby/lc-misc/blob/master/ScriptTracker/ScriptTracker.md Thanks, Brian On Mar 12, 2019, 5:00 PM -0400, Matthias Rebbe via use-livecode , wrote: > Hi, > > i might be wrong, but i think to remember that there was a plugin or tool available some (maybe long) time ago which was able to give some stats about the scripts in a stack or was able to export all scripts of a stack. > > If so, does anyone remember where to find that tool? > > Regards, > > Matthias > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Mar 12 18:33:58 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 12 Mar 2019 22:33:58 +0000 Subject: Drag-and-Drop with Desktop Files In-Reply-To: <9fdaeebb-d5aa-c534-6676-ee0335ea47e9@hyperactivesw.com> References: <9B568F80-38D8-458C-8D87-FB0A755FDF68@iotecdigital.com> <9fdaeebb-d5aa-c534-6676-ee0335ea47e9@hyperactivesw.com> Message-ID: <44801FBB-CD51-4001-A82B-043023367291@iotecdigital.com> I think he was trying to get the OS to tell him which files were hilited by the user without having to drag and drop. At least that is what I got from the post. Bob S > On Mar 12, 2019, at 11:17 , J. Landman Gay via use-livecode wrote: > > See the entry for dragDrop in the dictionary. You can get the file paths from there. > > on dragDrop -- check for file paths > get the dragData["files"] > ... > pass dragDrop > end dragDrop From ambassador at fourthworld.com Tue Mar 12 19:30:44 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Mar 2019 16:30:44 -0700 Subject: get an overview of all scripts (e.g total lines of all scripts) of a stack In-Reply-To: References: Message-ID: <2072097b-668b-6ac3-21a7-0556aa40d8f0@fourthworld.com> Matthias Rebbe wrote: > i might be wrong, but i think to remember that there was a plugin or > tool available some (maybe long) time ago which was able to give some > stats about the scripts in a stack or was able to export all scripts > of a stack. I used to write things like that, but now that the Project Browser shows us the number of script lines and nested behaviors I haven't needed much else. I used to run stats on things back when I was porting large projects from other xTalks, but those days are long gone, and I haven't needed stats in most day-to-day work. My old stats collection included a tool for measuring Cyclomatic Complexity, re-weighting McCabe's classic algo in ways that provide a better assessment that takes xTalk's unique language characteristics into account. At some point I'll roll project metrics into the Projects pane in devolution, but truth be told I have a note about that right in the very place I'll be adding it, and no one's asked about it. What metrics are you looking for? And what sort of overview would be most helpful? Maybe I can get motivated to fold those in.... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ahsoftware at sonic.net Tue Mar 12 19:58:38 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 12 Mar 2019 16:58:38 -0700 Subject: get an overview of all scripts (e.g total lines of all scripts) of a stack In-Reply-To: <2072097b-668b-6ac3-21a7-0556aa40d8f0@fourthworld.com> References: <2072097b-668b-6ac3-21a7-0556aa40d8f0@fourthworld.com> Message-ID: On 3/12/19 4:30 PM, Richard Gaskin via use-livecode wrote: > My old stats collection included a tool for measuring Cyclomatic > Complexity, re-weighting McCabe's classic algo in ways that provide a > better assessment that takes xTalk's unique language characteristics > into account. > > At some point I'll roll project metrics into the Projects pane in > devolution, but truth be told I have a note about that right in the very > place I'll be adding it, and no one's asked about it. Well, I'll ask now. There's only a vague reference to metrics in devolution, and you really have to know it's there in order to find it (starting to sound familiar...?) Anyway, I got into a long discussion at SCaLE about the drawbacks of most metrics, but Cyclomatic Complexity would give very useful insight into the overall health of a project. -- Mark Wieder ahsoftware at gmail.com From matthias_livecode_150811 at m-r-d.de Tue Mar 12 20:12:05 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 13 Mar 2019 01:12:05 +0100 Subject: get an overview of all scripts (e.g total lines of all scripts) of a stack In-Reply-To: <4cdaccae-df03-40cb-a675-5f01640ae0ed@Spark> References: <4cdaccae-df03-40cb-a675-5f01640ae0ed@Spark> Message-ID: @Jerry @Brian Thanks to both of you. So i was remembering right that there was such a tool Will try tomorrow. Exporting will do. I can check the length of each file after export. @Richard Thanks, but i think i am okay with Brian?s tool. Most important for me is just the total number of lines of all scripts. And to be honest, i even do not know what Cyclomatic Complexity is. ;) Regards, Matthias Matthias Rebbe Tel +49 5741 310000 ?https://matthiasrebbe.eu ? > Am 12.03.2019 um 22:15 schrieb Brian Milby via use-livecode >: > > I have a tool that exports the scripts of a stack but does not supply any stats. > https://forums.livecode.com/viewtopic.php?f=77&t=31079 > https://github.com/bwmilby/lc-misc/tree/master/ScriptTracker > https://github.com/bwmilby/lc-misc/blob/master/ScriptTracker/ScriptTracker.md > > > Thanks, > Brian > On Mar 12, 2019, 5:00 PM -0400, Matthias Rebbe via use-livecode , wrote: >> Hi, >> >> i might be wrong, but i think to remember that there was a plugin or tool available some (maybe long) time ago which was able to give some stats about the scripts in a stack or was able to export all scripts of a stack. >> >> If so, does anyone remember where to find that tool? >> >> Regards, >> >> Matthias >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From roland.huettmann at gmail.com Wed Mar 13 09:45:26 2019 From: roland.huettmann at gmail.com (R.H.) Date: Wed, 13 Mar 2019 14:45:26 +0100 Subject: Drag-and-Drop with Desktop Files Message-ID: Jacqueline: on dragDrop -- check for file paths get the dragData["files"] ... pass dragDrop end dragDrop Jacqueline, thank you. I know this and wrote about it. Here I want to know the filename and path which is user-selected in the OS (on Windows File Explorer) without dragging and dropping it to the LiveCode window. I am looking for a Powershell function that can be invoked in LiveCode. I failed to do this so far even though trying. How do we call Powershell in LiveCode? I can do it with Shell functions and with outdated VBScript. If I get it working myself, I will post it. Thanks, Roland From MikeKerner at roadrunner.com Wed Mar 13 10:17:42 2019 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 13 Mar 2019 10:17:42 -0400 Subject: [off]sublimeText update Message-ID: The new sublimeText update dropped this morning, and it's pretty sweet. It now has things like git status integration, which is very cool. It would be really cool if we could get better integration between external text editors and ST. The ST kluge works great for updating scripts live in LC, except when it doesn't, and I don't think we have a way to do it with Atom, yet. It would also be cool if we had a better way to have stack files be represented as text files instead of binary files for easier version control and editing. Anyway, https://www.sublimetext.com/blog/articles/sublime-text-3-point-2 -- 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." From brian at milby7.com Wed Mar 13 10:21:38 2019 From: brian at milby7.com (Brian Milby) Date: Wed, 13 Mar 2019 10:21:38 -0400 Subject: [off]sublimeText update In-Reply-To: References: Message-ID: <7aa5b944-cd84-4376-9f77-b2ffa49a3c27@Spark> I have a tool that exports the scripts of a stack and can facilitate editing in any external editor. ?I want to hook it up in Atom like ST, but have not figured out how to rewrite the module in JS. ?ScriptTracker works by watching a directory for changes to the files. ?The ST plugin works by sending messages to a server process running in the IDE. forums.livecode.com/viewtopic.php?f=77&t=31079 github.com/bwmilby/lc-misc/tree/master/ScriptTracker github.com/bwmilby/lc-misc/blob/master/ScriptTracker/ScriptTracker.md Thanks, Brian On Mar 13, 2019, 10:18 AM -0400, Mike Kerner via use-livecode , wrote: > The new sublimeText update dropped this morning, and it's pretty sweet. > It now has things like git status integration, which is very cool. > It would be really cool if we could get better integration between external > text editors and ST. The ST kluge works great for updating scripts live in > LC, except when it doesn't, and I don't think we have a way to do it with > Atom, yet. > It would also be cool if we had a better way to have stack files be > represented as text files instead of binary files for easier version > control and editing. > Anyway, > https://www.sublimetext.com/blog/articles/sublime-text-3-point-2 > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Mar 13 10:58:24 2019 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 13 Mar 2019 10:58:24 -0400 Subject: [off]sublimeText update In-Reply-To: <7aa5b944-cd84-4376-9f77-b2ffa49a3c27@Spark> References: <7aa5b944-cd84-4376-9f77-b2ffa49a3c27@Spark> Message-ID: Navigator also has an exporter, and Monte wrote "Scriptifier", which is included in the LC bundle, for exporting scripts to SOS's. Once they're in SOS's, there's no reason to put them back in the stack, since you can edit them using the LC SE or in an external editor. I thought about writing something to export the properties of objects in a stack into text files, and then at startup using that information to build the stack, but that's as far as it's gotten is thinking about it. On Wed, Mar 13, 2019 at 10:28 AM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > I have a tool that exports the scripts of a stack and can facilitate > editing in any external editor. I want to hook it up in Atom like ST, but > have not figured out how to rewrite the module in JS. ScriptTracker works > by watching a directory for changes to the files. The ST plugin works by > sending messages to a server process running in the IDE. > > forums.livecode.com/viewtopic.php?f=77&t=31079 > github.com/bwmilby/lc-misc/tree/master/ScriptTracker > github.com/bwmilby/lc-misc/blob/master/ScriptTracker/ScriptTracker.md > > Thanks, > Brian > On Mar 13, 2019, 10:18 AM -0400, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > The new sublimeText update dropped this morning, and it's pretty sweet. > > It now has things like git status integration, which is very cool. > > It would be really cool if we could get better integration between > external > > text editors and ST. The ST kluge works great for updating scripts live > in > > LC, except when it doesn't, and I don't think we have a way to do it with > > Atom, yet. > > It would also be cool if we had a better way to have stack files be > > represented as text files instead of binary files for easier version > > control and editing. > > Anyway, > > https://www.sublimetext.com/blog/articles/sublime-text-3-point-2 > > > > -- > > 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 at 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 at 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." From bobsneidar at iotecdigital.com Wed Mar 13 11:29:56 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 13 Mar 2019 15:29:56 +0000 Subject: [off]sublimeText update In-Reply-To: References: <7aa5b944-cd84-4376-9f77-b2ffa49a3c27@Spark> Message-ID: <3774D316-DAB4-4E2D-9FEF-A067BF68DB34@iotecdigital.com> That's been mulled over before. It's a huge undertaking. Arrays in properties would have to be arrayEncoded of course, which makes putting it all in a flat text file extremely problematic. Where does the array data begin and end you see? An XML file would be better. Bob S > On Mar 13, 2019, at 07:58 , Mike Kerner via use-livecode wrote: > > Navigator also has an exporter, and Monte wrote "Scriptifier", which is > included in the LC bundle, for exporting scripts to SOS's. Once they're in > SOS's, there's no reason to put them back in the stack, since you can edit > them using the LC SE or in an external editor. I thought about writing > something to export the properties of objects in a stack into text files, > and then at startup using that information to build the stack, but that's > as far as it's gotten is thinking about it. From michael-kristensen at dsa-net.dk Wed Mar 13 13:12:07 2019 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Wed, 13 Mar 2019 18:12:07 +0100 Subject: The Old Project Browser? Message-ID: Hi there I know the old project browser is still there in LC 9. I just can?t remember how to get to it. Can you help out? Thanks Michael From klaus at major-k.de Wed Mar 13 13:14:35 2019 From: klaus at major-k.de (Klaus major-k) Date: Wed, 13 Mar 2019 18:14:35 +0100 Subject: The Old Project Browser? In-Reply-To: References: Message-ID: Hi Michael, > Am 13.03.2019 um 18:12 schrieb Michael Kristensen via use-livecode : > > Hi there > > I know the old project browser is still there in LC 9. > I just can?t remember how to get to it. > Can you help out? Menu: Development -> PlugIns -> revApplicationOverview > Thanks > Michael Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From brian at milby7.com Wed Mar 13 13:29:59 2019 From: brian at milby7.com (Brian Milby) Date: Wed, 13 Mar 2019 13:29:59 -0400 Subject: [off]sublimeText update Message-ID: <048ea877-6ba0-4794-8953-33be5e179c31@Spark> My stack is a different take on the problem. ?It allows the benefit of tracking the scripts in a VCS while retaining the convenience of a binary stack file. ?It also allows easy editing of scripts outside of the IDE without moving to SOS. ?I?m still not convinced that SOS use makes sense all of the time (why put a single level of indirect reference in every object if the script isn?t shared for example). ?Even though I name them and format them like a valid SOS, I do not convert them to actual behaviors. One area where I prefer binary stacks is plugins. ?It seems cleaner to keep the code self contained inside the IDE. ?I actually consolidate Navigator to a single binary file on my systems and do not notice anything different in operation. Monte had another project that did export an entire stack into a collection of text files compatible with VCS. ?His solution allowed multiple developers to work on a stack using the VCS processes to merge work. ?That is much more ambitious than my goal. ?My solution would only facilitate distributed work on the scripts of a stack with someone being the gatekeeper of the binary stack file. Exporting properties of each object would not be that difficult to add, but doing so in a way compatible with VCS would take a bit of thought. ?Monte would encode binary stuff into an ASCII friendly format. ?[I do include a few items as comments at the top of each script (behavior, long name/ID).] ?Format could be XML, JSON, YAML, some new TLA format to appear this year... Thanks, Brian On Mar 13, 2019, 10:59 AM -0400, Mike Kerner via use-livecode , wrote: > Navigator also has an exporter, and Monte wrote "Scriptifier", which is > included in the LC bundle, for exporting scripts to SOS's. Once they're in > SOS's, there's no reason to put them back in the stack, since you can edit > them using the LC SE or in an external editor. I thought about writing > something to export the properties of objects in a stack into text files, > and then at startup using that information to build the stack, but that's > as far as it's gotten is thinking about it. > > On Wed, Mar 13, 2019 at 10:28 AM Brian Milby via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I have a tool that exports the scripts of a stack and can facilitate > > editing in any external editor. I want to hook it up in Atom like ST, but > > have not figured out how to rewrite the module in JS. ScriptTracker works > > by watching a directory for changes to the files. The ST plugin works by > > sending messages to a server process running in the IDE. > > > > forums.livecode.com/viewtopic.php?f=77&t=31079 > > github.com/bwmilby/lc-misc/tree/master/ScriptTracker > > github.com/bwmilby/lc-misc/blob/master/ScriptTracker/ScriptTracker.md > > > > Thanks, > > Brian > > On Mar 13, 2019, 10:18 AM -0400, Mike Kerner via use-livecode < > > use-livecode at lists.runrev.com>, wrote: > > > The new sublimeText update dropped this morning, and it's pretty sweet. > > > It now has things like git status integration, which is very cool. > > > It would be really cool if we could get better integration between > > external > > > text editors and ST. The ST kluge works great for updating scripts live > > in > > > LC, except when it doesn't, and I don't think we have a way to do it with > > > Atom, yet. > > > It would also be cool if we had a better way to have stack files be > > > represented as text files instead of binary files for easier version > > > control and editing. > > > Anyway, > > > https://www.sublimetext.com/blog/articles/sublime-text-3-point-2 > > > > > > -- > > > 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Mar 13 14:49:50 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 13 Mar 2019 20:49:50 +0200 Subject: Ineffective lazy screenRect Message-ID: <2e2afed7-d1eb-5802-0274-4d35c93b368f@gmail.com> So, "here" on macOS 10.14.4 beta 5 with LC 9.0.3 rc-1 [ "Edge City" as they used to say when I wore flared jeans ], when I put *put the working screenRect * into the msgBox I get *0,23,1920,1034* that includes the macOS Dock and the menuBar! *put the effective screenRect* just throws an error, and *put the effective working screenRect* also gives me *0,23,1920,1034* which is not very useful at all. Richmond. From ambassador at fourthworld.com Wed Mar 13 15:02:01 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 13 Mar 2019 12:02:01 -0700 Subject: Ineffective lazy screenRect In-Reply-To: <2e2afed7-d1eb-5802-0274-4d35c93b368f@gmail.com> References: <2e2afed7-d1eb-5802-0274-4d35c93b368f@gmail.com> Message-ID: <7d491302-8e3a-728e-d52d-91347bbc82d8@fourthworld.com> Richmond wrote: > when I put > > *put the working screenRect * > > into the msgBox I get *0,23,1920,1034* > > that includes the macOS Dock and the menuBar! Menubar at the top with Dock at the bottom - that seems correct. What is not working? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Wed Mar 13 15:04:50 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 13 Mar 2019 21:04:50 +0200 Subject: Ineffective lazy screenRect In-Reply-To: <7d491302-8e3a-728e-d52d-91347bbc82d8@fourthworld.com> References: <2e2afed7-d1eb-5802-0274-4d35c93b368f@gmail.com> <7d491302-8e3a-728e-d52d-91347bbc82d8@fourthworld.com> Message-ID: <9dcca2af-e4ae-a35c-6277-344144b12308@gmail.com> What is not working is that 1034 is the number given regardless of whether the words *effective* and *working* are used or not. Richmond. On 13.03.19 21:02, Richard Gaskin via use-livecode wrote: > Richmond wrote: > > > when I put > > > > *put the working screenRect * > > > > into the msgBox I get *0,23,1920,1034* > > > > that includes the macOS Dock and the menuBar! > > Menubar at the top with Dock at the bottom - that seems correct. > > What is not working? > From brian at milby7.com Wed Mar 13 15:06:20 2019 From: brian at milby7.com (Brian Milby) Date: Wed, 13 Mar 2019 15:06:20 -0400 Subject: Ineffective lazy screenRect In-Reply-To: <9dcca2af-e4ae-a35c-6277-344144b12308@gmail.com> References: <2e2afed7-d1eb-5802-0274-4d35c93b368f@gmail.com> <7d491302-8e3a-728e-d52d-91347bbc82d8@fourthworld.com> <9dcca2af-e4ae-a35c-6277-344144b12308@gmail.com> Message-ID: What is reported with just screenRect? Thanks, Brian On Mar 13, 2019, 3:05 PM -0400, Richmond via use-livecode , wrote: > What is not working is that 1034 is the number given regardless of > whether the > words *effective* and *working* are used or not. > > Richmond. > > On 13.03.19 21:02, Richard Gaskin via use-livecode wrote: > > Richmond wrote: > > > > > when I put > > > > > > *put the working screenRect * > > > > > > into the msgBox I get *0,23,1920,1034* > > > > > > that includes the macOS Dock and the menuBar! > > > > Menubar at the top with Dock at the bottom - that seems correct. > > > > What is not working? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Mar 13 15:07:35 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 13 Mar 2019 21:07:35 +0200 Subject: Ineffective lazy screenRect In-Reply-To: References: <2e2afed7-d1eb-5802-0274-4d35c93b368f@gmail.com> <7d491302-8e3a-728e-d52d-91347bbc82d8@fourthworld.com> <9dcca2af-e4ae-a35c-6277-344144b12308@gmail.com> Message-ID: <5056f97b-bdda-9564-9797-b7e4dfeae162@gmail.com> 0,23,1920,1034 On 13.03.19 21:06, Brian Milby via use-livecode wrote: > What is reported with just screenRect? > > Thanks, > Brian > On Mar 13, 2019, 3:05 PM -0400, Richmond via use-livecode , wrote: >> What is not working is that 1034 is the number given regardless of >> whether the >> words *effective* and *working* are used or not. >> >> Richmond. >> >> On 13.03.19 21:02, Richard Gaskin via use-livecode wrote: >>> Richmond wrote: >>> >>>> when I put >>>> >>>> *put the working screenRect * >>>> >>>> into the msgBox I get *0,23,1920,1034* >>>> >>>> that includes the macOS Dock and the menuBar! >>> Menubar at the top with Dock at the bottom - that seems correct. >>> >>> What is not working? >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Mar 13 15:10:08 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 13 Mar 2019 21:10:08 +0200 Subject: Ineffective lazy screenRect In-Reply-To: <5056f97b-bdda-9564-9797-b7e4dfeae162@gmail.com> References: <2e2afed7-d1eb-5802-0274-4d35c93b368f@gmail.com> <7d491302-8e3a-728e-d52d-91347bbc82d8@fourthworld.com> <9dcca2af-e4ae-a35c-6277-344144b12308@gmail.com> <5056f97b-bdda-9564-9797-b7e4dfeae162@gmail.com> Message-ID: Having written that,and having reopened LC 9.0.3 it behaved "as it should" and reported my screen height as 1080. Had that happened initially I would not have started this thread. Richmond. On 13.03.19 21:07, Richmond wrote: > 0,23,1920,1034 > > On 13.03.19 21:06, Brian Milby via use-livecode wrote: >> What is reported with just screenRect? >> >> Thanks, >> Brian >> On Mar 13, 2019, 3:05 PM -0400, Richmond via use-livecode >> , wrote: >>> What is not working is that 1034 is the number given regardless of >>> whether the >>> words *effective* and *working* are used or not. >>> >>> Richmond. >>> >>> On 13.03.19 21:02, Richard Gaskin via use-livecode wrote: >>>> Richmond wrote: >>>> >>>>> when I put >>>>> >>>>> *put the working screenRect * >>>>> >>>>> into the msgBox I get *0,23,1920,1034* >>>>> >>>>> that includes the macOS Dock and the menuBar! >>>> Menubar at the top with Dock at the bottom - that seems correct. >>>> >>>> What is not working? >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From ahsoftware at sonic.net Wed Mar 13 16:59:20 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 13 Mar 2019 13:59:20 -0700 Subject: Ineffective lazy screenRect In-Reply-To: References: <2e2afed7-d1eb-5802-0274-4d35c93b368f@gmail.com> <7d491302-8e3a-728e-d52d-91347bbc82d8@fourthworld.com> <9dcca2af-e4ae-a35c-6277-344144b12308@gmail.com> <5056f97b-bdda-9564-9797-b7e4dfeae162@gmail.com> Message-ID: <363492bf-98ff-4641-2d5b-b200b78f28a1@sonic.net> On 3/13/19 12:10 PM, Richmond via use-livecode wrote: > Had that happened initially I would not have started this thread. I think there's a valuable lesson to be learned here. I'm not sure what it is. -- Mark Wieder ahsoftware at gmail.com From hh at hyperhh.de Wed Mar 13 17:32:49 2019 From: hh at hyperhh.de (hh) Date: Wed, 13 Mar 2019 22:32:49 +0100 Subject: Ineffective lazy screenRect Message-ID: > > Richmond M. wrote: > > Had that happened initially I would not have started this thread. > Mark Wieder wrote: > I think there's a valuable lesson to be learned here. I'm not sure > what it is. I wrote also things to the use-list (mostly silly typos) I wished a few seconds later I could correct them. The ability to correct things easier is one reason I like the forum more than the use-list (relates to the environment, not the members). From hh at hyperhh.de Wed Mar 13 19:44:05 2019 From: hh at hyperhh.de (hh) Date: Thu, 14 Mar 2019 00:44:05 +0100 Subject: Drag-and-Drop with Desktop Files Message-ID: ** Get selected files of the file manager (without user interaction like dragDrop) ** (I write the following such that also beginners can read it.) +++++++++++++++++++++++ [a] Solution for MacOS (tested to work on MacOS 10.14): (a1) Put the following in a field "myScript". # Full path of selected items in Finder. tell application "Finder" set finderSelList to selection as alias list end tell if finderSelList ? {} then repeat with i in finderSelList set contents of i to POSIX path of (contents of i) end repeat set AppleScript's text item delimiters to linefeed finderSelList as text end if (a2) Script a button and create a field "OUT". on mouseUp do fld "myScript" as applescript put char 2 to -2 of the result into r put r into fld "OUT" end mouseUp You'll get from the top-layered finder window lines with the full file names. (a3) Credits. https://forum.keyboardmaestro.com/t/getting-the-path-of-currently-selected-file-in-finder/1507 +++++++++++++++++++++++++ [b] Solution for Windows (tested to work on Win 7+10): (b1) Save the following to a file "wscript1.js" in your stacks folder. var shellWindows = new ActiveXObject("Shell.Application").Windows(); for (var i = 0; i < shellWindows.Count; i++) { var w = shellWindows.Item(i); WScript.StdOut.WriteLine(w.LocationName); var sel = w.Document.SelectedItems(); for (var j = 0; j < sel.Count; j++) { var item = sel.Item(j); WScript.StdOut.WriteLine(item.Name); WScript.StdOut.WriteLine(item.Path); } } (b2) Script a button and create a field "OUT". on mouseUp put the effective filename of this stack into p set itemdel to slash put "wscript1.js" into last item of p put shell("wscript "&p) into fld "OUT" end mouseUp You'll get for each explorer window its name and, for each selected file in that, the short file name followed in the next line by the long file name. (b3) Credits. https://devblogs.microsoft.com/oldnewthing/?p=4593 +++++++++++++++++++++++++ [c] Solution for linux: Linux nerds of the use-list, please complete here (at least for ubuntu 1604) ... From gcanyon at gmail.com Wed Mar 13 22:05:59 2019 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 13 Mar 2019 19:05:59 -0700 Subject: [off]sublimeText update In-Reply-To: <048ea877-6ba0-4794-8953-33be5e179c31@Spark> References: <048ea877-6ba0-4794-8953-33be5e179c31@Spark> Message-ID: I wrote an XML exporter about fifteen years ago. I don't think I have a copy of it anywhere, and of course it probably would break with all the changes since then. But it wasn't *that* complex; Navigator has built-in code to return a list of all the controls within a given group/card/stack, and separately all the properties/custom properties etc. gc On Wed, Mar 13, 2019 at 10:30 AM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > My stack is a different take on the problem. It allows the benefit of > tracking the scripts in a VCS while retaining the convenience of a binary > stack file. It also allows easy editing of scripts outside of the IDE > without moving to SOS. I?m still not convinced that SOS use makes sense > all of the time (why put a single level of indirect reference in every > object if the script isn?t shared for example). Even though I name them > and format them like a valid SOS, I do not convert them to actual behaviors. > > One area where I prefer binary stacks is plugins. It seems cleaner to > keep the code self contained inside the IDE. I actually consolidate > Navigator to a single binary file on my systems and do not notice anything > different in operation. > > Monte had another project that did export an entire stack into a > collection of text files compatible with VCS. His solution allowed > multiple developers to work on a stack using the VCS processes to merge > work. That is much more ambitious than my goal. My solution would only > facilitate distributed work on the scripts of a stack with someone being > the gatekeeper of the binary stack file. > > Exporting properties of each object would not be that difficult to add, > but doing so in a way compatible with VCS would take a bit of thought. > Monte would encode binary stuff into an ASCII friendly format. [I do > include a few items as comments at the top of each script (behavior, long > name/ID).] Format could be XML, JSON, YAML, some new TLA format to appear > this year... > > Thanks, > Brian > On Mar 13, 2019, 10:59 AM -0400, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > Navigator also has an exporter, and Monte wrote "Scriptifier", which is > > included in the LC bundle, for exporting scripts to SOS's. Once they're > in > > SOS's, there's no reason to put them back in the stack, since you can > edit > > them using the LC SE or in an external editor. I thought about writing > > something to export the properties of objects in a stack into text files, > > and then at startup using that information to build the stack, but that's > > as far as it's gotten is thinking about it. > > > > On Wed, Mar 13, 2019 at 10:28 AM Brian Milby via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > I have a tool that exports the scripts of a stack and can facilitate > > > editing in any external editor. I want to hook it up in Atom like ST, > but > > > have not figured out how to rewrite the module in JS. ScriptTracker > works > > > by watching a directory for changes to the files. The ST plugin works > by > > > sending messages to a server process running in the IDE. > > > > > > forums.livecode.com/viewtopic.php?f=77&t=31079 > > > github.com/bwmilby/lc-misc/tree/master/ScriptTracker > > > github.com/bwmilby/lc-misc/blob/master/ScriptTracker/ScriptTracker.md > > > > > > Thanks, > > > Brian > > > On Mar 13, 2019, 10:18 AM -0400, Mike Kerner via use-livecode < > > > use-livecode at lists.runrev.com>, wrote: > > > > The new sublimeText update dropped this morning, and it's pretty > sweet. > > > > It now has things like git status integration, which is very cool. > > > > It would be really cool if we could get better integration between > > > external > > > > text editors and ST. The ST kluge works great for updating scripts > live > > > in > > > > LC, except when it doesn't, and I don't think we have a way to do it > with > > > > Atom, yet. > > > > It would also be cool if we had a better way to have stack files be > > > > represented as text files instead of binary files for easier version > > > > control and editing. > > > > Anyway, > > > > https://www.sublimetext.com/blog/articles/sublime-text-3-point-2 > > > > > > > > -- > > > > 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hakan at exformedia.se Wed Mar 13 20:40:25 2019 From: hakan at exformedia.se (hakan at exformedia.se) Date: Thu, 14 Mar 2019 01:40:25 +0100 Subject: TabStops and Tab Spacings In-Reply-To: <71DD864E-3422-442C-9F01-4CF539A5CF3C@mac.com> References: <946FF90F-8ADF-4DDC-A163-9A0736B530F7@hyperhh.de> <71DD864E-3422-442C-9F01-4CF539A5CF3C@mac.com> Message-ID: Tab-size is a CSS-thing and not a Livecode thing... On 7 Mar 2019, 01:15 +0100, Roger Guay via use-livecode , wrote: > Thank you, H?kan. I am working with rtfText and 4 or 5 tab-sizes, but this is very interesting and I will see what I can use. Is the Tab-size attribute an LC thing? If so, I don?t find anything about tab size in the dictionary. > > Roger > > > On Mar 6, 2019, at 1:16 PM, H?kan Liljegren via use-livecode wrote: > > > > There is a tab-size attribute that you can use but it can?t contain more than one number and it only handles ?number of spaces? for a tab like > > tab-size: 6 > > Will give you 6-spaced tab. > > To get the layout in HTML I instead suggest another approach. Replace each tab with an HTML-element to convert the text into something more HTML-like. I.e. > > 123 can be converted to something like > > 123 > > Then you can style your HTML in the way you want? > > Or if you really want table data in HTML you can use a (drumroll please ;) ! > > Converting a text field with tabs to an HTML table is a fairly straightforward process: > > > > function tabTextToHTMLTable pText > > set the itemDelimiter to tab > > put "
? into tHTML > > repeat for each line tLine in pText > > put "? after tHTML > > repeat for each item tItem in tLine > > put ?? after tHTML > > end repeat > > put ?? after tHTML > > end repeat > > put "
? & tItem & ?
? after tHTML > > return tHTML > > end tabTextToHTMLTable > > > > There is an OLD proposal (like from 1998 or 97 if I remember correct) about tab-stops in HTML but to my knowledge it has never been implemented. > > > > :-H?kan > > On 5 Mar 2019, 14:59 +0100, hh via use-livecode , wrote: > > > > Roger G. wrote: > > > > Is there any way to export myFld to URL and retain the Tab spacings 15,250,320 ? > > > > ... > > > > I?m working with rtfText instead of HTMLText. (Again, not sure if that makes a > > > > difference or even what the trades are of each). > > > > > > RtfText is, without a large JavaScript library, unusable as input for a browser > > > widget (or a browser). The htmltext retains, alike rtfText, styled formatting. > > > > > > > Roger G. wrote: > > > > I am not converting a "simple table field" but rather a simple field with > > > > tabStops. > > > > > > A simple field with tabstops as input is OK. > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Mar 14 02:54:42 2019 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 14 Mar 2019 08:54:42 +0200 Subject: Ineffective lazy screenRect In-Reply-To: <363492bf-98ff-4641-2d5b-b200b78f28a1@sonic.net> References: <2e2afed7-d1eb-5802-0274-4d35c93b368f@gmail.com> <7d491302-8e3a-728e-d52d-91347bbc82d8@fourthworld.com> <9dcca2af-e4ae-a35c-6277-344144b12308@gmail.com> <5056f97b-bdda-9564-9797-b7e4dfeae162@gmail.com> <363492bf-98ff-4641-2d5b-b200b78f28a1@sonic.net> Message-ID: Yes, there is a valuable lesson: reel in one's impulsive nature, and don't panic. Richmond. On 13.03.19 22:59, Mark Wieder via use-livecode wrote: > On 3/13/19 12:10 PM, Richmond via use-livecode wrote: > >> Had that happened initially I would not have started this thread. > > I think there's a valuable lesson to be learned here. > I'm not sure what it is. > From iphonelagi at gmail.com Thu Mar 14 09:19:34 2019 From: iphonelagi at gmail.com (Lagi Pittas) Date: Thu, 14 Mar 2019 13:19:34 +0000 Subject: Ineffective lazy screenRect In-Reply-To: <363492bf-98ff-4641-2d5b-b200b78f28a1@sonic.net> References: <2e2afed7-d1eb-5802-0274-4d35c93b368f@gmail.com> <7d491302-8e3a-728e-d52d-91347bbc82d8@fourthworld.com> <9dcca2af-e4ae-a35c-6277-344144b12308@gmail.com> <5056f97b-bdda-9564-9797-b7e4dfeae162@gmail.com> <363492bf-98ff-4641-2d5b-b200b78f28a1@sonic.net> Message-ID: "Have you tried turning it off and on again?" https://www.youtube.com/watch?v=nn2FB1P_Mn8 Lagi On Wed, 13 Mar 2019 at 20:59, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 3/13/19 12:10 PM, Richmond via use-livecode wrote: > > > Had that happened initially I would not have started this thread. > > I think there's a valuable lesson to be learned here. > I'm not sure what it is. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roland.huettmann at gmail.com Thu Mar 14 09:25:53 2019 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 14 Mar 2019 14:25:53 +0100 Subject: Drag-and-Drop with Desktop Files Message-ID: I am referring to: Message: 17, Date: Thu, 14 Mar 2019 00:44:05 +0100, From: hh Regarding MacOS I can not say much, but I use Windows, and IT WORKS. 'hh ' = Hermann's contribution, right? This fantastic. I never expected anybody to have a solution. I had searched Git and whatever. Well, first it did not actually work because spaces in the folder- and filenames are breaking the script. There will be an error message. So, I have added these script lines to what 'hh' had posted: -- Button script on mouseUp set the hideConsoleWindows to true -- Hide console window put the effective filename of this stack into p set the itemdelimiter to slash put "wscript1.js" into last item of p -- Or construct any other valid file path --replace slash with backslash in p -- Not needed, works without backslash conversion put quote & p & quote into p -- Required if file- or folder names contain spaces, and mostly they do put shell ("wscript "&p) into msg -- or any field, ... end mouseUp Tested: Operating system: Windows 10, the latest version OS scripting language: Wscript (Microsoft Windows Script Host File) Filename of script file: "wscript.js" Location: Here the call file is placed inside the stack folder (could be any other location) Script of the file as given by Hermann: var shellWindows = new ActiveXObject("Shell.Application").Windows(); for (var i = 0; i < shellWindows.Count; i++) { var w = shellWindows.Item(i); WScript.StdOut.WriteLine(w.LocationName); var sel = w.Document.SelectedItems(); for (var j = 0; j < sel.Count; j++) { var item = sel.Item(j); WScript.StdOut.WriteLine(item.Name); WScript.StdOut.WriteLine(item.Path); } } Biggest THANK YOU. You solved the client request in a very elegant way and I create this script file "on the fly" from within LiveCode and execute it on the client's Windows system. Thanks for all contributions Roland From roland.huettmann at gmail.com Thu Mar 14 10:02:40 2019 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 14 Mar 2019 15:02:40 +0100 Subject: Drag-and-Drop with Desktop Files In-Reply-To: References: Message-ID: hh, I have one more question for Windows: Selecting a file through Microsoft File Explorer on Windows 10 works for all selected files with your wscript, also when it is a Desktop file accessed through the dialogue. The problem I have is when the user selects a file _directly_ visible on the Desktop, wscript will not catch the file. Is there a way to find such selected files on the Desktop when users just selected files there? I am not familiar yet with wscript. And I can not catch this attribute using the files(specialfolderpath("desktop","detailed")) function in LiveCode. Thanks, Roland > I am referring to: > Message: 17, Date: Thu, 14 Mar 2019 00:44:05 +0100, From: hh < > hh at hyperhh.de> > > Regarding MacOS I can not say much, but I use Windows, and IT WORKS. > > 'hh ' = Hermann's contribution, right? This fantastic. I never expected > anybody to have a solution. I had searched Git and whatever. > > Well, first it did not actually work because spaces in the folder- and > filenames are breaking the script. There will be an error message. So, I > have added these script lines to what 'hh' had posted: > > -- Button script > on mouseUp > set the hideConsoleWindows to true -- Hide console window > put the effective filename of this stack into p > set the itemdelimiter to slash > put "wscript1.js" into last item of p -- Or construct any other valid > file path > --replace slash with backslash in p -- Not needed, works without > backslash conversion > put quote & p & quote into p -- Required if file- or folder names > contain spaces, and mostly they do > put shell ("wscript "&p) into msg -- or any field, ... > end mouseUp > > Tested: > Operating system: Windows 10, the latest version > OS scripting language: Wscript (Microsoft Windows Script Host File) > Filename of script file: "wscript.js" > Location: Here the call file is placed inside the stack folder (could be > any other location) > Script of the file as given by Hermann: > > var shellWindows = new ActiveXObject("Shell.Application").Windows(); > for (var i = 0; i < shellWindows.Count; i++) { > var w = shellWindows.Item(i); > WScript.StdOut.WriteLine(w.LocationName); > var sel = w.Document.SelectedItems(); > for (var j = 0; j < sel.Count; j++) { > var item = sel.Item(j); > WScript.StdOut.WriteLine(item.Name); > WScript.StdOut.WriteLine(item.Path); > } > } > > Biggest THANK YOU. You solved the client request in a very elegant way > and I create this script file "on the fly" from within LiveCode and execute > it on the client's Windows system. > > Thanks for all contributions > Roland > From panos.merakos at livecode.com Thu Mar 14 10:37:23 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 14 Mar 2019 16:37:23 +0200 Subject: [ANN] Release 9.0.3 RC-2 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.0.3 RC-2. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.0.3 RC-2 comes with 4 bugfixes: 21856 not loaded Plugins are listed in Project Browser after stack is opened from disk 21886 cameraControlCreate not asking for camera permission on Android 21892 iOS: TimeZone FromUniversalTime function not returning expected results 21869 Visual effect "scroll" doesn't honor rect Since the last stable version (9.0.2), more than 65 bugs have been fixed. Known issues ================ - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. The full release notes are available from: http://downloads.livecode.com/livecode/9_0_3/LiveCodeNotes-9_0_3_rc_2.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From bobsneidar at iotecdigital.com Thu Mar 14 10:59:23 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 14 Mar 2019 14:59:23 +0000 Subject: Relayering Madness Message-ID: <5D3056BD-F45C-473A-A06E-75196357FE03@iotecdigital.com> I am really at a loss when it comes to relayering groups. I read the dictionary on relayerGroupControls and it appears to me while reading it that if you set it to false, you can relayer groups by bringing forward or sending backward and it won't become a part of another group. In fact, the opposite is happening, and when I fix it one of the two groups that got merged ends up all the way in front. Can someone tell me again what to do to prevent relayering from jacing up my discreet groups?? Bob S From ambassador at fourthworld.com Thu Mar 14 11:10:36 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Mar 2019 08:10:36 -0700 Subject: get an overview of all scripts (e.g total lines of all scripts) of a stack In-Reply-To: References: Message-ID: Mark Wieder wrote: > On 3/12/19 4:30 PM, Richard Gaskin via use-livecode wrote: >> >> At some point I'll roll project metrics into the Projects pane in >> devolution, but truth be told I have a note about that right in the >> very place I'll be adding it, and no one's asked about it. > > Well, I'll ask now. There's only a vague reference to metrics in > devolution, and you really have to know it's there in order to find it > (starting to sound familiar...?) Anyway, I got into a long discussion > at SCaLE about the drawbacks of most metrics, but Cyclomatic > Complexity would give very useful insight into the overall health of a > project. Thanks. I'll count that as a "Yes, do it" vote. :) I don't mind taking the time to write metrics tools (kinda enjoy it), but having done that sort of thing for decades in every xTalk I've used I've had a difficult time finding true value-add uses-cases for them (perhaps my experience is similar to your discussion at the Expo). So when someone asks for things like number of script lines, or number of objects, or anything else, I always ask "Why?" And I never get a reply. Ever. In the last 10 years I've been asking. Which has so far served as an indicator of the actual value-add. ;) So dear readers, please understand that I'm rather eager to produce exactly what you're looking for, if I can learn more specifically what it is you want and how it helps your development process. Consider this an open invitation to discuss the business case for project metrics, and which ones are especially valuable to your work and which one's aren't. PS, in reply to an earlier reader who hadn't yet used Cyclomatic Complexity: Complexity measurements help us see the difference between simple code and complicated code. Not that complicated necessarily means spaghetti, but number of script lines alone don't tell us much about the difficulty of maintaining code. A long script of simple statements may pose a smaller maintenance cost than a shorter script chock full o' "send in