Re: Making the move...

2006-03-16 Thread Dan Shafer
Well, at least from the mc stack, you just run it and it seems to intercept
the call on the designated port. You can manually change the port in the
launch stack as well.

PRetty cool stuff.


On 3/16/06, Jim Ault <[EMAIL PROTECTED]> wrote:
>
>
>
>
> On 3/16/06 6:54 PM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote:
> > The default port in mchttpd is 8080 -- on my Mac I use:
> >
> >  http://localhost:8080/
>
> Woiks very good... cool.
>
>
> Is there a tutorial about how to put this in action on my G4 that has a
> static IP?  I know that Apache would be the default receiver of 8080
> traffic
> and I am definitely not a config-mechanic.
>
>
--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
>From http://www.shafermediastore.com/tech_main.html
___
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: Making the move...

2006-03-16 Thread Jim Ault



On 3/16/06 6:54 PM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote:
> The default port in mchttpd is 8080 -- on my Mac I use:
> 
>  http://localhost:8080/

Woiks very good... cool.


Is there a tutorial about how to put this in action on my G4 that has a
static IP?  I know that Apache would be the default receiver of 8080 traffic
and I am definitely not a config-mechanic.

Jim Ault
Las Vegas



> Jim Ault wrote:
>> On 3/16/06 10:13 AM, "Richard Gaskin" wrote:
>>> I would enourage those interested in web apps grab
>>> Dr. Raney's mchttpd.mc and play with it a while.
>>> It's a thing of beauty to just open the stack,
>>> click the "Start" button, and call it with your
>>> browser.
>> 
>> I am beginning to step toward the world of web apps
>> and  did the dnld of the mchttpd app, started it on
>> a G5, but am not sure how to access it.
>> 
>> Tried in Safari
>> (on the same OSX 10.4.2 computer)
>> (& IE on Win32 behind the same router)
>> 
>>  http://192.186.15.100
>>  http://192.186.15.100/index.html
>> 
>> => can't find the server
>> 
>> Does the mchttpd computer have to have static IP?
>> 
>> Although I am new at this, I know someone who might jump
>> into Rev if he saw this working.


___
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: Developer Annoyance #1

2006-03-16 Thread Chipp Walters

Good point Jim,

I really like 'call' as it doesn't create a context for the 
handler/function. Check it out in the dictionary.


Jim Ault wrote:

Ooops, I got the wrong idea from your use of value(merge... etc

You can use the 'send' or 'call' commands to use a function outside the
message hierarchy, even in another stack.


___
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: Pass - is it really needed

2006-03-16 Thread Chipp Walters
Yep, I'd prefer Constellation not place a 'pass' automatically in 
handlers. I'm sure Jerry will add it as a preference some day :-)


-Chipp

But, you gotta love the tabbed browsing AND the GREAT debugger which 
doesn't flake out for no apparent reason. Jerry's told me he's worked 
really hard on making the debugger as robust as possible..and it shows.


Thomas McGrath III wrote:
That is correct. I finally see how powerful Constellation is in my  work 
flow.


On Mar 17, 2006, at 12:22 AM, J. Landman Gay wrote:


Thomas McGrath III wrote:

The reason I ask is that when I insert a new command it throws in  a  
pass with that commands name by default.



This isn't native Revolution behavior. Are you using Constellation?


___
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: Pass - is it really needed

2006-03-16 Thread Thomas McGrath III
That is correct. I finally see how powerful Constellation is in my  
work flow.


On Mar 17, 2006, at 12:22 AM, J. Landman Gay wrote:


Thomas McGrath III wrote:

The reason I ask is that when I insert a new command it throws in  
a  pass with that commands name by default.


This isn't native Revolution behavior. Are you using Constellation?

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







___
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: Busy Again

2006-03-16 Thread Thomas McGrath III
Well it's 1:30 AM and I have now finished 134 Functions and Commands  
for my little library. Only about 30 or 40 more to go. I do love the  
challenge of scripting in three different languages as well.  
Transcript, Applescript and Python. I think it is frying my brain to  
a crisp.


But when you're hot, you're hot and you better get while the going is  
getting or hot umm, maybe that's strike while the iron is hot.


Umm... yeah OK, off to sleep.

Yours truly

Tom

On Mar 16, 2006, at 9:59 PM, Garrett Hylltun wrote:


Thomas McGrath III wrote:

Hey you guys and gals,
I just have to say that since my last project I was being rather  
sluggish in jumping on the 'new' project.
Well, yesterday I started twiddling around writing a couple of  
handlers and 'seeing' where they might lead. Next thing you know  
Transcript just sucked me right in. i was hooked all over again. I  
couldn't sleep. I


Sounds like an Intervention might have to come into play for you!  ;-)

-Garrett

___
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


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







___
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: Developer Annoyance #1

2006-03-16 Thread J. Landman Gay

Andre Garzia wrote:

Err...

can't you make it a Handler use send and check for the result???

send "calc VarA, VarB" to btn "source"
put the result into localResult

of course calc is not a function but a handler with a return statement.

Cheers
andre



On Mar 17, 2006, at 2:55 AM, Jim Ault wrote:


I'm not sure that this is the right direction for any language to be
headed. Please explain why we can't have the following syntax:

  put calc(varA,varB) of btn "source" into localResult



Or there's a really ugly way too, but it's short:

  insert script of btn "source" into back
  put calc(varA,varB) into localResult
  remove script of btn "source" from back

I know, I know...but it works.

--
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: Developer Annoyance #1

2006-03-16 Thread Jim Ault
Ooops, I got the wrong idea from your use of value(merge... etc

You can use the 'send' or 'call' commands to use a function outside the
message hierarchy, even in another stack.

As Andre has shown

send "calc VarA, VarB" to btn "source"
put the result into localResult

where...
on calc VarA, VarB
...do work here
return theVal
end calc

or

insert the script of btn "source" into back
--now the handler(s) are in the message hierarchy
 put calc(varA,varB) into localResult
remove the script of btn "source" from back --now or later

Jim Ault
Las Vegas

On 3/16/06 9:43 PM, "Arthur Urban" <[EMAIL PROTECTED]> wrote:

> I think a new syntax needs to be made available for calling functions
> outside the message hierarchy. The existing mechanism does not lend
> itself to high readability or maintainability. Consider the following,
> if you will:
> 
>   put 1 into varA
>   put 2 into varB
>   put value( merge("calc([[varA]],[[varB]]))", btn "source" ) into
> localResult
> 
> further, if I need to protect the integrity of the variable passed it
> begins to look like this:
> 
>   put "1,2,3" into varA
>   put 4 into varB
>   put value( merge("calc([[quote&varA"e]],[[varB]]))", btn "source"
> ) into localResult
> 
> I'm not sure that this is the right direction for any language to be
> headed. Please explain why we can't have the following syntax:
> 
>   put calc(varA,varB) of btn "source" into localResult
> 
> ___
> 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: Developer Annoyance #1

2006-03-16 Thread Jim Ault
Ahh, if you are trying to make embedded quotes
as in 'the formatted string' construct ?

where localResult should be the string ofcalc(varA,varB) of btn "source"

You can do the a few ways depending on your starting and ending strings and
your preference

ONE
put "calc(varA,varB) of btn ""e&"source""e into localResult

TWO
put quote into q
put "calc(varA,varB) of btn "&q&"source"&q into localResult

THREE
put "calc(varA,varB) of btn ^source^" into localResult
replace "^" with quote in localResult

FOUR
make a simple 'formatted string' function that does the quoting for you.

If you are quoting for Unix or shell commands you may have to 'escape' them
in your function.
If you are quoting for HTML or AppleScript  or other, you may only have to
produce the simple replacement

Am I understanding your question?

Jim Ault
Las Vegas

On 3/16/06 9:43 PM, "Arthur Urban" <[EMAIL PROTECTED]> wrote:

> I think a new syntax needs to be made available for calling functions
> outside the message hierarchy. The existing mechanism does not lend
> itself to high readability or maintainability. Consider the following,
> if you will:
> 
>   put 1 into varA
>   put 2 into varB
>   put value( merge("calc([[varA]],[[varB]]))", btn "source" ) into
> localResult
> 
> further, if I need to protect the integrity of the variable passed it
> begins to look like this:
> 
>   put "1,2,3" into varA
>   put 4 into varB
>   put value( merge("calc([[quote&varA"e]],[[varB]]))", btn "source"
> ) into localResult
> 
> I'm not sure that this is the right direction for any language to be
> headed. Please explain why we can't have the following syntax:
> 
>   put calc(varA,varB) of btn "source" into localResult
> 
> ___
> 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: Developer Annoyance #1

2006-03-16 Thread Andre Garzia

Err...

can't you make it a Handler use send and check for the result???

send "calc VarA, VarB" to btn "source"
put the result into localResult

of course calc is not a function but a handler with a return statement.

Cheers
andre



On Mar 17, 2006, at 2:55 AM, Jim Ault wrote:


I'm not sure that this is the right direction for any language to be
headed. Please explain why we can't have the following syntax:

  put calc(varA,varB) of btn "source" into localResult



___
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: Developer Annoyance #1

2006-03-16 Thread Jim Ault

> I'm not sure that this is the right direction for any language to be
> headed. Please explain why we can't have the following syntax:
> 
>   put calc(varA,varB) of btn "source" into localResult
> 
Please explain what you mean by this.. I don't understand what you are
trying to do

What is 'calc(varA,varB) of btn "source"
At the moment, this makes no sense to me.

Jim Ault
Las Vegas


On 3/16/06 9:43 PM, "Arthur Urban" <[EMAIL PROTECTED]> wrote:

> I think a new syntax needs to be made available for calling functions
> outside the message hierarchy. The existing mechanism does not lend
> itself to high readability or maintainability. Consider the following,
> if you will:
> 
>   put 1 into varA
>   put 2 into varB
>   put value( merge("calc([[varA]],[[varB]]))", btn "source" ) into
> localResult
> 
> further, if I need to protect the integrity of the variable passed it
> begins to look like this:
> 
>   put "1,2,3" into varA
>   put 4 into varB
>   put value( merge("calc([[quote&varA"e]],[[varB]]))", btn "source"
> ) into localResult
> 
> I'm not sure that this is the right direction for any language to be
> headed. Please explain why we can't have the following syntax:
> 
>   put calc(varA,varB) of btn "source" into localResult
> 
> ___
> 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


Developer Annoyance #1

2006-03-16 Thread Arthur Urban
I think a new syntax needs to be made available for calling functions 
outside the message hierarchy. The existing mechanism does not lend 
itself to high readability or maintainability. Consider the following, 
if you will:


 put 1 into varA
 put 2 into varB
 put value( merge("calc([[varA]],[[varB]]))", btn "source" ) into 
localResult


further, if I need to protect the integrity of the variable passed it 
begins to look like this:


 put "1,2,3" into varA
 put 4 into varB
 put value( merge("calc([[quote&varA"e]],[[varB]]))", btn "source" 
) into localResult


