Re: Remote Debugger Anomalies

2018-09-12 Thread Sannyasin Brahmanathaswami via use-livecode
Hmm I just go a test stack from Elanor... never open before It has the debug script when she ran it on android saved into SA builder! I went to edit it and get unusual ID 536434756567-36465 (etc.) ? On 9/12/18 3:40 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > -- Shut down

Re: Remote Debugger Anomalies

2018-09-13 Thread Sannyasin Brahmanathaswami via use-livecode
Well this is somewhat "urgent" due to a scenario I just witness. It GIT --> branch -- nightly # scripts updated. committed switch to branch "fixIosBrowser" git merge nightly # get the usual conflict of binary stacks.. git checkout --theirs "view/view_SivaSivaBrowser.livecode" #presumably u

Re: Remote Debugger Anomalies

2018-09-13 Thread Sannyasin Brahmanathaswami via use-livecode
you wonder where did it come from? BR On 9/13/18 10:44 AM, Monte Goulding via use-livecode wrote: > t does not sound like the remote debugger was involved at all in this story > so perhaps look elsewhere for the problem. > >> On 14 Sep 2018, at 6:12 am, Sannyasin Brahmanat

Re: Remote Debugger Anomalies

2018-09-15 Thread Sannyasin Brahmanathaswami via use-livecode
On 9/13/18 10:47 AM, Monte Goulding via use-livecode wrote: > OK that definitely gives me an idea. The cache is meant to be cleaned up when > the socket closes so should be happening between launches of the app but we > can also force the debug session to end during the deploy of the new version

Re: Remote Debugger Anomalies

2018-09-15 Thread Sannyasin Brahmanathaswami via use-livecode
Well I play with it a while, I don't have a perfect recipe yet... 1) debug error show up. Do edit the script. You check the error and close the script editor. So far I think the IDE has no cache of it. 2) then on the phone, you go to App Info, Uninstall. So far I didn't get a cached script. But

Re: Remote Debugger Anomalies

2018-09-16 Thread Sannyasin Brahmanathaswami via use-livecode
On 9/16/18 1:38 PM, J. Landman Gay via use-livecode wrote: > Stacks named that way were the ones I tried deleting when the whole IDE > wen I suppose Trevor would chime here. If you to switch Sublime text and stay away for SE all together, all the problems go away? Because when you save the scri

Re: Remote Debugger Anomalies

2018-09-17 Thread Sannyasin Brahmanathaswami via use-livecode
Do you have that "script acting as a server" available in Levure? On 9/17/18 2:31 AM, Trevor DeVore via use-livecode wrote: > When working on a project I always work in ST with the LC IDE open. LC has > a script acting as a server running and ST is the client. ST sends a > notification to LC when

Creating Array - Auto Numeric

2018-09-18 Thread Sannyasin Brahmanathaswami via use-livecode
My head always breaks on complex array functions. I can't head around this algorithm Given a "quote" in a field "Cut the apple. Cut the banana" We get to location for each word (that is easy) I want to analyse the quote by going through each word. *--* *repeat* withx = 1tothenumbero

Re: Creating Array - Auto Numeric

2018-09-18 Thread Sannyasin Brahmanathaswami via use-livecode
On 9/18/18 7:15 AM, Tore Nilsen via use-livecode wrote: > You can not put the incrementing numeric key inside an associative array the > way you want. The key of any array must be unique, and you can not have > several instances of a key in an array. Think of the keys of the array it as > the pr

Re: Creating Array - Auto Numeric

2018-09-18 Thread Sannyasin Brahmanathaswami via use-livecode
gt; You can not put the incrementing numeric key inside an associative array the > way you want. The key of any array must be unique, and you can not have > several instances of a key in an array. Think of the keys of the array it as > the primary keys of a database table. It serves as a uniq

Re: Creating Array - Auto Numeric

2018-09-18 Thread Sannyasin Brahmanathaswami via use-livecode
Well Alex won with "extents" in fact while he wrote that, I was in the User look at extents.' Jacque does that some thing.. put the number of lines in keys USE CASE Jacque and created a puzzle together, it take quotes of various lengths, creates image tiles of the words. Each tile has a c

Re: App Dead on iOS 12

2018-09-19 Thread Sannyasin Brahmanathaswami via use-livecode
On 9/17/18 1:11 PM, Terry Judd via use-livecode wrote: > OK - just to follow up on that, I rebuilt one of the apps using LC 9.0.1 - > I'm still on OSX 10.10.5 so I'm using an older version of XCode - anyway, the > app installs and launches on the iPad OK but the app icon is missing. Any > ideas

Re: Creating Array - Auto Numeric

2018-09-19 Thread Sannyasin Brahmanathaswami via use-livecode
It my case it was "ignorance about arrays" that may my head hurt. It would nice if the dictionary's "associations" include every keyword related. For example, search on array" One find zero reference to extents But I found them the user guide 1) Chapter on Arrays 2) Section on Processing Text

Livecode on Mohave

2018-09-23 Thread Sannyasin Brahmanathaswami via use-livecode
Typically I try to avoid Apple latest (beta) upgrade while the early adopters shake out bugs, usually a series of patches for three months. But I'm curious, in LiveCode ready for Mohave (released tomorrow) BR ___ use-livecode mailing list use-livecode

Re: (browser) focus hocus pocus broke us

2018-09-24 Thread Sannyasin Brahmanathaswami via use-livecode
On 9/24/18 5:45 AM, Mike Kerner via use-livecode wrote: > Thanks Monte. Fix it anyway. > Thanks for the idea, Tom, no joy. Related use case: some web pages download a "ton" of javascript at start up. I can't find a way to set a "spinner/I-am-downloading" on the screen, until we get some content

Modern Mobile Progress Bar

2018-10-04 Thread Sannyasin Brahmanathaswami via use-livecode
Is there any way to get color to show on a native scrollbar (used as a progress bar for a download) on mobile? It show up with background fill black with barely visible thumbnail blue going across, changing the color in IDE has no effect on mobile. I think there is a mobile control, but as far I c

Exiting a repeat loop

2018-10-04 Thread Sannyasin Brahmanathaswami via use-livecode
I have little game where the user runs a repeat loop. And I want to let the user stop at any time. So what I do set a local flag. Here is the simple logic -- local sStopFlag *on mouseup* *repeat* sCycles times *if* sStopFlag=1*then* *exit* *repeat* **

Navigator 6.5 alpha 2 is out

2018-10-04 Thread Sannyasin Brahmanathaswami via use-livecode
Just checking on installation: When you unzip, we get one folder. It has be to placed manually, like this ? /My Livecode /Plugin /Navigator_Behavior /Navigator Commands #inside Navigator_Behaviors rev_b_Actions.livecodescript Navigate.re

Breakpoints Failing / Crashes

