Search found 112 matches

by xApple
Wed Jun 06, 2007 2:14 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Finding hidden buttons
Replies: 2
Views: 2160

Everytime I need to grab hold of an invisible object, I just open the "Application Browser" window and go to the card in question. But I have some other advice: your idea of placing buttons behind text seams clumsy and has obvious drawbacks as you have noticed. You might be interested in using the "...
by xApple
Tue Jun 05, 2007 10:15 pm
Forum: Talking LiveCode
Topic: File Management
Replies: 2
Views: 2019

You might be able to access such functions using the "shell()" function. On unix systems (like Mac OS X) you should use the "chmod" shell command to change file permissions. And to make an item invisible you just need to add a period "." as the first character of its name using the "mv" shell comman...
by xApple
Tue Jun 05, 2007 10:00 pm
Forum: Talking LiveCode
Topic: Autohide Stack based on mouse coordinates?
Replies: 5
Views: 2774

Instead of storing your variables in fields like "if field "SettingsAutoHide" is "yes"" you should use global variables. Having "send subMouseLoop to me in 1 milliseconds" in the mouseLeave handler will start several loops at the same time, I wouldn't do this. And you might want to put the "send sub...
by xApple
Sat Jun 02, 2007 1:59 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Parallel activities
Replies: 8
Views: 4302

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

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

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

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

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

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

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

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

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

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

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

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.

Go to advanced search