Search found 107 matches

by xApple
Tue Jul 10, 2007 9:27 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: newbie question; write to file, read from file?
Replies: 12
Views: 9682

Using a file to store you data is only necessary once your applications quits (in order for it to reload the data next time you open it). As the data changes while the application is open , there is no need to write information to the disk. Keep it in a global variable. And write all the changes upo...
by xApple
Tue Jul 10, 2007 9:14 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Commerical Applications in RunRev
Replies: 3
Views: 4178

Hello asawyer, welcome to the revolution community. Being new you might want to check out this list of helpful resources marielle compiled a while ago. http://forums.runrev.com/phpBB2/viewtopic.php?t=540 You will be able to get first pointers and see how other people make their applications. I don't...
by xApple
Tue Jul 10, 2007 4:03 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to handle text (or chunk?) formatting?
Replies: 4
Views: 4599

[put field "B" after field "A"] is a valid command all-though it doesn't conserve the formatting. To conserve formating you could use the following command to put 2 fields together: set the htmltext of field c to (the htmltext of field a & the htmltext of field b) Then to print, you shouldn't have t...
by xApple
Tue Jul 10, 2007 3:54 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Basic functionality
Replies: 3
Views: 4007

Yes I agree, the Revolution environment could be much more user friendly. First of all a lot of work needs to be done on the documentation. I think every command or propriety page should just be a wiki entry somewhere, so we could all add our examples and knowledge to it. The RunRev team should lear...
by xApple
Tue Jul 10, 2007 3:32 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: newbie question; write to file, read from file?
Replies: 12
Views: 9682

Re: newbie question; write to file, read from file?

.How do I specify which line of the file to write to? You're better off making all the changes you want to your data and writing it all in one go to the file once it's ready. Trying to change the file as the data evolves is tricky. I have posted my standard handlers for reading and writing to a fil...
by xApple
Tue Jul 10, 2007 2:02 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Empty field button won't work
Replies: 6
Views: 5665

This could once again be an incarnation of the same bug where objects get assigned the same ID ?

Maybe the field "records" accidently is sharing the same ID as an other object...
by xApple
Tue Jul 10, 2007 2:00 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Disappearing controls on editable stack card
Replies: 10
Views: 7283

Reading your comments I got the impression this could all be caused by the bug marielle describes in her recent post here: http://forums.runrev.com/phpBB2/viewtopic.php?t=687 It's just a guess of course, but you should maybe read what she said. She apparently is not a happy camper anymore either.. s...
by xApple
Mon Jul 09, 2007 4:23 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Search and Retrieve
Replies: 2
Views: 3302

That's doable. To get web pages just use commands similar to: put url "http://www.google.com/search?q=abundance" into myWebPage And to write to a file the following is of use: on writeFile answer folder "Please choose a folder for" && the short name of this stack && "to write in." put it into theOut...
by xApple
Thu Jul 05, 2007 3:48 pm
Forum: Talking LiveCode
Topic: request for Revolution Studio
Replies: 10
Views: 8575

I see the auto-align stuff, but how would you do it with a script? It could be something like: repeat with x = 1 to the number of btns of this card set the left of btn x to 100 end repeat And as I said earlier, if you want to see your own customized guideline, just use the 'line' graphic object.
by xApple
Wed Jul 04, 2007 2:31 am
Forum: Talking LiveCode
Topic: request for Revolution Studio
Replies: 10
Views: 8575

You can of course just add your own guidelines in the matter of 2 lines of script... without mentioning the auto-align fonctionalities you can find in the inspector...
by xApple
Fri Jun 29, 2007 1:59 pm
Forum: Talking LiveCode
Topic: OS X screensaver
Replies: 6
Views: 5617

No that seams impossible.
Unless the screen saver format is in some way just a hidden .app file...
One should look at the documentation on that file format, but I'm very doubtful.
by xApple
Fri Jun 29, 2007 1:56 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: how do you move a card or reorder a stack?
Replies: 3
Views: 5023

The card inspector also gives you an easy GUI way to change the card's position. Just press the little arrows next to the field indicating the card's number.
by xApple
Thu Jun 28, 2007 12:34 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Mac icon not sticking
Replies: 6
Views: 6003

I had been using Icon Composer also in the past, but it would always mess-up the transparency in my icons. I would consider that as equally unreliable. Replacing the .icns inside the application bundle is a method, but I maintain that the most secure way of having your icon stick is to let the Finde...
by xApple
Thu Jun 28, 2007 11:40 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Mac icon not sticking
Replies: 6
Views: 6003

The way I use to get home made icons on my Macintosh applications is the following: 1. Create Icon in Illustrator. 2. Export to a 512x512 PNG format with alpha layer information included. 3. Use "Graphic Converter.app" to create an ICNS file from the PNG. 4. Use the sweet "icns2icon.app" application...
by xApple
Tue Jun 26, 2007 2:01 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Automatic backup available in Revolution?
Replies: 3
Views: 4222

You could easily write a script in separate stack than the one you are working on to have automatic backups made... or you could use some other third-party software that will perform regular copies of any kind of files... actually even a simple cron script would do the job.

Cheers.

Go to advanced search