2018-10-05 Thread Sannyasin Brahmanathaswami via use-livecode
breakpoint -- either entered by "red dot" or explicitly placed "breakpoint" in the code and frequently "non-observed" and just now had a crash are click the breakpoint dot (which was not working) and attempting to insert "breakpoint" anyone else having to trouble, Mac OS X , LC 9.0.1 stable (no

Most Efficient Way To "Blink"

2018-10-06 Thread Sannyasin Brahmanathaswami via use-livecode
I just crashed 9.0.1. stable with the first recursion error I had in a long time. I was playing with to "blinking" animation. using send "blinkStart true" to me in 500 milliseconds crashed the IDE. Now I have this, but color doesn't change. Anyone have a efficient recipe to "blink" any contr

Re: Most Efficient Way To "Blink"

2018-10-06 Thread Sannyasin Brahmanathaswami via use-livecode
On 10/6/18 10:47 AM, Mark Wieder via use-livecode wrote: > After much editing (can you possibly post text instead of lots of > asterisks?) I tried this and it works here, although if you really want > to see the blink you need another wait statement after the second > background color change. Ot

Re: Callbacks in HTML5

2018-10-06 Thread Sannyasin Brahmanathaswami via use-livecode
Andre and I spend a long time tinkering with this last year. In the end I asked for a quote. It was ~$9,000.00 (or something like that) for the basic implementation. If you wanted the IDE to report errors/debug another $7K $16,000.00 I don't have a budget for just this feature If you like

OT: Seven Ineffective Coding Habits of Many Programmers

2018-10-09 Thread Sannyasin Brahmanathaswami via use-livecode
Watching Levure videos, contemplating more collaborative coding, I found this. ITT 2016 - Kevlin Henney - Seven Ineffective Coding Habits of Many Programmers https://www.youtube.com/watch?v=ZsHMHukIlJY 45 minutes long. If you need a break, it is both instructive and humorous I often str

Re: OT: Seven Ineffective Coding Habits of Many Programmers

2018-10-13 Thread Sannyasin Brahmanathaswami via use-livecode
On 10/12/18 11:37 AM, Mark Wieder via use-livecode wrote: > On 10/12/2018 11:12 AM, J. Landman Gay via use-livecode wrote: > >> That's not a term, it's a sentence. > So... time served only? -- Svasti Astu, Be Well! Brahmanathaswami Get the SivaSiva app, it's free: https://www.himalayanacademy.c

Re: OT: Seven Ineffective Coding Habits of Many Programmers

2018-10-13 Thread Sannyasin Brahmanathaswami via use-livecode
LOL, can't resist: "*mergBLEPeripheralDidUpdateNotificationStateForCharacteristic'* (rap music in background) "They sentenced us to 60 char long! But the term will only be served by those brave enough to go to the Kingdom of Peripheral UUID's." BR On 10/12/18 11:37 AM, Mark Wieder via use-l

Unicode Store in JSON

2018-10-14 Thread Sannyasin Brahmanathaswami via use-livecode
I need to store unicode in JSON on Mobile; and store that in SQLLite dBase If you do a "direct" transfer *put*(char1to35oftQuote)& "..."intosTruncFirstLine "Yea, jīva is actually Śiva." # putting sTruncFirstLine into an SQLLite column # when you get the data out, it becomes "Ye

Re: Unicode Store in JSON

2018-10-14 Thread Sannyasin Brahmanathaswami via use-livecode
On 10/14/18 8:43 AM, J. Landman Gay via use-livecode wrote: > I'd store the text normally, without alteration, in the JSON. TextEncode > it when you send it to the database and textDecode when you retrieve it > from the database. Wow, that worked! And I thought that JSON could not be a container

OT: The Principles of Clean Architecture

2018-10-14 Thread Sannyasin Brahmanathaswami via use-livecode
Hope you don't in my sharing on going research into high level architecture. https://www.youtube.com/watch?v=o_TH-Y78tt4 This one came about because Andre (ha!) chided me on my lack of encapsulation between modules, and spent time re-factoring to make it better. He has a license to tell what is

Re: Unicode Store in JSON

2018-10-14 Thread Sannyasin Brahmanathaswami via use-livecode
First can you clarify if both of these should work.? We see both in dictionary... *Example* textEncode("A","UTF16") *put*textEncode(field"output","UTF-8") intotOutput will the 2nd param work with or without a hyphen? --- unclarity --simply: *Syntax* textEncode(*stringToEncode*, encod

Re: Unicode Store in JSON

2018-10-15 Thread Sannyasin Brahmanathaswami via use-livecode
On 10/14/18 5:41 PM, Monte Goulding via use-livecode wrote: > Well mergJSON is documented to return UTF-8 encoded JSON, however, I agree > that JSONImport and JSONExport docs are a little ambiguous and should clarify > that the JSON needs to be textDecoded before calling JSONImport and > textEnc

Re: Unicode Store in JSON

2018-10-16 Thread Sannyasin Brahmanathaswami via use-livecode
Unicode is binary?? > Bob S not unicode per se Dictionary says *Syntax* textEncode(*stringToEncode*, encoding) *Summary* Converts from text to binary data. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscr

Library to Cancel PendingMessages

2018-10-16 Thread Sannyasin Brahmanathaswami via use-livecode
We anticipate using more and more animation in our app. It is like Levure in the sense that it is has a lot of "view" module/stacks. For now I just need to cancel one or two. Which we can very easily do "locally" -- store the result and cancel on close card. But I wonder about a global library.

Re: setProp question

2018-10-19 Thread Sannyasin Brahmanathaswami via use-livecode
Wow! that very cool Can you post a sample stack, or snippet of code for this "Just by passing the long ID, instead of a string of parameters. It's like a package of variables, AND the variables are persistent between sessions." BR On 10/16/18 5:13 AM, Bob Sneidar via use-livecode wrote: > For

turn off the "Pull down Window" in iOS

2018-10-19 Thread Sannyasin Brahmanathaswami via use-livecode
I have a little puzzle game in the app. Landscape. Surprisingly, it's popular. Sometimes word tile are randomly placed high on the screen. It there a way to turn off the iOS system pull down "Notification Center" in this context? We have the status bar off, but on iOS but the "Notification Cent

Re: how to properly use the fullscreenmode and screen scaling

2018-10-28 Thread Sannyasin Brahmanathaswami via use-livecode
On 10/27/18 11:40 AM, Mike for GDC via use-livecode wrote: > I am new to LC and have learned much so far but I am having an issue with > the proper scaling of my app on different size screens. I have created the > app with the dimensions of 913 w X 636 h. All looks great on the desktop. I've spe

Mysteries of Me

2018-10-29 Thread Sannyasin Brahmanathaswami via use-livecode
I thought I had a grip on "me" But in a script that is assigned to a stack, one assumes that "me" refers to stack itself. But the auto-suggestion on the SE popup menu generates an error on the following line: * on openstack put url ("binfile:" & path_Modules()& "listen/collection.json") into tC

Re: Mysteries of Me

2018-10-29 Thread Sannyasin Brahmanathaswami via use-livecode
@tom go card and go to card same thing. @ bob That's what I understand (as you have described it) -- The behavior is set in the properties of a stack. -- the SE suggestions "knows" this and on typing go card...[List of cards in current stack appears... choose one) # you get: go card "my

Re: Mysteries of Me

2018-10-30 Thread Sannyasin Brahmanathaswami via use-livecode
On 10/29/18 7:42 PM, Tom Glod via use-livecode wrote: > oh...didn't know that syntax would work first thing that jumped out at > me thought maybe it was as simple as that. :) You learn as you go, with the plug in TinyDictionary. I refer to it all the time... Best way to access the dic

Re: Mysteries of Me

2018-10-30 Thread Sannyasin Brahmanathaswami via use-livecode
pObjectID into tParentStack >return tParentStack > end getParentStack > > Bob S > > >> On Oct 29, 2018, at 17:15 , Sannyasin Brahmanathaswami via use-livecode >> wrote: >> >> @tom go card and go to card same thing. >> >> @ bob >> >&

Re: Mysteries of Me

2018-11-01 Thread Sannyasin Brahmanathaswami via use-livecode
Bob, that make sense. But why do need those handlers? What not just use "of this stack"? Obviously, I am oblivious to the number contexts where you require: "...created handlers that return the parent card or stack of an object." I am curious what they are? BR Bob Sneidar via use-livecode w

Re: Browser widget and mailto link.

2018-11-01 Thread Sannyasin Brahmanathaswami via use-livecode
There is a known bug in iOS 12 that breaks the javascript handlers. I had to immediately ship a version of SivaSiva app, without the "Lexicon" -- which is an HTML5 package in the app, playing the browser widget -- I believe they have fixed it, and it will get in 9.0.2 rc 1. (any day now? but I

Re: Mysteries of Me

2018-11-02 Thread Sannyasin Brahmanathaswami via use-livecode
That make good sense I may use it some day. It would allow more handlers in a common back script/library that did the same thing (anything) when called from different modules (stacks) On 11/1/18 10:02 AM, Bob Sneidar via use-livecode wrote: > Well the big thing it deals with is ambiguity. I have

Re: LiveCode Pseudo Captcha?

2018-11-03 Thread Sannyasin Brahmanathaswami via use-livecode
Using LiveCode server, I created 10 questions with obvious answers and call them randomly Does Cow two or four Feet (type 2 or 4) __ Can a baby fly an airplane? (type "yes" or "no") Can whales climb trees? (type "yes" or "no") The color of grass is orange or green (type "orange" or "g

Re: SSL with HTTPD Library?

2018-11-07 Thread Sannyasin Brahmanathaswami via use-livecode
On 11/1/18 5:02 PM, Stephen MacLean via use-livecode wrote: > LC server, can do it, but also suffers, from what I’ve read in my research, a > speed penalty from CGI implementation vs direct sockets, etc. Well that "speed penality" is theoretical. Our web site https://www.himalayanacademy.com us

Trouble with Android Keystore alias/password

2018-11-08 Thread Sannyasin Brahmanathaswami via use-livecode
It been a long time since I built a standalone for Google Play. In the SA settings panel I choose Sign with My Key -- browser for the ###.keystore file -- it loads fine save the stack and build to standalone Please provide alias for the keystore -- ## enter it -- I ha

Re: Trouble with Android Keystore alias/password

2018-11-09 Thread Sannyasin Brahmanathaswami via use-livecode
On 11/8/18 5:48 PM, J. Landman Gay via use-livecode wrote: > Did you try to paste the password? It doesn't work, you have to type it > very slowly...one...letter...at...a...time. Pretend you never learned to > touch type. > > Who knows what it's doing in between keystrokes. Ahh, ok Perhaps it wa

Re: [ANN] Release 9.0.2 RC-1

2018-11-09 Thread Sannyasin Brahmanathaswami via use-livecode
Fantastic job! I looked at the 80 bug fixes, amazing I am already on Mohaje (10.14) and the latest Xcode in the App store is 10.1 Just to fun (from the release note, it would should not work) tried stalling Xcode under Preferences/Mobile and, right, it did not work. Got the old invalid SDK m

Re: [ANN] Release 9.0.2 RC-1

2018-11-10 Thread Sannyasin Brahmanathaswami via use-livecode
@ henry Most Apple developers know this but I stumbled on the procedure so many times I thought I would help Panos, FWIW, https://developer.apple.com/download/more/ filter the list to iOS (side panel) 1) get Xcode 10.0 2) also Command_Line_Tools_macOS_10.14_for_Xcode_10.dmg It seems when you

Re: [ANN] Release 9.0.2 RC-1

2018-11-13 Thread Sannyasin Brahmanathaswami via use-livecode
em. > > Sean Cole > Pi Digital > >> On 10 Nov 2018, at 14:59, Sannyasin Brahmanathaswami via use-livecode >> wrote: >> >> https://developer.apple.com/download/more/ >> >> filter the list to iOS (side panel) >> >> 1) get Xcode 10.0 >>

Re: [ANN] Release 9.0.2 RC-1

2018-11-13 Thread Sannyasin Brahmanathaswami via use-livecode
Hit send button too soon > Bad news. (Does not change my little "guide") > > Build the app, used Jacqulines "Air Launch" get SivaSiva.ipa > > I already had new release, 1.3 on iTuneConnect. > > Booted Application Loader > Run the SivaSiva.ipa > > It passed all analyses; I got a message from Applica

Re: [ANN] Release 9.0.2 RC-1

2018-11-14 Thread Sannyasin Brahmanathaswami via use-livecode
Ha! SA Builder had a 6.1.target, if you click the popup menu it starts at 8.0 + as the only option. Perhaps we need SA Builder not have a "sticky" old build target that is below range. I uploaded again with Application Loader; all went well. Do you see the latest build in iTune submissions form

Re: updating to 64bit for Macs: standalones vs stacks opened by a standalone

2018-11-17 Thread Sannyasin Brahmanathaswami via use-livecode
The engine it the only thing that needs to be 64Bit. The stacks you are downloading as just "documents" that are interpreted by LC-your menu/engine stack. BR On 11/14/18 10:02 AM, Curt Ford via use-livecode wrote: > I'm assuming the standalone > menu app will need to be repackaged with LC 9; is

Re: Bug in how LC handles sentences

2018-11-17 Thread Sannyasin Brahmanathaswami via use-livecode
On 11/16/18 2:38 PM, Tom Glod via use-livecode wrote: > I just did a test > > "Sentence 1. Sentence 2. Sentence 3. 4 sentences are here." > > Recognizes only 3 sentences. Ha! I would *never* get my editors to let a sentence starting with a number, to go through. It will always come back to m

OT: iOS Policies

2018-11-18 Thread Sannyasin Brahmanathaswami via use-livecode
Well, by setting the target to iOS 8. The apps went through. …but then FWIW It was rejected: I got a message saying that "you have unfilter access to YouTube, you must set the app for (age) 12+) I had it sent for age 4+ Send for review; wait a day.. Rejected Again! Guideline 2.3.10 - Performan

Re: Creating Array - Auto Numeric

2018-11-21 Thread Sannyasin Brahmanathaswami via use-livecode
On 9/18/18 7:15 AM, Tore Nilsen via use-livecode wrote: You can not put the incrementing numeric key inside an associative array the way you want. The key of any array must be unique, and you can not have several instances of a key in an array. Think of the keys of the array it as the primary k

Accelerated Rendering -- When to use it, When not to use it

2018-11-21 Thread Sannyasin Brahmanathaswami via use-livecode
I am trying to get my head around acceleratedRendering. Especially in a case where we are re-drawing the screen run time--use case: in games where objects move around. Either under user control or pre-scripted moves. The dictionary is too lean on this entry. It should tell us "How the accelera

Disable Notification Center

2018-11-23 Thread Sannyasin Brahmanathaswami via use-livecode
I looked through all the mobile commands. I do not see way to turn on you top pull down of the notification center on iOS. I have a landscape game in Siva Siva app. iOS user complain that if they touch top of the screen this get to notification center pull down / "sheet" Is there a way to turn

Quit an Android

2018-11-25 Thread Sannyasin Brahmanathaswami via use-livecode
Yay! The SivaSiva app works well on Android. 1 ½ years in the making! I have two requests that there be way to quit the app. But I recall you telling me that "User knows how to quit." And that "quit" was not an important function in the app itself. I may not have got that right… or maybe there

Re: LiveCode equivalent to 'cron' for automated background functions?

2018-11-30 Thread Sannyasin Brahmanathaswami via use-livecode
Been using LC scripts on the server for "like 20 years." But run on the cron of the server itself. Brahmanathaswami On 11/30/18, 2:37 AM, "use-livecode on behalf of Keith Clarke via use-livecode" wrote: Thanks Andre - good call. Following others’ reminders of the single-thread

Insert a "Waiting/Busy" Icon Into Browser Widget

2018-11-30 Thread Sannyasin Brahmanathaswami via use-livecode
I watch with interest all of HH amazing thing he does the browser widget. Haven't had time to keep up. But I have a common use case that I can't figure out that possibly relates a) On mobile, let's say you have connectivity… It may not be fast at the moment, but it is it good enough for you to

Can We Position the Label/Name of a Button

2018-12-04 Thread Sannyasin Brahmanathaswami via use-livecode
See: http://wiki.hindu.org/screenshots/button-label-center.png Syntax set the iconGravity of button to position Summary Specifies wether the icon of a button is placed independently of the label. [#type in the entry: wether} True, setting iconGravity does place the loc of the i

Re: Position the Label/Name of a Button

2018-12-05 Thread Sannyasin Brahmanathaswami via use-livecode
Paul wrote: "you can fudge it by putting returns before the text label to move it down" Paul wins! Sheesh, why didn't I think of that. Change backgroundcolor of the button, iconGravity to top, adjust bottom margin accordingly, text-align center You get http://wiki.hindu.org/screenshots/2018

Dynamically Set the height of DataGrid

2018-12-08 Thread Sannyasin Brahmanathaswami via use-livecode
I am slowly getting into datagrids. Doing my homework at lessons.livecode.com. I can't find a reference for doing the following: How to you get a datagrid with 2 to 12 rows to "dynamically" resize itself depend on how many rows it has? And, if has more then 12, don't resize and turn vertical s

Datagrid Refresh

2018-12-09 Thread Sannyasin Brahmanathaswami via use-livecode
Continuing to work on Datagrid I can't figure out refresh. (9.2 stable) 1) I click on the inspector for the datagrid 2) Click on row template 3) Select to group 4) Edit the group, 5) Make my field "rowName" non-opaque with a few light text color. 6) A linear gradient to background. It is opaque

Re: .app to .ipa converter and Xcode version for Mojave?

2018-12-10 Thread Sannyasin Brahmanathaswami via use-livecode
I use Jacque's "AirLaunch" So simple... create the HTML files necessary for others to download. Works fine under Mojave. BR On 12/10/18, 12:19 AM, "use-livecode on behalf of Terry Judd via use-livecode" wrote: . I have other ways of installing apps onto devices and extracting files fr

Re: Dynamically Set the height of DataGrid

2018-12-10 Thread Sannyasin Brahmanathaswami via use-livecode
Well I got as far as On mouseup # get data need for the datagrid then ... put sMap[portalData][tTarget][rowdata] into tRowdataA reSizeDataGrid (item 2 of extents(tRowdataA) ) set dgData of grp "navMap" to tRowdataA End mouseups command reSizeDataGrid pNumOfRows #dgText array is set the

Re: .app to .ipa converter and Xcode version for Mojave?

2018-12-10 Thread Sannyasin Brahmanathaswami via use-livecode
Aloha Jerry, http://lessons.livecode.com/m/2571/l/23275-how-do-i-become-an-ios-developer unfortunately its too lean Get ready for the nightmare to come. You will need: 1) We assume that you have a developer license. $103.95 cents year. https://developer.apple.com/ # get an account Apple

Re: Datagrid Refresh

2018-12-11 Thread Sannyasin Brahmanathaswami via use-livecode
Tom... did you mean "set its dgprop"? I think I figured it out.. First I needed to follow procedure: --In project inspector for the datagrip --Pick Row Template --Make sure not to have "SelectGroupedControls" on --Set the Row Template group -- Choose Edit. Now the interesting part.. the "bac

Vote for : Screen Edges Deferred is iOS

2018-12-11 Thread Sannyasin Brahmanathaswami via use-livecode
See this hibernated iOS enhancement request. https://quality.livecode.com/show_bug.cgi?id=21737 I have an "immersive" module in my app, I need to have following implemented. Maybe you would like to vote for it too? All my iOS user complains "Oh, gee, in the puzzle, can how can I keep the noti

Re: How to give swiping precedence over scrolling on mobile?

2018-12-20 Thread Sannyasin Brahmanathaswami via use-livecode
Terry, I'm interested in this also. Get the SivaSiva app ( no space... from iOS and Google Play) In the Listen Module, with Elanor's help, I tried to set up a "Spotify" UX with categories of audio scroll and up and down, and within on categories, left to right. I also get, what is a probably t

Understanding Image Sizes, Before And Display

2018-12-22 Thread Sannyasin Brahmanathaswami via use-livecode
Well after all these years, I want to know the original width and height of reference image by it "content" and not as it "image data" which will change if the image was resize. So let say it reference brand new image answer file "Select the image you wish to view:" with type "JPEG Images|jpg

Re: Understanding Image Sizes, Before And Display

2018-12-22 Thread Sannyasin Brahmanathaswami via use-livecode
I found way; it seems convoluted to me. I create an image, store in width/height to a field on mouseup. # on palette/ utilities stack/ for some reason selectedImage() won't work try put the long id of the selectedObject into sImage end try if sI

Re: Understanding Image Sizes, Before And Display

2018-12-22 Thread Sannyasin Brahmanathaswami via use-livecode
That only works if no cropping of the original occur. I just discovered today that 1) crop does not work on a referenced image. 2) But hold the cmd key down will crop the image (we know that) AND/BUT  3) Cropping in the image in the IDE using the cmd key "wipes" the file reference. It is an

