Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-24 Thread Sannyasin Brahmanathaswami via use-livecode
I caught typo. I get it to work on iOS but not an Android, so I have a ticket to support and that. in an app, there is a lot change from on stack another, I frequently have add time from Android to keep up (never on iOS) This is so straight forward, I have to assume there is bug (just a

Re: Set the backgroundcolor of all lines a field to null

2018-08-24 Thread Sannyasin Brahmanathaswami via use-livecode
@Richard re: Algo: It is a list of audio titles in a category on our web site. most of which the metadata in stored local my sqlLite. The audio and been posted since the last update to the app, is "Recent". It is stored in an local variable/array with all the metadata for each audio, but

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-21 Thread Sannyasin Brahmanathaswami via use-livecode
I should step into middle this because our app is under discussion. Jacque: I appreciate your support of LC amazing auto-resizing options. They are truly marvelous But perhaps we take a Big View of Landscape. You have to realize I done web development since 1993. Currently we "evolving" two new

Datagrid Scrolling

2018-08-24 Thread Sannyasin Brahmanathaswami via use-livecode
Scrolling the Datagrid on mobile is "terrible" (jerky, pixel by pixel) I thought this was fixed in Datagrid2? Maybe that hasn't been released? BR ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: For those who do not know lcTasklist

2018-08-28 Thread Sannyasin Brahmanathaswami via use-livecode
hmmm I'm not getting external behaviors /modules look.livecode # which has this behavior assigned: behavior_look.livecodescript #NOTE ??? REVIEW etc. do not appear and the indexing does not happen whether I set to "Main Stacks" and "Open Stacks" On

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-19 Thread Sannyasin Brahmanathaswami via use-livecode
@Brian Milby Something just clicked... if fullscreenmode is not empty, then resizestack messages are not generated. You are right! No "fillscreenmode" and 14 line of code works on iPhone. But on not my Pixel. -- # Geometry on preOpenCard resizeStack the width of

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-19 Thread Sannyasin Brahmanathaswami via use-livecode
On 8/18/18 8:46 AM, Richard Gaskin via use-livecode wrote: > With LC's logical pixels, have total control over our layouts to make > optimal use of every precious pixel on small screens, all with no more > work than we've already become accustomed to after years of scripting > for resizable

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-19 Thread Sannyasin Brahmanathaswami via use-livecode
@Brian and all > glad this opened an important discussion.. and thank to the attempt to make it work @Brian footer control were too far down on that card(android) Many of cards in the SivaSiva app, would need major geometry refactoring (month(s) of work) without fullScreenMode...so I am not

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-19 Thread Sannyasin Brahmanathaswami via use-livecode
Jacque wrote: "I see. That looks like a redraw problem. The resizeStack handler isworking but the redraw fails. I did notice the icons were missing but didn't try to figure out why. A quick test says the footer is visible it portrait and false in landscape, but it isn't being drawn to screen for

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-18 Thread Sannyasin Brahmanathaswami via use-livecode
I have a similar issue with a stack that a) contains a browser that wants to fill the entire screen (of any device) b) a tool bar on the bottom, the background ( 50 px wide) which to set to 2000 wide c) a 4 widget that appear on bottom on top to background. It should work on portrait and

Split an Array to Numeric with 2 Dimensions

2018-08-18 Thread Sannyasin Brahmanathaswami via use-livecode
I decide to study up to improve my array management skills. Looked up the dictionary: element, columnDel, RowDelimiter etc Tools I never used. But I can't fine a "one pass" split that takes a dBase dump like this and makes a 2nd dimension. Other than to do it "manually" Also I thought, after

Re: Datagrid Scrolling

2018-08-27 Thread Sannyasin Brahmanathaswami via use-livecode
I'm in a similar bind. Going back to 8 will up unacceptable. So many problems with Android. I have to stay with 9.01.RC2...But now i invested time learing in DG... so I can't release? [He pounds his head on the desk. "Oh Wow is me...after 2 years STILL can't release a decent Android app!"] I

