Search found 112 matches

by xApple
Thu Jun 28, 2007 11:40 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Mac icon not sticking
Replies: 6
Views: 2773

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 10:05 pm
Forum: Feature Proposals
Topic: support of file audio compressed like mp3?????
Replies: 6
Views: 3954

Revolution does support mp3 files, though indirectly this is true, since Quicktime must be installed. But almost all computers nowadays have Quicktime. What is your problem concretely ? If you want to distribute some sound with your application simply include the file in the "data" folder when you c...
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: 2029

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.
by xApple
Tue Jun 26, 2007 1:57 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How do I wrap long button names?
Replies: 4
Views: 2477

You can even do it from the inspector interface:
What I usually do is type the long button name I want in the tooltip field (which is a bit larger) and then cut&paste it to the button name field.

Cheers.
by xApple
Wed Jun 20, 2007 7:24 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Newbie: Code critique
Replies: 5
Views: 3159

Ah ok I didn't know that.. I always have variable checking off. Yes indeed I forgot to change the index numbers in case 10. Concerning the length function, no I don't think there is any speed difference.. I just try to have my script most human readable.. same reason for changing "repeat with i = 1 ...
by xApple
Wed Jun 20, 2007 3:10 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Newbie: Code critique
Replies: 5
Views: 3159

the "local tmp" line is usless. It's better to use "--" for comments, to not get confused when you are coding c++ A return statement ends the handler, hence a placing a "break" after a "return" is usless function FormatPhoneNumber pPhoneNumber -- strip all non-numerical characters from phone number ...
by xApple
Thu Jun 14, 2007 9:44 pm
Forum: Converting to LiveCode
Topic: How do I erase graphics?
Replies: 6
Views: 8076

In the stack script: getProp objects repeat with x = 1 to number of controls of the target put the long name of control x of the target & return after myList end repeat sort myList return myList end objects Anywhere: on deleteAllObjOfCd cardNum put the objects of card cardNum into cardObjects repeat...
by xApple
Wed Jun 13, 2007 3:35 pm
Forum: Off-Topic
Topic: Safari on Windows
Replies: 11
Views: 6334

It works fine on my OS X... actually I haven't perceived a difference... expect for being able to move tabs.. and being able to resize the field I am currently typing in ! Kinda cool... But here is my consideration: bringing all the good stuff of Mac to Windows, isn't going to lower the uniqueness o...
by xApple
Wed Jun 13, 2007 3:25 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Newbie: Scrolling question
Replies: 3
Views: 2160

Ok I made an exemple.
But again you never should need to scroll a card.
Just type this in your message box and hit enter:

Code: Select all

go URL "http://homepage.mac.com/xapple/give/scrollingstack.rev"
by xApple
Tue Jun 12, 2007 9:21 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Newbie: Scrolling question
Replies: 3
Views: 2160

I made a card scrollable vertically once simply by grouping all the controls it had in one big group called "allTheStuff" and adding a scroll bar on it's side (the only object not contained in the big group). Finally, put this script in the scrollbar: on mouseUp global scrollMax, myStartPosition put...
by xApple
Tue Jun 12, 2007 9:09 pm
Forum: Talking LiveCode
Topic: One question about quitting an application...i need help
Replies: 4
Views: 2154

As I said previously, trapping the closeStack Message doesn't change anything. And even if it did, it wouldn't work in the case of your script, since you don't pass it on in the "No" case. By the way, it's useless to have a case in a switch structure with no statements. Speaking of scripts, could yo...
by xApple
Mon Jun 11, 2007 8:37 pm
Forum: Talking LiveCode
Topic: One question about quitting an application...i need help
Replies: 4
Views: 2154

Check the "switch" syntax: it's "break" not "exit switch" But your problem is that aborting the closeStack messages doesn't stop the quitting process. You are looking for the "shutdownRequest" message rather. on shutdownRequest -- confirm with the user: answer question "Are you sure you want to quit...
by xApple
Fri Jun 08, 2007 6:24 pm
Forum: Internet
Topic: How to "Select All->Copy->Paste" a webpage?
Replies: 7
Views: 5614

Can you give us the URL of the website so we can see ?
If you really just need to simulate the actions of copy and paste, you can use the "copy" and "paste" commands.
For Select All, just use "doMenu".
by xApple
Thu Jun 07, 2007 8:33 am
Forum: Internet
Topic: How to "Select All->Copy->Paste" a webpage?
Replies: 7
Views: 5614

What OS are you using ?
And what is the webpage in question ?
Maybe we can find a better way to do what you want... And what is the goal of your project, by the way; why are you importing stuff from a website ?
by xApple
Wed Jun 06, 2007 10:53 pm
Forum: Talking LiveCode
Topic: Autohide Stack based on mouse coordinates?
Replies: 5
Views: 2351

No prob !
Is it working well now ?
There is a thread just here that might interest you. Though not exactly related, we do discuss how to maintain a looping handler while letting other handlers start...

http://forums.runrev.com/phpBB2/viewtopic.php?t=802

Good day !

Go to advanced search