In openCard script of the main stack:
global gBgColor
put 0, 0, 0 into gBgColor
In a button script in a substack:
on mouseUp
global gBgColor
answer color with gBgColor --white is selected
put it into gBgColor
put gBgColor cr after msg
--255, 255, 255
Why are you putting the global for the substack inside a handler? globals
don't live there. It should be OUTSIDE the handlers in the substack script.
On 9 July 2011 23:02, Slava Paperno sl...@lexiconbridge.com wrote:
In openCard script of the main stack:
global gBgColor
put 0, 0, 0 into
Slava,
sorry to be so abrupt.
There are three main categories of variables.
global - must be declared in every script that wants to subscribe to it,
outside of handlers
script local - declared and used only in the script it's contained by,
outside of handlers
handler local - declared and used
Hi
I just recreated you scripts in a stack.
Stephen Barncard is correct the more usual place to put the global statement
is outside the handlers at the top of the script.
However. Your original card script is incomplete since the 'put' statement
needs to be put into a handler.
eg
global
Looks good Andre!
On Sat, Jul 9, 2011 at 11:39 PM, Marian Petrides, M.D.
mpetri...@earthlink.net wrote:
Very nice, Andre!
Sent from my iPad
On Jul 9, 2011, at 11:05 PM, Andre Garzia an...@andregarzia.com wrote:
Hello Folks,
It is full of joy and pride that I announce my website
Andre, are you refining it at the moment - or changing DNS - as it doesn't seem
to be available?!?
Best,
Keith..
On 10 Jul 2011, at 05:05, Andre Garzia wrote:
Hello Folks,
It is full of joy and pride that I announce my website redesign here. Those
that accessed my home page recently knew
Thanks Chipp and Marian!
=)
During the next days, I will add a lot more to the site, so stay tunned. :-)
On Sun, Jul 10, 2011 at 3:31 AM, Chipp Walters ch...@chipp.com wrote:
Looks good Andre!
On Sat, Jul 9, 2011 at 11:39 PM, Marian Petrides, M.D.
mpetri...@earthlink.net wrote:
Very
Thanks Stephen and Ian. It is true that I declare each global variables
inside every handler where it is used. I have a sizable application now
where this strategy is employed everywhere. In doing so I followed this
statement in the User Guide to 4.6.2:
5.5.4 Global Variables (page 143, below the
Slava-
Saturday, July 9, 2011, 11:02:16 PM, you wrote:
In the Message box:
put gBgColor
--0, 0, 0
You have to declare the global variable. In the message box try
global gBgColor; put gBgColor
--
-Mark Wieder
mwie...@ahsoftware.net
___
Hi Slava
I understand what you mean about portability - I've been caught out myself
many times reusing a handler and forgetting to copy the global declarations
at the top of the script but you may find a post by Richard Gaskin to this
list a few days ago useful for future projects. I paste his
Look great ;-)
Le 10 juil. 2011 à 06:05, Andre Garzia a écrit :
Hello Folks,
It is full of joy and pride that I announce my website redesign here. Those
that accessed my home page recently knew that it was not being updated
often, actually, it was not being updated at all. I always wanted
...no worries, Andre - it's up and looking great!
On 10 Jul 2011, at 08:02, Andre Garzia wrote:
Keith,
Thanks for the heads up. I am having trouble with this VPS, I might change
to some other server soon.
Cheers
andre
On Sun, Jul 10, 2011 at 3:53 AM, Keith Clarke
Andre, congratulations, the pages are lovely (and informative.)
Scott Morrow
Elementary Software
(Now with 20% less chalk dust!)
web http://elementarysoftware.com/
email sc...@elementarysoftware.com
--
On Jul 9, 2011, at 9:05 PM,
Nice! Easy on the eyes - and a good read, too!
On 10/07/2011 05:05, Andre Garzia wrote:
Hello Folks,
It is full of joy and pride that I announce my website redesign here. Those
that accessed my home page recently knew that it was not being updated
often, actually, it was not being updated at
Apologies for the length of the following...
A client of mine has asked if I could create a stack that can deliver a
Web-based app as a local application. The result will not be truly local
because the app will not run without a Web connection, but regardless, I've
starting build a stack with
Hi Andre,
Am 10.07.2011 um 06:05 schrieb Andre Garzia:
Hello Folks,
It is full of joy and pride that I announce my website redesign here. Those
...
http://andregarzia.com
nice stock photos :-)
Best
Klaus
--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com
Hi,
I've just created an app for LiveCode programmers. I'm looking for someone with
an old iPhone and iOS 3.x. Is anyone willing to test? I'll give you the app for
free when it is released.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage:
On Sun, Jul 10, 2011 at 6:24 AM, Mark Schonewille
m.schonewi...@economy-x-talk.com wrote:
Hi,
I've just created an app for LiveCode programmers. I'm looking for someone
with an old iPhone and iOS 3.x. Is anyone willing to test? I'll give you the
app for free when it is released.
--
Best
On Sun, Jul 10, 2011 at 7:57 AM, Klaus on-rev kl...@major.on-rev.comwrote:
Hi Andre,
Am 10.07.2011 um 06:05 schrieb Andre Garzia:
Hello Folks,
It is full of joy and pride that I announce my website redesign here.
Those
...
http://andregarzia.com
nice stock photos :-)
yes they
Scott
Issue number 1 is the loading of pages: is there anyway to freeze or lock
the
RevBrowser display until downloading of new page content has completed?
The site can be slow to respond, so my thought was to pop up a spinning
progress indicator over a snapshot of the current page so the
I'm curious about globals and the message box. I've been doing both
(omitting the global declaration and including it) and I haven't seen any
difference, but I've seen conflicting opinions in the posts here as well as
some forums. What's the skinny on this?
Slava
In the Message box:
put
Mark,
Argh, I should have read that some days ago. I just upgraded to iOS 4
Cheers
andre
On Sun, Jul 10, 2011 at 8:24 AM, Mark Schonewille
m.schonewi...@economy-x-talk.com wrote:
Hi,
I've just created an app for LiveCode programmers. I'm looking for someone
with an old iPhone and iOS
Beautiful!
LiveCode + RevIgniter/R.Bitter + Garzia + 24 Hours = Amazing
Jim Lambert
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
Thanks, David,
I got 3 testers now. If still need more people to test the app then I'll send
you an e-mail.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
New:
Thanks again, Ian. Yes, I followed that defining and using globals in an
application discussion very closely, and of all the great ideas that were
shared I liked the accessors and the arrays best.
About my post from 8 hours ago: I apologize for wasting people's time. It
was what we like to call
The following script will open up the requested Windows System Folder. You
don't need to know where the desired folder is buried; you only need to know
the name.
---
-- text in fld 1 --
---
explorer shell:Common Start Menu
---
-- script in
You can create the htmltext by hand as suggested, or you can do something like
the following (not tested):
-- script snippet
local dvdr = -- or whatever
-- tEntry contains the template for an entry
replace timestamp with tTime in tEntry
replace firstName with
Andre,
… nice design, great content.
Ralf
On 10.07.2011, at 06:05, Andre Garzia wrote:
Hello Folks,
It is full of joy and pride that I announce my website redesign here. Those
that accessed my home page recently knew that it was not being updated
often, actually, it was not being
Slava-
Sunday, July 10, 2011, 7:46:21 AM, you wrote:
handler was forwarding the openCard message which in turn reinitialized the
globals, and thus the new value got lost. My only excuse is that it was 3 AM
on a Sunday.
And this is exactly why I think the use of global variables is a Bad
Andre-
Sunday, July 10, 2011, 7:12:21 AM, you wrote:
yes they are from stockexchange... :-)
Every April First in San Francisco we have our annual Sock Exchange.
--
-Mark Wieder
mwie...@ahsoftware.net
___
use-livecode mailing list
Thank you for taking the time to answer my request, Mark, I appreciate it
very much.
So, yes, I was using a mac to do that scripting. And yes, your comments were
right on. There is one more component to my mess, though, namely that I had
deleted some of the auto-added menu items, such as
On 7/10/11 12:08 PM, rand valentine wrote:
I wish we had better documentation of all of
these details in LiveCode, but I'm not holding my breath, having used it and
its ancestors for many years. But with your help I was able to at least get
something working.
Page 259 of the User Guide. ;)
As
Interesting. Thanks, Jacque. Mark, yes I see your point. You are right.
S.
Sent from my mobile so please excuse brevity and typos.
- Reply message -
From: J. Landman Gay jac...@hyperactivesw.com
To: How to use LiveCode use-livecode@lists.runrev.com
Subject: global variable change in
On Jul 10, 2011, at 10:30 AM, Michael Kann wrote:
on mouseUp
set hideConsoleWindows to true
put shell(fld 1) into IGNORE
end mouseUp
---
-- gotchas
---
Without the IGNORE you get the msg box popping up.
That's because you're using put... if you do:
Hi, all. I've put a menu in a stack (using the autobuild in the
MenuBuilder) I've made which has a light blue background. In Windows, this
menu for some reason has a silver opaque background behind it. Of course,
with Mac OS the menu's beamed up, so background isn't an issue. I don't see
a way to
Hi Peter, Ian,
I'm getting closer :)
Formatting works quite well this way.
Thanks again,
John.
On Jul 10, 2011, at 6:16 PM, Peter Brigham MD wrote:
You can create the htmltext by hand as suggested, or you can do something
like the following (not tested):
-- script snippet
local
There was a change in the way Mac menus are handled in 4.6 - see page 25 of
the release notes at
http://www.runrev.com/downloads/livecode/4_6_0/LiveCodeNotes-4_6_0.pdf.
I don;t think these changes made it to the User Manaul yet.
Pete
Molly's Revenge http://www.mollysrevenge.com
On Sun, Jul
To echo what others have said good looking site with great content.
One query - normally I can use cmd- to go back to previous page (Chrome
on Mac), but cannot do that on your site. Is that something you are
deliberately preventing ? (and if so, why ?)
if not, is it something easily
Ken,
Thanks for all the info. Also thanks for the web presentation a couple of weeks
ago.
Mike
--- On Sun, 7/10/11, Ken Ray k...@sonsothunder.com wrote:
From: Ken Ray k...@sonsothunder.com
Subject: Re: Windows System Folder Script
To: How to use LiveCode use-livecode@lists.runrev.com
Date:
Alex,
This might be some javascript bug here, I will try to fix it. I miss it too.
Cheers
andre
On Sun, Jul 10, 2011 at 4:36 PM, Alex Tweedly a...@tweedly.net wrote:
To echo what others have said good looking site with great content.
One query - normally I can use cmd- to go back to
Thanks Guys!
--
http://www.andregarzia.com All We Do Is Code.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
Here's another twist on this. The Message Box has the ability to create
global variables - click the 4th icon from the left in the toolbar at the
top left of the message bar.
If you define a global variable with a name that starts with a $ sign, it
seems to be available from any script without
Does anybody have any experience with the Launch command to launch an app on a
remote server? I imagine this could be done, possible via a php script.
Thanks,
Ray Horsley
LinkIt! Software
___
use-livecode mailing list
use-livecode@lists.runrev.com
More RevBrowser weirdness...
While testing the running of a Web app in a RevBrowser stack on Vista, any
page that contains Javascript errors causes an IE script error window to
appear... WTF? How can this be disabled or at least handled?
Thanks for any advice.
Regards,
Scott Rossi
Creative
As soon as it gets web access . . .
Bruce Pokras
Blazing Dawn Software
On Jul 9, 2011, at 12:25 PM, J. Landman Gay wrote:
On 7/9/11 10:16 AM, Roger Eller wrote:
Just wondering if I am alone... echo... echo... ;-)
What are your plans or aspirations regarding the Android platform and
Here's an interesting optical illusion:
http://xfiles.funnygarbage.com/~colinholgate/images/diagonals.jpg
Notice how the images seems to be slanted slightly, and even appears to go into
the browser window chrome.
___
use-livecode mailing list
Colin,
I only see a diagonal lines in different shades of blue and a peanut with three
legs and two eyes. How many images, you say?
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter:
According to the dictionary: If the *lockLocation* of a group is false, the
group is automatically resized when the objects in it are moved, resized,
hidden, or shown.
I have a group that has just one control in it - a datagrid - and its
lockloc is false. If I resize the datagrid by dragging its
Do any of you have a LiveCode stack that simply goes through a list of
features available, and validates whether they are present on the current
platform or not. I'm thinking of an app that incorporates everything (basic
of course) that is a capability on Mac, Lin, or Win, and shows us a list
Don't zoom in on the image, just view it at normal size, then you may see what
I mean.
On Jul 10, 2011, at 8:26 PM, Mark Schonewille wrote:
Colin,
I only see a diagonal lines in different shades of blue and a peanut with
three legs and two eyes. How many images, you say?
--
Best
I would not recommend that most people test against iOS 5 yet. It's still
only at DP-2. Plus if you aren't an experienced iOS developer there will be
a learning curve just figuring out how to install iOS 5, (redacted), and
(redacted).
--
On the first day, God created the heavens and the Earth
Looks awesome Andre!! Congrats!!
use-livecode-requ...@lists.runrev.com wrote:
From: Andre Garziaan...@andregarzia.com
To: How to use LiveCodeuse-livecode@lists.runrev.com, Improvements
to Revolutionimprove-livec...@lists.runrev.com
Subject: [ANN] AndreGarzia.Com new web page.
Thanks
Did you saw your page on the links? =)
Hope all is well over there!
Cheers
andre
On Sun, Jul 10, 2011 at 11:32 PM, David Beck david_b...@rotundasoftware.com
wrote:
Looks awesome Andre!! Congrats!!
Thanks Mike for the advice.
On Sun, Jul 10, 2011 at 8:55 PM, Mike Kerner mikeker...@roadrunner.comwrote:
I would not recommend that most people test against iOS 5 yet. It's still
only at DP-2. Plus if you aren't an experienced iOS developer there will
be
a learning curve just figuring out
Scott,
You might want to make sure you're using an updated version of IE on
Windows.
On Sun, Jul 10, 2011 at 6:21 PM, Scott Rossi sc...@tactilemedia.com wrote:
More RevBrowser weirdness...
While testing the running of a Web app in a RevBrowser stack on Vista, any
page that contains
On 7/10/11 3:34 PM, Pete wrote:
If you want a variable that is truly global without having to declare it
everywhere, this seems to offer that option. You'd have to find a way to
create such variables by script rather than through the message box though -
maybe they are created as OS
Thanks for the info.
Pete
Molly's Revenge http://www.mollysrevenge.com
On Sun, Jul 10, 2011 at 9:25 PM, J. Landman Gay jac...@hyperactivesw.comwrote:
On 7/10/11 3:34 PM, Pete wrote:
If you want a variable that is truly global without having to declare it
everywhere, this seems to offer
57 matches
Mail list logo