Re: For those who do not know lcTasklist

2018-08-27 Thread Sannyasin Brahmanathaswami via use-livecode
Looks like I need this, so on everyone's recommendation I bought it. 1) Where is the documentation? 2) Can you make "ignore" the Datagrid templates after they been instantiated? One get many "Note" from every instance? BR On 8/20/18 1:44 PM, Matthias Rebbe via use-livecode wrote: > I´ve

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread Sannyasin Brahmanathaswami via use-livecode
@ Brian and Jacque Thanks for digging to this. Panos write on QA and that line 14 (position the group explicitly) in required. The background is set "super wide" for that I was using FullScreenMode, do that it would appear at the way across on iPad. Clearly set the explicitly is required

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-21 Thread Sannyasin Brahmanathaswami via use-livecode
Wonderful discussion! @ Bob: agreed that "from ground up" could be one approach. But i have use cases where fully response screen is need and uses case where FSM is the best decision. it not "either" or "or" using resizestack of fullScreedMode So the "tension" behind making that decision can

Re: Browser Widget on Android

2018-07-16 Thread Sannyasin Brahmanathaswami via use-livecode
9.0.1 RC1 I don't think this is working, OR, I don't know how it works. go stack url "http://wiki.hindu.org/uploads/Tester-Landscape-TsNet.livecode; (you have seen in before) I can't get the browser (widget "body) to change its rect, no matter what I do. I have a support request in on my

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-30 Thread Sannyasin Brahmanathaswami via use-livecode
hat it may be blocking openCard handler. on preopencard if isMobile() then put mobileRectGet() into sRect send "setUpStackRect" to me in 500 milliseconds end if end preopencard on opencard answer sRect with "OK" # does not fire... end opencard openstack On 8/30/18 4:24 AM,

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-30 Thread Sannyasin Brahmanathaswami via use-livecode
Ludovic Can you copy that whole handler to the list? round((item 4 of the screenrect*the systemscale)/2)-theight // +theight only seems partial? On 8/19/18 6:11 PM, Ludovic THEBAULT via use-livecode wrote: > But i found i can get the « real » top and bottom with : round((item 4 of the >

Trouble with iOS Logos/No Appearing on Home Screen

2018-08-31 Thread Sannyasin Brahmanathaswami via use-livecode
I have tried everything, the logos in the standalone maker are as they are supposed to be, according to SA. And so are my splash screen images. So I went to developer.apple.com And the HIG for app icons (and splash screens) give a different set of sizes. So I downloaded "Icon Set Creator"

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-31 Thread Sannyasin Brahmanathaswami via use-livecode
@Brian That was interesting an experiment. I reduced all geometry to this *on*openCard *put*mobileRectGet() intotStackRect #mobileRectSet get the screenrect on app init *if* isMobile() *then* *if* theplatformisandroid *then* *

Play YouTube in Portrait and Turn Landscape

2018-09-04 Thread Sannyasin Brahmanathaswami via use-livecode
can any place browser widget a) on portrait mode b) with a youTube embed URL https://www.youtube.com/embed/2dSHAzV-cAA c) start to play d) turn phone landscape and will it still continue to see it? I am getting the audio, but the picture is appears. BR

Script Editor Magic Keys

2018-09-06 Thread Sannyasin Brahmanathaswami via use-livecode
Is the some documentation the Script Editor, auto complete et. al.? BR ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: fullscreenmode and rect of a substack on mobile device ?

2018-09-04 Thread Sannyasin Brahmanathaswami via use-livecode
I woke up with a "dream" saying ..."hmmm maybe it just a timing issue; stay away from "preopen[anything] At least in my case, this worked out of box, super simple 9 line of code to get initial placement 12 line of code in my resize handler ! So long as a) the card is rendered b) all other

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-29 Thread Sannyasin Brahmanathaswami via use-livecode
ct to work on preopenstack, preopencard, or opencard if you having trouble.. that's the reason BR on Android the device does not appear to "know it rect) On 8/24/18 4:20 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > I caught typo. > > I get it to work on iOS but n

