Search found 11 matches

by mroam
Sat Jul 08, 2017 5:07 am
Forum: Mac OS
Topic: Cannot add iOS SDK
Replies: 3
Views: 6852

Re: Cannot add iOS SDK

I've found that the page at https://livecode.com/support/ask-a-question/what-iosxcode-version-matches-which-version-of-livecode/ is helpful for this kind of thing: it lists versions of LiveCode from ancient 5.5 to this month's 9.0.0dp7 and shows what version of macOs and Xcode they work with.

The ...
by mroam
Sat Nov 10, 2012 8:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What are the available JSON parsers for LiveCode?
Replies: 2
Views: 4826

Re: What are the available JSON parsers for LiveCode?

Hi,

At http://revonline2.runrev.com/stack/82/LibJson-1-0b you'll find Mark Smith's "LibJson 1.0b", which is a stack that converts back and forth between json and livecode arrays. The array elements can be copied onto stacks or fields (or tableview/datagrid I imagine).

The stack has some nice ...
by mroam
Fri Jan 28, 2011 4:15 am
Forum: Databases
Topic: Where statement
Replies: 7
Views: 7563

Re: Where statement

Hi Richh;

your simple example
put quote, field 2, quote into responseToPost
which produces ",sometext," should be written as
put quote & field 2 & quote into responseToPost
which uses the ampersand to combine text, and would produce
"sometext"
which I think is what you want.

Note: in some ...
by mroam
Fri Jun 25, 2010 1:39 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: What is preventing me from copying text from a field?
Replies: 12
Views: 8774

Re: What is preventing me from copying text from a field?

Hi Keith,
is there any chance you "disabled" the field in the inspector?
Or by chance did you start by importing an old hypercard stack?
(this latter gives me occasional problems with field content in
inspector, sometimes.)
Maybe this forum will let you post the stack, or if you want to
email me ...
by mroam
Fri May 14, 2010 3:43 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: mac and window file paths
Replies: 7
Views: 6921

Re: mac and window file paths

I had a similar problem lately (file i/o works in development environment but not in mac version of standalone), and I found a strange work around. The solution involved changing no code: instead I make my standalones one at a time. First make a mac standalone only, then quit and go back and make ...
by mroam
Wed Apr 01, 2009 7:40 pm
Forum: Talking LiveCode
Topic: regular expressions
Replies: 3
Views: 5015

matchChunk

Hi,
your regular expression needs parentheses. (I had to read the documentation 3 or 4 times before I realized that's what was missing.)

I built a simpler example:
on mouseUp
local startM, endM
put 0 into startM
put 0 into endM
#following returns true and startM and endM are 3 and 4
answer ...
by mroam
Thu Mar 05, 2009 10:27 pm
Forum: Talking LiveCode
Topic: centuryCutoff
Replies: 10
Views: 9629

I'm also getting "Monday, March 6, 2169" on my computer (mac, osX 10.5). What kind of machine are you on, and what do you get if you try the following script?

local temp
put the long date into temp
convert temp to seconds
convert temp to internet date
answer temp

maybe the long date or the ...
by mroam
Wed Mar 04, 2009 9:21 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Quick way to rotate text
Replies: 5
Views: 7661

rotating image of text

PS: If you want to rotate images at angles other than multiples of 90 degrees AND still keep the ability to rotate them back again without distortion, you may use the "set the angle" command to change its property:

set the angle of image "textpic" to 45

(quoting from documentation: "To rotate an ...
by mroam
Thu Feb 19, 2009 10:51 pm
Forum: Talking LiveCode
Topic: Transparent, clickable graphics
Replies: 3
Views: 4651

Transparent, clickable graphics

Hmm... I've just tried opaque graphics and buttons with high blendlevel (99/100, use inspector) and they are clickable within their interior, while looking very see-through. Only problem is that their border is transparent also: I guess you could group them with a non-opaque polygon that provides ...
by mroam
Wed Oct 01, 2008 8:14 pm
Forum: Talking LiveCode
Topic: Cannot edit field contents in Inspector
Replies: 5
Views: 6376

ps to label contents inspector fix...

Be aware that the HCAddressing has different assumptions about how you distinguish card vs background (group) fields and buttons... If you don't use groups this probably won't matter.

From the documentation dictionary:
=========
"If the HCAddressing property is set to true, expressions in the stack ...
by mroam
Wed Oct 01, 2008 8:07 pm
Forum: Talking LiveCode
Topic: Cannot edit field contents in Inspector
Replies: 5
Views: 6376

fix for labels that won't let content change in inspector

Ah-hah! I was having the same problem from time to time in rev 2.9 and now rev enterprise 3.0, and I've just found a fix/workaround.

For me, the "poisoned" stack (in which labels cannot have their contents edited in inspector) had the HCAddressing property true. When I "set the HCAddressing of this ...