Re: RevDB: fetching rows

2003-01-25 Thread Jan Schenkel
--- [EMAIL PROTECTED] wrote:
> Hello all,
> 
> I feel like I must be missing something here... but
> so far I'm stumped.
> I want to fetch a subset of rows from a database
> cursor; however, it seems I 
> can only grab a column. If I have a database cursor
> with 1,000 selected 
> records, how can I get just the first 50 without
> many calls to RevDB?
> 
> Brian
> 

Hi Brian,

Unfortunately, ANSI-SQL doesn't have a native solution
for that: you get all the records that fall within the
conditions of the WHERE-clause.

However, MySQL provides an extension to the standard
syntax - 'LIMIT' - which will do what you want. Eg:
  SELECT cust_id, cust_name FROM customer WHERE
 cust_id >= theCurrentId LIMIT 100
would get you the first 100 customers with an ID
higher than or equal to the one in theCurrentID.

Other databases _may_ support the same syntax, or
provide their own similar extension. But as they say:
your mileage may vary...

Hope this helped,

Jan Schenkel.

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Mac Standalone works, Windows doesn't mystery.....

2003-01-25 Thread Jan Schenkel
--- [EMAIL PROTECTED] wrote:
> 
> In a message dated 26/1/03 2:34:40 AM, Ken Ray
> writes:
> 
> <<   enable button continue
> 
> should be:
> 
>   enable button "continue"
> 
> Do you get an error message, or does the button just
> not enable? >>
> 
> Thanks Ray
> 
> Nothing bad happens on Win, the system stays
> responsive in other respects.
> 
> I stopped developing on Windows - I have been just
> building on Mac & testing 
> using VPC - so I haven't had have the luxury of
> error reporting.  
> 
> With hindsight I think to give up on developing on
> PC  was a mistake born of 
> Revs generally remarkably predictable cross platform
> performance - I think I 
> am going to have to dowload a Win RR and borrow a
> PC.  Maybe do a build with 
> error reporting just to get a quick idea?
> 
> You are right, I should use quotes.  But is Windows
> more picky about that?
> 

Not to sound too obvious, but have you tried running
the Win RR development in VirtualPC ? Or did that turn
out too slow ?
Now apart from the quotes, have you tried switching
the 'unlock screen' and the 'enable button' lines ?
Maybe it's just a screen refreshment problem.

Hope this helped,

Jan Schenkel.

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



RevDB: fetching rows

2003-01-25 Thread Yennie
Hello all,

I feel like I must be missing something here... but so far I'm stumped.
I want to fetch a subset of rows from a database cursor; however, it seems I can only grab a column. If I have a database cursor with 1,000 selected records, how can I get just the first 50 without many calls to RevDB?

Brian


Re: Data organization

2003-01-25 Thread David Vaughan

On Sunday, Jan 26, 2003, at 08:58 Australia/Sydney, David Vaughan wrote:



On Sunday, Jan 26, 2003, at 08:33 Australia/Sydney, 
[EMAIL PROTECTED] wrote:

I'm very new to rev. I need to make an application that will divide 
up folders full of images into separate folders containing no more 
that 690 MB so they can be burned onto cds. Can rev do this? where 
should I start? any help will be much appreciated
Jon

Jon

Look up "files" in the Transcript Dictionary and read about the "long" 
or "detailed" form of it.
snip

Of course if you already have an order in which you want to write the 
files then skip the sort and the arrays and hold current "source" and 
"allocated" files lists together with a variable of space remaining and 
of the current sub-folder name. When you fill a CD (sub-folder) then 
clear the allocated list, increment the numeric tail of the sub-folder 
name and keep going. Look up "repeat for each" to run through your 
source list efficiently. I assume you will want to allocate a few KB to 
write out your list of allocated images onto the same CD.

cheers
David

regards
David

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Another group question

2003-01-25 Thread Mark Swindell
on 1/24/03 6:22 PM, Jeanne A. E. DeVoto at [EMAIL PROTECTED] wrote:

> At 5:49 PM -0800 1/24/03, Mark Swindell wrote:
>> I have a single menu group that I want placed on all cards in my stack.
>> I've disengaged it from being a subgroup of a larger group and placed it on
>> one card.  But when I go to place it on the other cards, it doesn't show up
>> in the Place Menu, and when I type "Place group theOnlyMenu" into the
>> message box I get an error.  What am I missing?  I can copy and paste it,
>> however.
> 
> Are you sure it's no longer a subgroup? Try checking "the owner of group
> whatever" to make sure it's not owned by another group.
> 
> There's a tricky bit with the place command, which is that "group whatever"
> only works if the group is already on the card (because "group" is used in
> reference to a card). If the group isn't placed on the current card, but is
> in the stack, you need to use "background":
> 
> place background "Foo" onto this card

Jeanne, Geoff,

Thanks for the clarification, and yes, the "place background onto this card"
worked.  

I'm curious, though, why the group doesn't show up in the Object|Place Group
menu... aren't all groups that are a part of a stack and not placed on the
current card supposed to show up there, background or other?  Or am I
misunderstanding?

Thanks,
Mark

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: AppleEvent messages

2003-01-25 Thread sims
Here's the basic thing - whenever one app needs to communiate with another,

it generally sends an appleEvent,


I hope this gives you a foundation on appleEvents; let me know if you need
any more info.

Ken Ray


Thanks Ken.

So, If I drop an unopened jpeg file onto an open Rev app,  that is 
not an example
of an appleEvent...correct?

I have read this might be available with Rev 2.0 but am trying to understand
the process better. I can see I need to do some reading up on this.

I do know about the external that can do this but am curious about Rev being
able to provide this info without an external.

Thanks Ken

sims

 > One of the things I am trying to achieve is to be able to drop a jpeg

 onto a Rev card/window and be able to get the path to that jpeg.
 I understand that I can do so with the external that is available

 > but am hoping to be able to do this through scripting & AE alone.


--
---
   http://EZPZapps.com [EMAIL PROTECTED]
  Software - Internet Development - Consulting
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Data organization

2003-01-25 Thread David Vaughan

On Sunday, Jan 26, 2003, at 08:33 Australia/Sydney, [EMAIL PROTECTED] 
wrote:

I'm very new to rev. I need to make an application that will divide up 
folders full of images into separate folders containing no more that 
690 MB so they can be burned onto cds. Can rev do this? where should I 
start? any help will be much appreciated
Jon

Jon

Look up "files" in the Transcript Dictionary and read about the "long" 
or "detailed" form of it. This gives you the size information on each 
image as well as the list of image file names. The rest is just 
standard bin-packing. Sort the file list in descending order by size 
(look up how to sort lines by an item) and fit the largest item into 
the smallest space currently available for it. Since you do not know 
how many CDs you will need, create two arrays. In one you keep the 
lists of file names as they are allocated, and in the other (with the 
same index) a convenient summary of how much space remains available in 
the corresponding CDs. Finally, create a sub-folder for each array 
entry and copy or move the corresponding files to those locations.

If this is not enough to get you going then feel free to write back. I 
have assumed that you will want to use the opportunity to learn about 
Rev and there are quite a few things you will be exploring and 
exercising here. I suggest a small test stack in which you successively 
explore the behaviour of each of the main commands (file access, 
arrays, sorting, looping, file moving) as you build your main 
application.

regards
David
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Message Path Problems

2003-01-25 Thread livfoss
On Sat, 25 Jan 2003 07:50:28 -0800 (PST, Jan Schenkel <[EMAIL PROTECTED]> wrote:

>I suggest you go in and 'comment' each handler one at
>a time to see if that fixes the problem. This should
>help you pinpoint the offending handler.
>Maybe we can come up with a better strategy if you
>tell us what the error is you're getting at compile
>time ?

Thanks for the interest Jan. I find that I am a victim of my own stupidity (of course) 
but also of the error reporting in the Revo development environment. The error I got 
was ' Handler: can't find handler', with the value being the name of the handler I 
thought was missing, and on pressing the 'script' button in the error report, I got 
the script of the caller. So I thought that the call in the script was to a handler 
that wasn't there or wasn't in the message path... however after a lot of research, I 
found that the call did in fact take place, and the error occurred apparently within 
the handler (not its caller) at a 'pass' statement (which I'd put there instead of an 
'exit' statement, but that's another story). I boiled it down to two stacks: a 
mainstack with the script:

on startUp
 answer "we are going to the substack"
 send "TryIt" to stack "TestSubstack"
end startUp

on mainStackThing
  answer "We've arrived at mainStackThing"
end mainStackThing

in the substack, the script is

on TryIt
 if the optionkey is down then
pass TryIt
 else
   mainStackThing
end TryIt

When we use the message box to send 'startUp' to the mainstack without the option key 
down, we get a call of 'mainStackThing'.

When we try it with the option key down, we get the error 'can't find handler' with 
the value TryIt and the offending statement 'send "TryIt" to stack "TestSubstack" '. 
The 'script' button opens the script in the mainstack, so one is led to believe that 
this script can't be executed. Confusing, isn't it?

I realise that I am doing wrong stuff, but I would appreciate an explanation from 
someone who can understand what was really happening.

TIA

Graham

-

Graham Samuel / The Living Fossil Co. / UK & France
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Data organization

2003-01-25 Thread jonadams520
I'm very new to rev. I need to make an application that will divide up 
folders full of images into separate folders containing no more that 
690 MB so they can be burned onto cds. Can rev do this? where should I 
start? any help will be much appreciated
Jon

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Mac Standalone works, Windows doesn't mystery.....

2003-01-25 Thread DVGlasgow
 Is there any obvious reason why this snippet would work in the development 
environment and in a fat mac build, but not in a Windows build (built on the 
Mac)? Button "continue" never gets enabled in the Windows standalone. 

There is  more script before, but it doesn't do anything very exciting at 
all, just concatenates various strings to make 'blurb'.

"Affinity results.rev" is in the right place in both mac and windows 
distributions.  




  push card
  get the directory
  put "/affin2pics/Affinity Results.rev" after it
  put it into trecords
  go invisible stack trecords
  if there is not a card gnewcard
  then
clone card 2 of stack "affinity results"
set the name of it to gnewcard
  end if
  put blurb into field "assessment text" of card gnewcard
  pop card
  save stack "affinity results"
  close stack "affinity results"
  unlock screen
  enable button continue




Best wishes,

David Glasgow
Home/ forensic assessments --> http://members.aol.com/dvglasgow/";>
DVGlasgow 
Courses --> http://www.i-Psych.co.uk";>i-Psych
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: AppleEvent messages

2003-01-25 Thread Ken Ray
Here's the basic thing - whenever one app needs to communiate with another,
it generally sends an appleEvent, which has a four-character class code, and
a four character ID. AppleEvents are grouped together into "suites".
Applications are required to handle four basic appleEvents (called the
"required suite"), consisting of the following events:

  aevtoapp - "Open Application" - Sent/triggered when an application is
opened.

Example: You double-click on a Rev app in the Finder. The Finder launches
the app, and then sends it an "aevtoapp" event (which you *could* trap for
in the appleEvent handler, but since you get a 'startup' message generated
by Rev anyway, this event is pretty useless to trap).

  aevtquit - "Quit Application" - Sent when the application is being quit.

Example: You choose "Quit Application" from the Application menu is OS X, or
(I believe) execute a "quit" command in Transcript (you'll have to check on
that one, I'm assuming that's the case). If you don't pass the appleEvent,
your app won't quit. If you do pass it (or don't trap it), your app will
quit.

  aevtodoc - "Open Document" - Sent/triggered when a document for the
application is to be opened.

Example: You double click a document for your Rev app on the desktop; the
Finder locates the associated application, launches it (sending it an
"aevtoapp") and then "tells" the application that there is a document to
open (by sending it an "aevtodoc"). You can check the "data" of the
appleEvent to get the path to the document you're supposed to open. (More on
that in a minute.)

  aevtpdoc - "Print Document" - Sent when an application is being told to
print a document.

Example: You select a document on the desktop and choose "Print" from the
Finder's File menu. This then does exactly the same as "aevtodoc" (finding
the app, launching it and sending it the "aevtoapp" event), but then
triggers the "aevtpdoc" event instead of "aevtodoc". You can also query the
"data" of the appleEvent to get the path of the document you're supposed to
print.

Some appleEvents have data that are associated with them, which can be
retrieved using the "request appleEvent data" command, which puts any data
that the appleEvent has into the local variable "it". Any errors will be
returned in "the result" (it'll be empty if there was no error). As you can
see by the code you provided in your email, this is the way the document was
retrieved.

I hope this gives you a foundation on appleEvents; let me know if you need
any more info.

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

- Original Message -
From: "sims" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 25, 2003 7:17 AM
Subject: AppleEvent messages


> I've been trying to understand how one uses appleEvents and have played
with
> the following script. I cannot figure out how one gets the path of the
files
> from the script.
>
> One of the things I am trying to achieve is to be able to drop a jpeg
> onto a Rev card/window and be able to get the path to that jpeg.
> I understand that I can do so with the external that is available
> but am hoping to be able to do this through scripting & AE alone.
>
> Can anyone clue me in? Can I achieve this with Rev 1.1.1? How?
>
> atb
>
> sims
>
>
> >Ben Rubinstein [EMAIL PROTECTED]
> >Wed Nov 28 07:51:16 2001
>
>
> >handle the "appleEvent" message.
> >
> >Put the following handler in your stack script:
> >
> > on appleEvent eClass, eID, eSender
> >if eClass = "odoc" then
> >   request appleEvent data
> >   if the result = empty then
> >  answer "OpenDoc AppleEvent!" & return \
> > & "id =" && eID \
> > & "sender =" && eSender \
> > & "data =" && it
> >   else
> >  pass appleEvent
> >   end if
> >else
> >   pass appleEvent
> >end if
> > end appleEvent
> >
> >Build a standalone, and try it.  You should see that when you drag and
drop
> >a file, this handler fires, and the data for the apple event is the path
of
> >the file(s).
>
> --
> ---
> http://EZPZapps.com [EMAIL PROTECTED]
>Software - Internet Development - Consulting
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Exporting Vector Graphics

2003-01-25 Thread Ken Ray
Sounds great, Alejandro! Thanks for your work on this!

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

- Original Message - 
From: "Alejandro Tejada" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 25, 2003 5:17 AM
Subject: RE: Exporting Vector Graphics


> Hi Igor:
> 
> I'll be working on exporting graphics, text fields
> and images to Adobe Illustrator format,
> after finishing version 04 of EPS Import.
> 
> Friday or Saturday of next week.
> 
> Alejandro
> 
> 
> --- Igor de Oliveira Couto <[EMAIL PROTECTED]>
> wrote:
> > I was wondering whether anyone has any information
> > in regards to 
> > exporting Revolution graphic objects in a VECTOR
> > format (ie, PICT, EPS, 
> > .wmf, etc.).
> 
> 
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Another group question

2003-01-25 Thread Jeanne A. E. DeVoto
At 5:49 PM -0800 1/24/03, Mark Swindell wrote:
>I have a single menu group that I want placed on all cards in my stack.
>I've disengaged it from being a subgroup of a larger group and placed it on
>one card.  But when I go to place it on the other cards, it doesn't show up
>in the Place Menu, and when I type "Place group theOnlyMenu" into the
>message box I get an error.  What am I missing?  I can copy and paste it,
>however.

Are you sure it's no longer a subgroup? Try checking "the owner of group
whatever" to make sure it's not owned by another group.

There's a tricky bit with the place command, which is that "group whatever"
only works if the group is already on the card (because "group" is used in
reference to a card). If the group isn't placed on the current card, but is
in the stack, you need to use "background":

  place background "Foo" onto this card

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Exporting Vector Graphics

2003-01-25 Thread Jim Hurley

Message: 10
Date: Sat, 25 Jan 2003 03:17:43 -0800 (PST)
From: Alejandro Tejada <[EMAIL PROTECTED]>
Subject: RE: Exporting Vector Graphics
To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]

Hi Igor:

I'll be working on exporting graphics, text fields
and images to Adobe Illustrator format,
after finishing version 04 of EPS Import.

Friday or Saturday of next week.

Alejandro



Alejandro,

Does "finishing version 04 of EPS Import" imply anything  about the 
existence of an EPS export?

Thinking wishfully,

Jim Hurley
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Serendipity Library Update 20030123

2003-01-25 Thread Claus Dreischer
...


Rob Cozens

God bless the French & Germans!
War should never be a first resort.
True peace cannot exist in a world where the most powerful nation is 
also its most malevolent.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Hello Rob,

I've read your mail in the runrev list.
I'll just want say that i like your brave statement.
Even more because we don't have the free speach some repliers in the 
runrev list was referring to.
We all (should) know that the war is a fact to come.
Its all about oil and power, nothing more.

I'm curious if my Bundeskanzler (german cancelor) will hold his position 
 or if he will help the US with AWACS or something.

There will be war, it was decided and there is nothing we can do.
It's sad but it's the reality.

I'll email you directly because i'm not as brave as you are.
(A german taking postion against the US is a Nazi by default)

Regards,
	Claus Dreischer.


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Message Path Problems

2003-01-25 Thread Jan Schenkel
--- [EMAIL PROTECTED] wrote:
> Dear List
> 
> I found out the hard way that when there is a
> compile error in a script, then **all** the handlers
> in that script are nuked, i.e. they simply evaporate
> and so messages that expect to find such handlers in
> the message path suddenly generate 'can't find
> handler' errors. So it's no good putting 10 handlers
> in a script and debugging their syntax one by one
> (you can of course do it with the semantics).
> 

As the engine compiles the script, it compiles it in
its entirety ; so yes, the other handlers wouldn't
work anymore either.

> When there is a compile error after editing a
> script, it is reported (I thought) when you hit the
> 'Apply' button, thus warning you of problems to
> come. However, I've just experienced a problem where
> an already working handler appears to have been
> eliminated from my mainstack/ message path without
> any explicit error showing up. I can't work out how
> to find the error. The mainstack is called
> 'SC_Anchor', and I've noticed that after the 'can't
> find stack' error occurs,
> 
>   put exists(stack "SC_Anchor") returns 'true', but
> that
> 
>   put exists(the script of stack "SC_Anchor")
> returns 'false'
> 

The 'exists' function can check for the presence of
objects, not properties of these objects.
Your script isn't gone, it just isn't compiled and
therefore doesn't respond to messages sent to it.

> OTOH, my testing sequence always starts when I send
> a message from the message box saying
> 
>   send "startUp" to stack "SC_Anchor"
> 
> and that always works... (BTW, this is my solution -
> suggested earlier by someone on this list - to the
> problem of not being able to use a 'startUp' handler
> within the development environment).
> 
> I have checked the spelling of the handler's name
> and I've also checked that the handler's script is
> well formed. Just don't know what to do next. I
> would like to list all the handlers in the stack
> known to the Revo environment, but I don't know how.
> 
> Any help gratefully accepted!
> 
> Graham

I suggest you go in and 'comment' each handler one at
a time to see if that fixes the problem. This should
help you pinpoint the offending handler.
Maybe we can come up with a better strategy if you
tell us what the error is you're getting at compile
time ?

Hope this helped,

Jan Schenkel.

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: AppleEvent messages

2003-01-25 Thread Jan Schenkel
--- sims <[EMAIL PROTECTED]> wrote:
> I've been trying to understand how one uses
> appleEvents and have played with
> the following script. I cannot figure out how one
> gets the path of the files
> from the script.
> 
> One of the things I am trying to achieve is to be
> able to drop a jpeg
> onto a Rev card/window and be able to get the path
> to that jpeg.
> I understand that I can do so with the external that
> is available
> but am hoping to be able to do this through
> scripting & AE alone.
> 
> Can anyone clue me in? Can I achieve this with Rev
> 1.1.1? How?
> 
> atb
> 
> sims
> 


Hi Sims,

Have a look at the Transcript Dictionary entry for
'request AppleEvent data' -- this will explain how you
can extract the path from an 'odoc' event.

As for drag-and-drop onto a card : that's coming soon,
as in RunRev 2.0 we'll be able to pick up files and
blocks of text that are dropped onto our windows.
If you need a solution right away, have a look at the
RunRev Externals Collection by Tuviah Snyder :
http://www.runrev.com/revolution/developers/developerdownloads/externalscollection.html

Hope this helped,

Jan Schenkel.

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Too many clicks

2003-01-25 Thread Klaus Major
Hi Greg,


Thanks Klaus

I enjoy your many contributions to the list and this one for me was an 
instant fix. Your response was way too quick for me to reply on the 
day. I hadn't checked out the usercontributions for a while and got 
wonderfully side tracked in the process. Thanks again, I am now back 
on track and single clicks are the order of the day.

regards
Greg

actually that was NOT my contribution ;-)
But thanks for the kind words anyway :-)

Have a nice weekend...


Regards

Klaus Major
[EMAIL PROTECTED]


P.S.
I HAVE been a little bit depressive for a while
because you did not reply at once, but...

...this fine bottle with its sweet and mellow content arrived
a couple of days before :-) Hmmm tasty...think i have another
glass...sip, sip...Helps to forget...sigh...sip...

:-D

Hey all, the first of my "revolutionary" prize is to you!
Love you all...

Cheers! 8-P

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Message Path Problems

2003-01-25 Thread livfoss
Dear List

I found out the hard way that when there is a compile error in a script, then **all** 
the handlers in that script are nuked, i.e. they simply evaporate and so messages that 
expect to find such handlers in the message path suddenly generate 'can't find 
handler' errors. So it's no good putting 10 handlers in a script and debugging their 
syntax one by one (you can of course do it with the semantics).

When there is a compile error after editing a script, it is reported (I thought) when 
you hit the 'Apply' button, thus warning you of problems to come. However, I've just 
experienced a problem where an already working handler appears to have been eliminated 
from my mainstack/ message path without any explicit error showing up. I can't work 
out how to find the error. The mainstack is called 'SC_Anchor', and I've noticed that 
after the 'can't find stack' error occurs,

  put exists(stack "SC_Anchor") returns 'true', but that

  put exists(the script of stack "SC_Anchor") returns 'false'

OTOH, my testing sequence always starts when I send a message from the message box 
saying

  send "startUp" to stack "SC_Anchor"

and that always works... (BTW, this is my solution - suggested earlier by someone on 
this list - to the problem of not being able to use a 'startUp' handler within the 
development environment).

I have checked the spelling of the handler's name and I've also checked that the 
handler's script is well formed. Just don't know what to do next. I would like to list 
all the handlers in the stack known to the Revo environment, but I don't know how.

Any help gratefully accepted!

Graham


Graham Samuel / The Living Fossil Co. / UK & France
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



AppleEvent messages

2003-01-25 Thread sims
I've been trying to understand how one uses appleEvents and have played with
the following script. I cannot figure out how one gets the path of the files
from the script.

One of the things I am trying to achieve is to be able to drop a jpeg
onto a Rev card/window and be able to get the path to that jpeg.
I understand that I can do so with the external that is available
but am hoping to be able to do this through scripting & AE alone.

Can anyone clue me in? Can I achieve this with Rev 1.1.1? How?

atb

sims



Ben Rubinstein [EMAIL PROTECTED]
Wed Nov 28 07:51:16 2001




handle the "appleEvent" message.

Put the following handler in your stack script:

on appleEvent eClass, eID, eSender
   if eClass = "odoc" then
  request appleEvent data
  if the result = empty then
 answer "OpenDoc AppleEvent!" & return \
& "id =" && eID \
& "sender =" && eSender \
& "data =" && it
  else
 pass appleEvent
  end if
   else
  pass appleEvent
   end if
end appleEvent

Build a standalone, and try it.  You should see that when you drag and drop
a file, this handler fires, and the data for the apple event is the path of
the file(s).


--
---
   http://EZPZapps.com [EMAIL PROTECTED]
  Software - Internet Development - Consulting
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



RE: Exporting Vector Graphics

2003-01-25 Thread Alejandro Tejada
Hi Igor:

I'll be working on exporting graphics, text fields
and images to Adobe Illustrator format,
after finishing version 04 of EPS Import.

Friday or Saturday of next week.

Alejandro


--- Igor de Oliveira Couto <[EMAIL PROTECTED]>
wrote:
> I was wondering whether anyone has any information
> in regards to 
> exporting Revolution graphic objects in a VECTOR
> format (ie, PICT, EPS, 
> .wmf, etc.).


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Another group question

2003-01-25 Thread Geoff Canyon
Don't copy and paste it.

When placing groups, you need to refer to them as backgrounds. The 
distinction is this:

A group is contained in card, a background is contained in a stack. 
They are the same object, though. So this is fine, and refers to the 
same object:

group "myGroup" of this card
background "myGroup" of this stack

so you need this:

place background "theOnlyMenu" onto this card

On Friday, January 24, 2003, at 05:49 PM, Mark Swindell wrote:

I have a single menu group that I want placed on all cards in my stack.
I've disengaged it from being a subgroup of a larger group and placed 
it on
one card.  But when I go to place it on the other cards, it doesn't 
show up
in the Place Menu, and when I type "Place group theOnlyMenu" into the
message box I get an error.  What am I missing?  I can copy and paste 
it,
however.

Thanks
Mark

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



I hope this helps. Feel free to contact me if you have any further 
questions.

regards,

Geoff Canyon
Revolution Support
--
Geoff Canyon <[EMAIL PROTECTED]> 
Runtime Revolution Limited - The Solution for Software Development
Tel: +44 (0) 870 747 1165.  Fax: +44 (0)1639 830 707.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Exporting Vector Graphics

2003-01-25 Thread Terry Vogelaar
Richard Gaskin heeft op zaterdag, 25 jan 2003 om 08:39 het volgende 
geschreven:

This ability to export vector graphics would be at the very top of my
wish list for RR.


But in a multi-platform world, the question is:  Which vector format is
widely supported across all three OS families?


PDF and EPS format would be perfect. You already can make both if you 
have a PostScript printer and/or Acrobat, but it involves some manual 
steps, the right hard/software and some knowledge. It would be great if 
RR could do that from within a script.

BTW, shouldn't this be on the improve-list?

Terry

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution