Re: Using a variable for an array name

2017-02-02 Thread Sannyasin Brahmanathaswami via use-livecode
Peter: FYI multi-dimensional arrays are awesome. I use to be "scared" of them, but in RevIgniter we have all kinds of things like galleriaShow["options"]["width"]["805] and even more… so I had go understand it. And, on top of this you can have an array "inside" a key/value (where the value

Drag List Items Up and Down

2017-02-02 Thread Sannyasin Brahmanathaswami via use-livecode
There is a near universal behavior on mobile, varying flavors of color and style but the UX is almost the same everywhere whether it is your contacts, book marks in Safari, or songs on play lists in Spotify. you have a list like this, after each item the common icon is often 2 horizontal bars,

Coding Responsive UI in Livecode

2017-02-06 Thread Sannyasin Brahmanathaswami via use-livecode
[moved to a new thread] Sample stacks are probably the way to go… with some lightweight "guide on how to hink about it. Like Trevor wrote "slice up your UI into rectangle and groups… go from there." Richard wrote: > A lot of the "flak" I hear about using LC is "but it's not > responsive, at

Re: Drag List Items Up and Down

2017-02-06 Thread Sannyasin Brahmanathaswami via use-livecode
Thank you all! FYI tmpanel.rev crashes 8.1.3 (at least here on Sierra) On 2/4/17, 11:23 AM, "use-livecode on behalf of AndyP via use-livecode" wrote: Nice addition .. thanks. -

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Sannyasin Brahmanathaswami via use-livecode
FYI Mike, Getting those params over to LC is doable… Jonathan wrote me off line.. I will email you a small stack he created that works and perhaps will suffice for your needs. But, beware, you may head into this thinking "Wow, this is so cool. We could do a lot with this." Hold your horses,

Re: Converting scripts in stacks to script only stack behaviors

2017-02-05 Thread Sannyasin Brahmanathaswami via use-livecode
Ali, thanks for chiming in… in the current app we stayed away from any resizing, the Design passed down from our team which has years of experience in print graphics (but zero in digital UX/UI) would have been a challenge to get responsive. It could be done of course, anything can be done in

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Sannyasin Brahmanathaswami via use-livecode
Actually you can get it here: http://livecodeshare.runrev.com/stack/817/LC-to-JS-Data-Transfer On 2/5/17, 10:28 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of use-livecode@lists.runrev.com> wro

Re: Browser Widget Appears to be caching data (javascript)?

2017-02-05 Thread Sannyasin Brahmanathaswami via use-livecode
John: Ditto what Bill said…that, keep us all posted! Possibly get a thread going on the multi-media are of the forums? William Prothero: John, this is a very cool project. I hope you get it working. I’d love to be able to use your VR framework. One of my colleagues created a VR

Re: Converting scripts in stacks to script only stack behaviors

2017-02-05 Thread Sannyasin Brahmanathaswami via use-livecode
Trevor, thanks for that intro to the new tools in LC9 I'm already using libraries and behaviors extensively, but still find my self build LC stack binaries with a full stack script or, quite often, 95% of the code in the card script (if the UI can all be done on a single card) The other day

Re: Browser Widget Appears to be caching data (JavaScript)?

2017-02-07 Thread Sannyasin Brahmanathaswami via use-livecode
Are you serving this content yourself from your web server? If so there are "cb" (cache busting) methods already well worked out. e.g. logo.jpg # on disk logo-cb123455678.jpg # in the html code and mod-rewrite handles the translation back to the original image. So you can update "logo.jpg"

Re: Size of Image in RAM

2017-02-07 Thread Sannyasin Brahmanathaswami via use-livecode
@ Scott: That's not what I get if I open this image in Photoshop. (CC 2017) 575 X 1000 http://wiki.hindu.org/uploads/img37.jpg It is a JPEG, but under the mode menu it shows "RGB/8 Bit" and if I look under indexed colors it says "256" definitely not 16bit (in which case we should see

Size of Image in RAM

2017-02-07 Thread Sannyasin Brahmanathaswami via use-livecode
I'm trying to optimize for Mobile. Photoshop is playing tricks on me given a 38K jpg; rect 3 X 5 552px w 736 px h 72 dpi (irrelevant for screen) Open in Photoshop: it indicates 1.16M in RAM, but mode is 8 bit… but but the online calculation sites for file size for that rect/bit-depth should

Re: Converting scripts in stacks to script only stack behaviors

2017-02-05 Thread Sannyasin Brahmanathaswami via use-livecode
In line On 2/5/17, 3:41 PM, "use-livecode on behalf of Trevor DeVore via use-livecode" wrote: With Levure adding stack files won't cause any conflicts. Each stack is an independent file and the file that

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Sannyasin Brahmanathaswami via use-livecode
On 2/5/17, 12:08 PM, "use-livecode on behalf of Mike Bonner via use-livecode" wrote: Thx for the info. Honestly, all I want is for the example in the dictionary to work for me. (and yes, the javascript

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Sannyasin Brahmanathaswami via use-livecode
right, you will not be the first one to change file on his own machine think it would magically appear in his browser. time for either a nap or a swim. and "duh" here too… seems the 360 pano in native LC has been a long running topic on the forums already since 2007

Re: Converting scripts in stacks to script only stack behaviors

2017-02-05 Thread Sannyasin Brahmanathaswami via use-livecode
@ trevor: OK, understood. In fact we are doing a similar/ almost same thing though calling it "SivaSiva.json" which is read on start up, re the stack files for the components: interesting… We have been adding *all* behaviors for all modules in the main stack, since many of these are reused

8.1.3 (RC1) Invoking Script Editor Failing Everywhere

2017-01-24 Thread Sannyasin Brahmanathaswami via use-livecode
I need the updates in 8.1.3 (RC1) so took the leap. IDE is problematic… deleted my prefs before opening… but now -- the point ertool icon does not change from browse to pointer… -- switching to the pointer too and double clicking on a button runs the button script instead of just selecting the

Re: Delete element from array

2017-01-26 Thread Sannyasin Brahmanathaswami via use-livecode
Thank. Yes.. it is there in the dictionary but I glossed over it somehow. Not sure the new dictionary is an improvement of the one we had all these years… @Bernd: is your dictionary plug in working in the latest 8+ versions of LC? On 1/24/17, 5:04 PM, "use-livecode on behalf of Phil Davis

Run processes/effects simultaneously with a visual effect ?

2017-01-26 Thread Sannyasin Brahmanathaswami via use-livecode
I'm looking to "dress" up our new app with more elegant visuals. I was using send in time to a handle that changes the blendlevel of small objects… this works well and is none blocking. But someone asked "Why don't you just use dissolve?" Duh.. the dictionary doesn't give the platforms that

Script editor chops "end handler" to "nd handler"

2017-01-26 Thread Sannyasin Brahmanathaswami via use-livecode
I have a bug report on this but HQ says they cannot replicate it. Today I think I have a definitive recipe. Can you try and confirm? Symptom: the "e" at the beginning of the last line end of handlers is getting chopped off on closeStack if the environment is "mobile" then scroller_Delete

Snippet to show status bar on mobile

2017-01-26 Thread Sannyasin Brahmanathaswami via use-livecode
Do we have control over the layer of the native device top status status bar? is it always on topmost layer? if so then we have to dynamically hide and show it if we want to occupy the whole screen OR is it always on the background layer if so then we simply have some objects on higher top

Re: 8.1.3 (RC1) Invoking Script Editor Failing Everywhere

2017-01-26 Thread Sannyasin Brahmanathaswami via use-livecode
Turns out it was one of my plug ins… you can see the bug report where the problem was attributed to the DataGrid Helper… but I don't use the DGH and I had problems with an old old stack I've had for 15 years called "Favorites.livecode" build circa 2000 or earlier and migrating forward over

Re: Delete element from array

2017-01-26 Thread Sannyasin Brahmanathaswami via use-livecode
Others can please chime in here… I'm not sure exactly why the new dictionary is "irritating" but it is. let's say I want to see all the properties for buttons. I think the old dictionary gave us that option. Now if I click on "association "button" and click type "properties" I get the

Re: Run processes/effects simultaneously with a visual effect ?

2017-01-26 Thread Sannyasin Brahmanathaswami via use-livecode
Ha! Klaus.. Jai Ganesha! Awesome this works (yet to test on mobile) on mouseUp set the effectrate to 500 lock screen for visual effect put the long Id of image "stone" into pHiddenImage put the long Id of image "night" into pVisibleImage show tHiddenImage hide

Re: 8.1.3 (RC1) Invoking Script Editor Failing Everywhere

2017-01-27 Thread Sannyasin Brahmanathaswami via use-livecode
Ooops sorry I should have added that. http://quality.livecode.com/show_bug.cgi?id=19120 copy of my stack is there, nothing proprietary in it… it does not do any front scripts. but there is definitely something in it that 8.1.3 does not like (and also lcStackBrowser was unhappy with this

Re: Delete element from array

2017-01-27 Thread Sannyasin Brahmanathaswami via use-livecode
I'm game to play with this… I need it where are these array files? Do we want to change the thread subject to "Dictionary Improvements" On 1/27/17, 6:55 AM, "use-livecode on behalf of Richard Gaskin via use-livecode"

Re: Script editor chops "end handler" to "nd handler"

2017-01-27 Thread Sannyasin Brahmanathaswami via use-livecode
FWIW: http://quality.livecode.com/show_bug.cgi?id=19145 On 1/27/17, 4:46 AM, "use-livecode on behalf of panagiotis merakos via use-livecode" wrote: Hi guys, Thanks for spending time on this.

Re: Launch URL with LInk Back to LC App

2017-01-30 Thread Sannyasin Brahmanathaswami via use-livecode
Ralph Thanks, hacking the pList definitely works! I guess Apple doesn't care, right? On 1/30/17, 10:18 AM, "use-livecode on behalf of Ralph DiMola via use-livecode" wrote: JLM, Thanks for the

Browser Widget/HTML5/LC Integration

2017-01-27 Thread Sannyasin Brahmanathaswami via use-livecode
How many devs here would be willing to pitch in $ to cover the cost for HQ to add "deep integration" between the browser widget and Livecode. Currently there is a "wall" between LC and the browser widget. Jonathan Lynch, myself and Andre have been looking into this very closely. There is no way

Re: Community Dictionary (was Re: Delete element from array)

2017-01-27 Thread Sannyasin Brahmanathaswami via use-livecode
Richard Gaskin wrote: /Documentation/resources/data/api/api.sqlite Oh boy, gonna have fun with that! BR ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Browser Widget/HTML5/LC Integration

2017-01-27 Thread Sannyasin Brahmanathaswami via use-livecode
So as not to burden this list which "use" list and not a "complain" list I have responded to you at length directly. in a word: 1) the graphics rendering layer of LC is behind the graphics rendering layer of the browser 2) an IDE that provides a tool box for super elegant 21st century UI

