Re: Unsupported Feature: iconMenu

2006-06-04 Thread Ken Ray
On 6/4/06 1:01 PM, "dreamscapesoftware.com - List"
<[EMAIL PROTECTED]> wrote:

> 
> Anyone have any idea on how to get a multi-item menu that sends a message back
> for each item?  Thanks

Yes. Here's an example:

-- Set up the menu
on mouseUp
  set the icon to 200937  -- just pick an img to use
  set the iconMenu to "New|DoNew"&cr&"Open|DoOpen"&cr&"Close|DoClose"
end mouseUp

-- Trap the menuItem choices (card/stack script)
on iconMenuPick pChoice
  switch pChoice
  case "DoNew"
-- handle "New" choice
break
  case "DoOpen"
-- handle "Open" choice
break
  case "DoClose"
-- handle "Close" choice
break
  end switch
end iconMenuPick

Note BTW that I haven't gotten this to work reliably in the Rev IDE, but
YMMV.

HTH,

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


Re: I am glad I can donate something

2006-06-04 Thread Till Bandi

great!!


A couple of minor nits...


same here (Rev 2.7.1, Build 261)

Till

Am 05.06.2006 um 02:21 schrieb Ken Ray:


On 6/4/06 5:59 PM, "Claudi Cornaz" <[EMAIL PROTECTED]> wrote:


I have uploaded a screenshot and the link to download it to
my userspace "claudi" under the categorie general.
You can also just download it from:
www.cc-imaginering.nl/runrev/2Gather/2Gather.rev.zip
(This way I can keep track if there is interrest)

2Gather is an outliner. It's quite standard except that each entry  
can

have a text / an image / and audio data
all at the same time.


This is wonderful, Claudi! I really like how you handled the text  
editing of

topic nodes...

A couple of minor nits, though: you have a "breakpoint" phrase and  
a couple

of breakpoint dots in your scripts so it broke into debugging for me a
couple of times. And for some reason the cursor ID you're using for  
the
splitter doesn't seem to exist on my copy of Rev (2.7.2 Build 261).  
But

other than that, a wonderful outliner!

Thanks for the donation "to the cause"... :-)


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


___
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: I am glad I can donate something

2006-06-04 Thread Jack Tsu
Yep, the cursor changes to something not recognized by Rev when it hovers 
over the divider. I just quickly changed "set the cursor to 202615" to "set 
the cursor to arrow" and it works fine. Really a wonderful program - a while 
ago I asked how to make these kinds of hierarchical lists and have been 
struggling to make one, so this will definitely point me in the right 
direction. Thanks Claudi!




From: Ken Ray <[EMAIL PROTECTED]>
Reply-To: How to use Revolution 
To: Use Revolution List 
Subject: Re: I am glad I can donate something
Date: Sun, 04 Jun 2006 19:21:34 -0500

On 6/4/06 5:59 PM, "Claudi Cornaz" <[EMAIL PROTECTED]> wrote:

> I have uploaded a screenshot and the link to download it to
> my userspace "claudi" under the categorie general.
> You can also just download it from:
> www.cc-imaginering.nl/runrev/2Gather/2Gather.rev.zip
> (This way I can keep track if there is interrest)
>
> 2Gather is an outliner. It's quite standard except that each entry can
> have a text / an image / and audio data
> all at the same time.

This is wonderful, Claudi! I really like how you handled the text editing 
of

topic nodes...

A couple of minor nits, though: you have a "breakpoint" phrase and a couple
of breakpoint dots in your scripts so it broke into debugging for me a
couple of times. And for some reason the cursor ID you're using for the
splitter doesn't seem to exist on my copy of Rev (2.7.2 Build 261). But
other than that, a wonderful outliner!

Thanks for the donation "to the cause"... :-)


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


_
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement


___
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: Play a Player Backwards

2006-06-04 Thread Mark Swindell

Can your kids say "NATAS!!!???"

-Mark

PS Paul is dead, Paul is dead, Paul is dead...


On Jun 4, 2006, at 12:50 AM, Richmond Mathewson wrote:

The player is controlled by the 'playRate'; so a playRate of 1 is  
forward playback at normal speed, and a playRate of -1 is reverse  
playback at normal speed.


My kids have had a lot of fun here, messing around with slo-mo  
(playback speeds of 0.5 and 0.25) and so on. Slo-Mo is extremely  
useful if you are going for a frame capture.

___
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: Application Icons (Thomas Cole)

2006-06-04 Thread J. Landman Gay

Tom Cole wrote:
I would like to have a decent application icon for both Mac and Windows. 
I just want something besides the giant, honkin' R for revolution for Mac.


There's a generic icon that is part of the standalone setup for Windows. 
I assume no one will sue me if I use that one? It looks like a computer 
screen with a tower computer by it. It's a white screen outlined in 
blue. That's what I get automatically when I create the standalone for 
windows.


I thought that one of my standalones for Mac came out with the 
application icon that looks like a piece of paper with a pencil, ruler 
and pen on it. I've seen that icon on other applications. Is it legal to 
use that one for distribution? It looks like the icon in the finder that 
is the folder for applications and is named applications.


That is the default icon that OS X shows when no real icon has been 
assigned to an application. You can get it by deleting the Rev icons 
inside the Resources folder in the bundle.


It is fine to use this, since it is the system default, equivalent to 
the one you describe for Windows. But if you are distributing to others, 
it does make it look like you made a mistake and forgot to assign an 
icon. It's okay for casual use but not for professional distribution.


--
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: I am glad I can donate something

2006-06-04 Thread Ken Ray
On 6/4/06 5:59 PM, "Claudi Cornaz" <[EMAIL PROTECTED]> wrote:

> I have uploaded a screenshot and the link to download it to
> my userspace "claudi" under the categorie general.
> You can also just download it from:
> www.cc-imaginering.nl/runrev/2Gather/2Gather.rev.zip
> (This way I can keep track if there is interrest)
> 
> 2Gather is an outliner. It's quite standard except that each entry can
> have a text / an image / and audio data
> all at the same time.

This is wonderful, Claudi! I really like how you handled the text editing of
topic nodes...

A couple of minor nits, though: you have a "breakpoint" phrase and a couple
of breakpoint dots in your scripts so it broke into debugging for me a
couple of times. And for some reason the cursor ID you're using for the
splitter doesn't seem to exist on my copy of Rev (2.7.2 Build 261). But
other than that, a wonderful outliner!

Thanks for the donation "to the cause"... :-)


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


Re: Linux installation

2006-06-04 Thread Ken Ray
On 6/4/06 12:51 PM, "Bob Warren" <[EMAIL PROTECTED]> wrote:

> I AWAIT YOUR CORRECTIONS. Thanks.

The only clarification I'd make is that the Revolution engine itself (which
is bundled together with your stack when you make a standalone) requires
certain OS-level libraries on Linux, and if they are not available, your
application won't run. This can be seen when trying to use Rev as a CGI on a
Linux server without all the necessary Linux libraries in place (see
http://www.sonsothunder.com/devres/revolution/tips/cgi001.htm for more
info). I'm assuming that since the Rev executable can simply be dragged to a
Linux web server for use as a CGI (or it *used* to, anyway) that the same
thing is true - if you're missing "libXext.so.6" for example, it may not
run.  (If anyone sees that I'm wrong, please let me know...)

Other than that, I'd be kind of careful with your definition of "standalone"
and the definition used by Revolution for "standalone". Rev applications
built using "Save as Standalone" can either be self-contained, or can call
on outside resources as necessary, based on how they were coded. So to be
glib, sometimes standalones are "standalones", and sometimes they're
"executables"... ;-)

Personally, I always use the word "exectuable" when talking about apps on
Windows and Linux, and "application" when talking about apps on MacOS...

Why? Don't know, really...

:-)

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


Relayering and dragging a group within a group

2006-06-04 Thread David Epstein
When the mouse is pressed on a button, I want the group that it is  
part of to come to the front and be draggable to a different  
location.  There are several such groups, and all are parts of a  
higher-level group called "wb."


The group "wb" has the following script:

on mouseDown
  if "button" is in the target then

-- (1) put the group this button belongs to on top of other
-- groups that are subgroups of group "wb":   
put the short id of the owner of the target into tgid
start editing group "wb"
set the layer of group id tgid to top
stop editing

-- (2) move this group with the mouse until the mouse is released:
grab group id tgid of group "wb"
  end if
end mouseDown

Part (2) does not work (using Metacard 2.5 on Mac OSX 10.4).  If I  
comment out part (1), part (2) works as expected.  Can anyone see an  
error or suggest a remedy?


Many thanks.

David Epstein
___
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


I am glad I can donate something

2006-06-04 Thread Claudi Cornaz

Hi all,

Perhaps some of you have occasionaly seen my name on this list, asking
some, somtimes "dumb", question, but I read the list with much interest.
So you might say I am a lurker. (God I hate that word)
Well I have learned an awfull lot of you all and I feel it's time to 
give

something back.

I give you all ...   ...  drum roll  ...   ..."2Gather".

I have uploaded a screenshot and the link to download it to
my userspace "claudi" under the categorie general.
You can also just download it from:   
www.cc-imaginering.nl/runrev/2Gather/2Gather.rev.zip

(This way I can keep track if there is interrest)

2Gather is an outliner. It's quite standard except that each entry can 
have a text / an image / and audio data

all at the same time.

I know it works quite well on my mac, since I am using it as a 
standalone to document

all my programming and quite some other stuff as well.
It started out as a tmplt/exercise for apps that use documents to save 
data.
Things surely can take strange turn. Anyway, it's not finished or 
polished. It's more like
a sketchbook. Me learning rev (long ago I used to dabble in hypercard) 
and trying

to get to grips with this strange and wonderfull world of revolution.
So there are a lot of ideas embedded in it just to get the hang of it.
(how to handel documents with the same name, how to work with menus,
how to have a good text menu, a window menu, preferences, etc).
Unfortunatly it's not much documented, and probably it's part englisch 
and part
dutch, I have not looked at the code for a while. It's in the same 
state as I compiled

it last (quite some month ago).  If there is enough interest
I might be able to fix that, although that might take a while and I 
spend all

my time on something new.

Anyway see it as a strange and somewhat coherent set of 
thoughts/routines.

I am not a programmer but I do programming and now with my acquired
knowledge am gonna try to create something much more complex than
a basic outliner. Ideas, data, creativity is much more three dimensional
than a 2 dimensional outliner and human behaviour and thought is also
much more fluid and flexible than outliners or minmaps can offer. (at 
least
all the outliners I have seen and I have seen a lot of them and they 
just

don't come close)

Well I hope some of you might find 2Gather or some of it's code usefull 
in
some way, you are all free to do with it as you please / like / deem 
neccesary
or just for fun. On the other hand, of course, I can't take any 
responsability

for any damage this code may cause in any way, Use it at youre own risk.
The name, the creator codeand the extension I keep reserved for my own
use however.

So, I hope someone finds some good use for this and perhaps next
time you see my name on the list I will be a bit less of a stranger.

Best wishes and happy coding you all,
 Claudi

___
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: Apple Events?

2006-06-04 Thread Mark Schonewille

Hi Todd,

I wrote this while you were experimenting with apple events.

It always seemed illogical to me to put an appleEvent handler into  
the card script, because normally you want the handler to run  
regardless of which card is the current card. If the event cannot be  
handled for whatever reason, you would still want to give feedback to  
tell the user that whatever he did is not allowed.


You can send AppleEvents from AppleScript, but there are also many  
user actions that cause an AppleEvent. The most important one  
probably being the even that is sent if a file is double-clicked in  
the Finder. To test this, tell the Finder to open a file with your  
standalone (change this in the Info window). Double-click the file  
and see what happens.


It should be possible to run an AppleScript script like this:

tell application "Revolution"
  «event abcd1234» "Event Data"
end tell

abcd is the class, 1234 the ID, and you get the string "Event Data"  
using the Transcript syntax


request appleEvent data

Now, this doesn't work, for reasons explained by Ken. There is an  
aete resource in Revolution, but it seems incomplete, as it doesn't  
even contain a required suite. I checked ftp.metacard.com, but there  
is no OSX version of MetaCard available there, anymore. If anyone  
could send me the aete resource from the MetaCard engine for OSX,  
which is needed to get apple events working, I would be very grateful.


There is also some good news: the above AppleScript works fine in Mac  
OS 9, with the Classic version of Revolution 2.6.1.


I think that the incomplete aete resource is quite essential for Mac  
OS users. If it is not in Bugzilla yet, I believe it should be reported.


Best,

Mark

--

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

Salery is the easiest way to get your own web store on-line: http:// 
www.salery.biz/salery.html




Op 4-jun-2006, om 22:14 heeft Todd Geist het volgende geschreven:


Thanks Mark!

But then what do I do?

Lets suppose I want to send Apple Events from Rev for the moment.  Can
I target this lettle Rev App with an Applescript? Will it then report
the Apple event syntax that I need to usse?

Also I noticed that the docs say to place the appleEvent Message
handler in the "current card script, not the stack script. Does  it
matter?  Or will the message just go throught the current card first
then on to the stack?


Thanks Again?

Todd


___
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


Application Icons (Thomas Cole)

2006-06-04 Thread Tom Cole
I would like to have a decent application icon for both Mac and 
Windows. I just want something besides the giant, honkin' R for 
revolution for Mac.


There's a generic icon that is part of the standalone setup for 
Windows. I assume no one will sue me if I use that one? It looks like a 
computer screen with a tower computer by it. It's a white screen 
outlined in blue. That's what I get automatically when I create the 
standalone for windows.


I thought that one of my standalones for Mac came out with the 
application icon that looks like a piece of paper with a pencil, ruler 
and pen on it. I've seen that icon on other applications. Is it legal 
to use that one for distribution? It looks like the icon in the finder 
that is the folder for applications and is named applications.


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: Apple Events?

2006-06-04 Thread Ken Ray
On 6/4/06 4:14 PM, "Jim Ault" <[EMAIL PROTECTED]> wrote:

> Todd, 
> 
> See the bottom of this message for a previous post by Ken Ray that may help
> you.  Note that Ken Ray will be doing a topic at the upcoming RevCon West.
> Also, his site has tips and examples of AppleScript in action.  In your
> case, certainly work a look under the hood.

Thanks, Jim... I was just about to make mention of the topic at RevCon...
Todd, is this something you need to do now, or can you wait until you get to
RevCon? If you need to do this now, let me know offlist and I'll work with
you to get it doing what you want...


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


Re: Apple Events?

2006-06-04 Thread Jim Ault
Todd, 

See the bottom of this message for a previous post by Ken Ray that may help
you.  Note that Ken Ray will be doing a topic at the upcoming RevCon West.
Also, his site has tips and examples of AppleScript in action.  In your
case, certainly work a look under the hood.

-
Sons of Thunder Software   http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]
-

Jim Ault
Las Vegas


On 6/4/06 1:14 PM, "Todd Geist" <[EMAIL PROTECTED]> wrote:

> On 6/4/06, Mark Schonewille <[EMAIL PROTECTED]> wrote:
> 
>> 
>> on appleEvent theClass, theID
>>put "class:" && theClass & return & ¬
>>"ID" && theID & return into myVar
>>request appleEvent data
>>put "AppleEvent data:" && it after myVar
>>answer myVar
>> end appleEvent
>> 
>> You might want to put this into a stack script and make a standalone
>> of that stack.
> 
> 
> Thanks Mark!
> But then what do I do?
> 
> Lets suppose I want to send Apple Events from Rev for the moment.  Can
> I target this lettle Rev App with an Applescript? Will it then report
> the Apple event syntax that I need to usse?
> 
> Also I noticed that the docs say to place the appleEvent Message
> handler in the "current card script, not the stack script. Does  it
> matter?  Or will the message just go throught the current card first
> then on to the stack?

> 
> Todd
-- [[ post from Ken Ray re Applescript ]] --
Posted on 12/8/05 by Trevor Devore to the Use Revolution list

 Print this tip
News and Rumors Products Services Developer Resources Contact STS About STS
Copyright ©1997-2006 Sons of Thunder Software. All rights reserved.
Send all comments to [EMAIL PROTECTED]

Actually, it's not lost, Troy! What's necessary is the "aete" resource that
used to be shipped with MetaCard, but for some reason no longer ships with
Revolution. All you need to do is copy/paste using ResFool, and you not only
have "do script" and "eval", but you can use ResFool to make your
application FULLY AppleScriptable... I'm doing this with a custom app I've
built for my clients.

In fact, you can:

tell application "Epicure Dispatcher"  -- an MC/Rev app
  play show "MyShow" without stopping
end tell

and it understands that "play show" translates to the appleEvent "EPICplay"
which it then acts on.

I'm planning on taking about how to AppleScript your app (including creating
a simple Automator action for Rev apps) at Monterey in June, so if you
happen to be going, you can take notes...

--


___
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: Apple Events?

2006-06-04 Thread Todd Geist

More info...


Thanks to Mark, I have a little Rev app that reports on the Apple
Events it receives.

BUT all I ever get for the Apple Event data is "file list error" or "not found"

My guess is that since the "Data" is probably not of type "string"
then this is the best Rev can do.

Can anyone confirm that Rev can't handle custom data type with Apple Events?

Thanks

Todd
___
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: Apple Events?

2006-06-04 Thread Todd Geist

On 6/4/06, Mark Schonewille <[EMAIL PROTECTED]> wrote:



on appleEvent theClass, theID
   put "class:" && theClass & return & ¬
   "ID" && theID & return into myVar
   request appleEvent data
   put "AppleEvent data:" && it after myVar
   answer myVar
end appleEvent

You might want to put this into a stack script and make a standalone
of that stack.



Thanks Mark!

But then what do I do?

Lets suppose I want to send Apple Events from Rev for the moment.  Can
I target this lettle Rev App with an Applescript? Will it then report
the Apple event syntax that I need to usse?

Also I noticed that the docs say to place the appleEvent Message
handler in the "current card script, not the stack script. Does  it
matter?  Or will the message just go throught the current card first
then on to the stack?


Thanks Again?

Todd
___
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: Photoprocessing - Brightness and Unsharp Mask

2006-06-04 Thread Wilhelm Sanke

On Sat, 3 Jun 2006, Sivakatirswami <[EMAIL PROTECTED]> wrote:


You people all amaze me... are there no limits? (smile)

Question (duh type): are these filters limited to image data that is  
an exact square? (implied by "3X3" "7X7")


Or, would a "filter" that supports 7 X 7 also handle an image that  
was, for example, 345 pixels wide and 500 pixels tall?  I assume the  
answer is yes, but wanted to check.



The answer is indeed yes. The size of of the filter matrix is totally 
unrelated to the size of the image to be processed. In Chipp Walter's 
original scripts the height and the width of the image are among the 
parameters that are assembled before the matrix formula (with a DLL or 
completely scripted) is being applied. In my adapted versions I use an 
image size of 640 X 480 pixels, but they could easily be changed to work 
for other sizes.


The matrix-filter size defines the number of pixels involved in 
computing the color value of the center pixel. With a 3 X 3 matrix, the 
color values of the eight pixels surrounding the center pixel - along 
with a so-called "division" factor and optionally a "bias" factor - are 
processed by means of a specific formula to arrive at the new value for 
the center pixel. This process is repeated for each image pixel. 
Similarly, a 7 X 7 matrix would use 48 surrounding pixels to compute a 
filtered value of the center pixel. The greater the matrix, the more 
variable effects in changing an image with a filter are possible.


Border and corner pixels pose a special problem as they have less 
neighbouring pixels. With a 3X3 filter a border pixel possesses 5, and a 
corner pixel only 3 adjacent pixels, meaning the processing formula has 
to take this into account and find a workaround.
Chipp's no-external formula produces a "black" 1-pixel border in this 
context, his DLL formula produces a "white" 2-pixel border, Derek Bump's 
DLL a black 2-pixel border. Photoshop and PaintShop Pro, for that 
matter, do not produce such border effects after filter use, as they use 
a more sophisticated equation when border pixels are involved.




it would be interesting if this whole thing could run without a GUI  
on a web server as a faceless processor that could have major  
implications for web apps where users upload source images, the rev  
processor goes to work and the CGI incorporates downsized images back  
to some web pages or image repository directory ...  I would  
certainly put this to use almost immediately. Quality is the big  
issue for some potential uses, not for others.

(snip)

Sivakatirswami




My guess is that once a satifactory and versatile solution for filter 
use inside Rev is in place, this could also be used with a CGI. I assume 
there are a sufficient number of web-experienced Revolution users that 
could then recommend and implement CGI versions.


Best regards,

Wilhelm Sanke




___
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: Apple Events?

2006-06-04 Thread Mark Schonewille

Hi Todd,

There is an AppleEvent example in the Sample Scripts Stack on my web  
site (originally HyperCard but also available as PDF). The AppleEvent  
information in Revolution's docs seem pretty accurate to me. The  
easiest way to find out which AppleEvent you need to catch is probably:


on appleEvent theClass, theID
  put "class:" && theClass & return & ¬
  "ID" && theID & return into myVar
  request appleEvent data
  put "AppleEvent data:" && it after myVar
  answer myVar
end appleEvent

You might want to put this into a stack script and make a standalone  
of that stack.


Best,

Mark

--

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

Salery is the easiest way to get your own web store on-line: http:// 
www.salery.biz/salery.html




Op 4-jun-2006, om 20:30 heeft Todd Geist het volgende geschreven:


Hello,

I am looking into using Apple Events with Revolution, but I can't get
my head around it.

I am pretty proficient at Applescript, and just started using Script
Debugger (jeez can't believe how much better it is then the plain old
Script Editor).  But I can't seem to make the leap from that to using
Apple Events.

All the stuff I can find on using them show you how to use them using
Carbon, or Cocoa, or some language I am not into. I would love to see
some examples using Revolution.

Does anybody of any useful resources?  Either on Apple Events or Apple
Events and Revolution together?

TIA

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


Apple Events?

2006-06-04 Thread Todd Geist

Hello,

I am looking into using Apple Events with Revolution, but I can't get
my head around it.

I am pretty proficient at Applescript, and just started using Script
Debugger (jeez can't believe how much better it is then the plain old
Script Editor).  But I can't seem to make the leap from that to using
Apple Events.

All the stuff I can find on using them show you how to use them using
Carbon, or Cocoa, or some language I am not into. I would love to see
some examples using Revolution.

Does anybody of any useful resources?  Either on Apple Events or Apple
Events and Revolution together?

TIA

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


Unsupported Feature: iconMenu

2006-06-04 Thread dreamscapesoftware.com - List
Has anyone spent some time working on the new unsupported features: the 
iconMenu and iconMenuPick?

I'm having difficulty understanding the syntax in which "iconMenu" accepts menu 
items.  I can setup the following, which does product a properly formatted 
menu, but doesn't return messages.

set the iconMenu to "New" &cr& "Open" &cr& "Close"

The syntax listed in the "What's New" file is listed as the following, but I 
cannot understand it, nor can I even figure out how to make it work.

  Menu: Item *
  Item: [ tab * ] [ '(' ] Label [ '|' Tag ] 'n'
  Label: any sequence of characters not including 'n' or '|'
  Tag: any sequence of characters not including 'n'

The best I've been able to come up with is the following, but it only seems to 
work for 1 menu item, and actually results in a message.

set the iconMenu to "New|theMessage"

Anyone have any idea on how to get a multi-item menu that sends a message back 
for each item?  Thanks


Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.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: Linux installation

2006-06-04 Thread Bob Warren
I first met the term "standalone" when I initially made contact with 
Rev. Before this, using Windows only, I had always dealt with "executables".
So now, in order to clarify certain issues connected with the subject of 
installation, I would like to make a series of statements about these 2 
types of binary files, and I would be grateful if you would correct me 
if I am wrong.


A "standalone" means what it says. It stands alone and is completely 
independent. It carries what might have originally been library 
information within itself, and uses this at runtime. It does NOT refer 
to what might be similar library routines already embedded in the 
operating system it later runs on, that could be more or less current or 
"up to date" in comparison. Consequently, if I produce a "standalone" as 
a single file in Rev, everything it needs is bundled with it and it 
should run on anyone's machine by simply copying it (almost anywhere) to 
the HD and double-clicking on it.


My recent little experiment of producing a GUI module in RB has been 
very instructive. It did not run on Mark Wieder's Kubuntu and complained 
about the unavailability of a certain library routine. To me, this seems 
to indicate that RB does not produce a "standalone" GUI program but an 
"executable" one in the traditional Windows manner. At runtime, on a 
different machine, if the libraries found in the operating system are 
not 100% compatible with the libraries present in the system where the 
program was created, it fails. Thus, such RB programs, different to Rev 
standalones, might require a "setup" in the traditional Windows manner, 
even under Linux.


If what I say is correct - AND PLEASE JUMP ON ME IMMEDIATELY IF I AM 
INCORRECT - then the question of "setting up" Rev programs in Linux is 
**normally** a relatively simple one. There is no damn "registry", and 
all you have to do is to copy (perhaps with decompression) the program 
and other files where you like on the HD, and to provide (if you can) 
icons on the desktop and/or in the start menu.


Here are a few more statements that I hope you will put me right on 
where necessary.


There are 8 HD paths that my little module hopes to deduce from the 
operating system. On my Ubuntu Linux, here is an example:


/home/bob/Desktop/(DesktopFolder)
/home/bob/(PreferencesFolder)
/usr/(SystemFolder)
/tmp/(TemporaryFolder)
/home/bob/(ApplicationSupportFolder)
failed(FontsFolder)
failed(StartupItemsFolder)
/home/bob/.Trash/(TrashFolder)

And here is another example on Gentoo (with KDE):

/home/rishi/Desktop/(DesktopFolder)
/home/rishi/(PreferencesFolder)
/usr/(SystemFolder)
/tmp/(TemporaryFolder)
/home/rishi/(ApplicationSupportFolder)
failed(FontsFolder)
failed(StartupItemsFolder)
failed (TrashFolder)

Of these, the first 5 are always the same under all distributions of 
Linux, except for the user name. Therefore, as Jacqueline Landman Gay 
suggested, the use of the global $HOME variable in Rev should be 
sufficient to deduce these paths.


Different distributions of Linux typically vary the paths to the last 3 
categories, and the RB functions for deducing them may or may not be 
successful, or in other words, they are unreliable for general Linux use 
and can only be employed perhaps for a limited set of distros where they 
are known to succeed.


And finally, considering the above, although it would be nice if Rev 
implemented the suite of reportable system path-deducing functions 
through specialFolderPath in Linux, or even extended them to provide 
reliable reports on the Fonts, Startup Items and Trash, there is no 
greatly imperative need for it at this very moment, unless you want to 
install new fonts, get your program executed automatically at OS 
startup, etc.


I AWAIT YOUR CORRECTIONS. Thanks.

Bob

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


RE: Rev Media 2.7.2

2006-06-04 Thread Lynn Fredricks
> I was a bit surprised to find that my license code for Rev 
> Media 2.7.1 did not work for 2.7.2. I had understood that 
> minor upgrades were covered in the 2.7.1 license - obviously 
> I was wrong: the license does say it includes no upgrades - 
> and that upgrades must be purchased separately. However, the 
> only upgrades related to Rev Media seem to be from Media to 
> Studio and so on, not to newer versions of Rev Media. Mind 
> you on my budget here in Bulgaria I will be unable to buy 
> upgrades every 2 months or so.

We've had a few reports of problems updating Media to 2.7.2. It's a free
update. If you are experiencing a problem, make sure you send a note to
support. This should get sorted out on Monday.

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: snapshot and imageData...

2006-06-04 Thread jbv


Mark,

My original goal was to get the imagedata of a snapshot as fast
as possible.
I first tried with "import snapshot" but realized that it didn't
produce any valid imageData.
Then I thought that may be creating a 2nd image and putting
the image content of the snapshot into the 2nd image would
create a valid imagedata... But it doesn't... unless you first
create a tRect variable for the rect of the snapshot...

And finally, I use JPEG because I don't need any transparency,
although I just realized that PNG versions of screenshots have
a smaller size than JPEGs, but the process is also somewhat
longer, and I need to do it as fast as possible...

BTW, could someone explain why the tRect variable needs to
be created before executing "import snapshot" in order to get a
valid imagedata ?
I'm probably dumb, but I really don't get it...

Best,
JB

> Hi JB,
>
> Why did you originally want to create two images? I had the
> impression that your goal was to have two image objects. Also, why do
> you use JPEG instead of PNG?
>
> Best,
>
> Mark
>
> --
>
> Economy-x-Talk
> Consultancy and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
>
> Salery is the easiest way to get your own web store on-line: http://
> www.salery.biz/salery.html
>
> Op 4-jun-2006, om 12:07 heeft jbv het volgende geschreven:
>
> >
> >
> > Chipp,
> >
> > Thanks for the tip.
> >
> > For those interested, I've found a (slightly) different
> > but (slightly) faster way to do this :
> >
> > on mouseUp
> >   put the screenrect into tRect
> >   export snapshot from rect tRect to var as JPEG
> >   create img
> >   put var into img 1
> > end mouseUp
> >
> > the difference is probably because only 1 image
> > object is created...
> >
> > JB
> >
>
> ___
> 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

--



_
Faith is a central nervous system disease, like Alzheimer or multiple sclerosis.


___
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: ErrorLib 1.0 released

2006-06-04 Thread Mark Schonewille

Dear Revolution community,

After removing the last few glitches from ErrorLib, Economy-x-Talk  
now publishes the official final release of ErrorLib 1.0. ErrorLib  
gives you control of execution errors. With ErrorLib, you decide  
whether errors are reported and how they are reported. Password  
protected stacks no longer hamper bug reports from your clients and  
you will get all error information Revolution can possibly provide.


With errorLib, you have a simple light-weight set of scripts that you  
can include with your standalones and use in the IDE. The execution  
error dialog will no longer lock up your IDE if you use errorLib  
instead. You can easily parse error information and choose whether to  
have the error displayed by the Revolution IDE, by the built-in  
routines of errorLib, or in your own custom error dialog. This  
library also provides error information if your stack is protected by  
a password and includes a logging feature that saves errors to a file.


ErrorLib works with Revolution 2.2 and later. This library is  
shareware. Download ErrorLib from the Economy-x-Talk website at  
http://economy-x-talk.com/developers.html (download links are in the  
top-right of the page).


If you have questions about this library, please contact Economy-x- 
Talk at [EMAIL PROTECTED] or catch me in ChatRev (for info  
about ChatRev see http://economy-x-talk.com/chatrev.html or http:// 
chatrev.bjoernke.com).


Best regards,

Mark

--

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

Salery is the easiest way to get your own web store on-line: http:// 
www.salery.biz/salery.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: snapshot and imageData...

2006-06-04 Thread Mark Schonewille

Hi JB,

Why did you originally want to create two images? I had the  
impression that your goal was to have two image objects. Also, why do  
you use JPEG instead of PNG?


Best,

Mark

--

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

Salery is the easiest way to get your own web store on-line: http:// 
www.salery.biz/salery.html




Op 4-jun-2006, om 12:07 heeft jbv het volgende geschreven:




Chipp,

Thanks for the tip.

For those interested, I've found a (slightly) different
but (slightly) faster way to do this :

on mouseUp
  put the screenrect into tRect
  export snapshot from rect tRect to var as JPEG
  create img
  put var into img 1
end mouseUp

the difference is probably because only 1 image
object is created...

JB



___
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: snapshot and imageData...

2006-06-04 Thread jbv


Chipp,

Thanks for the tip.

For those interested, I've found a (slightly) different
but (slightly) faster way to do this :

on mouseUp
  put the screenrect into tRect
  export snapshot from rect tRect to var as JPEG
  create img
  put var into img 1
end mouseUp

the difference is probably because only 1 image
object is created...

JB


> jbv,
>
> I tried this and it works just fine:
>
> on mouseUp
>   put the screenRect into tRect
>import snapshot from rect tRect
>create img
>put img 1 into img 2
> end mouseUp
>
> The trick is to create the var tRect first before using the import
> snapshot command.
>
> best,
> 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


Rev Media 2.7.2

2006-06-04 Thread Richmond Mathewson
I was a bit surprised to find that my license code for Rev Media 2.7.1 did not 
work for 2.7.2. I had understood that minor upgrades were covered in the 2.7.1 
license - obviously I was wrong: the license does say it includes no upgrades - 
and that upgrades must be purchased separately. However, the only upgrades 
related to Rev Media seem to be from Media to Studio and so on, not to newer 
versions of Rev Media. Mind you on my budget here in Bulgaria I will be unable 
to buy upgrades every 2 months or so.

sincerely, Richmond Mathewson




"Philosophical problems are confusions arising owing to the fluidity of 
meanings users attach to words and phrases."
   Mathewson, 2006

Send instant messages to your online friends http://uk.messenger.yahoo.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


Reading Mac Floppies . . .

2006-06-04 Thread Richmond Mathewson
I have a large number of floppies loaded with HC stacks and all sorts of other 
stuff and have recently transferred the lot onto a couple of CDs; this is how I 
did it:

1. went into my attic and dug out an old Performa 5200.

2. dug out my old SCSI 2x CD burner. Toast 3 aloowed me to burn a 
WIN-compatible CD.

end of story.

Another possible recipe:

1. Find a pre-Blue G3 Mac with a LAN port and connect it to another computer 
(Mac, PC with WIN, PC with LINUX) with a twisted pair cable or via an ethernet 
Hub/Switch.

recently a friend of mine wanted some old Word-for-Mac files moved from Mac 
formatted floppies onto their WIN XP box - so I hooked up my (bloody heavy) 
5200 to the XP box via an ethernet hub, fiddled around with sharing in Mac OS 
8.1, and transferred the contents of the floppies onto the 5200; then opened 
the 5200 hard-disc from the XP box.

By the way . . . this is not nearly as fiddly and threatening as it sounds:

all the documentation about how to do this with Mac OS systems 7.1 - 9 is 
available on the Apple website.

There are lots and lots of old Macs lurking in attics and cellars all across 
North America and Western Europe just waiting for the moment when we all wake 
up and realise that they can be extremely useful now that Apple have definitely 
abandoned floppy drives (silly bunch!).

sincerely, Richmond Mathewson




"Philosophical problems are confusions arising owing to the fluidity of 
meanings users attach to words and phrases."
   Mathewson, 2006

Send instant messages to your online friends http://uk.messenger.yahoo.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


Play a Player Backwards

2006-06-04 Thread Richmond Mathewson
The player is controlled by the 'playRate'; so a playRate of 1 is forward 
playback at normal speed, and a playRate of -1 is reverse playback at normal 
speed.

My kids have had a lot of fun here, messing around with slo-mo (playback speeds 
of 0.5 and 0.25) and so on. Slo-Mo is extremely useful if you are going for a 
frame capture.

If you have a player called "VCR" you will set the playrate as follows:

set the playRate of player "VCR" to -1

you will then get reverse playback!

sincerely, Richmond Mathewson




"Philosophical problems are confusions arising owing to the fluidity of 
meanings users attach to words and phrases."
   Mathewson, 2006


-
 Copy addresses and emails from any email account to Yahoo! Mail - quick, easy 
and free. Do it now...
___
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: text question

2006-06-04 Thread Yves COPPE


Le 03-juin-06 à 23:01, Dar Scott a écrit :



On Jun 3, 2006, at 2:41 PM, Yves COPPE wrote:

I'd like to write one char of a line of text a little  lower that  
the textLine


Perhaps the textShift property will do what you want.


Yeah !   thank you Dar.


Greetings.

Yves COPPE
[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