Re: Mastering TS Net

2018-07-05 Thread Sannyasin Brahmanathaswami via use-livecode
is 200, continue to stream it? Brahmanathaswami On 7/2/18, 5:19 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: I looked at the lesson. Quite good! I think one more lesson may be useful. In my case I will use a "

Re: [ANN] Release 9.0.1 RC-1

2018-07-10 Thread Sannyasin Brahmanathaswami via use-livecode
Where is the documentation how to do this correctly? For a Mac Android developer ?? J. Landman Android devs should note that you need to have SDK 8 or higher installed (the informative notification dialog was a big help here.) I installed 7, 8, and 8.1 and LC then allowed

Preferences --> Project Browser --> Sort stack by

2018-07-10 Thread Sannyasin Brahmanathaswami via use-livecode
Anyone else getting the old bug in 9.01. RC1?. In preferences, we want to set the sort stacks to "Layer" Sort stack by: [Name] [Ascending] But each time I choose Sort stack by: [Layer] [Ascending] It reverts to Name Not that I using the Project Browser all at all anymore. I can't tell you how

Re: [ANN] Release 9.0.1 RC-1

2018-07-10 Thread Sannyasin Brahmanathaswami via use-livecode
Congratulations to the team for all the hard work! This is a big day for us. India, Malaysia, indeed, all South Asian is now "open for [Android] business" Brahmanathaswami panagiotis merakos Dear list members, We are pleased to announce the release of LiveCode 9.0.1 RC-1.

9.01 RC-1 Standalone Builder

2018-07-10 Thread Sannyasin Brahmanathaswami via use-livecode
I take to Trevor's method of keep a second instance of LC open, and using it to build standalone. That way we avoid 1. Making changes in scripts. 2. Saving them 3. Have to "old versions" magically re-appear after building a standalone. I have got around to a recipe. But it go so

Re: 9.01 RC-1 Standalone Builder

2018-07-10 Thread Sannyasin Brahmanathaswami via use-livecode
[Responding to my memo which has too many typos] With 9.0, using it to build a standalone. 1. Making changes in scripts. 2. Saving them 3. Having "old versions" magically re-appear after building a standalone. I never got around to finding a recipe. It was like: standalone

9.0.1 "Become An Android Developer"

2018-07-11 Thread Sannyasin Brahmanathaswami via use-livecode
["not a Livecode issue" -- I still think that a lesson on this in needed, and that it be maintained for each change required for us to develop on Android, and be detailed as much as possible} OK, I tried by my best, 1)

Re: 9.0.1 "Become An Android Developer"

2018-07-11 Thread Sannyasin Brahmanathaswami via use-livecode
Well, I rebooted the photo. That fixed it... seems it need to see the newly installed SDK. Brahmanathaswami On 7/11/18, 5:11 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: ["not a Livecode issue" -- I still think that a less

Standalone in IDE Test Works; But Not From SA

2018-07-07 Thread Sannyasin Brahmanathaswami via use-livecode
LC 8.1.10 iOS 11.4 on the iPhone 1) I can been able to push update from the IDE Develop Test myIphone # it works on the phone 2) So know to go to SA build to create a version. Xcode Devices Select My Phone Add the

Re: Crazy script-only stack question

2018-01-22 Thread Sannyasin Brahmanathaswami via use-livecode
Not barking up the wrong tree at all, with multi-stack apps very much in the wind…a subject of interest indeed. Agreed with Igor, (ala bug 10275_) not having and a RCS for the binary stacks themselves is a nuisance. But your 5 liner doesn't solve that either. But how does creating a stack and

Horizontal and Portrait Scrolling on Mobile

2018-03-06 Thread Sannyasin Brahmanathaswami via use-livecode
I am about to embark a mission to solve a design problem in Livecode The model is Spotify. The channels or collections, a single screen with 1) Scrolling labels - not scrolling left with right, maintenance fixed position (left to right) but scrolling top to bottom. 2) "Collections" consisting

Re: Issues with storage of data in stack

2018-03-11 Thread Sannyasin Brahmanathaswami via use-livecode
Mark Talluto wrote: If you are interested in seeing other APIs we have found useful, here is a running list. Look under the API dropdown for more ideas. http://canelasoftware.github.io/cassiaDB_docs/ http://canelasoftware.github.io/cassiaDB_docs/ Where does one download the LiveCloud

Bizarre Number Sort of Files Mac

2018-03-09 Thread Sannyasin Brahmanathaswami via use-livecode
On Mac, on disk, you will finder files in order _categories.txt _date.txt _title.txt 01-11-04-09-09_2018-Noni-Building-Blessing.jpg 01-11-04-09-09_2018-Noni-Building-Blessing.txt 02-02-10-02-03_2018-Noni-Building-Blessing.jpg 02-02-10-02-03_2018-Noni-Building-Blessing.txt

Dictionary Entry For TouchMove

2018-03-12 Thread Sannyasin Brahmanathaswami via use-livecode
I have a group control (made up smaller groups) they I want users to scroll vertically. And the sub-groups, which want the user to scroller horizontally. My current thinking is to turn off scrollers until we get swipe direction, and turn them on, "mid-swipe" simply: how do you know if

Re: Standalone Setting Become Corrupt

2018-03-13 Thread Sannyasin Brahmanathaswami via use-livecode
DUH, the stack file are in property inspector of the stack! I had a bad file listed in the json that we use to load additional stacks files, which prevented this file from loading in the standalone. == Stack files in the application: all dimmed…and they are not copied to

Standalone Setting Become Corrupt

2018-03-13 Thread Sannyasin Brahmanathaswami via use-livecode
After working in other projects for a few days, with the LiveCode open to the background. 8.1.9 … in SA builder, the Stack File pane is completely dim Stack files in the application: all dimmed…and they are not copied to standalone is their a way out? I download a new version 8.1.9, but that

Re: Bizarre Number Sort of Files Mac

2018-03-10 Thread Sannyasin Brahmanathaswami via use-livecode
Well the dictionary has this cryptic entry "If you don't specify a sortType, the sortType is text. numbers)" ?? I thought, wrongly so, sort alpha text, ascending, was the default sort line fld "imageIist" # would get you want But the solution was simple sort lines fld "imageList"

9.0 Crashes Constantluy

2018-04-10 Thread Sannyasin Brahmanathaswami via use-livecode
9.0 gm is the most unstable version in a long time Constantly crash on exit. I set break point, set to debug mode, run script… it does not break that break point… run it again, crash. Scripts are setting, applied "green button" close, saved. Re-opened "what happened to my changes?" Anyone

Re: 9.0 Crashes Constantluy

2018-04-10 Thread Sannyasin Brahmanathaswami via use-livecode
I confirmed it this morning, edit script, apply, save, close the stack, I been building Android, so much faster than iOS. Run standlone from the Test menu. then, magically, tragically, the debugger opens showing my old script there! quit LC, reboot, and you script is there… Even quitting

Re: Getting Orientation Enforced on Phone

2018-04-13 Thread Sannyasin Brahmanathaswami via use-livecode
Monte: "there is a God in LC Universe!" 9.0.1 I can live with that.. hopefully sooner than later. If you don’t there soon I will be forced to a horrible notice "Please turn phone" and end of change of stacks. Like Ralph said "using wait is madness" (but using wait is for a different

Re: Getting Orientation Enforced on Phone

2018-04-14 Thread Sannyasin Brahmanathaswami via use-livecode
BR: just completed test. I tried "go letting" to stack mobileSetAllowedOrientations "portrait,portrait upside down,landscape left,landscape right" just before closing in and opening the next stack. No go an Android. Next I wondered by the portrait turn up portrait in iOS? Well I look

On Boot - Run Time Tool vs Pointer Tool

2018-04-14 Thread Sannyasin Brahmanathaswami via use-livecode
When we boot LC, I typically need to navigate, but the tool end up Pointer tool. I am the only one who needs to change this ever time he boots? Can/Should be a global preference? BR ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Android Can't Find Path to Web folder

2018-04-09 Thread Sannyasin Brahmanathaswami via use-livecode
This worked both iOS/Android There was no need to copy from when web tree to documents folder. The keys were: 1) no "file://" 2) on desktop the "resources" is the one with "lexicon.livecode" which is relative the "/web" in the same directory. But it still requires slash… in web environment