Re: Understanding Image Sizes, Before And After Display

2018-12-23 Thread Sannyasin Brahmanathaswami via use-livecode
From the dictionary and confirmed here: *Important:* The crop command cannot be used on a referenced image. Doing so will cause an execution error. - Also, today, I can't copy a referenced image? Again missing something simple... command createEmbedAndCrop Create im

Re: Understanding Image Sizes, Before And After Display

2018-12-23 Thread Sannyasin Brahmanathaswami via use-livecode
Ha! Klaus... Yes! You did it again...Merry Christmas! And thanks for the gift... This works, for example, (real use case) # I want to get to the original size for a button icon named img "gems" # are re-crop it...(actual a whole layout of buttons the same size) on Mouseup # find the origina

9.0.2 Stable Gradient Tool Frequently Fails

2018-12-24 Thread Sannyasin Brahmanathaswami via use-livecode
In 9.0.2 the gradients tools fail to open. I create graphic set gradient, double click on the dialog doesn't appear Is there a work around for this? Can you open to model Dialog for working to gradients "by hand" from the msg box? Frankly working with gradients is a "pain" because I often need

Datagrid: pControlRect, pWorkingRect, theFieldRect

2018-12-25 Thread Sannyasin Brahmanathaswami via use-livecode
I have been through the lesson on datagrids. I have search for "pControlRect" and "pWorkingRect" and theFieldRect and get a few hits, but clicking on "5 results found" takes to you to an index with no further information. Perhaps someone can succinctly question these ?'s 1) What is the relatio

