Re: Quit on Close -- booby trap

2008-05-22 Thread Mark Schonewille

Hi Sivakatirswami,

Here you'll find a script, which makes sure that your application  
doesn't keep running as a ghost process in Windows:




You might need to make a few adjustments, to stop and unload externals.

Best,

Mark

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Color Converter does what it says. Download it at 
http://economy-x-talk.com/cc.html

On 23 mei 2008, at 05:30, Sivakatirswami wrote:

I've just been informed off line that I laid a booby trap into one  
of my example revOnLine stacks that I normally deploy as a standalone:


on closestack
quit # make sure we don't leave a hung process on the user's system
end closestack

which of course is going to cause any developer working in the IDE  
to suddenly watch his work disappear as Rev quits. Unsaved changes  
would be lost as apparently the quit command over-rides Rev's built  
in dialog to save stacks before quitting. My apologies to anyone who  
had this happen to them.


I presume that  at least one "best practice" would be to *always*  
use the


if the environment is "development" then
close this stack
  else
 quit
end if

is that it? If not, please, what would the sages say that *is* best  
practice? and I will fix it.


Thanks
Sivakatirswami



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Quit on Close -- booby trap

2008-05-22 Thread Sarah Reichelt
On Fri, May 23, 2008 at 1:30 PM, Sivakatirswami <[EMAIL PROTECTED]> wrote:

> I presume that  at least one "best practice" would be to *always* use the
>
> if the environment is "development" then
> close this stack
>   else
>  quit
> end if
>
> is that it? If not, please, what would the sages say that *is* best
> practice? and I will fix it.
>

I have one further addition: add a "save this stack" before closing.

Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Quit on Close -- booby trap

2008-05-22 Thread Sivakatirswami
I've just been informed off line that I laid a booby trap into one of my 
example revOnLine stacks that I normally deploy as a standalone:


on closestack
 quit # make sure we don't leave a hung process on the user's system
end closestack

which of course is going to cause any developer working in the IDE to 
suddenly watch his work disappear as Rev quits. Unsaved changes would be 
lost as apparently the quit command over-rides Rev's built in dialog to 
save stacks before quitting. My apologies to anyone who had this happen 
to them.


I presume that  at least one "best practice" would be to *always* use the

if the environment is "development" then
 close this stack
   else
  quit
end if

is that it? If not, please, what would the sages say that *is* best 
practice? and I will fix it.


Thanks
Sivakatirswami




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: some images from RevLive

2008-05-22 Thread Mark Wieder
Jacque-

Next year maybe we *all* should wear paper bags with pictures of Jo's 
face...

-- 
 Mark Wieder
 [EMAIL PROTECTED] 



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining if Stack is Visible

2008-05-22 Thread Steven Axtell

Ken,

Thanks for the additional information.

Steve



One other approach I've used is:

 if ("My Stack" is among the lines of the windows) and \
(the vis of stack "My Stack" is true) then
   -- stuff goes here
 end if

You can use "the openStacks" instead of "the windows" - it's the same 
thing

(although "windows" is 2 less characters to type than "openStacks").


Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining if Stack is Visible

2008-05-22 Thread Ken Ray
> Thanks to all for your ideas.  Klaus, you were correct in that I meant open
> and visible on the screen.  Devin, you pointed out some information that I
> wasn't aware of.  I will take the information and see if I can get things to
> work.

One other approach I've used is:

  if ("My Stack" is among the lines of the windows) and \
 (the vis of stack "My Stack" is true) then
-- stuff goes here
  end if

You can use "the openStacks" instead of "the windows" - it's the same thing
(although "windows" is 2 less characters to type than "openStacks").


Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev and the Web

2008-05-22 Thread Neal Campbell K3NC
I can certainly understand that a company wants control of their  
message both in terms of content and timing. Look at MS as a great  
company that doesn't control it as much as they wish (witness some of  
the Longhorn videos on Utoob or the Gates announcement of the next  
Windows generation coming out next Summer?). So much can be  
misinterpreted, etc., especially when we are talking about paradigm  
changes like the plugin could be.