Re: RevMail - Status in 9,0

2018-04-09 Thread Sannyasin Brahmanathaswami via use-livecode
ditto that… I only use it an mobile BR Andrew: I'll probably look at switching my code over from revMail to mobileComposeMail as Brian Milby recommended since I'm only using this in an iOS/Android app. ___ use-livecode mailing list

Project Browser Goes Blank - How To Refresh

2018-04-07 Thread Sannyasin Brahmanathaswami via use-livecode
9.0 gm Project browser always goes "blank" it there keystroke to refresh it? Sometime it requires a reboot… will not refresh, even from the menu. revApplicationOverview , OTHO, always works… so I switch to that until I have to reboot… BR ___

RevMail - Status in 9,0

2018-04-07 Thread Sannyasin Brahmanathaswami via use-livecode
This was working in Standalones for iOS and Android in all versions < 8.* on sendFeedBack revMail "sivas...@hindu.org",,"SivaSiva App Feedback",\ ("Bug reports: " & cr & cr & "Describe what you did: " & cr & "What happened: " & cr & "What you expected to happen: " & cr & "Feature requests:

Android Can't Find Path to Web folder

2018-04-07 Thread Sannyasin Brahmanathaswami via use-livecode
I give up! What is the magic that gets the browser widget on Android to see a local html file (it always works in iOS) given the following directory layout myApp.livecode # the standalone is built from this /module lexicon.livecode # with nothing but a browser widget which

Re: Project Browser Goes Blank - How To Refresh

2018-04-07 Thread Sannyasin Brahmanathaswami via use-livecode
Navigator..I have it… 5.5 alpha 1? Is that the latest? PB: It happened midst of "group whacking" But more often I close stack -- its blank after that. I shall try for recipe… Mike Kerner You could also use Navigator a) System b) What are you doing when it goes blank? I've had

Re: Mobile Native Essentials Widget Pack

2018-04-11 Thread Sannyasin Brahmanathaswami via use-livecode
It not the money, certainly worth it… but it’s that for every widget I have to create a if isMobile() then # use the widget else # development is being on desktop. # then what? End if Maybe I am missing something? Even if developing from mobile on desktop … we need a reasonable

Getting Orientation Enforced on Phone

2018-04-10 Thread Sannyasin Brahmanathaswami via use-livecode
# using this method to change stack go cardOrStackObject # e.g go "gems" (or this string) go card 3 of "gems" wait 100 milliseconds with messages close stack oStackName wait 100 milliseconds with messages # don't try to go in same window method ( we used "set the fullscreenmode of this

Player Controls in Mobile

2018-04-14 Thread Sannyasin Brahmanathaswami via use-livecode
I am using a default player in mobile. Works fine in iOS. But in Android is look pretty retrograde. In particular, it opens with a 150 px high (or something like that) object with the player control at the bottom. So, I am trying to sort out mobileControlDo, to create have a native player and

Re: Player Controls in Mobile

2018-04-14 Thread Sannyasin Brahmanathaswami via use-livecode
if the player runs out of data - "playing": playback is current underway. - "paused": playback is paused and resumes from the point it was paused. - "interrupted": playback is temporarily interrupted, perhaps because the buffer ran out of content.

Title Case

2018-04-20 Thread Sannyasin Brahmanathaswami via use-livecode
What to the simplest way to "sentence case" a create a sentence title in use toUpper to convert to A Create A Sentence Title… BR ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: Title Case