Re: Snippet to show status bar on mobile

2017-01-28 Thread Sannyasin Brahmanathaswami via use-livecode
found it! mobileHideStatusBar mobileShowStatusBar Now I just need to "slide" everything (the entire card/content) down… tks On 1/27/17, 10:19 AM, "use-livecode on behalf of J. Landman Gay via use-livecode"

Re: Browser Widget/HTML5/LC Integration

2017-01-28 Thread Sannyasin Brahmanathaswami via use-livecode
Sure.. try this: go stack url "http://wiki.hindu.org/uploads/SivasHawaiiRevels_v001.livecode; it's so "bad" as it is "just below par" enough to cause others to blink at it. I realize this seems like a challenge but take my word for it. Here in our shop we have several Keynote presentation

Re: Browser Widget/HTML5/LC Integration

2017-01-29 Thread Sannyasin Brahmanathaswami via use-livecode
thanks for these tips… I will try again. Svasti Astu, Be Well Brahmanathaswami www.himalayanacademy.com On 1/28/17, 6:20 PM, "use-livecode on behalf of hh via use-livecode" wrote: It's not the LC

Re: Browser Widget/HTML5/LC Integration

2017-01-29 Thread Sannyasin Brahmanathaswami via use-livecode
I forget to give the URL for a complete web app that I was able to put into a LC browser widget (too heavy for delivery becuase of all the audio content, but good proof of concept for using the brower widget to drive local html5 content in the same package:

Re: Browser Widget/HTML5/LC Integration

2017-01-29 Thread Sannyasin Brahmanathaswami via use-livecode
@ Richard. OK, one more SVG example (I believe that's what you were asking for) now you have three http://wiki.hindu.org/uploads/floor-plan.svg # not responsive, but could be http://wiki.hindu.org/uploads/SivaSivaDiagram.svg # not responsive, but could be (though that's not wanted in this

Re: Browser Widget/HTML5/LC Integration

2017-01-29 Thread Sannyasin Brahmanathaswami via use-livecode
oops sorry, I was trying to make is responsive and broke something try this now http://wiki.hindu.org/uploads/SivaSivaDiagram.svg On 1/29/17, 8:14 AM, "use-livecode on behalf of Richmond Mathewson via use-livecode"

Re: Browser Widget/HTML5/LC Integration

2017-01-29 Thread Sannyasin Brahmanathaswami via use-livecode
as mentioned… it's not responsive, that was just a quick export, would require some tweaking. and the use case envisioned for larger ones is different: use pinch and zoom and swipe to move around and go in on the "map", this means we actually do not want it to scale down to fit…. On

Re: Browser Widget/HTML5/LC Integration

2017-01-29 Thread Sannyasin Brahmanathaswami via use-livecode
Until we hear that HQ is listening or want to know more I'll keep it short 1) SVG requirements rendering this would be a minimum. If here is a way to do it now in LC let me know http://www.himalayanacademy.com/assets/img/khm-logo-full-horizontal.svg resize your browser, it remains perfect!

Re: Browser Widget/HTML5/LC Integration

2017-01-29 Thread Sannyasin Brahmanathaswami via use-livecode
@ Bernd It's good to hear there is some progress! thanks for testing. I will look into Peter's files but also hope for the day when this is in the product. @ Richard, No, as you can see they will not display in the widget. But here appears to be hope. I was not aware of the big shift over

Launch URL with LInk Back to LC App

2017-01-29 Thread Sannyasin Brahmanathaswami via use-livecode
Use case is: multiple apps and the local mobile browser, all in a navigable ecosystem on small devices. on iOS, you can make an app that does this 1) Open to home screen 2) go to card "Virtual Tours" 3) click on "Gardens" 4) go to another card name "gardens" (just an example) 5) click a button

