Re: htmlText and images

2003-01-30 Thread Mike McManus
All very good points. Yes I am including the internet library. 
Otherwise the other html data would not tranfer. All of which works 
very well. Though it took some tweaking  of a simple put the htmltext 
of into field.  Didn;t clean up all the oddball html stuff in some 
cases.

The problem is that the image/graphic is part of the HTML page. I don't 
wish to download the graphics. Just to show it like it would in a 
browser and of course I know the browser may cache that data.

Basically the html page has some styled text and a graphic in it. like 
this:

h2 align=centerSorry, This feature is not yet active at /h2
p align=centerimg 
src=http://www.mysite.com/art/logosmall.gif; width=170 
height=28/p

Of course with all the html header stuff stripped here in the hope it 
won't bore you or mess up this post. Maybe I do need to download this 
image separately, but why? And if so, why don't I have to when I am 
developing the stack in run-rev?


On Wednesday, January 29, 2003, at 06:22  PM, Monte Goulding wrote:



You need the Internet library for any of these properties:


I think you will also find that you need it for using http or ftp in 
the
image source of a field.

___
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: htmlText and images

2003-01-30 Thread Mike McManus
Why do I need to download the image? It is part of the html page not a 
stand alone image I want to install.
See my last post for a little more detail if I am not clear. It's still 
early here.


On Wednesday, January 29, 2003, at 05:17  PM, Björnke von Gierke wrote:


On Mittwoch, Jan 29, 2003, at 20:16 Europe/Zurich, Mike McManus wrote:


...
http://www.sitename.com/images/mymage.jpg; types of images links in 
my html.

How would paths differ from the dev to the standalone in such a 
situation?
...

You are downloading images as html. That won't work, because html is a 
ascii transfer, not a binary one.
You must use binfile:www.sitename.com/images/mymage.jpg instead.

___
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



How to prevent stack closure?

2003-01-30 Thread Graham Samuel
This seems a naive question compared with the current list 
preoccupations, but here goes:

I'm designing an app where the user can 'open' a window (stack) which 
gives some additional info about what's happening, and can then 
'close' it again at will, either by a  menu action or by clicking the 
close box on the window.

As far as the user is concerned the window just opens and closes, but 
from the app's point of view it's important that the stack stays open 
so that stuff can be written to fields in it, etc. Thus in order to 
give the user what they want and the developer (me) what I want, I 
need to trap the click on the close box and convert the 'close' to 
'hide'. I have already done this successfully with a stack with 
static content (a help window), by trapping the CloseStackRequest 
message, as recommended in the Transcript Dictionary.

I now find that if the content of the stack has changed, on clicking 
the 'close' box, even when the browse tool is chosen, I always get a 
'Save changes before closing?' message from the Development 
environment. My CloseStackRequest handler doesn't kick in until the 
Dev Env has had its turn. How can I change this behaviour, or do I 
just have to put up with it until my app gets to be a standalone?

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


Re: How to prevent stack closure?

2003-01-30 Thread Björnke von Gierke

On Donnerstag, Jan 30, 2003, at 12:26 Europe/Zurich, Graham Samuel 
wrote:

...
I now find that if the content of the stack has changed, on clicking 
the 'close' box, even when the browse tool is chosen, I always get a 
'Save changes before closing?' message from the Development 
environment. My CloseStackRequest handler doesn't kick in until the 
Dev Env has had its turn. How can I change this behaviour, or do I 
just have to put up with it until my app gets to be a standalone?

You can put the closeStackRequest handler into the card of your 
stack. You won't get the save message then. This behaviour is fixed in 
the 2.0 alpha, there you can put the handler into the stack without 
getting the save thingie.

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


List users in Las Vegas Area

2003-01-30 Thread Robert Presender
Hi,

If there is a list user(s) in the Las Vegas area who would like to 
contact me for our mutual help for  a better understanding of RR,  
please contact me off list.

Thanks.

Regards ... Bob
[EMAIL PROTECTED]
Las Vegas, Nevada

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


Re: htmlText and images

2003-01-30 Thread Björnke von Gierke

On Donnerstag, Jan 30, 2003, at 12:11 Europe/Zurich, Mike McManus wrote:


...
 Though it took some tweaking  of a simple put the htmltext of into 
field.  Didn;t clean up all the oddball html stuff in some cases.

The HTMLText property is not intended for real HTML pages, it is 
mainly for the internal formating which uses something similar to HTML. 
You can get some results with it, but not everything (most notable are 
the lack of tables and dividers).

...
Of course with all the html header stuff stripped here in the hope it 
won't bore you or mess up this post. Maybe I do need to download this 
image separately, but why? And if so, why don't I have to when I am 
developing the stack in run-rev?

Now this is interesting I forgot that you do not have problems from 
within the environment...

I did some testing, and it seems that the filepath in combination with 
remote file paths (server) is somehow messed up:
If I write http:filepath then I get the file shown but only the first 
time, and then it is somehow stuck.
I I write URL http:filepath or binfile:filepath or URL 
binfile:filepath I get nothing.

What worked (reliable even in a standalone):
  set the filename of image test to URL http:filepath
  set the filename of image test to http:filepath

Its strange, but if I first issue the URL form, and then the same path 
without URL then it works!
I do not know what is happening there, my guess would be that the URL 
form can download the file to memory, but not show it, and the other 
form can only show, but not load. Strange...

I would  cache the file on disk, then load them from there. because 
then you are sure that it always works.

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


Re: Color at a location on the screen

2003-01-30 Thread Klaus Major
Hi Matt,


Hello

Does anyone know how to find the color at a location on the screen?

I've got a small clear circle that drags constrained horizontally over 
a color bar to select a color. The mouseColor works perfectly as long 
as the cursor is over the color, but as the clear circle is 
constrained to the color bar, the cursor can really be anywhere.  So I 
need to find the color at a location, ie where the circle is on the 
color bar.  I've searched under 'screen', 'loc', 'cursor', 'color' and 
every other combination I can think of.

I seem to recall an external or was I thinking of another script 
language?

Cobol? ;-)


Thanks again, if anyone knows...

M@


check the screenmouseloc entry in the index.

You could store the old mouseloc, set the screenmouseloc to the desired
point inside your clear circle, get the mousecolor and set the mouseloc
to its old loc again...

Just a thougth, but should be doable...

Hope that helps.


Regards

Klaus Major
[EMAIL PROTECTED]

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



Setting Pixels - Congratulations Monte!

2003-01-30 Thread Robert J Warren \(Howsoft.com\)
Monte has beat us ALL to the punch! Making his recommended alterations to
the little test routine shows us that there is no substitute for a good
knowledge of the timing aspects of the Transcript language. The timings on
my machine are similar to his. Thanks Monte!

So now I can apply all that has been recommended and try a real eraser
test. Who knows, it might be agile enough to implement in pure Transcript.
That said, of course the problem becomes analogous to the one I had in VB.
Pure VB worked more or less OK, but some bright spark eventually found a
way of accessing the image data directly, so that procedures like -

put the imageData of image bmw.bmp into iData
set the imageData of image bmw.bmp to iData

- became unnecessary. Consequently, the advice DON'T use VB for graphics
became far less true, although of course it is a long way from being an
instrument for constructing games. To achieve something similar in
Transcript might also be an advantage in terms of speed leading to the
statement You CAN use Transcript for graphics (but not for games?), but it
would take someone who has a really deep knowledge of the internal workings
of the system to come up with such an image bitmap pointer procedure
(someone from the RunRev team or a geek working at the university?).

Anyway, I am very happy for now. Many thanks to all who have contributed to
the solution of setting pixels. I feel inspired enough by your obvious
interest to actually go off and learn more about what I now consider to be a
viable new language.



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



Re: htmlText and images

2003-01-30 Thread Klaus Major
Hi Mike,


...
What worked (reliable even in a standalone):
  set the filename of image test to URL http:filepath
  set the filename of image test to http:filepath

Its strange, but if I first issue the URL form, and then the same path 
without URL then it works!
I do not know what is happening there, my guess would be that the URL 
form can download the file to memory, but not show it, and the other 
form can only show, but not load. Strange...

I would  cache the file on disk, then load them from there. because 
then you are sure that it always works.

You can also do this:
...
 put urlhttp://www.yourserver.com/folder/file.gif; into img x
...

This is as fast as setting the filename, but has the advantage that
this/these image(s) will be copied to your stack and thus be saved
with the stack (if saving occurs).

And will be present next time you open that stack.
If that is what you are after...

Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: Setting Pixels - Congratulations Monte!

2003-01-30 Thread Dave LeYanna
GREAT JOB folks!

djl

At 02:04 PM 1/30/03 -0200, you wrote:

Monte has beat us ALL to the punch! Making his recommended alterations to
the little test routine shows us that there is no substitute for a good
knowledge of the timing aspects of the Transcript language. The timings on
my machine are similar to his. Thanks Monte!