But having said (written?) that, the conference is just as binding/ 
public a channel of announcement (outside of the NDA session) as  
websites, press releases, etc. I know that personally as I have stuck  
my size 11's in my mouth quite a few times in previous incarnations by  
saying something in conferences that I felt was mainly intended for  
the audience in the room.


I doubt that Lynn is not honestly reporting what he heard at RevRun  
and doubt that Mark is not honestly trying to manage  expectations for  
the new features so Revrun doesn't disappoint us.


What we do need to hear is something more substantive than the  
newsletter/webpage because nature and Revrunners hate a vacuum. Lynn  
is obviously tremendously excited which makes me very very interested!



Neal Campbell

www.abrohamnealsoftware.com
AIM:nealk3nc






On May 22, 2008, at 12:18 PM, Lynn Fredricks wrote:


Reporting about non-existent features is also prediction. I'm
not saying that one shouldn't read your or anyone's blog. I
just want to point out that people should rely on the RunRev
website only, if they want to know which features RunRev has
or will have.


I have to disagree with you Mark. What is reported as "will have" on
RunRev's site is no more predictive that what I reported as coming  
from the
mouth of Kevin. But these features seem quite palpable compared with  
some
things discussed before as they were discussed in some detail and  
some even
demoed. You need a sunshine pill and a candy bar - smile and be  
happy :-)


Best regards,

Lynn Fredricks
Mirye Software Publishing
http://www.mirye.com

Mirye Community NING
http://miryesoftware.ning.com


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining if Stack is Visible

2008-05-22 Thread Steven Axtell
Thanks to all for your ideas.  Klaus, you were correct in that I meant open 
and visible on the screen.  Devin, you pointed out some information that I 
wasn't aware of.  I will take the information and see if I can get things to 
work.


I appreciate the help from all of you!

Steve 



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining if Stack is Visible

2008-05-22 Thread Paul Gabel

Steve:


if visible of stack "substack" is true then


should be 

Visible is a property, so you have to use the word "the" before it.

Paul Gabel
---
On May 22, 2008, at 6:22 AM, Steven Axtell wrote:


Mark,

I didn't state my question very clearly.  From what I see, the  
"visible" property is used to make the object visible or invisible  
but cannot be used to determine if the object is visible.  I know  
that I am missing something somewhere.  I tried using code something  
like the following:


if visible of stack "substack" is true then
 [process code]
end if

When I use this code nothing happens.

I appreciate your help.

Steve


- Original Message - From: "Mark Schonewille" <[EMAIL PROTECTED] 
>

To: "How to use Revolution" 
Sent: Thursday, May 22, 2008 7:58 AM
Subject: Re: Determining if Stack is Visible



Steve,

It's the same for stack.

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store  
software. Download at http://www.salery.biz


Op 22-mei-2008, om 14:55 heeft Steven Axtell het volgende geschreven:

I want to find out what code is used to determine if a stack is   
visible or not.  I see that the "visible" property is used to  
make  an object visible or invisible, but don't see how to  
determine if a  stack is visible.


Thanks,

Steve



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Rev and the Web

2008-05-22 Thread Lynn Fredricks
> Reporting about non-existent features is also prediction. I'm 
> not saying that one shouldn't read your or anyone's blog. I 
> just want to point out that people should rely on the RunRev 
> website only, if they want to know which features RunRev has 
> or will have.

I have to disagree with you Mark. What is reported as "will have" on
RunRev's site is no more predictive that what I reported as coming from the
mouth of Kevin. But these features seem quite palpable compared with some
things discussed before as they were discussed in some detail and some even
demoed. You need a sunshine pill and a candy bar - smile and be happy :-)

Best regards,

Lynn Fredricks
Mirye Software Publishing
http://www.mirye.com