Re: Browser Widget/HTML5/LC Integration

2017-01-29 Thread Sannyasin Brahmanathaswami via use-livecode
Hmm, interesting try this http://wiki.hindu.org/uploads/SivaSivaDiagram.svg # in firefox; chrome; LC browser widget result: Firefox renders the gradients. Chrome and the LC browser widget render some place holder in the same space. On 1/29/17, 11:41 AM, "BNig via use-livecode"

Re: Storing and object reference in a var

2017-01-25 Thread Sannyasin Brahmanathaswami via use-livecode
Exactly I'm studying scripts by some "pros" (Jacque, David, Malte-animation engine) in order to get a group on creating custom visual effect that I can use "all over the place" but creating an external script/text stack I've been doing server side script for so many years, the whole UI coding

Search and replace Raw unicode html-hex-dec characters

2017-01-21 Thread Sannyasin Brahmanathaswami via use-livecode
I have *.html files that were extracted from epub documents. At our instruction, the company preparing these epubs was requested to use Unicode throughout and avoid all ANSI chars (i.e. us the Unicode for mdash and not — from the mac keyboard) If I drop these on any browser they are perfectly

Storing and object reference in a var

2017-01-24 Thread Sannyasin Brahmanathaswami via use-livecode
I have scripts supplied by others, that seem to work where the long id of an object is stored in a variable and then you can refer to that object with a single var-name But I can't get this to work put the long id of fld "daily-lesson-text" into tTargetField put "Hello" into tTargetField what