I'm not sure that this is the right direction for any language to be 
headed. Please explain why we can't have the following syntax:


 put calc(varA,varB) of btn "source" into localResult

___
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: Icon for OS X compiled .app not showing :-(

2006-03-16 Thread J. Landman Gay

Garrett Hylltun wrote:

But after the standalone was saved, the icons I made are not being used 
at all for the .app in finder.  It's using the default icon from OS X as 
if mine didn't exist or something.


As you know now, Mark's suggestion works. So does zipping and then 
unzipping the standalone, which is what I always used to do. But the 
coolest trick was just posted here within the last week or so, and I 
thought it was Mark Talluto's trick too (if I remember right.) Anyway, 
you do a "get info" on the file, select the icon, and choose "Delete" 
from the Edit menu. Bingo. I have now changed my ways.



--
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: Get a handler from a script

2006-03-16 Thread Jim Ault
Perhaps using 

set the wholematches to true
put lineOffset("on" && pHandlerName, pScript) into tStart
if tStart is 0 then put lineOffset("function" && pHandlerName, pScript) into
tStart
put (lineOffset("end" && pHandlerName, pScript) +1 into tEnd


answer tStart & cr & tEnd

Jim Ault
Las Vegas

On 3/16/06 7:04 PM, "Mark Smith" <[EMAIL PROTECTED]> wrote:

> The reason I think Roberts is more the ticket is that it deals with
> the case where you have a handler 'jumpHigh' as well as a handler
> 'jump' later in the script -- this means we need to check for the end
> of the handler name - which could be a space if there are parameters,
> or cr if not.
> 
> We can avoid checking that for the 'end' line by using the third
> parameter to lineOffset -- lines to skip, so a revised version might
> be:
> 
> function extractHandlerFromScript pScript,pHandlerName
>   put lineOffset("on" && pHandlerName & space, pScript) into tHandlerBegin
>   if tHandlerBegin is 0 then put lineOffset("on" && pHandlerName & cr,
> pScript) into tFooBar1
> -- this deals with either space or cr at the end of the handler name
> -- and we don't need to check for 'function' since it contains 'on'
> 
>   if tHandlerBegin is 0 then return empty
>   put lineOffset("end" && pHandlerName,pScript,tHandlerBegin) into tHandlerEnd
>   if pHandlerEnd is 0 then return empty 
>   return line tHandlerBegin to tHandlerEnd of pScript
> end extractHandlerFromScript
> 
> Cheers,
> 
> Mark
> 
> On 17 Mar 2006, at 02:48, Thomas McGrath III wrote:
> 
> Mark and Robert,
> 
> I needed to check for functions as well. So I adapted the script from
> Mark into this:
> 
> function getHandlers hName,tControl
> put the script of card tControl into tScript
> put tScript
> get lineOffset("on " & hName,tScript)
> if it = 0 then
> get lineOffset("function " & hName,tScript)
> end if
> if it = 0 then return "not found"
> put it into startLine
> get lineOffset("end " & hName,tScript)
> return line startLine to it of tScript
> end getHandlers
> 
> Thank you so much for your help,
> 
> Tom
> 
> 
> On Mar 16, 2006, at 9:16 PM, Mark Smith wrote:
> 
> Not tested, but something like this should work:
> 
> function getHandler hName,tControl
>   put the script of control tControl into tScript
>   get lineOffset("on " & hName,tScript)
>   if it = 0 then return "not found"
>   put it into startLine
>   get lineOffset("end " & hName,tScript)
>   return line startLine to it of tScript
> end getHandler
> ___
> 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: Pass - is it really needed

2006-03-16 Thread J. Landman Gay

Thomas McGrath III wrote:

The reason I ask is that when I insert a new command it throws in a  
pass with that commands name by default.


This isn't native Revolution behavior. Are you using Constellation?

--
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: Making the move...

2006-03-16 Thread Collabyrinth VPN

Michael

Well, I was looking for solution to fasttrack an entirely different 
project when I ran across Revolution. I've been running it on a 
Groundhog Day WinBox, but it's dive-time for me, most certainly. This 
list is also a very fertile group, I think, and that's helped immensely.


Sometimes I think we programmers take far too much pride in the 
*complexity* of what we do, and shun truly productive environments 
because "anyone can do it" kind of thinking. (You're reading this from a 
guy who writes Pike/Ruby/PHP/C/SB code in a freeware editor just to be 
macho man because I'm surrounded by people 2/5ths my age. Job security.)


This is a useful, powerful product, and the way it gets more exposure is 
if we turn out high-quality, attractive and powerful websites & apps to 
prove it.


With apologies to VB lovers anywhere, this ain't exactly Visual Basic.

Regards,
Peter

[EMAIL PROTECTED] wrote:

Wow Peter, great!  As one of the "lurkers" who has been toying with  
Revolution before taking a dive, this is indeed inspiring.


Thanks,

Michael


On Mar 16, 2006, at 7:44 PM, Collabyrinth VPN wrote:


Wally

As (your) luck would have it, we're working on exactly such a  
document for the poor unfortunates who will inherit the servers  once 
I've wrought havoc on them.


This is pro bono stuff for the fellowship AFAIC, for keeping me  
sober since 1979, so by all means, when it's done and relatively  
stable, I'll release it in the RunRev wild.


Some of the stuff around FastCGI is a bit tricky, but I think the  
documentation will pull you through. If it doesn't, you know where  
to get me.


So, about the coffee ...

Peter Elliott

Wally Rodriguez wrote:

How about a tutorial on how to set up Rev to use FastCGI. For  
those  of us for whom a lot of these terms are totatlly new, it  
would be  great to be able to take advantage of some of these tools.


I know I'm already salivating at the possibilities of merge(),   
something I just learned about on this thread.


W.

On Mar 16, 2006, at 1:34 PM, Collabyrinth VPN wrote:

Forgive the intrusion from a 'lurker', but as I've learned so  
much  from you all the last three months, it's time I gave  
something back.


I'm developing using Ruby on Rails on both Windows XP Pro SP2 &   
(Knoppix) Linux simultaneously.


Rev works just fine with FastCGI. Fwiw, I'd be happy to set up  
some  benchmarks and publish the results next week, if it helps.


A brief general comment. I use and modify the Ruby code to  handle  
the 'unseen' parts, if you will, and Rev to generate what  the 
user  sees on the websites. I see Rev as complementary to  ROR, and 
it  seems to work well. A good mix.


Cheers from Canada
Peter Elliott




___
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



___
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: [ANN] tm|color and tm|gradient Updates

2006-03-16 Thread Scott Kane
> If you all haven't seen the URL's below, you should take a minute and 
> have a look!

Agreed.  Fantastic stuff!

Scott K

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.4/283 - Release Date:
16/03/2006
 

___
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: Get a handler from a script

2006-03-16 Thread Robert Brenstein

The reason I think Roberts is more the ticket is that it deals with
the case where you have a handler 'jumpHigh' as well as a handler
'jump' later in the script -- this means we need to check for the end
of the handler name - which could be a space if there are parameters,
or cr if not.

We can avoid checking that for the 'end' line by using the third
parameter to lineOffset -- lines to skip, so a revised version might
be:

function extractHandlerFromScript pScript,pHandlerName
  put lineOffset("on" && pHandlerName & space, pScript) into tHandlerBegin
  if tHandlerBegin is 0 then put lineOffset("on" && pHandlerName & cr,
pScript) into tFooBar1
-- this deals with either space or cr at the end of the handler name
-- and we don't need to check for 'function' since it contains 'on'

  if tHandlerBegin is 0 then return empty
  put lineOffset("end" && pHandlerName,pScript,tHandlerBegin) into tHandlerEnd
  if pHandlerEnd is 0 then return empty
  return line tHandlerBegin to tHandlerEnd of pScript
end extractHandlerFromScript

Cheers,

Mark



Great improvements, Mark.

Robert
___
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: Get a handler from a script

2006-03-16 Thread Mark Wieder
Tom-

Thursday, March 16, 2006, 5:25:12 PM, you wrote:

> But, I would like to get just one of the handlers from a script via
> script:put handler "FooBar" of the script of card "Foo" into tBar

Here's a simplified version of what I do:

-- pHandler is the name of the handler to extract
-- pScript is the entire script text
function FindHandler pHandler, pScript
  local tStart, tEnd

  put lineOffset("on" && pHandler, pScript) into tStart
  put lineOffset("end" && pHandler, pScript) into tEnd
  return line tStart to tEnd of pScript
end FindHandler

-- 
-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: [ANN] tm|color and tm|gradient Updates

2006-03-16 Thread Chipp Walters
Wow Scott! Very impressive. I didn't know you could do all these things 
with your product. Cool!


If you all haven't seen the URL's below, you should take a minute and 
have a look!


-Chipp

Scott Rossi wrote:


- tm|color, our non-modal color chooser, now supports marker colors (fill
and line) and includes a few bug fixes.



  http://www.tactilemedia.com/tmtools/tmgradient/quickstart.html
Widget Tutorial
  http://www.tactilemedia.com/tmtools/tmgradient/tutorial1_1.html


___
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: Get a handler from a script

2006-03-16 Thread Mark Smith

Sorry, using the third parameter to lineOffset means we have to do this:

  return line tHandlerBegin to (tHandlerBegin +  tHandlerEnd) of  
pScript


On 17 Mar 2006, at 03:04, Mark Smith wrote:



  return line tHandlerBegin to tHandlerEnd of pScript




___
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: Get a handler from a script

2006-03-16 Thread Mark Smith
The reason I think Roberts is more the ticket is that it deals with
the case where you have a handler 'jumpHigh' as well as a handler
'jump' later in the script -- this means we need to check for the end
of the handler name - which could be a space if there are parameters,
or cr if not.

We can avoid checking that for the 'end' line by using the third
parameter to lineOffset -- lines to skip, so a revised version might
be:

function extractHandlerFromScript pScript,pHandlerName
  put lineOffset("on" && pHandlerName & space, pScript) into tHandlerBegin
  if tHandlerBegin is 0 then put lineOffset("on" && pHandlerName & cr,
pScript) into tFooBar1
-- this deals with either space or cr at the end of the handler name
-- and we don't need to check for 'function' since it contains 'on'

  if tHandlerBegin is 0 then return empty
  put lineOffset("end" && pHandlerName,pScript,tHandlerBegin) into tHandlerEnd
  if pHandlerEnd is 0 then return empty 
  return line tHandlerBegin to tHandlerEnd of pScript
end extractHandlerFromScript

Cheers,

Mark

On 17 Mar 2006, at 02:48, Thomas McGrath III wrote:

Mark and Robert,

I needed to check for functions as well. So I adapted the script from
Mark into this:

function getHandlers hName,tControl
put the script of card tControl into tScript
put tScript
get lineOffset("on " & hName,tScript)
if it = 0 then
get lineOffset("function " & hName,tScript)
end if
if it = 0 then return "not found"
put it into startLine
get lineOffset("end " & hName,tScript)
return line startLine to it of tScript
end getHandlers

Thank you so much for your help,

Tom


On Mar 16, 2006, at 9:16 PM, Mark Smith wrote:

Not tested, but something like this should work:

function getHandler hName,tControl
  put the script of control tControl into tScript
  get lineOffset("on " & hName,tScript)
  if it = 0 then return "not found"
  put it into startLine
  get lineOffset("end " & hName,tScript)
  return line startLine to it of tScript
end getHandler
___
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: Busy Again

2006-03-16 Thread Garrett Hylltun

Thomas McGrath III wrote:

Hey you guys and gals,

I just have to say that since my last project I was being rather 
sluggish in jumping on the 'new' project.


Well, yesterday I started twiddling around writing a couple of handlers 
and 'seeing' where they might lead. Next thing you know Transcript just 
sucked me right in. i was hooked all over again. I couldn't sleep. I 


Sounds like an Intervention might have to come into play for you!  ;-)

-Garrett

___
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: Making the move...

2006-03-16 Thread Richard Gaskin

Jim Ault wrote:
> On 3/16/06 10:13 AM, "Richard Gaskin" wrote:
>> I would enourage those interested in web apps grab
>> Dr. Raney's mchttpd.mc and play with it a while.
>> It's a thing of beauty to just open the stack,
>> click the "Start" button, and call it with your
>> browser.
>
> I am beginning to step toward the world of web apps
> and  did the dnld of the mchttpd app, started it on
> a G5, but am not sure how to access it.
>
> Tried in Safari
> (on the same OSX 10.4.2 computer)
> (& IE on Win32 behind the same router)
>
>  http://192.186.15.100
>  http://192.186.15.100/index.html
>
> => can't find the server
>
> Does the mchttpd computer have to have static IP?
>
> Although I am new at this, I know someone who might jump
> into Rev if he saw this working.

The default port in mchttpd is 8080 -- on my Mac I use:

http://localhost:8080/


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface?

2006-03-16 Thread Mark Wieder
Andre-

Wednesday, March 15, 2006, 10:56:54 AM, you wrote:

I spent about 20 minutes today at the Software Developer's Conference
in the south bay with one of the S3 developers from Amazon, and he
confirmed most of what we have been thinking...

> I read the docs, there appear to be no magical/automated interface
> for BT.

This is true. BT is supported as a distribution mechanism on the
client end in order to minimize distribution costs. But there's no
other explicit BT support on the server end. Nor, I think, does any
need to be there.

> What appears to exist is that if you create a public object, which is
> a resource that can be accessed by a URL without authentication, then

Yes and no. By default when you upload an object it's not publicly
accessible. There's a call in the api to make it public if you want.
Otherwise even with a BT client you still need to authenticate.

> if we had HMAC/SHA1 routines, we could build a S3 library in 20  
> minutes, it's very easy.

They're only supporting HMAC/SHA1 for now, but are open to other
authentication methods. There are public fora at the AWS web site for
developer discussions. The Amazon guy I talked with said that he's
also seen an SHA1 encoder on the web, written in Javascript, of all
things.

-- 
-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: Get a handler from a script

2006-03-16 Thread Thomas McGrath III

Mark and Robert,

I needed to check for functions as well. So I adapted the script from  
Mark into this:


function getHandlers hName,tControl
put the script of card tControl into tScript
put tScript
get lineOffset("on " & hName,tScript)
if it = 0 then
get lineOffset("function " & hName,tScript)
end if
if it = 0 then return "not found"
put it into startLine
get lineOffset("end " & hName,tScript)
return line startLine to it of tScript
end getHandlers

Thank you so much for your help,

Tom


On Mar 16, 2006, at 9:16 PM, Mark Smith wrote:


Not tested, but something like this should work:

function getHandler hName,tControl
  put the script of control tControl into tScript
  get lineOffset("on " & hName,tScript)
  if it = 0 then return "not found"
  put it into startLine
  get lineOffset("end " & hName,tScript)
  return line startLine to it of tScript
end getHandler

Cheers,

Mark

On 17 Mar 2006, at 01:25, Thomas McGrath III wrote:


Hello friends,

I know how to get the script from an objects script via script: 
put the script of card "Foo" into tBar


But, I would like to get just one of the handlers from a script  
via script:put handler "FooBar" of the script of card "Foo"  
into tBar


Anyone know how to do this easily?

Thanks

Tom


___
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: Get a handler from a script

2006-03-16 Thread Mark Smith
This is more the ticket - except I don't think we need to deal with  
'on' and 'function' separately, lineOffset picks up  the 'on' in  
'function'.


Cheers,

Mark



something like (not tested; watch line wraps)

put extractHandlerFromScript(the script of cd "Foo","FooBar") into  
tBar


function extractHandlerFromScript pScript,pHandlerName
  put lineOffset("on" && pHandlerName & space, pScript) into  
tHandlerBegin
  if tHandlerBegin is 0 then put lineOffset("on" && pHandlerName &  
cr, pScript) into tFooBar1
  if tHandlerBegin is 0 then put lineOffset("function" &&  
pHandlerName & space, pScript) into tFooBar1
  if tHandlerBegin is 0 then put lineOffset("function" &&  
pHandlerName & cr, pScript) into tFooBar1

  if tHandlerBegin is 0 then return empty
  put lineOffset("end" && pHandlerName & cr, pScript) into tHandlerEnd
  if tHandlerEnd is 0 then put lineOffset("end" && pHandlerName &  
space, pScript) into tHandlerEnd

  if tHandlerEnd is 0 then return empty
  return line tHandlerBegin to tHandlerEnd of pScript
end extractHandlerFromScript

If formatting is not so regular, you may need to account for  
multiple spaces between on/function/end and handler name.


Robert
___
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: Pass - is it really needed

2006-03-16 Thread Thomas McGrath III

Thanks Robert,

I wasn't sure but that was what I was thinking. Your response  
verifies that for me and I feel I can keep treating Pass the way I  
normally do. I wanted to make sure I wasn't missing something crucial.


Thanks again,

Tom


On Mar 16, 2006, at 8:57 PM, Robert Brenstein wrote:
I am writing a lot of commands and functions for a library and was  
wondering if the Pass handler name was a necessity? I mean, If I  
am not using a handler name that is a part of transcript then do I  
really want the handler to pass after running it? What would be a  
reason I would.
The reason I ask is that when I insert a new command it throws in  
a pass with that commands name by default. I don't normally use  
the Pass except when using an On card or other transcript handler.




The script editor is just trying to be friendly and reduce the  
amount of typing for you. Using pass is your call and depends on  
what you want to achieve.


Normally, you would not pass your own handlers unless you do multi- 
tiered processing; for example, card handler does card-specific  
stuff and passes it further so background handler can do background- 
specific stuff and/or stack can do stack-wide stuff. The situation  
with standard messages is a tad different. Here, you would usually  
pass the call unless you want to terminate processing; for example,  
having openStack on card level without pass will prevent the  
openStack handler in the stack script from executing.


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







___
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: Get a handler from a script

2006-03-16 Thread Mark Smith

Not tested, but something like this should work:

function getHandler hName,tControl
  put the script of control tControl into tScript
  get lineOffset("on " & hName,tScript)
  if it = 0 then return "not found"
  put it into startLine
  get lineOffset("end " & hName,tScript)
  return line startLine to it of tScript
end getHandler

Cheers,

Mark

On 17 Mar 2006, at 01:25, Thomas McGrath III wrote:


Hello friends,

I know how to get the script from an objects script via script: 
put the script of card "Foo" into tBar


But, I would like to get just one of the handlers from a script via  
script:put handler "FooBar" of the script of card "Foo" into tBar


Anyone know how to do this easily?

Thanks

Tom


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







___
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: Get a handler from a script

2006-03-16 Thread Robert Brenstein

Hello friends,

I know how to get the script from an objects script via script:
put the script of card "Foo" into tBar

But, I would like to get just one of the handlers from a script via 
script:put handler "FooBar" of the script of card "Foo" into tBar


Anyone know how to do this easily?

Thanks

Tom


Thomas J McGrath III
[EMAIL PROTECTED]



something like (not tested; watch line wraps)

put extractHandlerFromScript(the script of cd "Foo","FooBar") into tBar

function extractHandlerFromScript pScript,pHandlerName
  put lineOffset("on" && pHandlerName & space, pScript) into tHandlerBegin
  if tHandlerBegin is 0 then put lineOffset("on" && pHandlerName & 
cr, pScript) into tFooBar1
  if tHandlerBegin is 0 then put lineOffset("function" && 
pHandlerName & space, pScript) into tFooBar1
  if tHandlerBegin is 0 then put lineOffset("function" && 
pHandlerName & cr, pScript) into tFooBar1

  if tHandlerBegin is 0 then return empty
  put lineOffset("end" && pHandlerName & cr, pScript) into tHandlerEnd
  if tHandlerEnd is 0 then put lineOffset("end" && pHandlerName & 
space, pScript) into tHandlerEnd

  if tHandlerEnd is 0 then return empty
  return line tHandlerBegin to tHandlerEnd of pScript
end extractHandlerFromScript

If formatting is not so regular, you may need to account for multiple 
spaces between on/function/end and handler name.


Robert
___
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


Busy Again

2006-03-16 Thread Thomas McGrath III

Hey you guys and gals,

I just have to say that since my last project I was being rather  
sluggish in jumping on the 'new' project.


Well, yesterday I started twiddling around writing a couple of  
handlers and 'seeing' where they might lead. Next thing you know  
Transcript just sucked me right in. i was hooked all over again. I  
couldn't sleep. I couldn't take an hour to spend with the family. I  
haven't gotten dressed since yesterday. I'm still in my PJs. Every  
time I say "OK, let's take a break" I end up just jumping back in for  
more.
I have written 74 Commands and Functions and plan on finishing this  
tomorrow. Two and a half days to write something this powerful with  
this many features is INCREDIBLE!AWESOME! UNBELIEVABLE!  Pick  
one, pick them all.


Since this is foundation for the next three or four software products  
I plan on releasing I am stoked.


Thanks for all of your help and support.

Tom


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







___
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: Pass - is it really needed

2006-03-16 Thread Robert Brenstein

Hello friends,

I am writing a lot of commands and functions for a library and was 
wondering if the Pass handler name was a necessity? I mean, If I am 
not using a handler name that is a part of transcript then do I 
really want the handler to pass after running it? What would be a 
reason I would.
The reason I ask is that when I insert a new command it throws in a 
pass with that commands name by default. I don't normally use the 
Pass except when using an On card or other transcript handler.


Thanks,

Tom
Busy again,

Thomas J McGrath III
[EMAIL PROTECTED]


The script editor is just trying to be friendly and reduce the amount 
of typing for you. Using pass is your call and depends on what you 
want to achieve.


Normally, you would not pass your own handlers unless you do 
multi-tiered processing; for example, card handler does card-specific 
stuff and passes it further so background handler can do 
background-specific stuff and/or stack can do stack-wide stuff. The 
situation with standard messages is a tad different. Here, you would 
usually pass the call unless you want to terminate processing; for 
example, having openStack on card level without pass will prevent the 
openStack handler in the stack script from executing.


Robert
___
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: Icon for OS X compiled .app not showing :-(

2006-03-16 Thread Garrett Hylltun

Mark Talluto wrote:


On Mar 16, 2006, at 3:52 PM, Garrett Hylltun wrote:

Looking into the .app resouces shows both icons, and the plist file 
does name the icons appropriately.


Am I doing something wrong?



You can force the icon to update in the finder by Option dragging a copy 
of the application you made.  It will duplicate the app and show the 
correct icon.  You then delete the original file and rename the .copy 
version appropriately.


Well that did it... Thanks Mark.

Damn! I made an ugly Icon!  :-(  Maybe should have left it alone!  ;-) 
Back to the graphics program again.


-Garrett
___
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


Pass - is it really needed

2006-03-16 Thread Thomas McGrath III

Hello friends,

I am writing a lot of commands and functions for a library and was  
wondering if the Pass handler name was a necessity? I mean, If I am  
not using a handler name that is a part of transcript then do I  
really want the handler to pass after running it? What would be a  
reason I would.
The reason I ask is that when I insert a new command it throws in a  
pass with that commands name by default. I don't normally use the  
Pass except when using an On card or other transcript handler.


Thanks,

Tom
Busy again,

Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







___
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: Evolution of Revolution?

2006-03-16 Thread Garrett Hylltun
I'd like to see the Linux GUI Framework updated to something like GTK 2 
or QT.  The current gui framework is ugly and looks outdated on a linux 
box of today.  Just do that and I'd be happy!  :-)


One of the main reasons I bought Rev Studio was to develop for Mac, 
Linux and Windows, but as it is now, I can't put anything out for linux 
when the gui is just flat out ugly and doesn't even come close to the 
current gui of Gnome or KDE.  Even GTK 1.x is better looking.


-Garrett
___
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: Making the move...

2006-03-16 Thread Thomas McGrath III

Peter,

As a fellow 'coffee' drinker, welcome to the list.

"We keep what we have by giving it away." works real well in this  
environment too.



Easy Does It,

Tom


On Mar 16, 2006, at 7:44 PM, Collabyrinth VPN wrote:
This is pro bono stuff for the fellowship AFAIC, for keeping me  
sober since 1979, so by all means, when it's done and relatively  
stable, I'll release it in the RunRev wild.


So, about the coffee ...

Peter Elliott


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







___
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


Get a handler from a script

2006-03-16 Thread Thomas McGrath III

Hello friends,

I know how to get the script from an objects script via script: 
put the script of card "Foo" into tBar


But, I would like to get just one of the handlers from a script via  
script:put handler "FooBar" of the script of card "Foo" into tBar


Anyone know how to do this easily?

Thanks

Tom


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







___
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: Evolution of Revolution?

2006-03-16 Thread Lynn Fredricks
> I'm seriously considering buying Rev, but I'd like to know 
> where the developers are taking this product. Does anybody 
> know what's in store down the road in terms of enhanced 
> controls, language features, and the like? I know that's a 
> rather open-ended question, but surely there's much more room 
> for this IDE to grow. I'm occasionally bumping into 
> "short-comings"; no show-stoppers, but developer 
> annoyances...you know the kind :)

In the interests of a competitive marketplace, we cannot discuss specifics
about what is in store. Enterprise customers can get access to a private
list, but its effectively subject to non-disclosure.

That being said - I think you will find 2006 an exceptional year for
advancements in both usability and the underlying technology - and that
includes the IDE. In fact, you can modify and extend the interface of
Revolution yourself right now. Just take a look at the Constellation editor,
that integrates with the Revolution IDE:

http://www.runrev.com/section/revselect/constellation/index.php

Best regards,


Lynn Fredricks
Worldwide Business Operations
Runtime Revolution, Ltd


___
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: Making the move...

2006-03-16 Thread [EMAIL PROTECTED]
Wow Peter, great!  As one of the "lurkers" who has been toying with  
Revolution before taking a dive, this is indeed inspiring.


Thanks,

Michael


On Mar 16, 2006, at 7:44 PM, Collabyrinth VPN wrote:


Wally

As (your) luck would have it, we're working on exactly such a  
document for the poor unfortunates who will inherit the servers  
once I've wrought havoc on them.


This is pro bono stuff for the fellowship AFAIC, for keeping me  
sober since 1979, so by all means, when it's done and relatively  
stable, I'll release it in the RunRev wild.


Some of the stuff around FastCGI is a bit tricky, but I think the  
documentation will pull you through. If it doesn't, you know where  
to get me.


So, about the coffee ...

Peter Elliott

Wally Rodriguez wrote:

How about a tutorial on how to set up Rev to use FastCGI. For  
those  of us for whom a lot of these terms are totatlly new, it  
would be  great to be able to take advantage of some of these tools.


I know I'm already salivating at the possibilities of merge(),   
something I just learned about on this thread.


W.

On Mar 16, 2006, at 1:34 PM, Collabyrinth VPN wrote:

Forgive the intrusion from a 'lurker', but as I've learned so  
much  from you all the last three months, it's time I gave  
something back.


I'm developing using Ruby on Rails on both Windows XP Pro SP2 &   
(Knoppix) Linux simultaneously.


Rev works just fine with FastCGI. Fwiw, I'd be happy to set up  
some  benchmarks and publish the results next week, if it helps.


A brief general comment. I use and modify the Ruby code to  
handle  the 'unseen' parts, if you will, and Rev to generate what  
the user  sees on the websites. I see Rev as complementary to  
ROR, and it  seems to work well. A good mix.


Cheers from Canada
Peter Elliott



___
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: Making the move...

2006-03-16 Thread Collabyrinth VPN

Wally

As (your) luck would have it, we're working on exactly such a document 
for the poor unfortunates who will inherit the servers once I've wrought 
havoc on them.


This is pro bono stuff for the fellowship AFAIC, for keeping me sober 
since 1979, so by all means, when it's done and relatively stable, I'll 
release it in the RunRev wild.


Some of the stuff around FastCGI is a bit tricky, but I think the 
documentation will pull you through. If it doesn't, you know where to 
get me.


So, about the coffee ...

Peter Elliott

Wally Rodriguez wrote:

How about a tutorial on how to set up Rev to use FastCGI. For those  
of us for whom a lot of these terms are totatlly new, it would be  
great to be able to take advantage of some of these tools.


I know I'm already salivating at the possibilities of merge(),  
something I just learned about on this thread.


W.

On Mar 16, 2006, at 1:34 PM, Collabyrinth VPN wrote:

Forgive the intrusion from a 'lurker', but as I've learned so much  
from you all the last three months, it's time I gave something back.


I'm developing using Ruby on Rails on both Windows XP Pro SP2 &  
(Knoppix) Linux simultaneously.


Rev works just fine with FastCGI. Fwiw, I'd be happy to set up some  
benchmarks and publish the results next week, if it helps.


A brief general comment. I use and modify the Ruby code to handle  
the 'unseen' parts, if you will, and Rev to generate what the user  
sees on the websites. I see Rev as complementary to ROR, and it  
seems to work well. A good mix.


Cheers from Canada
Peter Elliott



___
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: Icon for OS X compiled .app not showing :-(

2006-03-16 Thread Mark Talluto


On Mar 16, 2006, at 3:52 PM, Garrett Hylltun wrote:

Looking into the .app resouces shows both icons, and the plist file  
does name the icons appropriately.


Am I doing something wrong?



You can force the icon to update in the finder by Option dragging a  
copy of the application you made.  It will duplicate the app and show  
the correct icon.  You then delete the original file and rename  
the .copy version appropriately.



Mark Talluto
--
CANELA Software
http://www.canelasoftware.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: Icon for OS X compiled .app not showing :-(

2006-03-16 Thread Scott Kane
> I should mention though that the dock icon is correct.

Sometimes rebooting can solve this.

Scott

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.4/283 - Release Date:
16/03/2006
 

___
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: Making the move...

2006-03-16 Thread Jim Ault
On 3/16/06 10:13 AM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote:

> I would 
> enourage those interested in web apps grab Dr. Raney's mchttpd.mc and
> play with it a while.   It's a thing of beauty to just open the stack,
> click the "Start" button, and call it with your browser.
Hi, Richard,

I am beginning to step toward the world of web apps and  did the dnld of the
mchttpd app, started it on a G5, but am not sure how to access it.

Tried in Safari 
(on the same OSX 10.4.2 computer)
(& IE on Win32 behind the same router)

 http://192.186.15.100
 http://192.186.15.100/index.html

=> can't find the server

Does the mchttpd computer have to have static IP?

Although I am new at this, I know someone who might jump into Rev if he saw
this working.

Thanks.

Jim Ault
Las Vegas


___
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: Positioning the Message Box ?

2006-03-16 Thread Wally Rodriguez
I imagine that there is a way to intercept the calls to the message  
box from your original code since Constellation can basically replace  
it with it's own integrated message box. Worth a try depending on  
what might take longer to do...


W.

On Mar 16, 2006, at 5:40 PM, Francis Nugent Dixon wrote:


Hi Robert,

Thanks for the feedback. I realized that there were
alternate solutions (such as a substack), but I am a
lazy "git", and I want to limit the modifications to my
Hypercard stack scripts while converting.
I  even wrote a "Hypercard to Revolution" script
conversion script, to help me in my conversion, but
I can see it getting much more complicated.

The message box was so useful . !

Sigh - I suppose I will have to do it the hard way !

-Francis

"Nothing should ever be done for the first time !"


___
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: Icon for OS X compiled .app not showing :-(

2006-03-16 Thread Garrett Hylltun

Garrett Hylltun wrote:

Rev 2.6.1



I should mention though that the dock icon is correct.

Thanks,
-Garrett
___
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


Icon for OS X compiled .app not showing :-(

2006-03-16 Thread Garrett Hylltun

Rev 2.6.1

Greetings,

Ok, made .png files in sizes of 16x16, 32x32, 48x48 and 128x128.  Put 
them all in Icon Composer and saved the file as a .icns file.


Then I picked that file as the icons in the standalone settings for OS X 
and selected the dialog png files and so on.  I used the same .icns file 
for both the application and document icon.


But after the standalone was saved, the icons I made are not being used 
at all for the .app in finder.  It's using the default icon from OS X as 
if mine didn't exist or something.


Looking into the .app resouces shows both icons, and the plist file does 
name the icons appropriately.


Am I doing something wrong?

Thanks,
-Garrett
___
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: Making the move...

2006-03-16 Thread Wally Rodriguez
How about a tutorial on how to set up Rev to use FastCGI. For those  
of us for whom a lot of these terms are totatlly new, it would be  
great to be able to take advantage of some of these tools.


I know I'm already salivating at the possibilities of merge(),  
something I just learned about on this thread.


W.

On Mar 16, 2006, at 1:34 PM, Collabyrinth VPN wrote:

Forgive the intrusion from a 'lurker', but as I've learned so much  
from you all the last three months, it's time I gave something back.


I'm developing using Ruby on Rails on both Windows XP Pro SP2 &  
(Knoppix) Linux simultaneously.


Rev works just fine with FastCGI. Fwiw, I'd be happy to set up some  
benchmarks and publish the results next week, if it helps.


A brief general comment. I use and modify the Ruby code to handle  
the 'unseen' parts, if you will, and Rev to generate what the user  
sees on the websites. I see Rev as complementary to ROR, and it  
seems to work well. A good mix.


Cheers from Canada
Peter Elliott


___
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: How does 'Create Folder' give its result?

2006-03-16 Thread Jim Ault
On 3/16/06 1:48 PM, "Stephen Barncard" <[EMAIL PROTECTED]>
wrote:
> Have you put the command in a 'try' structure?>
> Syntax: 
> try
>statementList
> catch errorVariable   errorStatementsList
>[finally   cleanupStatementsList]
> end try
>snip
> 
> Use the try control structure to execute a series of statements and
> handle any error messages in the catch section, instead of letting
> Revolution display the error window.

The "catch" with using [try-catch] with the [create folder] failure is that
it is not a Rev error, so no catch is triggered.  You do need to test the
result returned by the operating system.

A Rev error is one that is a operation such as
put 4 * marbleCount into totalMarbles
and marbleCount is not a number.  In this case, a try structure would work
and allow some alternate course of action without stopping the program.

Jim Ault
Las Vegas

> 
>> Graham Samuel wrote:
>> 
>>> Thanks for the reply, but my point is that the 'create folder'
>>> function doesn't appear to me to return anything in 'the result'
>>> when  an error occurs: 'the result' just goes on being empty - but
>>> the  command does apparently generate an error text because I can
>>> see it  in the message box.
>> 
>> The result is very fragile, and is usually emptied almost
>> immediately. To make sure you catch it, you have to check for it in
>> the very next line of script. Do you have any lines of script
>> between the "create" command and the result check?
>> 
>> --
>> 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: set the graphic "G" to x,y,....

2006-03-16 Thread thierry

Oups, bad typo, sorry.

the command is:   set the points of graphic "G" to listPoints

thierry


Hi all,

Testing  Rev27 on Win32,  with my demoStack,
i found that the command :

set the graphic "G" to listPoints

is 5 times slower on Rev27 than on  Rev21.

because, i'm using this command in a loop it's really not too good :-(

the anti-aliasing is off.

Does anyone saw that and has a clue or is this a bug ?

Regards,
thierry 

___
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


Positioning the Message Box ?

2006-03-16 Thread Francis Nugent Dixon

Hi Robert,

Thanks for the feedback. I realized that there were
alternate solutions (such as a substack), but I am a
lazy "git", and I want to limit the modifications to my
Hypercard stack scripts while converting.
I  even wrote a "Hypercard to Revolution" script
conversion script, to help me in my conversion, but
I can see it getting much more complicated.

The message box was so useful . !

Sigh - I suppose I will have to do it the hard way !

-Francis

"Nothing should ever be done for the first time !"


___
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


set the graphic "G" to x,y,....

2006-03-16 Thread thierry

Hi all,

Testing  Rev27 on Win32,  with my demoStack,
i found that the command :

set the graphic "G" to listPoints

is 5 times slower on Rev27 than on  Rev21.

because, i'm using this command in a loop it's really not too good :-(

the anti-aliasing is off.

Does anyone saw that and has a clue or is this a bug ?

Regards,
thierry

___
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: Positioning the Message Box ?

2006-03-16 Thread Sarah Reichelt
On 3/17/06, Francis Nugent Dixon <[EMAIL PROTECTED]> wrote:
> Hi from Paris,
>
> I have an update on my own question. When I position the
> message  box,
>
> show message box
> set the rect of window  "message box"   to 394,681,802,826
>
> it goes to the right place. But when I display any data in it, it
> RETURNS to its original position (It happens so quickly
> during my script execution, that it was hard to see !).
>
> So now my question is reformulated. Can I freeze
> the message box so that it doesn't move ?

Using "show" seems to be the problem. If you just do something like:
set the rect of stack "Message box" to 137,554,538,696
put "Here I am"

it will stay in the right place.

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


Re: How does 'Create Folder' give its result?

2006-03-16 Thread Stephen Barncard

Have you put the command in a 'try' structure?


Syntax:

try
  statementList
catch errorVariable   errorStatementsList
  [finally   cleanupStatementsList]
end try

See also:   catch keyword , end try keyword , finally keyword , 
lockErrorDialogs property , throw control structure 


Summary:
Executes a list of statements, sending any errors to the try 
structure to be handled.



Use the try control structure to execute a series of statements and 
handle any error messages in the catch section, instead of letting 
Revolution display the error window.




Graham Samuel wrote:

Thanks for the reply, but my point is that the 'create folder' 
function doesn't appear to me to return anything in 'the result' 
when  an error occurs: 'the result' just goes on being empty - but 
the  command does apparently generate an error text because I can 
see it  in the message box.


The result is very fragile, and is usually emptied almost 
immediately. To make sure you catch it, you have to check for it in 
the very next line of script. Do you have any lines of script 
between the "create" command and the result check?


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
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: Evolution of Revolution?

2006-03-16 Thread Jonathan Lynch
In my experience, most of the shortcomings can be overcome. And once they
are overcome, you can save reuse the solution forever.

For example, the table object in Rev is imperfect. It is good for some
things, but it does not do what I need it to do as a user interface.

So, I created my own table object that does exactly what I want.


There are quite a few cases out there where users have created similar
solutions, and are willing to share them with the rest of us.

So, if you share you shortcomings with us, I bet we can help you find a
quick and permanent solution for most of them:)
___
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


Evolution of Revolution?

2006-03-16 Thread Arthur Urban
I'm seriously considering buying Rev, but I'd like to know where the 
developers are taking this product. Does anybody know what's in store 
down the road in terms of enhanced controls, language features, and the 
like? I know that's a rather open-ended question, but surely there's 
much more room for this IDE to grow. I'm occasionally bumping into 
"short-comings"; no show-stoppers, but developer annoyances...you know 
the kind :)


Thanx for any info!
___
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: How does 'Create Folder' give its result?

2006-03-16 Thread J. Landman Gay

Graham Samuel wrote:

Thanks for the reply, but my point is that the 'create folder'  function 
doesn't appear to me to return anything in 'the result' when  an error 
occurs: 'the result' just goes on being empty - but the  command does 
apparently generate an error text because I can see it  in the message 
box.


The result is very fragile, and is usually emptied almost immediately. 
To make sure you catch it, you have to check for it in the very next 
line of script. Do you have any lines of script between the "create" 
command and the result check?


--
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


Minimize stack...

2006-03-16 Thread Gilberto Cuba

Hi,

I have a Rev 2.6 in a Debian Sarge distributions, and I tried to minimize my
application in KDE, it work very fine, but I tried to minimized in GNOME
that is not work. Why?

How I can minimize my application in GNOME?

Best regards,

Gilberto Cuba


___
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


[ANN] tm|color and tm|gradient Updates

2006-03-16 Thread Scott Rossi
Greetings List:

We're happy to announce some minor updates to tm|color and tm|gradient
plugins for Revolution 2.6.x.

- tm|color, our non-modal color chooser, now supports marker colors (fill
and line) and includes a few bug fixes.

- The radial fill option in tm|gradient, a gradient building tool, now
supports an offset angle which allows you to create more realistic looking
sphere objects, and the stack includes some small bug fixes.

As an example of what can be done with the plugins, we've created a stack
which contains 59 shaded 3D object images, all created using tm|gradient and
tm|color.  The objects are completely FREE to use in your own stacks, but
you'll need tm|color and tm|gradient to colorize the objects in Revolution.
  http://www.tactilemedia.com/tmtools/tmgradient/tm_3dobjects.zip

Here's another example built this morning in about an hour and half, created
entirely within Revolution:
  http://www.tactilemedia.com/tmtools/tmcolor/label.jpg

We've also updated our gradient gallery stack with a couple of new objects
to inspire creative uses of the tools.  If you haven't seen this stack yet,
take a look:
  http://www.tactilemedia.com/tmtools/tmgradient/tm_gallery.rev.zip

Don't forget the online resources as well:
QuickStart Guide
  http://www.tactilemedia.com/tmtools/tmgradient/quickstart.html
Widget Tutorial
  http://www.tactilemedia.com/tmtools/tmgradient/tutorial1_1.html

Remember, you can get BOTH tm|color and tm|gradient for only US$18.
Visit the Media section of our Web site for more info:
  http://www.tactilemedia.com.

Also compatible with Jerry Daniels' Constellation!

--

PLEASE NOTE: these updates are effective for Rev 2.6.x ONLY.  Like many
other folks, we're still ironing out issues with Rev 2.7.


Best Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.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: How does 'Create Folder' give its result?

2006-03-16 Thread Jim Ault
> Thanks for the reply, but my point is that the 'create folder'
> function doesn't appear to me to return anything in 'the result' when
> an error occurs: 'the result' just goes on being empty - but the
> command does apparently generate an error text because I can see it
> in the message box. So I still want to know where this text is put -
> the docs don't say **anything** about what happens if this command
> encounters an error. I just hope someone knows...
> 
> Of course it could be a bug in RR 2.7.0, but to show this we'd have
> to know what the expected behaviour really is. BTW I've  only seen
> this on Windows up to now.
> 
> Graham
> 
Try this snippet and see what you get

 create folder "cde:/illegal:name/"
  get the result
  if it is not empty then
beep
put it
answer error it -->"can't create that directory"
  end if


Jim Ault
Las Vegas


On 3/16/06 12:17 PM, "Graham Samuel" <[EMAIL PROTECTED]> wrote:

> On Thu, 16 Mar 2006 at 07:55:07 -0800,  Rob Cozens <[EMAIL PROTECTED]>
> wrote:
>> 
>> Hi Graham,
>> 
>> 
>>> As 'create' is not a function, I don't see any other way for it to
>>> return a value.
>>> 
>> 
>> Commands can return a value in "the result."
>> 
>> create folder myPath
>> get the result
>> if it is not empty then
>> beep
>> answer error it
>> end if
>> 
>> While not pertinent in this context, commands & functions can also
>> return values via referenced parameters:
> 
> [snip]
> 

> 
> Graham Samuel / The Living Fossil Co. / UK and France
> 
> ___
> 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: How does 'Create Folder' give its result?

2006-03-16 Thread Graham Samuel
On Thu, 16 Mar 2006 at 07:55:07 -0800,  Rob Cozens <[EMAIL PROTECTED]>  
wrote:


Hi Graham,



As 'create' is not a function, I don't see any other way for it to
return a value.



Commands can return a value in "the result."

create folder myPath
get the result
if it is not empty then
beep
answer error it
end if

While not pertinent in this context, commands & functions can also
return values via referenced parameters:


[snip]

Thanks for the reply, but my point is that the 'create folder'  
function doesn't appear to me to return anything in 'the result' when  
an error occurs: 'the result' just goes on being empty - but the  
command does apparently generate an error text because I can see it  
in the message box. So I still want to know where this text is put -  
the docs don't say **anything** about what happens if this command  
encounters an error. I just hope someone knows...


Of course it could be a bug in RR 2.7.0, but to show this we'd have  
to know what the expected behaviour really is. BTW I've  only seen  
this on Windows up to now.


Graham



Graham Samuel / The Living Fossil Co. / UK and France

___
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: to many mails

2006-03-16 Thread Camm29
Read your subscription info !
It explains why you get mails , always read the small print !
Regards
- Original Message -
From: "marcus graham" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, March 15, 2006 12:56 AM
Subject: to many mails


> dont send any mails
>
> -
>  Yahoo! Mail
>  Use Photomail to share photos without annoying attachments.
> ___
> 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


Revolution 2.6.1 and 2.7 on osX86

2006-03-16 Thread dreamscapesoftware.com - List
Does Revolution 2.6.1 and 2.7 function on a Intel Mac?  Reason I ask is because 
I tried the osx86 thing and got it to work, but Revolution won't load.  The 
icon bounces once and then nothing.  Any ideas?

-- Derek



___
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: Making the move...

2006-03-16 Thread Collabyrinth VPN

Richard

Thank you for the kind invitation! Given that I'm writing these server 
programs in aid of a certain well-known 12 Step program's online 
activities, and that it's doubtful I'll be at either event, more's the 
pity, please be advised you can Fed-Ex any kind of high-test 
caffiene-laden product (Saigon Dark beans, por ejemplo ...) to my 
office, anytime.


All kidding aside, and now that I've de-lurked, of all the mailing lists 
and digest I receive, I find this one of the most fertile & stimulating. 
I thank you all for that.


I think I can safely commit to delivering benchmarks by Wednesday of 
next week and will be happy to do so.


Peter Elliott

Richard Gaskin wrote:


Peter Elliott wrote:


Rev works just fine with FastCGI. Fwiw, I'd be happy to set up
some  benchmarks and publish the results next week, if it helps.



That would be enormously helpful.  Thank you!

If you come to RevCon West in June or Euro RevCon in November I'll buy 
the beverage of your choice at one of the get-togethers.  It's the 
least I could do for such helpful information as the benchmarks.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: How does 'Create Folder' give its result?

2006-03-16 Thread Trevor DeVore

On Mar 16, 2006, at 11:21 AM, Richard Gaskin wrote:


I've turned up some, but I have too many for Win32 and very few for  
OS X.  While I winnow the Win list down to a manageable subset of  
common culprits, if someone out there has a link to OS X error  
codes I'd certainly appreciate it, and show that appreciation with  
a modest library to make those lookups.


I always start my searches for error codes on Mac here:



--
Trevor DeVore
Blue Mango Learning Systems - www.bluemangolearning.com
[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: How does 'Create Folder' give its result?

2006-03-16 Thread Richard Gaskin

Graham Samuel wrote:


I have a path in a variable say myPath, and I execute

create folder myPath

sometimes the folder can't be created (if the directory is protected  
etc) and if I execute the above in the message box in these  
circumstances, I see the text


   can't create that directory

But if I do this by script, this text doesn't seem to be in 'the  
result' or in 'it' (which appears to contain 'OK' even if the create  
hasn't worked), so where is this text - ? The 2.7.0 docs (dictionary  
and PDF) are silent on the matter. As 'create' is not a function, I  
don't see any other way for it to return a value.


Clearly I can produce a workaround by checking if the folder exists  
immediately after trying to create it, but how does 'create' show its  
result"?


That's the easy part, "the result":

   create folder myPath
   if the result is not empty then
 answer the result
 exit to top
   end if

The hard part is determining exactly what went wrong.  When a file or 
folder creation error happens, in most cases all the result says is 
"can't create file" or "can't create folder" with no further 
explanation.  How do you advise your users?


The trick is the sysError function, which queries the OS to obtain the 
specific error code associated with the failure.  So you could do 
something like:


   create folder myPath
   if the result is not empty then
 answer the result &" (" sysError() &")"
 exit to top
   end if

That'll give you a specific error code:

   can't create directory (43)

That at least allows your users to give you an error code number when 
they call your tech support line, but I'm a big fan of reducing those 
calls altogether when I can, and that means finding out the meaning of 
all the OS error codes for each supported platform, and building in a 
lookup table to present more meaningful info to the user.


A while back I posted a request for pointers to those codes:


I've turned up some, but I have too many for Win32 and very few for OS 
X.  While I winnow the Win list down to a manageable subset of common 
culprits, if someone out there has a link to OS X error codes I'd 
certainly appreciate it, and show that appreciation with a modest 
library to make those lookups.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: Making the move...

2006-03-16 Thread Richard Gaskin

Peter Elliott wrote:


Rev works just fine with FastCGI. Fwiw, I'd be happy to set up
some  benchmarks and publish the results next week, if it helps.


That would be enormously helpful.  Thank you!

If you come to RevCon West in June or Euro RevCon in November I'll buy 
the beverage of your choice at one of the get-togethers.  It's the least 
I could do for such helpful information as the benchmarks.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: Making the move...

2006-03-16 Thread Collabyrinth VPN
Forgive the intrusion from a 'lurker', but as I've learned so much from 
you all the last three months, it's time I gave something back.


I'm developing using Ruby on Rails on both Windows XP Pro SP2 & 
(Knoppix) Linux simultaneously.


Rev works just fine with FastCGI. Fwiw, I'd be happy to set up some 
benchmarks and publish the results next week, if it helps.


A brief general comment. I use and modify the Ruby code to handle the 
'unseen' parts, if you will, and Rev to generate what the user sees on 
the websites. I see Rev as complementary to ROR, and it seems to work 
well. A good mix.


Cheers from Canada
Peter Elliott

Richard Gaskin wrote:


Dan Shafer wrote:

With the caveat that I am hardly a Rails expert and certainly have 
not done

a lot of work with Rev on the server side either, let me see if I can
clarify my earlier point here. I know that what I'm going to say is 
probably
so trivial to many reading this thread that it will seem like I'm 
just off

base, but I'm trying to make the issue I see really starkly clear.



I'm certainly no Ruby/Rails expert either, but I am among those
attracted to the word "impossible". :)  Even though we've moved past
that original point, there may be some interesting things to explore 
here.


This one got a bit long (from me?  Gosh, when did I ever write a long 
post? ), so I added section headers to try to make it an easier read:



PARSING/ASSEMBLING THE CLIENT OUTPUT


With PHP or Ruby on Rails, a Web *app* consists of a collection of 1 
or more

templates -- HTML files with embedded command and function calls -- that
execute in a server-side scripting language interpreter running on the
server. All Web pages with this embedded script code are run through the
scripting language interpreter on the server, where the command is 
carried

out and some content is generated to replace the command call before the
page is sent to the HTTP server to return to the client.

So for example (and I realize this is so simplistic that it may not be
sufficiently illustrative), in a .rhtml (rubified HTML) file, you 
might find

this construct:

It is now <%= Time.now %>



In Transcript:

  It is now [[the time]]

You run that through the merge function:

  put merge("It is now [[the time]]")

...and you get:

  It is now 4:44 PM

More interesting is that you don't need to use literal expressions with
merge; you can pass it variables as well, with any number of bracketed 
statements, allowing you to make whole pages of snippets which have 
all the smarts of Transcript embedded throughout, processed in a 
single merge() call.


And of course we all know about the other powerful text manipulation
stuff in Transcript like chunk expressions and such, so we can move on
to the bigger question of how we hook the engine into the web
transaction process.


HOOKING REV INTO THE SERVER TRANSACTION
---

Most of the RoR documentation makes reference to FastCGI as the
deployment mechanism for Ruby, and recommends using a specialized 
server app, WEBrick, for testing locally before deployment.  It seems 
Rev has both of these covered.


If I read Pierre's article at 
 correctly, it seems 
we can use Rev as a daemon (at least on Linux), providing a 
stay-resident option just as one would do with other engines like 
Perl, Python, etc.


I would imagine one could also set up Apache to use Rev for 
server-side includes, using settings similar to what's used for Ruby 
or PHP.


Because the interest in using Ruby on web servers is relatively recent,
I can't imagine there's anything in the server configuration that
couldn't also be done with Rev (or Python or PHP other popular engines).
In both cases you need to install the engine and set up the server so it
knows what to do with it.

There may be some reason that Rev can't be used with FastCGI per se, 
but given that it will run as a daemon on Linux offhand I don't know 
what that could be.  If anyone here knows it would be interesting to 
find out, and even more interesting to find out if you've been able to 
use Rev with FastCGI successfully.




PROS AND CONS OF REV AND RUBY
-

Beyond the configuration, there are two main differences between a Rev
and a Ruby solution:  OOP and Rails.

The first is the age-old procedural vs. OOP argument.  There are
benefits both ways, and I dare not suggest we need to answer that big
abstract question here. :)

Where Ruby really shines is in Rails:  there's a lot of code there,
well-crafted code.  You'd have to write that yourself to get to the same
level of development productivity with Rev.

But consider this about the origins of Ruby:

Matz's primary design consideration is to make programmers
happy by reducing the menial work they must do, following
the principles of good user interface design. He stresses
that systems design needs to emp

Re: [OT] Major Flood in Kauai - Swami??

2006-03-16 Thread Sivakatirswami
Aloha, yes, we are fine... Thanks for asking. The reservoir that  
broke is about 20 miles north of us. It's been raining for 4-5 days,  
almost none stop, yesterday it rained steadily for 20 out of 24  
hours. We think the storm has  moved on...  Seven people missing..  
several found washed  out to sea... their  home must have been in  
direct path.  But, not to focus only on us... this is happening  
everywhere...in many countries.


Other strange things: The billion dollar new Mariott, when it was  
redone, the engineers decided to build the new hotel on a river bed  
and divert that stream to the ocean through a duct on the side of the  
hotel. Well, guess what, the stream delivered 10 times the duct  
capacity and decided to go for her old path to the ocean:  straight  
through the hotel, in the top floors, down through the  halls, out  
the  lobby, onto the beach and back to Mother! No one hurt, but --  
well, for species homo sapiens --- rather an embarrassing moment of  
incredulous dismay.


Mount Waialeale above us, I can see her daily when I step out from  
our publications office...  is the wettest place on earth. And that's  
with an average rainfall  around 460 inches a year. But, get this: in  
2005 we measured over 1000 inches at the top of the mountain.


Kauai's Hindu Monastery is in a very safe place. We are on higher  
elevation just a few miles inland. But even so, here we are standing  
at an electrical box on the side of a power line pole, it's four feet  
above ground in front of the temple... there is water pouring out of  
it, as if someone had hooked it up to a pump... can't believe our  
eyes, never saw such a thing. the land to the north from our   
property is at a higher elevation, fields, completely saturated and  
the underground electrical system has become a drain pipe for higher  
ground water.


The salinity measurements between the tropical latitudes has spiked,  
so, all that evaporated water..it's got to come down somewhere...  
someone said they had 24 free of snow in the midwest  
somewhere...never happened before in their lifetime.   It's happening  
folks; we were warned... this list is not the place to say more,  
suffice it to say: the show begins.


Sivakatirswami

On Mar 15, 2006, at 1:29 PM, Stephen Barncard wrote:


Our fellow Revolutionary Sivakatirswami lives in Kauai, HI.
I found out today that there was a major dam breach on a river on  
the north shore. I hope you're ok, man.


http://edition.cnn.com/2006/US/03/15/hawaii.dam/index.html

sqb
--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
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: Making the move...

2006-03-16 Thread Richard Gaskin

Dan Shafer wrote:

With the caveat that I am hardly a Rails expert and certainly have not done
a lot of work with Rev on the server side either, let me see if I can
clarify my earlier point here. I know that what I'm going to say is probably
so trivial to many reading this thread that it will seem like I'm just off
base, but I'm trying to make the issue I see really starkly clear.


I'm certainly no Ruby/Rails expert either, but I am among those
attracted to the word "impossible". :)  Even though we've moved past
that original point, there may be some interesting things to explore here.

This one got a bit long (from me?  Gosh, when did I ever write a long 
post? ), so I added section headers to try to make it an easier read:



PARSING/ASSEMBLING THE CLIENT OUTPUT



With PHP or Ruby on Rails, a Web *app* consists of a collection of 1 or more
templates -- HTML files with embedded command and function calls -- that
execute in a server-side scripting language interpreter running on the
server. All Web pages with this embedded script code are run through the
scripting language interpreter on the server, where the command is carried
out and some content is generated to replace the command call before the
page is sent to the HTTP server to return to the client.

So for example (and I realize this is so simplistic that it may not be
sufficiently illustrative), in a .rhtml (rubified HTML) file, you might find
this construct:

It is now <%= Time.now %>


In Transcript:

  It is now [[the time]]

You run that through the merge function:

  put merge("It is now [[the time]]")

...and you get:

  It is now 4:44 PM

More interesting is that you don't need to use literal expressions with
merge; you can pass it variables as well, with any number of bracketed 
statements, allowing you to make whole pages of snippets which have all 
the smarts of Transcript embedded throughout, processed in a single 
merge() call.


And of course we all know about the other powerful text manipulation
stuff in Transcript like chunk expressions and such, so we can move on
to the bigger question of how we hook the engine into the web
transaction process.


HOOKING REV INTO THE SERVER TRANSACTION
---

Most of the RoR documentation makes reference to FastCGI as the
deployment mechanism for Ruby, and recommends using a specialized server 
app, WEBrick, for testing locally before deployment.  It seems Rev has 
both of these covered.


If I read Pierre's article at 
 correctly, it seems 
we can use Rev as a daemon (at least on Linux), providing a 
stay-resident option just as one would do with other engines like Perl, 
Python, etc.


I would imagine one could also set up Apache to use Rev for server-side 
includes, using settings similar to what's used for Ruby or PHP.


Because the interest in using Ruby on web servers is relatively recent,
I can't imagine there's anything in the server configuration that
couldn't also be done with Rev (or Python or PHP other popular engines).
In both cases you need to install the engine and set up the server so it
knows what to do with it.

There may be some reason that Rev can't be used with FastCGI per se, but 
given that it will run as a daemon on Linux offhand I don't know what 
that could be.  If anyone here knows it would be interesting to find 
out, and even more interesting to find out if you've been able to use 
Rev with FastCGI successfully.




PROS AND CONS OF REV AND RUBY
-

Beyond the configuration, there are two main differences between a Rev
and a Ruby solution:  OOP and Rails.

The first is the age-old procedural vs. OOP argument.  There are
benefits both ways, and I dare not suggest we need to answer that big
abstract question here. :)

Where Ruby really shines is in Rails:  there's a lot of code there,
well-crafted code.  You'd have to write that yourself to get to the same
level of development productivity with Rev.

But consider this about the origins of Ruby:

Matz's primary design consideration is to make programmers
happy by reducing the menial work they must do, following
the principles of good user interface design. He stresses
that systems design needs to emphasize human, rather than
computer, needs.


Sound like another language we know?  :)

Personally, I think the only reasons we're reading about Ruby on Rails
rather than Revolution on Rails are that both Ruby and Rails are open 
source, and there is no similar framework for Rev. While Rev isn't 
inherently OOP as Ruby is, it has its own favorable tradeoffs which make 
it quite attractive in its own right.




FRAMEWORKS AND DEPLOYMENT OPTIONS
-

So what if someone took that much time to craft a web app framework in
Transcript?


I'm reminded of Andre's presentation at the

Re: ANN: Displacement Scaling of graphic objects

2006-03-16 Thread Chipp Walters

Jim Hurley wrote:

The "stopTurtle"  stack is an interpreter I wrote in Transcript to 
implement  TG. To check it out,  in the msg box, run:


go url "http://home.infostations.net/jhurley/StopTurtles.rev";

It includes a TG dictionary and a few examples.



OK Jim, now you're just showing off!

Nice work.

-Chipp

___
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: Positioning the Message Box ?

2006-03-16 Thread Robert Brenstein

Hi from Paris,

I have an update on my own question. When I position the
message  box,

show message box
set the rect of window  "message box"   to 394,681,802,826

it goes to the right place. But when I display any data in it, it
RETURNS to its original position (It happens so quickly
during my script execution, that it was hard to see !).

So now my question is reformulated. Can I freeze
the message box so that it doesn't move ?

-Francis



Since Revolution, unlike Hypercard, offers you substacks, instead of 
fighting message box, create a substack with a single field in it and 
use for your progress. Display. In pseudo code it goes like


set the rect of stack "myprogressdisplay" to 394,681,802,826
modeless stack "myprogressdisplay"
put "my progress info" into fld 1 of stack "myprogressdisplay"
close stack "myprogressdisplay"

Robert
___
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: Making the move...

2006-03-16 Thread Klaus Major

Hi Mark,


Marielle-

Wednesday, March 15, 2006, 5:22:34 PM, you wrote:


Simple: "A method for outputting Java byte-codes equivalent to
MetaCard scripts has been designed, but implementation has been
delayed until the serious performance, compatibility, and
functionality limitations in Java have been rectified."
http://www.metacard.com/pi5.html


Thanks indeed for the links. That one, however, seems to be circa-2003
vaporware.


well, Dr. Rainey is not known for airy statements, actually ;-)


--
-Mark Wieder
 [EMAIL PROTECTED]


Regards

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: Making the move...

2006-03-16 Thread Mark Wieder
Marielle-

Wednesday, March 15, 2006, 5:22:34 PM, you wrote:

> Simple: "A method for outputting Java byte-codes equivalent to
> MetaCard scripts has been designed, but implementation has been  
> delayed until the serious performance, compatibility, and  
> functionality limitations in Java have been rectified."
> http://www.metacard.com/pi5.html

Thanks indeed for the links. That one, however, seems to be circa-2003
vaporware.

-- 
-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: How does 'Create Folder' give its result?

2006-03-16 Thread Rob Cozens


Hi Graham,

As 'create' is not a function, I don't see any other way for it to 
return a value.


Commands can return a value in "the result."

create folder myPath
get the result
if it is not empty then
beep
answer error it
end if

While not pertinent in this context, commands & functions can also 
return values via referenced parameters:


function validDate theDate,@theDay,@theMonth,@theYear
 --parse theDate for validity
if itsADate then
convert theDate to dateItems
put item 1 of theDate into theYear
put item 2 of theDate into theMonth
put item 3 of theDate into theDay
return true
end if
return false
end validDate

on dateElements theDateItems,@theDay,@theMonth,@theYear
put item 1 of theDateItems into theYear
put item 2 of theDateItems into theMonth
put item 3 of theDateItems into theDay
end dateElements

In both the function and the command the values of the variables passed 
in the last three parameters are updated in the calling handler.


Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)

___
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


Positioning the Message Box ?

2006-03-16 Thread Francis Nugent Dixon

Hi from Paris,

I have an update on my own question. When I position the
message  box,

show message box
set the rect of window  "message box"   to 394,681,802,826

it goes to the right place. But when I display any data in it, it
RETURNS to its original position (It happens so quickly
during my script execution, that it was hard to see !).

So now my question is reformulated. Can I freeze
the message box so that it doesn't move ?

-Francis

"Nothing should ever be done for the first time"
___
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: ANN: Displacement Scaling of graphic objects

2006-03-16 Thread Jim Hurley


Jim Hurley wrote:


 In the message box:

 go url "http://home.infostations.net/jhurley/ScaleMe3.rev";


Oh my. To those of us who are math-impaired, this is astounding.

It is also funny you should post this right now, because just two days
ago I was thinking how I would like to write a fractal generator, only I
don't have the math to do it. I still don't. But if I did, I bet I could. ;)

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com




Thanks to all for your kind words. We all bring special backgrounds 
to this tool which we share. Personally, I never got over the joy I 
found in my high school geometry class.


But I too am astounded by all the rest of you, with your sockets, and 
your cgi, and your HMAC/SHA1, and all the  rest of the mysteries of 
programming.


But Jacque, I know you can do fractals with your math tied behind 
your back. The beauty of Turtle Graphics is that all the analytical 
stuff is done for you. The rest is a little geometry using such 
commands as: Forward, Back, Right, Left, to handle the local 
geometry, and setXY, incXY to deal with the coordinate stuff. It is 
amazing what you can do with this tool. There are books, written by 
MIT math professors, using TG to do special relativity.


To do the snowflake all the geometry you need is to recognize that:

on drawSide L
forward L
left 60
forward L
right 120
forward L
left 60
forward L
end drawSide

will draw a four segment line with a angular (60 degree) bump in the middle.

The hard part, at least it's hard for me, is to recognize that the 
recursive version of this is:


on drawSide L
  if L > 3 then --Three is a measure  of the  smallest fractal 
segment to be considered.

divide L by 3 -- Or whatever
drawSide L
left 60
drawSide L
right 120
drawSide L
left 60
drawSide L
  else
forward  L
  end if
end drawSide

And that takes a while to see. You would probably be better at that 
than I am. My mind doesn't work recursively.


The "stopTurtle"  stack is an interpreter I wrote in Transcript to 
implement  TG. To check it out,  in the msg box, run:


go url "http://home.infostations.net/jhurley/StopTurtles.rev";

It includes a TG dictionary and a few examples.

Jim
___
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: Faking soft dropshadows

2006-03-16 Thread Ken Ray
On 3/15/06 8:51 PM, "Ian Wood" <[EMAIL PROTECTED]> wrote:

> With the new import/export snapshot abilities in Rev 2.7, it just got
> much easier to do certain kinds of image manipulation, and I finally
> got around to making a stack that will add relatively convincing
> dropshadows to a copy any image, transparent or not.

Very nice, Ian! And quite fast as well...

Well done!

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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


Positioning the Message Box ?

2006-03-16 Thread Francis Nugent Dixon

Hi from Paris,

I like to display information in the message box (an old Hypercard
habit !) during execution of some of my routines (Print, etc.). So I
thought I would control the position and size of the box to sit it under
my stack window. When I execute the command :

set the rect of window  "message box"   to 394,681,802,826

in the message box, it changes position and size to my requirements,
but when I put it into my script :

show message box
set the rect of window  "message box"   to 394,681,802,826

nothing happens. It sits in the standard place with the standard
size.

Am I doing something wrong, or is is the command not acceptable ?

-Francis

"Nothing should ever be done for the first time"
___
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


How does 'Create Folder' give its result?

2006-03-16 Thread Graham Samuel

I have a path in a variable say myPath, and I execute

create folder myPath

sometimes the folder can't be created (if the directory is protected  
etc) and if I execute the above in the message box in these  
circumstances, I see the text


  can't create that directory

But if I do this by script, this text doesn't seem to be in 'the  
result' or in 'it' (which appears to contain 'OK' even if the create  
hasn't worked), so where is this text - ? The 2.7.0 docs (dictionary  
and PDF) are silent on the matter. As 'create' is not a function, I  
don't see any other way for it to return a value.


Clearly I can produce a workaround by checking if the folder exists  
immediately after trying to create it, but how does 'create' show its  
result"?


TIA

Graham

Graham Samuel / The Living Fossil Co. / UK and France

___
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


Educational stacks

2006-03-16 Thread Stgoldberg
 In a message dated 3/15/06 12:34:17 PM, Glen Bojsza wrote:

> I was wondering if anyone has used Revolution in creating
> 1. A multiple choice quiz stack?
> 2. A multimedia "training" stack ?
> My interest is in the "look and feel" from the user experience and how
> self-contained training modules show flow. I have all the content material
> for several modules but lack the experience on the educational side in how
> best design the courses and test the users.
> 
> 
I am presently converting all the educational CDs produced by MedMaster 
(www.medmaster.net) from their original format (mTropolis) to Revolution. 
mTropolis, a very useful program which is now essentially defunct in view of 
its 
incompatibility with the new Intel Macs, enabled rapid development of 
educational 
materials.  However, I am finding by comparison that Revolution  is better, 
allowing much more rapid development  in view of its powerful scripting 
language. 
The key is to first decide  what kind of format you want in the educational 
program, which may differ depending on the educational level of the students 
and 
the topic of the course. It would first help to explore existing educational 
programs in your field of interest, whether or not they are in computerized or 
written format.  Once you have decided on what you want to accomplish, the 
likelihood is that you will be able to do it in Revolution. I'll be happy to 
send you a sample of one or more of the programs I've done. These include:

1.  Neurologic localization - a program designed to instantly point 
graphically to the areas of the nervous system involved in neurologic 
deficits.  
Teaches the user how to make diagnoses. Contains a laboratory course in 
neuroanatomy. (No quiz questions)
2.  Ophthalmology atlas - teaches ophthalmic examination, including an atlas 
of ophthalmologic diseases (no scoring)
3.  Radiology atlas of ophthalmologic diseases - quizzes the student on 
radiologic images (no scoring)
4.  Cardiology - teaches heart sounds, EKGs, x-rays, echocardiography, along 
with a series of quiz questions (no scoring)
4.  Review for the Medical Board exams - I'm working on several Board exams. 
Each CD  includes 1000+ questions, with scoring. 
Frankly, I'm amazed at the relative ease of doing this in Revolution.  One of 
the really nice things about Revolution is the ease of connecting from the CD 
program to  Internet sites, which should prove increasingly important in 
future educational programs.

I've taught medical students for 25 years, which may involve a different 
educational approach than other audiences.  So the audience and the subject may 
influence the design.
Stephen Goldberg, MD
President, MedMaster Inc
[EMAIL PROTECTED]
www.medmaster.net
___
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: use-revolution Digest, Vol 30, Issue 36

2006-03-16 Thread Stgoldberg

In a message dated 3/15/06 12:34:17 PM, Glen Bojsza wrote:
> I was wondering if anyone has used Revolution in creating
> 1. A multiple choice quiz stack?
> 2. A multimedia "training" stack ?
> My interest is in the "look and feel" from the user experience and how
> self-contained training modules show flow. I have all the content material
> for several modules but lack the experience on the educational side in how
> best design the courses and test the users.
> 
I am presently converting all the educational CDs produced by MedMaster 
(www.medmaster.net) from their original format (mTropolis) to Revolution. 
mTropolis, a very useful program which is now essentially defunct in view of 
its 
incompatibility with the new Intel Macs, enabled rapid development of 
educational 
materials.   However, I am finding by comparison that Revolution   is better, 
allowing much more rapid development   in view of its powerful scripting 
language. The key is to first decide   what kind of format you want in the 
educational program, which may differ depending on the educational level of the 
students 
and the topic of the course. It would first help to explore existing 
educational programs in your field of interest, whether or not they are in 
computerized or written format.   Once you have decided on what you want to 
accomplish, 
the likelihood is that you will be able to do it in Revolution. I'll be happy 
to send you a sample of one or more of the programs I've done. These include:

1.   Neurologic localization - a program designed to instantly point 
graphically to the areas of the nervous system involved in neurologic deficits. 
  
Teaches the user how to make diagnoses. Contains a laboratory course in 
neuroanatomy. (No quiz questions)
2.   Ophthalmology atlas - teaches ophthalmic examination, including an atlas 
of ophthalmologic diseases (no scoring)
3.   Radiology atlas of ophthalmologic diseases - quizzes the student on 
radiologic images (no scoring)
4.   Cardiology - teaches heart sounds, EKGs, x-rays, echocardiography, along 
with a series of quiz questions (no scoring)
4.   Review for the Medical Board exams - I'm working on several Board exams. 
Each CD   includes 1000+ questions, with scoring.   
Frankly, I'm amazed at the relative ease of doing this in Revolution.   One 
of the really nice things about Revolution is the ease of connecting from the 
CD program to   Internet sites, which should prove increasingly important in 
future educational programs.

I've taught medical students for 25 years, which may involve a different 
educational approach than other audiences.   So the audience and the subject 
may 
influence the design.
Stephen Goldberg, MD
President, MedMaster Inc
[EMAIL PROTECTED]
www.medmaster.net


___
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


Printing fields with images included by « set t he imageSource of such char »

2006-03-16 Thread André . Bisseret

Hi !
On each card of an App. I have differents texts ; some are including 
images that are put there by means of one char on a line (ex. : £,§,€…) 
whose imageSource is set to an image number (the images are in a 
special substack).

I want the user be able to print the text of this fld.

My first method is the following :
I created a hidden field (in the main stack), say field « toPrint » in 
which I am composing (from several fields in a card) and formating the 
text to print.

The core of it is :
put fld « theText » into fld « toPrint »
set the HTMLText of fld « toPrint » to the HTMLText of fld «theText ».

Then I print with
revShowPrintDialog false,true
put tab & "Page " & "<%pageNumber%>"  into footer
  revPrintText (the htmlText of fld "toPrint"),,footer

That works very well on Mac, The field « toPrint » is printed exactly 
as I want, including printing the images nicely.


But testers got problems with Windows (mainly, repetitions of part of 
the text on new pages).


So I am trying another method using a special PrintingStack with two 
fields, one, say, the « bufferField » the other the fldToPrint : 
filling in the second while emptying the first, line after line (thanks 
to the explanations I founded in the SmartEBook on Printing by Dan 
Schafer).


.Mainly :
repeat until the formattedHeight of fld "fldToPrint" of cd cardNum >= 
gPrintHeight

set the htmlText of line lineToAdd of fld "fldToPrint"\
to the htmlText of line 1 of fld "bufferField" of cd 1
delete line 1 of fld "bufferField" of cd 1

All works well if there is no image.

When there is an image, the image appears normally.
BUT  it is followed by an incredible mess (a lot of chars such as 
squares, apples, and so on) which could take several pages if it was 
not  remaining on the same card where the image appears.

Then the normal text is following, normally on another created card.

Is it possible to manage to avoid such a mess ?
Thanks a lot in advance for any suggestion

Best regards from Grenoble
André


___
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: [OT] Spotlight and Tiger

2006-03-16 Thread Ian Wood


On 16 Mar 2006, at 12:20, Kay C Lan wrote:

Then again, is the spotlight db only used by spotlight or is a  
corrupt db

likely to effect other things? Why can FileBuddy find the file and not
spotlight, I assume they use the same db?


Offhand, I can't think of anything else it would affect, other than  
searches within Mail. Never used FileBuddy, so couldn't answer that one.


Ian
___
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: [OT] Spotlight and Tiger

2006-03-16 Thread Kay C Lan
On 3/16/06, Ian Wood <[EMAIL PROTECTED]> wrote:
>
> Sounds like the database files have got seriously corrupted somehow.
> 


Thanks for the links about rebuilding the database.

Note that the rebuild may take several hours...


H. I think I might leave it until next time I have to watch paint dry:-)
FileBuddy gives me case sensitive searches and allows me to restrict the
search to 3 folders on 2 HDs. Gets the right file/folder every time in a
couple of seconds.

Then again, is the spotlight db only used by spotlight or is a corrupt db
likely to effect other things? Why can FileBuddy find the file and not
spotlight, I assume they use the same db?

Thanks
___
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: [OT] Spotlight and Tiger

2006-03-16 Thread Ian Wood


On 16 Mar 2006, at 04:18, Kay C Lan wrote:


On 3/16/06, Stephen Barncard <[EMAIL PROTECTED]> wrote:


Is anyone else annoyed with this horrible 'feature' of an  
otherwise great

OS?


You miss the most annoying feature of all. Spotlight is invariably  
WRONG. I
fail to find folders or files which blantanly exist. The number of  
times I
typed in the exact file/folder name and spotlight fails to find it  
is mind

boggling. It has nothing to do with permissions because I check.


Sounds like the database files have got seriously corrupted somehow.  
If you are happy in the terminal have a look at the two following  
pages, which have some instructions and experiences with renewing the  
database:




Edit - an easier way - go to the privacy tab in the Spotlight  
preference pane, drag all your partitions in, then remove them again.  
Note that the rebuild may take several hours...


Ian
___
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: [OT] Spotlight and Tiger

2006-03-16 Thread Stephen Barncard

Which costs about the same as than a copy of Path Finder!


There's an excellent Spotlight tutorial DVD by Rick Ligas at
http://www.discoveryourmac.com/

Just in case anyone's interested.

-Chipp


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
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: [OT] Spotlight and Tiger

2006-03-16 Thread Chipp Walters

There's an excellent Spotlight tutorial DVD by Rick Ligas at
http://www.discoveryourmac.com/

Just in case anyone's interested.

-Chipp

___
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: Faking soft dropshadows

2006-03-16 Thread Chipp Walters
Never mind, I was using Rev 2.6 not 2.7 and because the file format 
changed, rev couldn't recognize your stack.


Thanks, looks nice!

-Chipp


___
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: Faking soft dropshadows

2006-03-16 Thread Chipp Walters

I get:

No Such Card.

Perhaps you should check the URL?



In the message box:
go url "http://www.azurevision.co.uk/rev/dropshadow_004.rev";


___
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