2018-04-21 Thread Sannyasin Brahmanathaswami via use-livecode
Mike/Andy that works; not sure how the eye-candy will to take to This Is A Title This is an obscure UI case in which I can't get metadata from the data base, for a given audio that has been downloaded. So these "titles" come file names in the "My Audio"

Has Anyone Got A Directory "Walker" Available

2018-04-19 Thread Sannyasin Brahmanathaswami via use-livecode
I have directory available this days of Ken Ray, in the on system of set the default folder and get the the files, registered that path. descend recursively to the level… etc. Do anyone has a new one handy they could share using the folder and file function? BR

Re: Typesetting Fields

2018-04-24 Thread Sannyasin Brahmanathaswami via use-livecode
What I would do is set some text in a field to some different styles, then get the styledText of the field and examine the array. Bob S That is also my plan. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: Getting Orientation Enforced on Phone

2018-04-24 Thread Sannyasin Brahmanathaswami via use-livecode
Eureka! Montes been busy, but keeping quiet https://quality.livecode.com/show_bug.cgi?id=19465 BR: just completed test. I tried "go letting" to stack mobileSetAllowedOrientations "portrait,portrait upside down,landscape left,landscape right" just before closing in

Re: Typesetting Fields

2018-04-24 Thread Sannyasin Brahmanathaswami via use-livecode
http://livecode.wikia.com/wiki/StyledText Paul Paul, that helps! It does matter the name of array… (could be anything) a long it conforms to styled text that set the styleText of fld "playlist to tPlayListTextArray. that

Next Behaviors - Scope of Variables

2018-04-25 Thread Sannyasin Brahmanathaswami via use-livecode
I just implemented by first use of nested behaviors. Marvelous! But it occurred to me right away, that I could use variables which were "local", in the sense that their scope was within the context of the nested arrays. Of course needed to declare the inside the behavior, otherwise you get

Re: Get only Pathname of a dragdropped Object

2018-04-22 Thread Sannyasin Brahmanathaswami via use-livecode
Richard, here is what I use. On the UI I have addition button 1) get files only 2) Go to web page (working a mirror of there we site locally_) This script in a field. on dragEnter set the acceptDrop to true end dragEnter on dragDrop put dragData["files"] into me getList end

8.1.10 rc1 -- Upgrade MissIng Splash Screen

2018-04-22 Thread Sannyasin Brahmanathaswami via use-livecode
Oh joy… back at it went Apple's requirements! Upgraded 8.1.10. rc 1 Mac OS X 10.13.3 xCode 9.3 Now, in a standalone, it can't find the icon, even though I checked all the standalone builder app logos and they are all filled. But the phone, iOS, I get a generic app icon, not my app logo. Is

Typesetting Fields

2018-04-22 Thread Sannyasin Brahmanathaswami via use-livecode
Until we get scrolling working in a datagrid, (on mobile) and also we want it keep simple, I frequently need to create a runtime list from the database. But the "typesetting tools" in Livecode depend on a field being present. e.g. -- set the textAlign of line 1 of field "myField" to right

Re: Typesetting Fields

2018-04-22 Thread Sannyasin Brahmanathaswami via use-livecode
and I am hoping not to deal bloated htmltext, like using template LESSON [[tChapterNum]] [[tSubtitle]] Until we get scrolling working in a datagrid, (on mobile) and also we want it keep simple, I frequently need to create a runtime list from the database. But the

Re: Typesetting Fields

2018-04-23 Thread Sannyasin Brahmanathaswami via use-livecode
the textSize of line x of fld "audioList" to 15 end if end repeat end typeSetAudioList From: Brian Milby <br...@milby7.com> Date: Sunday, April 22, 2018 at 5:27 PM To: How LiveCode <use-livecode@lists.runrev.com> Cc: Brahma Nathaswami <bra...@hindu.org> Subject:

Re: Typesetting Fields

2018-04-24 Thread Sannyasin Brahmanathaswami via use-livecode
richard wrote You may find the styledText array helpful. = Wow that looks missing, though the dictionary could help with examples…I gonna need an expresso and to some time to figure out how that works! set the styledText of field to styledArray Maybe if someone had some example of

Re: Typesetting Fields

2018-04-24 Thread Sannyasin Brahmanathaswami via use-livecode
I wonder if the dictionary need helps. Are there paragraph marks missing this example? = For example, take the following content consisting of two paragraphs: Centered Hello World Left-aligned Hello unicodeString This would transpire as the following array: 1 = style = {

Livecode Json Arrays Key Sort

2018-03-29 Thread Sannyasin Brahmanathaswami via use-livecode
put JSONToArray(tJson) into sColArrayA It is my imagination: Or are the keys of {object set} output as hash order (as per dictionary, required sort them first) simply delimited by { 1 3 5 6 7 2 4 } but keys of an array output as numeric [{ 1 2 3 4 ]] get always

Re: Browser Widget Document Download

2018-03-31 Thread Sannyasin Brahmanathaswami via use-livecode
When I set the widget to the url the PDF displays. When I put the url into a var "put url (tURL) into MyVar" I see some html/javascript in MyVar but no PDF. What I would like to do is download the PDF on both mobile platforms. Is this even possible with LC? BR: can you send the URL? Typically,

Re: Qustion abut "the stackfiles"

2018-03-27 Thread Sannyasin Brahmanathaswami via use-livecode
You the splash get "messed-up" from occasional resave. Don't tell me how, but occasionally the path (which should be relative) becomes absolute lib_calendar libraries/lib_calendar.livecodescript #which it should be becomes lib_calendary

Re: mouseDown and mouseUp; Being Called Outside the Group

2018-03-17 Thread Sannyasin Brahmanathaswami via use-livecode
right, the backgroundBehavior it set to "true" Isn't the bug? On 3/16/18, 9:28 PM, "use-livecode on behalf of Richard Gaskin via use-livecode" wrote: Sannyasin Brahmanathaswami wrote: > I think this a

9.0RC1 Scrolling on Sub-Groups

2018-03-17 Thread Sannyasin Brahmanathaswami via use-livecode
Look like an exciting release. Scrolling is everything on mobile apps. I am having to hire out develop on HTML5 for this one reason. Hopefully we can integrate with the browser widget. But I don't do HTML5 …I see those in release notes DataGrid 2: Edit Mode and Swipe Actions Create mobile

Installed 9.0 RC1 - Backdrop on by faulf

2018-03-17 Thread Sannyasin Brahmanathaswami via use-livecode
I read the threadson installing 9.0.RC1 and went ahead and removed old perferences before booting him up. My whole monitor was gray. thinking in was a bug, rebooted Livecode. Same thing, hmm …stopped to think about it, when to backdrop, it was on by default. BR

mouseDown and mouseUp; Being Called Outside the Group

2018-03-16 Thread Sannyasin Brahmanathaswami via use-livecode
I think this a regression in 8.1.9 A behavior, assigned to group, has mouseDown and mouseUp handlers The behavior is getting mouseDown and mouseUp handlers, ever when called by a behavior another group that has "pass mouseDown" The two groups not intersecting BR

Re: Smooth transition between stacks

2018-03-21 Thread Sannyasin Brahmanathaswami via use-livecode
hide splash stack after opening one time. BR If the splash stack will become the standalone then you can't delete it, since it will contain the LC engine and any scripts that need to run. If you could delete it, the app would quit without warning.

Re: Open source iOS and Android

2018-06-24 Thread Sannyasin Brahmanathaswami via use-livecode
Linda Do you know GIT? A lot of us (developers) have "stuff on GIT" . You do a deep search through mailings Search for "https://github.com/ And you will find the public repositories. I am sure you will find plenty! Here is one example (be sure to get the nightly branch)

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

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:

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

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

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

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*,

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 >

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: 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

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

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

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

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

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

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

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

Re: Mysteries of Me

2018-10-30 Thread Sannyasin Brahmanathaswami via use-livecode
ctID 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 >> >> T

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

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

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

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