Search found 112 matches
- Wed Jun 06, 2007 2:14 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Finding hidden buttons
- Replies: 2
- Views: 2303
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 "...
- Tue Jun 05, 2007 10:15 pm
- Forum: Talking LiveCode
- Topic: File Management
- Replies: 2
- Views: 2162
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...
- Tue Jun 05, 2007 10:00 pm
- Forum: Talking LiveCode
- Topic: Autohide Stack based on mouse coordinates?
- Replies: 5
- Views: 2998
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...
- Sat Jun 02, 2007 1:59 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Parallel activities
- Replies: 8
- Views: 4655
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...
- 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: 2389
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...
- Wed May 09, 2007 2:15 pm
- Forum: Talking LiveCode
- Topic: Saving information in stand alone application
- Replies: 1
- Views: 2094
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...
- Mon May 07, 2007 7:10 pm
- Forum: Talking LiveCode
- Topic: mouseDoubleDown Problems
- Replies: 14
- Views: 6856
- Mon May 07, 2007 7:07 pm
- Forum: Talking LiveCode
- Topic: Autofill Script For A Linked Website
- Replies: 1
- Views: 1783
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 ...
- Mon May 07, 2007 10:06 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Newbie: Confused once more
- Replies: 3
- Views: 3010
- Sat May 05, 2007 7:31 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Newbie: Marco/Eval question
- Replies: 6
- Views: 3382
That can be writen better using format():Mark Smith wrote:Code: Select all
do "put tmp into g" & index & "[" & quote & "<key goes here>" & quote & "]"
Code: Select all
do format("put tmp into g%s["key"]",index)
Code: Select all
do merge("put tmp into g[[index]][key]")
- Thu May 03, 2007 8:43 pm
- Forum: Talking LiveCode
- Topic: Plotting Graphs
- Replies: 7
- Views: 4619
- Thu May 03, 2007 8:28 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Answer bug?
- Replies: 5
- Views: 3116
- Wed May 02, 2007 12:31 pm
- Forum: Research and Post Secondary
- Topic: Edmedia presentations
- Replies: 7
- Views: 10906
- Mon Apr 30, 2007 10:17 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Newbie config. file question
- Replies: 3
- Views: 2665
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...
- Mon Apr 30, 2007 9:36 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Installer program?
- Replies: 13
- Views: 5049