Musings on Architect, MVC, Nested Behaviors

2018-12-26 Thread Sannyasin Brahmanathaswami via use-livecode
Always interest in improving (often terrifying beginning) my architecture, having read Andre's book on MVC. It comes to mind that we could use a standard structure, like 1) Card or Group 2) Assigned in a unique view e.g. "behavior_viewHomeStory" * handles the controls on the card and

Re: Musings on Architect, MVC, Nested Behaviors

2018-12-26 Thread Sannyasin Brahmanathaswami via use-livecode
Happy Holidays Trevor Thank you for the thorough response. The Levure architecture, and what we came up with SivaSiva app is very close. It would not really be to difficult to port it one day to Levure. With that in mind, though you say "Levure doesn't have a strong opinion one way or the oth

Re: Musings on Architect, MVC, Nested Behaviors

2018-12-27 Thread Sannyasin Brahmanathaswami via use-livecode
Well, this stimulated a quite a discussion. @Trevor: Thank you about tips on staying organized. An very good points on how useful it could be the have nested behaviors though you have not used it yet this was an important observation :" If you use a library script you have to pass a model ins

Re: Musings on Architect, MVC, Nested Behaviors

2018-12-28 Thread Sannyasin Brahmanathaswami via use-livecode
Ha! Fixed... I have using Navigator for so long I have hardly touched the PB. And on the big monitor the tools tip are small, be yes, they are there! BR On 12/28/18, 1:29 AM, "use-livecode on behalf of Niggemann, Bernd via use-livecode" wrote: "too obscure"... in Project Browser t

Find In the IDE

2018-12-28 Thread Sannyasin Brahmanathaswami via use-livecode
I tried, in the IDE, to use the dialog Find and Replace Find: "toggleImgSize" In: All stack files in a folder Folder: _Siva-Siva-app Script (checked) # I know for sure it is at least in one *.livecodescript file… # Hopefully to see where else it is use

Re: Musings on Architect, MVC, Nested Behaviors

2018-12-28 Thread Sannyasin Brahmanathaswami via use-livecode
I don't mind hijacked my thread. It just that I see it as important innovation. To make sure such a good idea that it was "hidden" BR  Richard wrote: YAML is a notation for expressing name-value pairs in a format optimized for human writing, something we LC fans like in a language. It wo

Re: Musings on Architect, MVC, Nested Behaviors

2018-12-28 Thread Sannyasin Brahmanathaswami via use-livecode
Trevor wrote: set the behavior of stack "MyStack" to the long id of stack "MyBehavior" BR: ahha... Simple enough to do; and then it you wanted to undo the "binding", you do it in the script editor itself. Trevor: " Perhaps the SE could use an update that shows the behavior

Re: Lock and Unlock Screen (was Refactoring. etc...)

2018-12-31 Thread Sannyasin Brahmanathaswami via use-livecode
Aloha Malte: I agree with this. I can't imagine any use case where the last attempt the message path/hierarchy, to unlock screen, would where you actually *want* to have the screen locked. This has been a "nuisance" for years. As you say, it is a property, on/off, and should not be dependent o

Interrupting "Wait"

2018-12-31 Thread Sannyasin Brahmanathaswami via use-livecode
If you issue a Wait for 3 seconds with messages And, after 1 second, the users want to continue. Is that a way to interrupt "wait" ? Ah… yes, I know…setting a flag and issuing a send in time command will do it. But "wait" in so easy. BR ___ u

Re: Lock and Unlock Screen (was Refactoring. etc...)

2018-12-31 Thread Sannyasin Brahmanathaswami via use-livecode
Aloha Malte: I agree with this. I can't imagine any use case where the last attempt the message path/hierarchy, to unlock screen, would where you actually *want* to have the screen locked. This has been a "nuisance" for years. As you say, it is a property, on/off, and should not be dep

Re: Interrupting "Wait"

2018-12-31 Thread Sannyasin Brahmanathaswami via use-livecode
inImage with visual effect "dissolve" end loadNewImage command stopShow loadNewImage sHomeImageFile put "false" into sNarrativePlayFlag end stopShow Brahmanathaswami  Tore wrote: Depending on the action the user might take, have you tried: wait until the mouse i

Re: Interrupting "Wait"

2019-01-01 Thread Sannyasin Brahmanathaswami via use-livecode
This works! By adding if sStopRequested then exit repeat also at the beginning of the repeat, the wait does go to second screen what we stop the show... Now. The next trick, get a quote to show in between the photos. command startNarrative # store brand image put the long id of img

Re: Navigator 7.0.1rc1 is available -- Multi-target windows!

2019-01-04 Thread Sannyasin Brahmanathaswami via use-livecode
"so I get the current way it works. " Ditto that. I was afraid to ask indenting. Then suddenly it appeared! BR Bob Sneidar wrote: I say NAY! I like the way it indents now. I'm surprised the interface doesn't list every card, each indented, with all it's own controls indented further,

App Architecture - Nonmenclature

2019-01-05 Thread Sannyasin Brahmanathaswami via use-livecode
More strategy thoughts about app architure. I am using Andre book, (which he says is a guideline and your app may differ) but, wow, it has helped a lot to make "models" encapsulated. Since they know nothing about the UI, it is easy to debug, because you just expected a list file from dis

Error in loading "ws.goulding.script-library.mergjson"

2019-01-06 Thread Sannyasin Brahmanathaswami via use-livecode
I did my first attempt to build a standalone of Mobile for Android in 9.0.2 I got this unusual never-saw-it-before message: Remote: stack "ws.goulding.script-library.mergjson": execution error at line n/a (External handler execution error: could not decode JSON: unexpected token near end of fil

Re: Error in loading "ws.goulding.script-library.mergjson"

2019-01-06 Thread Sannyasin Brahmanathaswami via use-livecode
pm, Sannyasin Brahmanathaswami via use-livecode > wrote: > > I did my first attempt to build a standalone of Mobile for Android in 9.0.2 > > I got this unusual never-saw-it-before message: > > Remote: stack "ws.goulding.script-library.mergjson": execution error at line > n

Re: Error in loading "ws.goulding.script-library.mergjson"

2019-01-07 Thread Sannyasin Brahmanathaswami via use-livecode
heck with an olders verions of livecode later today. Brahmanathaswami  Monte Goulding wrote: I’d start by making sure the json you are decoding is what you think it is by logging it or putting it into a text field. >On 7 Jan 2019, at 1:28 pm, Sannyasin Brahmanathaswami via us

Getting Browser Widget to Read Local Assets

2019-01-11 Thread Sannyasin Brahmanathaswami via use-livecode
I finally got around to implementing this. Works great! In terms of being a loader for on browserDocumentLoadComplete pURL if pURl is not empty then send "hideloader" to me in 1 second end if [snip] One caveat: Old path problem. I can't get the browser to read a local image in this

Re: Getting Browser Widget to Read Local Assets

2019-01-15 Thread Sannyasin Brahmanathaswami via use-livecode
HH wrote: You could also do step 1 to 4 once and put compress(fld "HTML") into a , then set later on in btn "LoadURL" the htmltext to decompress(). BR: Thanks for your attentive in response to my query. I am keeping you posts in a folder entitled "Browser Widget Manual" I tried thi

Re: Crunchy chestnuts again, again, again

2019-01-15 Thread Sannyasin Brahmanathaswami via use-livecode
How do you vote on the forum? Brahmanathaswami  Richmond Indeed: Please signal your opinion: http://forums.livecode.com/viewtopic.php?f=6&t=31971 Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Navigator 7.1rc1 is available

2019-01-15 Thread Sannyasin Brahmanathaswami via use-livecode
Kudo from making group layering consistent/doable! ? = CUSTOM LIST STRINGS EDITOR This update adds an editor for custom list strings. == "Custom list strings" what is it? A "custom property which is a string" ? If so, that huge, the IDE, Project Inspector give us a custom property va

HTMLTEXT of a Browser Widget in Properties Inspector?

2019-01-17 Thread Sannyasin Brahmanathaswami via use-livecode
I have a strange phenomena 1) The htmltext of the browser widget does not seem to be available in the Properties Inspection a. I could have sworn there was link/field to it in previous version of LC b. It is not available in a custom property 2) I set the htmltex

Re: HTMLTEXT of a Browser Widget in Properties Inspector?

2019-01-17 Thread Sannyasin Brahmanathaswami via use-livecode
Wow! That’s look like a minefield! I vote to this: should we make a enhancement request? ** It would be a great feature if it were possible to delete the cache. ** I *finally* go the old htmltext/cache to go went away. But it too several reboots and I tested on my Android etc. until it "

<    1   2   3   4   5   6   7   8   9   10   >