So now I can apply all that has been recommended and try a real eraser
test. Who knows, it might be agile enough to implement in pure Transcript.
That said, of course the problem becomes analogous to the one I had in VB.
Pure VB worked more or less OK, but some bright spark eventually found a
way of accessing the image data directly, so that procedures like -

put the imageData of image bmw.bmp into iData
set the imageData of image bmw.bmp to iData

- became unnecessary. Consequently, the advice DON'T use VB for graphics
became far less true, although of course it is a long way from being an
instrument for constructing games. To achieve something similar in
Transcript might also be an advantage in terms of speed leading to the
statement You CAN use Transcript for graphics (but not for games?), but it
would take someone who has a really deep knowledge of the internal workings
of the system to come up with such an image bitmap pointer procedure
(someone from the RunRev team or a geek working at the university?).

Anyway, I am very happy for now. Many thanks to all who have contributed to
the solution of setting pixels. I feel inspired enough by your obvious
interest to actually go off and learn more about what I now consider to be a
viable new language.



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


==
||   Dave LeYanna ||
||   Director IS   ||
||   Right to Life of Michigan||
==

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



Ask dialog box

2003-01-30 Thread Jim Hurley
I am not very familiar with  the fine points of RR on the PC. So this 
may be a well known issue for many of you.

I ran a stack generated on the Mac (where it runs as expected) on the 
PC but ran into quirky behavior. The Ask dialog box didn't disappear 
entirely after clicking OK. It hung around as a faded, flickering 
form behind some fields until the script was completed and only then 
disappeared. Does this ghost haunt only my machine?

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


FAQs from this list...

2003-01-30 Thread Dave LeYanna
I wonder...

There are a LOT of good threads that are very appropriate for a list FAQ.
Have there been any attempts at making one? I'm kinda new to REV and the 
available resources. Some of the best ways for me to learn is to read the 
DOCS, read the groups, do tutorials and study the code of others. I 
personally don't have the time to experiment. I'm just not creative enough 
to do it efficiently!

I would be willing to start one if the work won't be a duplication or help 
if there are already efforts afoot. I know that there is a lot of editing 
involved and am aware of what I'm getting into.

Any thoughts?

djl

==
||   Dave LeYanna ||
||   Director IS   ||
||   Right to Life of Michigan||
==

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


Line Tracing

2003-01-30 Thread Roger Guay
I would like to trace a line by moving a small brightly colored graphic 
(say via an equation of motion).  This would require that I prevent the 
screen from updating while the graphic is in motion.  I've done this in 
other APDs but I can't seem to find the way to do it in RR.  Any ideas?

Thanks and Cheers, Roger

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


Re: Displaying two cards in different windows

2003-01-30 Thread Rob Cozens
It needs to switch to images back and forth at a preset interval.

  Currently, I've got the switching set up by alternatively going to 
one of two cards in a stack.  But can I let the user view (and edit) 
both of these cards at once, to create graphic objects ('open cd ## 
in new window'?)?  Or is there another way I can do this

Hi Jim,

Have you investigated creating a two-frame animated gif?
--
Rob Cozens
http://www.oenolog.com/who.htm

War is NEVER inevitable!
German Chancelor Gerhard Schroeder, 2003
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: New AltPlugin updates... Thanks Rob Cozens.

2003-01-30 Thread Rob Cozens
Thanks Rob!


Always happy to help where I can, Chipp.

Mine was a small addition to a tool I very much needed.

IMFO, every developer should have your plugIn installed.
--
Rob Cozens
http://www.oenolog.com/who.htm

War is NEVER inevitable!
German Chancelor Gerhard Schroeder, 2003
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Serendipity Library Update 20030123

2003-01-30 Thread Rob Cozens
Stupidity doesn't have an upper-limit @;-P


Who are a little wise, the best fooles bee., eh Judy?:{`)

[I have responded privately to all other posts on this thread from 
those with whom I had not previously communicated.]
--
Rob Cozens
http://www.oenolog.com/who.htm

War is NEVER inevitable!
German Chancelor Gerhard Schroeder, 2003
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: FAQs from this list...

2003-01-30 Thread Alex Rice

On Thursday, January 30, 2003, at 09:29  AM, Dave LeYanna wrote:


I would be willing to start one if the work won't be a duplication or 
help if there are already efforts afoot. I know that there is a lot of 
editing involved and am aware of what I'm getting into.

Any thoughts?

I think that the RevNet plugin (http://www.fourthworld.com/rev/ is 
pretty cool and because it has sections for Tips, Links and Stacks, 
it's kind of like a FAQ-plus!

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]



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


RE: Line Tracing

2003-01-30 Thread Gary Rathbone
 This would require that I prevent the 
 screen from updating while the graphic is in motion...  

Check out 'lockscreen' in the Rev help. Sounds like it'll do the job.

Regards
Gary Rathbone


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



Re: FAQs from this list...

2003-01-30 Thread Dave LeYanna
VERY nice resource!
I have only browsed it a little and it looks as though most of the function 
require on-line access to use. I am quite often off-line with my notebook 
(redeeming the time) and would probably like to flag certain things to be 
available locally. I'll play with it some more.

This resource should be one of the first things newbees should be made 
aware of...

Thanks Alex

djl

At 10:17 AM 1/30/03 -0700, you wrote:

On Thursday, January 30, 2003, at 09:29  AM, Dave LeYanna wrote:


I would be willing to start one if the work won't be a duplication or 
help if there are already efforts afoot. I know that there is a lot of 
editing involved and am aware of what I'm getting into.

Any thoughts?

I think that the RevNet plugin (http://www.fourthworld.com/rev/ is pretty 
cool and because it has sections for Tips, Links and Stacks, it's kind of 
like a FAQ-plus!

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]



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

==
||   Dave LeYanna ||
||   Director IS   ||
||   Right to Life of Michigan||
==

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



RE: FAQs from this list...

2003-01-30 Thread Gary Rathbone
 This resource should be one of the first things newbees 
 should be made aware of...

...as well as the searchable list archive available at... 
http://www.fourthworld.com/rev/
or
http://www.google.com/advanced_search?q=site:lists.runrev.com

Regards

Gary Rathbone


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



Printing Docs

2003-01-30 Thread Dave LeYanna
I would just like to know if anybody CAN print from the Rev. docs little 
print button? If they can and everything looks like they would expect, then 
I will assume that there is something wrong with my configurations(s). I 
get different (all ugly) results from different platforms (Win98 - 2000) on 
different printers. Because I am not having any difficulty with other 
applications, I have my suspicions. I however, have been known to be wrong 
a lot and am just trying to determine where to look next.

djl

==
||   Dave LeYanna ||
||   Director IS   ||
||   Right to Life of Michigan||
==

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


Re: public beta?

2003-01-30 Thread Judy Perry
Troll...

On Thu, 30 Jan 2003 [EMAIL PROTECTED] wrote:

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



Re: Printing Docs

2003-01-30 Thread Jan Schenkel
--- Dave LeYanna [EMAIL PROTECTED] wrote:
 I would just like to know if anybody CAN print from
 the Rev. docs little 
 print button? If they can and everything looks like
 they would expect, then 
 I will assume that there is something wrong with my
 configurations(s). I 
 get different (all ugly) results from different
 platforms (Win98 - 2000) on 
 different printers. Because I am not having any
 difficulty with other 
 applications, I have my suspicions. I however, have
 been known to be wrong 
 a lot and am just trying to determine where to look
 next.
 
 djl
 

Hi Dave,

Other people have reported problems when printing, but
these were nearly always resolved by upgrading the
printer drivers. Let's hope RunRev 2.0 fies some of
these problems.
However, if you continue to have problems printing
from the RunRev docs, you might consider using the
tool by Geoff Canyon to export the docs in RTF format,
which you can then print from Word or any of its
sibblings.
Link :
http://www.runrev.com/revolution/downloads/developerdownloads/revrtfer.zip
Also, if I remember correctly, someone printed all the
docs to a PDF file ; but I can't find the link at the
moment. If he or she doesn't speak up or someone else
doesn't have it mirrored, I'll make it available
somewhere if you like.

Best regards,

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: Can I embed PDF driver in a Rev stack built for distribution?

2003-01-30 Thread Claus Dreischer
Ray Bennett wrote:

Very clever idea, Geoff!  Thanks!  I'll give it a go.

What about an image reference within PDF?  For instance, if I wanted to 
change the logo on the letterhead, but could guarantee that it was 
exactly the same size logo everytime?   Don't want to change this into a 
PDF thread, but if there's a way to do that, it'd 100% solve my problem!

Hi Ray,

i don't think this will work.

PDF is a file with objects in it (like pictures, text, etc.)
One of this object is a reference object. Here are the offsets in BYTES 
to the other objects.

So changing one object (changing text, exchanging graphics) will fail 
when the new object has not the same size (in bytes) as the the old one.

Acrobat Reader can restore them sometimes when it can idetify the start 
token of each object. Maybe a Save can produce a correct PDF then.


Regards,
	Claus.

PS: This time it's for the list. Sorry about my last eMail.



Thanks gobs.
Ray

On Wednesday, Jan 29, 2003, at 09:53 America/New_York, Geoff Canyon wrote:


Many have made suggestions already, but just to throw another on the pile:

If your printing format is just text in a PDF and is similar from one 
time to the next, it might be fairly straightforward to do this:

  1. Create a document that looks the way you want it to. Wherever 
text needs to be placed, put an identifiable placeholder. Something 
like thisIsPlaceholderText1 should do.
  2. Print the document to PDF. Use whatever tools you like.
  3. Open the resulting PDF file and look for the placeholder text you 
included in the document.
  4. Use the PDF file as a template, and when you want to print to 
PDF just replace the placeholder text with the text you want to  print.

This is probably impractical for anything more complicated that a 
standard business letter, but if that's what you want, it's probably 
possible.

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



Re: Printing Docs

2003-01-30 Thread Ken Ray
Dave,

I opened Rev 1.1.1v2 in Win XP and printed the  page from the Dictionary
to an HP LaserJet 4100 printer over an internal network. It printed very
strangely; I got about 20 pages, each with 1 chunk of information (either a
line or a paragraph) and a footer, spaced out with about an two inches of
space between.

Honestly, if you want a printable version of the docs, you can download and
print on in HTML, RTF or PDF from my site:

http://www.sonsothunder.com/devres/revolution/revolution.htm

Go to the bottom of the page under Downloads, and it's near the top of
that section.

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


- Original Message -
From: Dave LeYanna [EMAIL PROTECTED]
To: Use Revolution Mailing List [EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 12:58 PM
Subject: Printing Docs


 I would just like to know if anybody CAN print from the Rev. docs little
 print button? If they can and everything looks like they would expect,
then
 I will assume that there is something wrong with my configurations(s). I
 get different (all ugly) results from different platforms (Win98 - 2000)
on
 different printers. Because I am not having any difficulty with other
 applications, I have my suspicions. I however, have been known to be wrong
 a lot and am just trying to determine where to look next.

 djl

 ==
 ||   Dave LeYanna ||
 ||   Director IS   ||
 ||   Right to Life of Michigan||
 ==

 ___
 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: Printing Docs

2003-01-30 Thread Dave LeYanna
Same kind of stuff I got with my 2000 machine, Got 1/32 point type with my 
98 machine.
Checked HP website on their drivers page and they don't even have an old 
one there! Searched Google Groups (what would we do without them?) and 
found a customer care page for HP that said look on your OS CD. So I guess 
I have the latest and greatest

I'll follow up on the migrating thing. I usually only print out relevant 
stuff for what I'm learning at the moment. After as many years as I have 
been in the business one would think I would be used to on-screen 
documentation!

Thanks

djl

At 01:45 PM 1/30/03 -0600, you wrote:
Dave,

I opened Rev 1.1.1v2 in Win XP and printed the  page from the Dictionary
to an HP LaserJet 4100 printer over an internal network. It printed very
strangely; I got about 20 pages, each with 1 chunk of information (either a
line or a paragraph) and a footer, spaced out with about an two inches of
space between.

Honestly, if you want a printable version of the docs, you can download and
print on in HTML, RTF or PDF from my site:

http://www.sonsothunder.com/devres/revolution/revolution.htm

Go to the bottom of the page under Downloads, and it's near the top of
that section.

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


- Original Message -
From: Dave LeYanna [EMAIL PROTECTED]
To: Use Revolution Mailing List [EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 12:58 PM
Subject: Printing Docs


 I would just like to know if anybody CAN print from the Rev. docs little
 print button? If they can and everything looks like they would expect,
then
 I will assume that there is something wrong with my configurations(s). I
 get different (all ugly) results from different platforms (Win98 - 2000)
on
 different printers. Because I am not having any difficulty with other
 applications, I have my suspicions. I however, have been known to be wrong
 a lot and am just trying to determine where to look next.

 djl

 ==
 ||   Dave LeYanna ||
 ||   Director IS   ||
 ||   Right to Life of Michigan||
 ==

 ___
 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


==
||   Dave LeYanna ||
||   Director IS   ||
||   Right to Life of Michigan||
==

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



RE: Setting Pixels - More answers to suggestions

2003-01-30 Thread Monte Goulding

Hi All

I never read the original problem but I just made a custom paint tool with
this:

-- button script

on mouseUp
  InitialiseImageData
  InitialisePaintColor
end mouseUp

-- card script

local lImageData,lPaintColor,lMouseDown

on InitialiseImageData
  put the imageData of image 1 into lImageData
end InitialiseImageData

on InitialisePaintColor
  put binaryEncode(,0,0,255,0) into lPaintColor
end InitialisePaintColor

on mouseMove x,y
  if lMouseDown then
if word 1 of the target is image then
  set the lockCursor to true
  set the cursor to cross
  put (x-the left of image 1)*4+(y- the top of image 1)*(the width of
image 1*4) into x
  put lPaintColor into char x-3 to x of lImageData
  set the imageData of image 1 to lImageData
end if
  else
pass mouseMove
  end if
end mouseMove

on mouseDown
  put true into lMouseDown
end mouseDown

on mouseUp
  put false into lMouseDown
end mouseUp

on mouseRelease
  put false into lMouseDown
end mouseRelease

Hope you like drawing squigly lines ;-)

Monte

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



RE: FAQs from this list...

2003-01-30 Thread Monte Goulding
Don't forget the Wiki at:http://wiki.macitworks.com/revdocs/

Monte

 
  This resource should be one of the first things newbees 
  should be made aware of...
 
 ...as well as the searchable list archive available at... 
 http://www.fourthworld.com/rev/
 or
 http://www.google.com/advanced_search?q=site:lists.runrev.com
 
 Regards
 
 Gary Rathbone
 
 
 ___
 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: Printing Docs

2003-01-30 Thread Monte Goulding

 I am running into this problem (again) with an app I'm readying for
 release. There appear to be serious problems with Rev printing, not just
 from the TD. I've had my app tested on 5 different printers under XP and
 none of them print. They all have the most current drivers.

I found that having the fixedLineHeight of my fields that I'm printing true
fixed a number of problems I had printing on Windows.

Monte

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



Re: Printing Docs

2003-01-30 Thread erik hansen

--- Jan Schenkel [EMAIL PROTECTED] wrote:

 Also, if I remember correctly, someone printed
 all the
 docs to a PDF file ; but I can't find the link
 at the
 moment. If he or she doesn't speak up or
 someone else
 doesn't have it mirrored, I'll make it
 available somewhere if you like.

won't 2.0 change things? hate to print twice.

=
[EMAIL PROTECTED]http://www.erikhansen.org

__
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: FAQs from this list...

2003-01-30 Thread erik hansen
RR URLs
www.HyperActivesw.com
-- J. Landman Gay
www.sonsothunder.com/devres/revolution/revolution.htm
-- Ken Ray
www.tactilemedia.com/download/
-- Scott Rossi
www.altuit.com/webs/altuit2/RunRev/Tutorials.htm
-- Chipp Walters
www.oenolog.com/who.htm
-- Rob Cozens
www.fourthworld.com/rev/
-- Richard Gaskin
wiki.macitworks.com/revdocs/
-- Geoff Canyon
homepage.mac.com/klausimausi
-- Klaus Major
www.geocities.com/erikhans08/RunRev_Fanzine.html
-- Erik Hansen (these links)

the RunRev_Fanzine will be updated at the next
weekly PC sitdown.

please forward any RunRev related sites.

also, post 2.0, any thoughts on the most
accessible areas of the official RunRev
documentation?  



=
[EMAIL PROTECTED]http://www.erikhansen.org

__
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: Putting an object in a specific group

2003-01-30 Thread Sarah
You can use the contextual menu. Select your new object, cut it then 
right-click or control-click on the group and select Paste into group

Sarah

On Thursday, January 30, 2003, at 02:56  pm, Jim Witte wrote:

  This seems like a very silly question (yes, I have looked in the 
manual), but how do you put an object into a specific group by script? 
 You can group objects together, but this always creates a new group.  
Is there a command like group object(s) ... into group name ...

Thanks,
Jim

___
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: Setting Pixels - More answers to suggestions

2003-01-30 Thread Sarah
Hi Robert,

Yes, an XCMD is like a DLL only for Macs. It means external command 
(there are also XFCNs - external functions). I have a script that 
converts RGB - HSV if you are interested. As Monte and others have 
shown, scripting in different ways can dramatically alter the speed of 
execution. Perhaps my script might be as fast as your DLL :-) If you 
would like me to send it, email me off-list.

Cheers,
Sarah

On Thursday, January 30, 2003, at 02:17  pm, Robert J Warren 
((Howsoft.com)) wrote:

Thanks, and sorry Chipp, I am not only new to Transcript but I also 
know
nothing at all about Macs. I presume that an XCMD is the Mac version 
of a
Windows DLL (?) I am sure that it would help, but I am not sure to what
degree. I have only ever written one DLL in my life which is for the 
said
eraser program in VB (due to be launched soon). It converts RGB to HSL 
and
v.v. By doing the calculations in a DLL rather than in the program the
saving was about 15%. Although this 15% was crucial in the eraser 
routine I
wrote, it was generally a disappointment: I expected a much bigger 
saving.


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



Re: use-revolution digest, Vol 1 #1082 - 16 msgs

2003-01-30 Thread Matt Denton
Hi Jeanne,

Yes thanks good tip, I guess I should be clearer: I want to rotate the 
bitmap by 90 degrees, plus the containing rect of it too.

Basically rotate an image by 90 degrees, keep same shape rotated by 90, 
same dimensions except Horizontal is now Vertical and vice versa.   
Portrait to Landscape or tall to wide, that sort of thing.  The 
standard 'rotate this object by 90'.

Currently the bitmap region expands. I've tried every combo: locked 
image; locked group; both locked etc.

Thanks anyway, any other ideas I could try Jeanne?  (It is driving me 
slightly batty, I'm thinking of getting the imageData and moving the 
pixels into a new region even though this will be slow in Transcript).

Thanks again, I'm really appreciative of everyone's kind help.

M@tt

If I lock screen and set the loc of the various objects (some inside a
group), the containing object ignores and/or expand their group!


Have you tried setting the group's lockLocation to true? This stops the
automatic resizing.


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



Re: Color at a location on the screen

2003-01-30 Thread Matt Denton
Hi Klaus

Thanks for the tip, I thought of doing something like this but the ol' 
mouse would be jumping around all over the place.

I worked out a compromise: because I knew the object I wanted to get 
the colors from, I grabbed the imageData and worked out the RGB value 
from the raw data:

on setPixelColor pThisPixelH
  put (pThisPixelH - left of image Rainbow.png+1)*4 into tLeftOffset 
-- four bytes per pixel
  put charToNum(char tLeftOffset +2 of tColors) into tRed -- 2nd byte 
is the lovely red dot
  put charToNum(char tLeftOffset +3 of tColors) into tGreen -- 3rd byte 
is the happy green spot
  put charToNum(char tLeftOffset +4 of tColors) into tBlue -- 4th byte 
is the calm blue dot
  set the backColor of the target to tRed,tGreen,tBlue
end setPixelColor

I'm sure I could optimize this somehow (seems odd converting charToNum 
for data that is then converted back again) but it works.  Anyway all 
the info is in the manual under imageData ;-)  I just fiddled with it 
for a bit till it worked for me.

Thanks again Klaus.

I seem to recall an external or was I thinking of another script
language?


Cobol? ;-)


hehe... not in a million years ;-0   I'm a Xtalk dummy (bit of assembly 
and even raw hex in machine code back in the dark ages...twas tedious 
but fun).

Chow,

M@
Matt


check the screenmouseloc



 entry in the index.

You could store the old mouseloc, set the screenmouseloc to the desired
point inside your clear circle, get the mousecolor and set the mouseloc
to its old loc again...

Just a thougth, but should be doable...

Hope that helps.





Does anyone know how to find the color at a location on the screen?

I've got a small clear circle that drags constrained horizontally over
a color bar to select a color. The mouseColor works perfectly as long
as the cursor is over the color, but as the clear circle is
constrained to the color bar, the cursor can really be anywhere.  So I
need to find the color at a location, ie where the circle is on the
color bar.  I've searched under 'screen', 'loc', 'cursor', 'color' and
every other combination I can think of.


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



Re: Color at a location on the screen

2003-01-30 Thread Matt Denton
Hi Klaus


check the screenmouseloc
 entry in the index.


Thanks for the tip, I thought of doing something like this but the ol' 
mouse would be jumping around all over the place.

I worked out a compromise: because I knew the object I wanted to get 
the colors from, I grabbed the imageData and worked out the RGB value 
from the raw data:

on setPixelColor pThisPixelH
  put (pThisPixelH - left of image Rainbow.png+1)*4 into tLeftOffset 
-- four bytes per pixel
  put charToNum(char tLeftOffset +2 of tColors) into tRed -- 2nd byte 
is the lovely red dot
  put charToNum(char tLeftOffset +3 of tColors) into tGreen -- 3rd byte 
is the happy green spot
  put charToNum(char tLeftOffset +4 of tColors) into tBlue -- 4th byte 
is the calm blue dot
  set the backColor of the target to tRed,tGreen,tBlue
end setPixelColor

I'm sure I could optimize this somehow (seems odd converting charToNum 
for data that is then converted back again) but it works.  Anyway all 
the info is in the manual under imageData ;-)  I just fiddled with it 
for a bit till it worked for me.

Thanks again Klaus.

I seem to recall an external or was I thinking of another script
language?


Cobol? ;-)


hehe... not in a million years ;-0   I'm a Xtalk dummy (bit of assembly 
and even raw hex in machine code back in the dark ages...twas tedious 
but fun).

Chow,

M@
Matt



You could store the old mouseloc, set the screenmouseloc to the desired
point inside your clear circle, get the mousecolor and set the mouseloc
to its old loc again...

Just a thougth, but should be doable...

Hope that helps.





Does anyone know how to find the color at a location on the screen?

I've got a small clear circle that drags constrained horizontally over
a color bar to select a color. The mouseColor works perfectly as long
as the cursor is over the color, but as the clear circle is
constrained to the color bar, the cursor can really be anywhere.  So I
need to find the color at a location, ie where the circle is on the
color bar.  I've searched under 'screen', 'loc', 'cursor', 'color' and
every other combination I can think of.




M@
Matt Denton
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
LIMELIGHT MEDIA PTY LTD

P] 61 2 9211 6622
F] 61 2 9211 5922
E] [EMAIL PROTECTED]

3/134 BROADWAY
BROADWAY, SYDNEY NSW 2007
ABN 72 065 014 280

NOT YOUR EMAIL?
If this e-mail is not for you, please let us know and destroy the 
original:
[EMAIL PROTECTED]
or call Sydney 61 2 9211 6622.   Thanks for your kind help.

LEGAL
This e-mail is intended only for the use of the individual or entity 
 named above and may contain information that is confidential and 
 privileged.   If you are not the intended recipient, you are hereby 
notified that any dissemination, distribution or copying of this Email 
is strictly prohibited.  Before opening or using attachments, check 
them for viruses and defects.

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


re: Line Tracing

2003-01-30 Thread Roger Guay
Thanks to Gary Rathbone and Jim Hurley for their suggestions, but the 
Lockscreen property does not work, and although Jim's script is very 
clever, it results in a very choppy motion compared to repeatedly 
setting the loc of an object via an equation of motion (such as a 
projectile.)  Any other ideas?

Thanks, Roger



I would like to trace a line by moving a small brightly colored graphic
(say via an equation of motion).  This would require that I prevent the
screen from updating while the graphic is in motion.  I've done this in
other APDs but I can't seem to find the way to do it in RR.  Any ideas?

Thanks and Cheers, Roger


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



Re: Line Tracing

2003-01-30 Thread Sarah
Hi Roger,

I'm not quite sure what it is you are trying to do. If you stop the 
screen from updating, you won't see your graphic move. It will appear 
to leap from the start position to the end. Do you want to see it 
follow a path, but not see anything else happen? If so, perhaps you 
should consider a sub-stack so there is nothing but your graphic in the 
window.

If you want to end up with a line across the window, then I would 
recommend using a polygon graphic and setting it's points. This is 
quick to do in a script and the screen update only has to happen once, 
when you set the points of the graphic to the set of points that you 
have just calculated using your equation.

If you want an example, let me know.

Cheers,
Sarah

On Friday, January 31, 2003, at 01:55  pm, Roger Guay wrote:

Thanks to Gary Rathbone and Jim Hurley for their suggestions, but the 
Lockscreen property does not work, and although Jim's script is very 
clever, it results in a very choppy motion compared to repeatedly 
setting the loc of an object via an equation of motion (such as a 
projectile.)  Any other ideas?

Thanks, Roger


I would like to trace a line by moving a small brightly colored 
graphic
(say via an equation of motion).  This would require that I prevent 
the
screen from updating while the graphic is in motion.  I've done this 
in
other APDs but I can't seem to find the way to do it in RR.  Any 
ideas?

Thanks and Cheers, Roger

___
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



Grab, move, yet constrain.

2003-01-30 Thread Ryno Swart
Another penny has eventually dropped. The grab command is just what I 
wanted for moving a group of images around, as it is the only way I 
know where the cursor keeps to its place in the group. But now, can I 
constrain this movement? Top, bottom, left, right?

Thanks for the help.

Ryno Swart.

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