Thanks Thierry - jq looks fantastic. Needs to be a new LCB library for
sure. But for now I need to get JSON in and out of Livecode arrays on the
server.
Monte's external is available for all platforms - so it should work on the
server I think the the mergJSON.so is the version I believe that is
Hi - I'm looking to switch from parsing JSON with scripts to Monte's
external (which i've been using on mobile / desktop for a while and works
great) - but I can't get it working (Im on Ubuntu 14.04 with DigitalOcean)
and Livecode server version 7.06 rc3).
It's either because the external does
You may want to try this:
1. Save the original width of datagrid in a custom property cOldWidth.
2. In the datagrid script, handle resizeControl:
on resizeControl
local tFraction
put (the width of me / the cOldWidth of me) into tFraction
repeat for each line tLine in the dgProp[columns] of me
There's a dgprop for it. Check documentation.
Sent on the new Sprint Network from my Samsung Galaxy S®4.
Original message
From: Tiemo Hollmann TB
Date:08/04/2015 6:14 AM (GMT-08:00)
To: LiveCode User Liste senden
Subject: How to resize the columns of a datagrid?
Hello,
I
David Bovill wrote:
Monte's external is available for all platforms - so it should work on the
server I think the the mergJSON.so is the version I believe that is used
on Linux. Puttin it in the cgi bin along side the built in externals does
not seem to be sufficient. How does basic extension
Thanks Matthias! I would have liked not to have to use Poewrshell (and modules
I need to install for it)
@Trevor: This looks really good! I will have to try that as soon as I have set
up my own Windows server. (Will try before at the customers place though)
All the best and thanks a lot!
Ah - thanks Lyn. I've stumble on with Livecode script version- and wait for
Monte to update mergJSON
On 4 August 2015 at 15:20, Lyn Teyla lyn.te...@gmail.com wrote:
David Bovill wrote:
Monte's external is available for all platforms - so it should work on
the
server I think the the
2015-08-04 10:57 GMT+02:00
David Bovill david@viral.academy:
Hi David,
You might find this tool (binary available) interesting:
http://stedolan.github.io/jq/
Otherwise, for linux, externals have to be built speciffically for the platform
HTH,
Thierry
Hi - I'm looking to switch from
and here a previous post from Mark Wieder:
A coworker hipped me to the fact that OSX has a built-in json parser.
As does linux.
Takes input from stdin and sends to stdout, so
json_pp filename
will parse and pretty-print a json file for you.
I was feeling uneasy about posting json data to
Hello,
I want to resuze a datagrid table by script depending oft he window size.
When just resizing the datagrid (expanding it) an additional column is added
to the datagrid.
Is there an easy way to resize all columns proportional to the new width of
the datagrid?
Thanks
Tiemo
Anyone have an example of a scrolling list or group that scrolls well on
Android?
I've been trying to move an iOS stack that contains a scrolling list over
to Android, and testing on a Galaxy S4 results in the scroller being near
unusable. AcceleratedRendering is enabled on the stack, and it
Hi LiveCode Community,
Another week - another blog post! This one is by one of our LiveCode
users, Sean Miller, who created apps that are art!
See how here: http://livecode.com/how-to-make-app-building-into-art/
We'd love to hear your LiveCode Story and share it on our blog! If you're
Hi Bob,
are you thinking of dgColumnIsResizable? It allows the user to resize
manually the column width.
Or do you have another property in mind?
Tiemo
-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Bob Sneidar
Gesendet:
Hi Tiemo,
Am 04.08.2015 um 17:10 schrieb Tiemo Hollmann TB toolb...@kestner.de:
Hi Bob,
are you thinking of dgColumnIsResizable? It allows the user to resize
manually the column width.
Or do you have another property in mind?
I’m obviously not Bob, but I think he was more thinking of
You could:
set tSwitchApple to (tSender is not Apple)
set tSwitchPeach to (tSender is not Peach)
set tSwitchGrape to (tSender is not Grape)
Slightly different than your code because the switches would be set to
false if the condition isn't met whereas you code doesn't do that.
On Tue, Aug 4,
Roger:
Thanks! That’s it.
Bill
On Aug 4, 2015, at 12:32 PM, Roger Eller roger.e.el...@sealedair.com wrote:
On Tue, Aug 4, 2015 at 2:52 PM, William Prothero proth...@earthednet.org
wrote:
Darn: I marked this email, went on a road trip for 2 weeks, and then lost
the link.
Someone, a
Paul:
Thanks, I’m trying it out. Of course, I won’t be able to tell if it solves the
problem until the next student has a problem, but it’s a good idea anyway.
Unfortunately, due to the way I’ve set up the data plotting, it’s going to be a
fairly big job. I rely heavily on screen capture, but
One option, if I understand what you're asking:
on doThisThing tSender
repeat for each item theVar in Apple,Peach,Grape
do put (tSender theVar) into (tSwitch theVar)
end repeat
end doThisThing
Regards,
Scott Rossi
Creative Director
Tactile Media, UX/UI Design
On 8/4/15, 2:24
On 5 Aug 2015, at 12:20 am, Lyn Teyla lyn.te...@gmail.com wrote:
If you're running the 64-bit version of Ubuntu 14.04, mergJSON doesn't work
off the shelf, since there's currently only a 32-bit version available
officially.
Thanks Lyn, it will work perfectly fine on 64 bit but I forgot
Maybe I'm misunderstanding what you want but I think my code does that.
For example, let's say tSender is Apple:
set tSwitchApple to (tSender is not Apple) -- false
set tSwitchPeach to (tSender is not Peach) -- true
set tSwitchGrape to (tSender is not Grape) -- true
Looking at your code again,
Is it possible to convert this to a switch control structure, or otherwise
refined somehow? The “not” is what I need, and the setting has to be always
“true”:
on doThisThing tSender
if tSender is not “Apple” then
set tSwitchApple to true
end if
if
Hi.
Your if-then would be better served as:
on doThisThing tSender
if tSender is not “Apple” then set tSwitchApple to true
else if Sender is not “Peach” then set tSwitchPeach to true
else if Sender is not “Grape” then set tSwitchGrape to true
end doThisThing
The
Are you using a native mobile scroller or just a regular LiveCode field? A
native scroller should work okay.
On August 4, 2015 7:51:38 AM CDT, Scott Rossi sc...@tactilemedia.com wrote:
Anyone have an example of a scrolling list or group that scrolls well
on
Android?
I've been trying to move an
Yes, the list uses a native scroller. As a test, I tried downloading a recent
scroller sample posted in the forums (which was most likely done for iOS) and
ran into the same poor performance. I'm hoping I'm just missing something, but
than other than setting the layerMode of group to
On Aug 4, 2015, at 10:52 AM, Scott Rossi sc...@tactilemedia.com wrote:
Yes, the list uses a native scroller. As a test, I tried downloading a
recent scroller sample posted in the forums (which was most likely done for
iOS) and ran into the same poor performance. I'm hoping I'm just
On Tue, Aug 4, 2015 at 2:52 PM, William Prothero proth...@earthednet.org
wrote:
Darn: I marked this email, went on a road trip for 2 weeks, and then lost
the link.
Someone, a couple of weeks ago, posted a link to an app that directly
loads an app to iOS without going through xCode.
Could
If you want proportional, all the same size relative to each other,
something like this in the card script should work.
on resizestack
set the rect of group 1 to the rect of this card -- set your dg group to
whatever new size you want
resizecol
end resizestack
on resizecol
put the
Darn: I marked this email, went on a road trip for 2 weeks, and then lost the
link.
Someone, a couple of weeks ago, posted a link to an app that directly loads an
app to iOS without going through xCode.
Could someone re-post that link? I’d much appreciate it.
Regards,
Bill
William A.
Jana Doughty wrote:
Lastly - Did you know we're on social media? We are! And we'd love to see
the enthusiasm you share in the forums shared on our social pages as well!
You can like our Facebook page and write on our wall here:
https://www.facebook.com/pages/LiveCode/121318328010780
You can
The next meeting of the SoCal LiveCode User Group is coming up Thursday
at 7PM in Pasadena, CA - details in the forum:
http://forums.livecode.com/viewtopic.php?f=50t=24923
--
Richard Gaskin
LiveCode Community Manager
rich...@livecode.org
___
The following url works in the browser, in script and in the message box:
-
https://commons.wikimedia.org/w/api.php?action=querytitles=Image:Andalusian_horse_moscow.jpgprop=imageinfoformat=jsoniiprop=extmetadata|url
It does not however work when called from a script in Livecode server. It
This won’t work for me because ALL the switches always have to be set to true,
except for the one related sender.
On Aug 4, 2015, at 2:40 PM, Peter Haworth p...@lcsql.com wrote:
You could:
set tSwitchApple to (tSender is not Apple)
set tSwitchPeach to (tSender is not Peach)
set
You can always use 'switch' without specifying an expression to evaluate
as part of the 'switch' line, like so:
switch
case (tSender is not Apple)
put true into tSwitchApple
--break
case (tSender is not Peach)
put true into tSwitchPeach
33 matches
Mail list logo