Mirye Community NING
http://miryesoftware.ning.com 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: revOpenDatabase & umlauts (was: revDataFromQuery and umlauts)

2008-05-22 Thread Trevor DeVore

On May 22, 2008, at 8:51 AM, Ian Wood wrote:

Next problem - if I feed revOpenDatabase a filepath that contains  
any umlauts etc, I get "Database Error: Unable to open the database  
file" even though I've just done a successful check for the  
existence of the file.

Remove the UTF8 characters from the path and it works fine.


I don't know of a workaround but it has been reported:



--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Developer Resources: http://revolution.bluemangolearning.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining if Stack is Visible

2008-05-22 Thread Devin Asay


On May 22, 2008, at 7:22 AM, Steven Axtell wrote:


Mark,

I didn't state my question very clearly.  From what I see, the  
"visible" property is used to make the object visible or invisible  
but cannot be used to determine if the object is visible.  I know  
that I am missing something somewhere.  I tried using code  
something like the following:


if visible of stack "substack" is true then
  [process code]
end if

When I use this code nothing happens.


Steve,

A stack can be closed or open. A stack can also be visible or not  
visible. So it is possible that the visible property of a stack is  
true, but if that stack is closed it will still not be "seeable".  
Conversely, a stack may be open but have its visible property set to  
false. In that case it's also not "seeable". In the case of a stack  
you might have to say something like:


if the visible of stack "substack" AND the long id is among the lines  
of the stacks then

  -- do stuff
end if

Or alternatively:

go to stack "substack"
if the visible of stack "substack" then
  -- do stuff
end if

A minor style note: since the visible property always resolves to  
true or false, the following two conditional statements are identical:


if the visible of stack "substack" is true then
if the visible of stack "substack" then

Hope this helps.

Regards,

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: some images from RevLive

2008-05-22 Thread J. Landman Gay

Judy Perry wrote:

Oh, great-jumpin' geezo-creepers!

I think that next year I'd better wear a burqua :-/

(no insults intended towards any Muslim members; maybe I should have
said that I'd best wear a tent next year?).

Coming in disguise next year as Jabba the Hut  :-(


I told the team long before the conference that I was planning to wear a 
bag over my head. They nixed the idea, even though I offered to draw a 
picture of Jo's face on it.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining if Stack is Visible

2008-05-22 Thread Klaus Major

Hi Steven,


Mark,

I didn't state my question very clearly.  From what I see, the  
"visible" property is used to make the object visible or invisible  
but cannot be used to determine if the object is visible.  I know  
that I am missing something somewhere.  I tried using code something  
like the following:


if visible of stack "substack" is true then
 [process code]
end if

When I use this code nothing happens.

I appreciate your help.

Steve


wild guess: Maybe you mean visible = open and visible on screen?

In that case you could check:
...
if "name of stack" is in the openstacks then
 ## your stuff here...
end if
...


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining if Stack is Visible

2008-05-22 Thread Mark Schonewille

Hi Steve,

Maybe the visible of your stack is false? ;-)

I think the problem is somewhere else in you code.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Color Converter does what it says. Download it at 
http://economy-x-talk.com/cc.html

On 22 mei 2008, at 15:22, Steven Axtell wrote:


Mark,

I didn't state my question very clearly.  From what I see, the  
"visible" property is used to make the object visible or invisible  
but cannot be used to determine if the object is visible.  I know  
that I am missing something somewhere.  I tried using code something  
like the following:


if visible of stack "substack" is true then
 [process code]
end if

When I use this code nothing happens.

I appreciate your help.

Steve



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining if Stack is Visible

2008-05-22 Thread Brad Sampson
Steven,
put the visible of stack "Example"
words just fine for me.
Brad Sampson

On Thu, May 22, 2008 at 7:22 AM, Steven Axtell <[EMAIL PROTECTED]> wrote:
> Mark,
>
> I didn't state my question very clearly.  From what I see, the "visible"
> property is used to make the object visible or invisible but cannot be used
> to determine if the object is visible.  I know that I am missing something
> somewhere.  I tried using code something like the following:
>
> if visible of stack "substack" is true then
>  [process code]
> end if
>
> When I use this code nothing happens.
>
> I appreciate your help.
>
> Steve
>
>
> - Original Message - From: "Mark Schonewille"
> <[EMAIL PROTECTED]>
> To: "How to use Revolution" 
> Sent: Thursday, May 22, 2008 7:58 AM
> Subject: Re: Determining if Stack is Visible
>
>
>> Steve,
>>
>> It's the same for stack.
>>
>> Mark
>>
>> --
>>
>> Economy-x-Talk
>> Consultancy and Software Engineering
>> http://economy-x-talk.com
>> http://www.salery.biz
>>
>> Get your store on-line within minutes with Salery Web Store software.
>> Download at http://www.salery.biz
>>
>> Op 22-mei-2008, om 14:55 heeft Steven Axtell het volgende geschreven:
>>
>>> I want to find out what code is used to determine if a stack is  visible
>>> or not.  I see that the "visible" property is used to make  an object
>>> visible or invisible, but don't see how to determine if a  stack is visible.
>>>
>>> Thanks,
>>>
>>> Steve
>>
>>
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining if Stack is Visible

2008-05-22 Thread Steven Axtell

Mark,

I didn't state my question very clearly.  From what I see, the "visible" 
property is used to make the object visible or invisible but cannot be used 
to determine if the object is visible.  I know that I am missing something 
somewhere.  I tried using code something like the following:


if visible of stack "substack" is true then
  [process code]
end if

When I use this code nothing happens.

I appreciate your help.

Steve


- Original Message - 
From: "Mark Schonewille" <[EMAIL PROTECTED]>

To: "How to use Revolution" 
Sent: Thursday, May 22, 2008 7:58 AM
Subject: Re: Determining if Stack is Visible



Steve,

It's the same for stack.

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software. 
Download at http://www.salery.biz


Op 22-mei-2008, om 14:55 heeft Steven Axtell het volgende geschreven:

I want to find out what code is used to determine if a stack is  visible 
or not.  I see that the "visible" property is used to make  an object 
visible or invisible, but don't see how to determine if a  stack is 
visible.


Thanks,

Steve



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Determining if Stack is Visible

2008-05-22 Thread Mark Schonewille

Steve,

It's the same for stack.

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 22-mei-2008, om 14:55 heeft Steven Axtell het volgende geschreven:

I want to find out what code is used to determine if a stack is  
visible or not.  I see that the "visible" property is used to make  
an object visible or invisible, but don't see how to determine if a  
stack is visible.


Thanks,

Steve



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Determining if Stack is Visible

2008-05-22 Thread Steven Axtell
I want to find out what code is used to determine if a stack is visible or not. 
 I see that the "visible" property is used to make an object visible or 
invisible, but don't see how to determine if a stack is visible.

Thanks,

Steve
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


revOpenDatabase & umlauts (was: revDataFromQuery and umlauts)

2008-05-22 Thread Ian Wood
Next problem - if I feed revOpenDatabase a filepath that contains any  
umlauts etc, I get "Database Error: Unable to open the database file"  
even though I've just done a successful check for the existence of the  
file.

Remove the UTF8 characters from the path and it works fine.

OS X 10.5.2
Rev Studio 2.9.0 dp1

Any known workarounds? All I can find in the QCC is #4897 for creating  
files, nothing about revOpenDatabase failing.


Thanks in advance,

Ian

P.S. This is the code:

 if there is a file tLibPath then
get revOpenDatabase("sqlite",tLibpath)
put it into tTemp
set the propApDBID of stack "apertureLib" to tTemp
return true
else
answer "no db file found"
return "Library cannot be found!"
end if
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution