Search found 338 matches

by shadowslash
Fri Sep 24, 2010 9:50 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: param(1) questions
Replies: 6
Views: 4010

Re: param(1) questions

@ ShadowSlash I try to avoid global variables as they are hard to handle since every open stack can access them and one tends to go into naming conventions for oneself that inadvertently declare a global in a different contexts, debugging that is a pain. I much prefer script local variables or cust...
by shadowslash
Fri Sep 24, 2010 9:27 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: disable button until condition
Replies: 14
Views: 11102

Re: disable button until condition

Thank you shadowslash! That is simple to understand and it does what I need it to! dunbarx, thanks for the example! Your solution is a bit trickier for a new kid. I will have to come back to it later to wrap my brain around it! No problem! I was also a tad-bit confused when I started with rev, err ...
by shadowslash
Fri Sep 24, 2010 8:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: param(1) questions
Replies: 6
Views: 4010

Re: param(1) questions

I think it's because the first parameter of the mouseUp handler is used for defining if the mouse button clicked was left (1, default) , right (3) or middle (2). The reason why it defaults to 1 is because you didn't define what mouse button was supposedly used to click your button "test". Thus, it r...
by shadowslash
Fri Sep 24, 2010 7:17 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: disable button until condition
Replies: 14
Views: 11102

Re: disable button until condition

Shame on dunbarx for hating on globals! D:< Anyway, I tried a different approach, I used the wait [ ? ] command. I even made you a demo stack which I attached to this post. Please download it and examine what I did, I also made it so that it uses 4 variables based on your previous statement. Please ...
by shadowslash
Fri Sep 24, 2010 6:49 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Where is the variable watcher?
Replies: 3
Views: 2909

Re: Where is the variable watcher?

Hi deebee,

If I'm not mistaken, the Variable Watcher has been moved to the bottom of the Script Editor on the Variables tab. Image
by shadowslash
Fri Sep 24, 2010 5:39 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Multi users
Replies: 2
Views: 2470

Re: Multi users

That depends on what you want to limit? Do you want to limit access to the stack? Limit some commands? Etc. If you want to limit in-stack related things and you aren't using a real database, you can consider outputting the limit flag on an external file like a text file then have your stack read it ...
by shadowslash
Thu Sep 23, 2010 3:48 pm
Forum: Talking LiveCode
Topic: Online Snippets library
Replies: 8
Views: 5453

Re: Online Snippets library

And what about livecodeCacheGeometry, livecodeUpdateGeometry, livecodeDatabaseColumnNumbered.. Imagine those commands inside our scripts http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/109.gif it would totally affect the length of the scripts! I know revCacheGeometry and the lot can still be used fo...
by shadowslash
Thu Sep 23, 2010 3:20 pm
Forum: Talking LiveCode
Topic: Online Snippets library
Replies: 8
Views: 5453

Re: Online Snippets library

Klaus wrote:The "official" new SUFFIX is "*.livecode" but "*.rev" also works :D
Yeah but using livecodeForums or livecodeResource (My little project) is a little too long right? Image
by shadowslash
Thu Sep 23, 2010 3:18 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: export field to rtf file
Replies: 19
Views: 15117

Re: export field to rtf file

Klaus wrote:Hi Jean-Marc,

no need to have sleepless night because of this, I am just curious :D


Best

Klaus
Too bad, I think it will haunt his nightmares until he can find the answer! D:

@topic: i'm glad you got it sorted out! Image
by shadowslash
Thu Sep 23, 2010 2:38 pm
Forum: Talking LiveCode
Topic: Online Snippets library
Replies: 8
Views: 5453

Re: Online Snippets library

Andy, That's a great idea. I made a start with somethign similar a while ago ( http://www.revclever.com ) but it is very difficult for one person to keep alive. This forum is a fantastic (wise, helpful and friendly) community... but a site devoted exclusivly to adding/sharing short code snippet ide...
by shadowslash
Tue Sep 21, 2010 7:03 pm
Forum: Talking LiveCode
Topic: Auto-Updater
Replies: 12
Views: 6583

Re: Auto-Updater

bsouthuk wrote:The script you have given doesnt work at all - the error i am getting is saying no such card.

The script I am using downloads the stack fine so issues with that this. Its just the database/mySQL functions do not work
Odd... What version are you using?
by shadowslash
Tue Sep 21, 2010 6:40 pm
Forum: Talking LiveCode
Topic: Auto-Updater
Replies: 12
Views: 6583

Re: Auto-Updater

Normally your set up should work. As for your updated stack script, here's a simpler script I believe would do what you're after on your mouseUp handler.

Code: Select all

on mouseUp
  go stack "http://some.url.to.a.stack.on.the.web"
end mouseUp
by shadowslash
Tue Sep 21, 2010 6:26 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Quitting while saving changes
Replies: 5
Views: 3587

Re: Quitting while saving changes

Hmm, just a random question but is this an application that you will have other people use in the future? Or will it only be used by you or a few people whom you personally made the software for? The reason I'm asking is because while it is the easiest to save the stack to the rev file, it would sti...
by shadowslash
Tue Sep 21, 2010 4:44 pm
Forum: Off-Topic
Topic: LiveCode
Replies: 47
Views: 32476

Re: LiveCode

kevinmiller wrote:Rev is smart and catchy but go and search for that in Google now and you'll see the problem.
I'd have to agree with that statement.

EDIT:
But then, there comes the question of why this was only thought of now and not in some earlier phase of the Rev evolution?
by shadowslash
Tue Sep 21, 2010 3:25 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How can you check if an exe is already running?
Replies: 3
Views: 2694

Re: How can you check if an exe is already running?

a-revuser wrote:Hi Shadowslash,
This is most helpful. I will be trying this out very soon. I expect many other users will be pleased with this code snippet as well.
Thanks! If you still get problems with it, please don't hesitate toask. Image

Go to advanced search