Search found 107 matches

by xApple
Sat Jun 02, 2007 1:59 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Parallel activities
Replies: 8
Views: 7464

You could just insert the following line somewhere in your handler: "wait for 5 milliseconds with messages". This should permit other handlers to start while just creating a small lag in the bouncing animation. Or a more fancy way of controlling a looping handler would be like this: on stopAnimateLo...
by xApple
Mon May 28, 2007 9:08 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Need help with "get MatchText" to get a value of a
Replies: 3
Views: 4208

I see two other ways of achieving the same result, that might be better. First, as this happens to be HTML, you could use a trick by setting the HTMLText of a field like this: function extractValue tLine set the htmltext of field "tempField" to tLine return field "tempField" end extractValue And her...
by xApple
Wed May 09, 2007 2:15 pm
Forum: Talking LiveCode
Topic: Saving information in stand alone application
Replies: 1
Views: 3128

Unfortunatly once compiled into a standalone, the mainstack is unmodifiable. Usually what I do to store the user's changes, is to use a preference file placed in the preference folder or (only on OS X) inside the application bundle. My scripts for doing this can be found in this post . Here is an ex...
by xApple
Mon May 07, 2007 7:10 pm
Forum: Talking LiveCode
Topic: mouseDoubleDown Problems
Replies: 14
Views: 13388

Make a variable that counts the number of "MouseUp" and discards the second one. Not much of a solution, I know : )
by xApple
Mon May 07, 2007 7:07 pm
Forum: Talking LiveCode
Topic: Autofill Script For A Linked Website
Replies: 1
Views: 2775

Depends on how the site is made. Sometimes it's just a matter of executing a "POST" command to the site in question. Othertimes, it can be more tricky; for instance I remember doing it for a site that had a timestamp imbedded in the page which you had to find and send back to log in. I can give you ...
by xApple
Mon May 07, 2007 10:06 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Newbie: Confused once more
Replies: 3
Views: 4704

You don't actually need to call each object the correct type. Whenever it's a button, a group, an image, they will all respond to the nomination "CONTROL". So basically you can always just write all the time:

set the locklocation of CONTROL ("group_Cat" & Index ) to true
by xApple
Sat May 05, 2007 7:31 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Newbie: Marco/Eval question
Replies: 6
Views: 5726

Mark Smith wrote:

Code: Select all

do "put tmp into g" & index & "[" & quote & "<key goes here>" & quote & "]" 
That can be writen better using format():

Code: Select all

do format("put tmp into g%s["key"]",index)
Or maybe even better using merge():

Code: Select all

do merge("put tmp into g[[index]][key]")
by xApple
Thu May 03, 2007 8:43 pm
Forum: Talking LiveCode
Topic: Plotting Graphs
Replies: 7
Views: 7364

Sweet. Exactly what I needed.
Nice work and thanks a lot !
by xApple
Thu May 03, 2007 8:28 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Answer bug?
Replies: 5
Views: 4938

I've had lots of answer dialogs lately randomly clipping text here and there. The strangest is that several answer calls with the same string will produce different text warping each time...
by xApple
Wed May 02, 2007 12:31 pm
Forum: Research and Post Secondary
Topic: Edmedia presentations
Replies: 7
Views: 16088

Use Keynote and it's stylish transition effects ;)
Essential also is the remote control and laser pointer combined in one.
I mean; that's what Steve Jobs uses for his, so...
by xApple
Mon Apr 30, 2007 10:17 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Newbie config. file question
Replies: 3
Views: 4264

For OS X, I like to store the pref file inside the application bundle. If it intrests anyone here are my script for handeling preference file generation and retrival: on preOpenStack determinePrefPath readPrefFile insertPrefValues end preOpenStack on closeStack determinePrefPath generatePrefs writeP...
by xApple
Mon Apr 30, 2007 9:36 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Installer program?
Replies: 13
Views: 8576

Mark: yup you are right. Automation and less work for the user is always good. I just wanted to point out to stu that an installer isn't mandatory with rev programs. Your first post could have misguided him.

Cheers, xApple.
by xApple
Sun Apr 29, 2007 8:01 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Installer program?
Replies: 13
Views: 8576

Rev standalones don't need to be installed. Just copy the ".exe" file to somewhere convenient on your hard disk and launch it.

Cheers.
by xApple
Fri Apr 27, 2007 6:06 pm
Forum: Talking LiveCode
Topic: Get index of highest value
Replies: 6
Views: 5206

Re: Get index of highest value

Note that this is not required. the itemdelimeter is automatically reset to the default (",") when the handler finishes executing. Cf the doc "Since the itemDelimiter is a local property, its value is reset to comma when the current handler finishes executing. It retains its value only for the curr...
by xApple
Fri Apr 27, 2007 6:02 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "export snapshot" syntax
Replies: 12
Views: 8795

With the latest 2.8 I've had problems exporting snapshots when the rectangle was of a certain size and located on my second screen. It would cause an execution error : (

Go to advanced search