Re: Storing and object reference in a var

2017-01-25 Thread Sannyasin Brahmanathaswami via use-livecode
Edit; get a grip on creating custom visual effect that I can use "all over the place" by creating an external script/text stack - Exactly I'm studying scripts by some "pros" (Jacque, David, Malte-animation engine) in order to get a group on creating custom

Delete element from array

2017-01-24 Thread Sannyasin Brahmanathaswami via use-livecode
how do you remove a key from an array? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Storing and object reference in a var

2017-01-24 Thread Sannyasin Brahmanathaswami via use-livecode
ha! duh! I need to go body surfing for a day and get away from the code … I'm "losing it" Put "hello" into tTargetField# replace the long id in the var with "hello" sheesh… this get set prop thing has a lot of power, one day I'll wrap my head around it. On 1/24/17, 12:57 PM,

Reveal in Find on Windows

2017-02-21 Thread Sannyasin Brahmanathaswami via use-livecode
for in house production tools I use an apples script or shell script to reveal a file in the finder how do we do this on windows? BR ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Sets props of multiple objects from msg box

2017-02-21 Thread Sannyasin Brahmanathaswami via use-livecode
select three fields enter in msg box: set the margins of the selectedObjects to 10,10,10,10 Expected: margins of all three fields should change observed: only the first one registers a change in margins the other two do not. Is this a bug? ___

Re: Reveal in Find on Windows

2017-02-23 Thread Sannyasin Brahmanathaswami via use-livecode
HH wrote: Yes, you are right, the handler only opens the enclosing folder (or any path item of such a folder path). Actually that's my main use case… But now we have all options… thanks to all. nice to find that I can use launch for both Windows and Mac But has to have a slash on the

Re: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Sannyasin Brahmanathaswami via use-livecode
@ Bob (who wrote) " Do you suggest that all development and improvement for version 8 and that we all wait for certain bugs to be addressed in the next major release? That would be unfortunate. Already since the earlier versions of 8, there have been marked improvements and bug fixes, such

Re: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Sannyasin Brahmanathaswami via use-livecode
I'm behind here in the overview: Why even continue in 8.* ? What issues are there with 9.* that would make it advisable not to try it for production? BR On 2/23/17, 10:41 AM, "use-livecode on behalf of panagiotis merakos via use-livecode"

Parsing XML Nodes w/Same Tag

2017-02-24 Thread Sannyasin Brahmanathaswami via use-livecode
My longest running in house production app is an audio transcriber. Very successful little gadget, running in xTalk since 2001 We have over 1,000 XML files from an audio archive of transcripts. Now I'm digging in and getting the data out. I'm not facile with xml routines but did my best with

Re: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-22 Thread Sannyasin Brahmanathaswami via use-livecode
going a bit OT here… I've dabbled withj Atom, Visual Studio and also long time ago Sublime… any reason you prefer Sublime? I still keep dropping out back to BBEdit.. but if I could find a nother editor that had comparable tools I would use it. So far, atom and Visual Studio keep falling short…

Re: Reveal in Find on Windows

2017-02-22 Thread Sannyasin Brahmanathaswami via use-livecode
Thanks Roger! On 2/22/17, 1:54 AM, "use-livecode on behalf of Roger Eller via use-livecode" wrote: get shell (”explorer.exe /select,c:\windows\system32\selected_file.txt") Source:

Re: Reveal in Find on Windows

2017-02-22 Thread Sannyasin Brahmanathaswami via use-livecode
OK I studied the doc here: https://support.microsoft.com/en-us/help/130510/command-line-switches-for-windows-explorer and actually the use cases are more often to open a folder but I don't have windows to test does this work to open a folder window on Win32? get shell (”explorer.exe

Re: Reveal in Find on Windows

2017-02-22 Thread Sannyasin Brahmanathaswami via use-livecode
er on Windows? tks On 2/22/17, 4:59 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of use-livecode@lists.runrev.com> wrote: OK I studied the doc here: https://support.microsoft.com/

Deleting stacks on the fly

2017-02-11 Thread Sannyasin Brahmanathaswami via use-livecode
I'm trying to optimize for minimal RAM usage on mobile. The app is modular with many stacks that are opened from the mainstack. I had this before in a global library: command portal_GoStack stackName -- goes to the new stack -- closes the current stack # But we want to delete it to clear RAM --

Re: Deleting stacks on the fly

2017-02-13 Thread Sannyasin Brahmanathaswami via use-livecode
equirement, but crashes in Android every time… I have a report in to HQ… On 2/11/17, 8:38 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of use-livecode@lists.runrev.com> wrote: I'm trying to opti

"Deleting" Stacks in Memory - What About Behaviors?

2017-02-10 Thread Sannyasin Brahmanathaswami via use-livecode
When we delete a main stack, the main stack and all its substacks are removed from memory. But if we delete a stack that has behaviors set from external *_behavior.livecodescript stacks for controls in the "main" (parent?) stack, those behaviors are still in memory. Does it make sense to

Re: Deleting stacks on the fly

2017-02-16 Thread Sannyasin Brahmanathaswami via use-livecode
@ Jacque: I don't think it is ram after all. FYI: on my Nexus 5 I have 1.8 GB RAM and our new app + All of Googles "widgets" that come preloaded take up a mere .8 GB and I have a full GB of RAM free. after proceeding (as we discussed off list with our team) to delete stacks when we move from

Re: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-27 Thread Sannyasin Brahmanathaswami via use-livecode
Thanks for the thorough reply Trevor. I left Sublime Text when it was "2" years ago…th