Weird image problems with large images on Windows

2005-09-16 Thread Frank Leahy
I've built a new version of my photo app on Windows, and I'm having a 
very strange problem resizing large images, and want to see if anyone 
else has seen this.


Machine: Windows 2000.

Photo size: 1536 x 2048.

Resizing the photo to 110 x 110 max.

Problem: I can set the fileName of an image to this photo file, but it 
won't resize properly, and calling export as jpeg on the image throws 
an error.


BUT, if I login to the same machine via Terminal services, using the 
SAME account, and the SAME .exe file, and the SAME photo -- the app 
runs flawlessly.


Has anyone else seen this?

(oh yes, Rev 2.2)

Regards,
-- Frank Leahy 


___
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: Copy image content for object image empty.

2005-09-16 Thread Klaus Major

Hi Gilberto Cuba.


Hello colleagues,

I am trying to copy an image that is in a stack for an object image  
empty, but it doesn't work; that makes it is to copy a dirty image  
for the object image.


Script in the object image Visor

on mouseUp
   put the imagedata of image img01 of this stack into tImageData
   put the tImageData into the imagedata of image Visor
end mouseUp

I'm tried too with the property paintcompression, but not work,  
i.e., i'm tried to put the paintcompression into object image Visor.


Some idea of as making it would be welcome.


you can simply put one image into another one :-)

But this only works with imported images, NOT with referenced images!

on mouseUp
   put image img01 into image Visor ##of cd 17 of stack another  
cool stack

end mouseUp

This is a little less scripting and you do not have to take care that  
the dimensions

of both images are identical(!) as you have with imagedata.

Hope that heps.


Greetings,

Gilberto Cuba


Regards from germany

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

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


CGI MYSQL MACOSX

2005-09-16 Thread paolo mazza
Why I can not connect  to database from the CGI of revolution in MAC OSX  ?
I got Internal Server Error from Apache anytime I try to connect to
database.
I have 
- MACOSX 10.4
- Darwin Engine 2.5 that I got from
ftp://ftp.runrev.com/pub/revolution/downloads/engines/2.1.2/Darwin.gz
and people said it is the last version of the Darwin engine that had the
database drivers included
- Apache web server
- Mysql database running on the same machine

That's the script I placed in the cgi-bin folder

#!revolution -ui
on startup
  put revdb_connect(MySQL,192.168.0.43,database,user,psw)  into
buffer 
 put Content-Type: text/plain  cr
  put Content-Length:  the length of buffer  cr  cr
  put buffer
 end startup

If I open Revolution and I place put
revdb_connect(MySQL,192.168.0.43,database,user,psw)  into
message  I always get an integer... MySQL works and the command is
correct.

Thank you

Paolo

___
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: What's mdimport ?

2005-09-16 Thread Wouter

Hi,

A bit OT but  a very simple way to turn spotlight off or rather  
prevent it from searching (and updating its database by mdimport) :

 - in the systemprefs -- spotlight -- Privacy
 - drag/add the volume(s), folders or files you don't want spotlight  
to search to that list


This is reversible very easily.

Greetings,
Wouter



On 16 Sep 2005, at 05:02, Sarah Reichelt wrote:

Can anyone tell me what mdimport is?  I'm using a Mac with OS X  
and a
utility called Activity Monitor to monitor my CPU usage, and  
mdimport
very often is in the 90% +  range.  What is this that is soaking  
up  my

CPU usage??



I think it's related to Spotlight.  The spike is probably while it's
indexing.



Yes, it's Meta Data Import and is Spotlight doing it's indexing. I
haven't had any trouble with it but one of my colleagues has. Getting
more RAM helped (as it always does) but I think it might have been
because he had some constantly changing folders containing thousands
of text files.




Whether you use Spotlight or not, I know of no way to turn it off.

Welcome to Tiger.



Here is a shareware utility to turn Spotlight off  on
http://www.fixamacsoftware.com/software/spot/index.html but if you
are comfortable using Terminal, you can do it yourself
http://rixstep.com/2/20050528,00.html although this description
doesn't tell you how to turn it back on again if you change your mind!

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

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




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


Re: [ANN] Moving Wallpaper demo

2005-09-16 Thread John Ridge
Hugh, thanks - this is a great demo! The panning effect stutters a  
little, even on a 2Mz iMac with Tiger - I don't have access to a fast  
Windows machine, but I'd like to know if it runs more smoothly there.


I've also been experimenting with transitions other than the cross  
fade that you've made the default. I'm using the answer effect  
command to get the QT dialog, fiddling with the parameters then  
loading the result into a custom property -


answer effect
set the cTransition of this stack to it

then later I can

unlock screen with visual the cTransition of this stack

Which is a good way of finding out about the various effects. I  
hadn't realised that you can save them as .qfx files. This looks  
handy, but I haven't yet found how to load one using Rev (i.e. not in  
the QT dialog). Is there a simple trick that I've missed?




On 14 Sep 2005, at 22:18, [EMAIL PROTECTED] wrote:


www.FlexibleLearning.com/xtalk/movingwallpaper/movingwallpaper.zip

Following  the Panorama demo, this 'screensaver' or 'slideshow' stack
demonstrates 16  scripted visual effects based on zoom in, zoom  
out, pan left, pan
right, pan up  and pan down. The stack is 18k and is fully  
documented. The
download includes 4  high quality sample images, but you can  
obviously use your own

images if you  wish.

A note of caution... This is a very heavily graphics intensive   
stack, so at
least a 1GHz machine is needed, preferably 2-3GHz. It works on a   
G4-466 in

OSX, but is only truly impressive on a faster computer.

Enjoy  and feedback welcome.


/H
FLCO
Home of The Scripter's  Scrapbook
www.FlexibleLearning.com/ssbk.htm

___
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



Best wishes
John
[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


highlight and hide field from standalone

2005-09-16 Thread rev
Hi All.

I want to add a script into a field in a substack that allows the user to
highlight and hide a field.

Ihe reason for this is simple. I have a master database and read a csv file then
adds item one into field one (then repeat for each item).

Now this is OK, however, the end user need not require all the fields in view.
Indeed the first 5-6 are not required at all. Therefore, I'd like to create the
master database and allow them to highlight a field (just like in the rev-IDE)
via something like control-rightclick and then if the agree to the selection
hit the delete key  (or similar) to hide/delete the field/fields.

Any IDEa's (excuse the pun)?

Cheers
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: highlight and hide field from standalone

2005-09-16 Thread Klaus Major

Hi Bob,


Hi All.

I want to add a script into a field in a substack that allows the  
user to

highlight and hide a field.

Ihe reason for this is simple. I have a master database and read a  
csv file then

adds item one into field one (then repeat for each item).

Now this is OK, however, the end user need not require all the  
fields in view.
Indeed the first 5-6 are not required at all. Therefore, I'd like  
to create the
master database and allow them to highlight a field (just like in  
the rev-IDE)
via something like control-rightclick and then if the agree to the  
selection

hit the delete key  (or similar) to hide/delete the field/fields.

Any IDEa's (excuse the pun)?


:-)

Quick and dirty idea:

on mouseup whichone
  global field2delete
  if whichone = 3 then
 set the rect of grc my hilite border in red or whatever to  
the rect of fld xyz
 set the loc of grc my hilite border in red or whatever  to  
the loc of fld xyz

 put xyz into field2delete
 show grc my hilite border in red or whatever
  end if

end mouseup

on deletekey
  global field2delete
  if the visible of grc my hilite border in red or whatever then
 hide fld field2delete
 hide grc my hilite border in red or whatever
  end if
end deletekey

You get the picture, should be easily doable.

But you might want to use a shorter name for the graphic ;-)


Cheers
Bob


Regards

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

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


Re: highlight and hide field from standalone

2005-09-16 Thread rev
Hi Bob,

Hi Klaus.

Thanks for the info... I'll give it a go later on (when I'm at the Airport). It
is for a wee freebie for you all. :-)

Cheers
Bob


[Hide Quoted Text]
Hi All.

I want to add a script into a field in a substack that allows the  user to
highlight and hide a field.

Ihe reason for this is simple. I have a master database and read a  csv file
then
adds item one into field one (then repeat for each item).

Now this is OK, however, the end user need not require all the  fields in view.
Indeed the first 5-6 are not required at all. Therefore, I'd like  to create the
master database and allow them to highlight a field (just like in  the rev-IDE)
via something like control-rightclick and then if the agree to the  selection
hit the delete key  (or similar) to hide/delete the field/fields.

Any IDEa's (excuse the pun)?

:-)

Quick and dirty idea:

on mouseup whichone
  global field2delete
  if whichone = 3 then
 set the rect of grc my hilite border in red or whatever to  the rect of
fld xyz
 set the loc of grc my hilite border in red or whatever  to  the loc of
fld xyz
 put xyz into field2delete
 show grc my hilite border in red or whatever
  end if

end mouseup

on deletekey
  global field2delete
  if the visible of grc my hilite border in red or whatever then
 hide fld field2delete
 hide grc my hilite border in red or whatever
  end if
end deletekey

You get the picture, should be easily doable.

But you might want to use a shorter name for the graphic ;-)

Cheers
Bob

Regards

Klaus Major

___
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: External Script Editor

2005-09-16 Thread david bovill

Hee hee,

that's what I was thinking of - so when we get bored in the office we  
can have a go at collaborative scripting - live! In fact we could  
even do it over the internet - now there is a scripting conference  
for you :)


On 15 Sep 2005, at 21:10, Ken Ray wrote:

On 9/15/05 1:29 PM, Stephen Barncard  
[EMAIL PROTECTED]

wrote:



sorry, wrong plug, wrong guy.

you need the MLXEditor from Alex Rice at MindLube software:
http://www.mindlube.com/developer/index.html

Recipes for BBEDIT,EMACS,TextEdit and for Windoze, Notepad and
Wordpad. Might be more available now.



Yes, actually I've used it with SubEthaEdit, along with Christian  
Langers'

Transcript syntax colorization module for SubEthaEdit. Works nicely!

___
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: Complex Numbers binary fractions

2005-09-16 Thread Beat Cornaz

Cubist wrote :

function DecFrac2BinFrac TheFrac, ThePrecision
 # TheFrac is *assumed* to have nothing to the *left* of the decimal point
 # ThePrecision is *assumed* to be a positive integer
 # you can write the code to handle those cases yourself, if need be, right?

  if ThePrecision =  or ThePrecision  1 then put 10 into ThePrecision
  # so the user can just supply a fraction and not care

 set the numberFormat to 0.#
 #you want to make sure there's a leading 0 before the decimal
 put . into Rezult
 repeat # yes, it's an infinite loop. the escape test will be inside it
   multiply TheFrac by 2
  put char 1 of TheFrac after Rezult
# because of numberFormat, char 1 here should be either 0 or 1
if the length of TheFrac  ThePrecision  or TheFrac = 0 then exit repeat
delete char 1 of TheFrac
  end repeat
  return Rezult
 end DecFrac2BinFrac





Thanks Cubist. I'm often surprised at the original ways of coding 
that show up in this group. I'm refering here to # because of 
numberFormat, char 1 here should be either 0 or 1.

I want to point your attention to a little mistake:

  if the length of TheFrac  ThePrecision  or TheFrac = 0 then exit repeat

I think it should read :
 if the length of Rezult  ThePrecision  or TheFrac = 0 then exit repeat



I'm a bit surprised that no one has done anything with complex 
numbers. So I'll have to whip up something myself. If someone is 
interested, I'm willing to share the code (once I've coded it). mail 
me off list if you want to get it.


Greetings, Beat

--
___
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: highlight and hide field from standalone

2005-09-16 Thread rev
Hi Klaus

This works by hiding the field so all I need to do is create a button to show
all controls and modify the script slightly. IE have the graphic borderhilite
hidden and show it on right click. I can now select the field using a
mouseenter

on mousewithin whichone
  global field2delete
  if whichone = 3 then
 set the rect of grc borderhilite to  the rect of fld xyz
 set the loc of grc borderhilite  to  the loc of fld xyz
 put xyz into field2delete
 show grc borderhilite
  end if
end mousewithin

That should keep me going at the airport. :-)


Cheers
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: preOpenStack Weirdness

2005-09-16 Thread Howard Bornstein
On 9/9/05, David Burgun [EMAIL PROTECTED] wrote:
 Hi,
 
 I have a stack that has a preOpenStack handler in the Stack Script.
 When I try to do the following I get a error:
 
 start using stack /Documents/RunRev/Stacks/Main.rev
 
 This statement causes an error saying that the Stack Cannot be found
 but I know's is there and if I run this script in a mouseUp handler
 or in the openStack handler it works ok.
 
 Why doesn't this work as expected??
 

Does it work if you put the preOpenStack handler in the script of the
first card?

Also /Documents/RunRev/Stacks/Main.rev is not a fully qualified path
(unless your root directory starts with Documents). Could this be part
of the problem?

-- 
Regards,

Howard Bornstein
---
www.designeq.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: highlight and hide field from standalone

2005-09-16 Thread Klaus Major

Hi Bob,


Hi Klaus

This works by hiding the field so all I need to do is create a  
button to show
all controls and modify the script slightly. IE have the graphic  
borderhilite

hidden and show it on right click. I can now select the field using a
mouseenter

on mousewithin whichone
  global field2delete
  if whichone = 3 then
 set the rect of grc borderhilite to  the rect of fld xyz
 set the loc of grc borderhilite  to  the loc of fld xyz
 put xyz into field2delete
 show grc borderhilite
  end if
end mousewithin

That should keep me going at the airport. :-)


But this will not work, since mousewithin does not accept an  
argument - whichone

like mouseup, where whichone will hold the mousebutton pressed!

1 = normal/left click
2 = middle click
3 = right-click


Cheers
Bob


Best

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

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


Re: highlight and hide field from standalone

2005-09-16 Thread rev
Hi Bob,

Hi Klaus



Ok I thought of another thing.
I'm playing with this one It seems quite nice. IMHO :-)

On mouseup whgichone
global field2delete
if the controlkey is down then
   if whichone = 3 then
put xyz into field2delete
set the bordercolor of fld field2delete to red
--this should make the border red but it does not???
--Q? any idea what the edge of a field is called? I tried changing all the
--colours to red without any luck
 end if
else exit to top
end mouseup

-- so pressing the right key when control is down puts the field into the
--variable

on deletekey
global field2delete
if the bordercolor of fld feld2delete is red then
hide fld field2delete
end deletekey

--deletes the field only if the border is red :-)

on escapekey
set the bordercolor of fld field2delete to empty
end escapekey

--escape key clears the border colour so the delete key wont work :-)


But now the problem I cant see the edge of the field being red but I can see it
red in the object inspector. What is the boundary of a field cazlled if it is
not the border colour?


Cheers
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: highlight and hide field from standalone

2005-09-16 Thread rev



On mouseup whgichone


Don't wory about this typo... It is not in the script. I'm on a desktop 
without

runrev but with interenet access and my laptop has runrev but no interenet.


cheers
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: highlight and hide field from standalone

2005-09-16 Thread Klaus Major

Hi Bob,





Hi Klaus

Ok I thought of another thing.
I'm playing with this one It seems quite nice. IMHO :-)

On mouseup whgichone
global field2delete
if the controlkey is down then
   if whichone = 3 then
put xyz into field2delete
set the bordercolor of fld field2delete to red
--this should make the border red but it does not???
--Q? any idea what the edge of a field is called? I tried changing  
all the

--colours to red without any luck


See below...


 end if
else exit to top
end mouseup
-- so pressing the right key when control is down puts the field  
into the

--variable
on deletekey
global field2delete
if the bordercolor of fld feld2delete is red then
hide fld field2delete
end deletekey
--deletes the field only if the border is red :-)
on escapekey
set the bordercolor of fld field2delete to empty
end escapekey

--escape key clears the border colour so the delete key wont work :-)

But now the problem I cant see the edge of the field being red but  
I can see it
red in the object inspector. What is the boundary of a field  
cazlled if it is

not the border colour?


the (border-)color will only appear when you set the threeD of that  
field to false.

But then you have this simple and butt-ugly flat border :-/


Cheers
Bob


Regards

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

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


Re: highlight and hide field from standalone

2005-09-16 Thread Pat Trendler
With 3D on - Outset bevel and Inset bevel in the inspector. Topcolor and 
bottomcolor in script.
You probably have to make the border thicker than 2 to be able see the 
colour.(or may be it's just my eyes)


HTH

Pat
[EMAIL PROTECTED]


- Original Message - 
From: [EMAIL PROTECTED]

To: How to use Revolution use-revolution@lists.runrev.com
Sent: Friday, September 16, 2005 10:39 PM
Subject: Re: highlight and hide field from standalone



Hi Bob,


Hi Klaus



Ok I thought of another thing.
I'm playing with this one It seems quite nice. IMHO :-)

On mouseup whgichone
global field2delete
if the controlkey is down then
  if whichone = 3 then
put xyz into field2delete
set the bordercolor of fld field2delete to red
--this should make the border red but it does not???
--Q? any idea what the edge of a field is called? I tried changing all the
--colours to red without any luck
end if
else exit to top
end mouseup

-- so pressing the right key when control is down puts the field into the
--variable

on deletekey
global field2delete
if the bordercolor of fld feld2delete is red then
hide fld field2delete
end deletekey

--deletes the field only if the border is red :-)

on escapekey
set the bordercolor of fld field2delete to empty
end escapekey

--escape key clears the border colour so the delete key wont work :-)


But now the problem I cant see the edge of the field being red but I can 
see it
red in the object inspector. What is the boundary of a field cazlled if it 
is

not the border colour?


Cheers
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


--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.0/103 - Release Date: 15/09/2005




___
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: Teleo from makingthings.com

2005-09-16 Thread Thomas McGrath III

Sarah,

Hi, What did you manage to do with the I/O from weedtech? Anything  
you can share? A stack etc.?


I am interested.

Thanks

Tom McGrath



On Sep 15, 2005, at 5:38 PM, Sarah Reichelt wrote:


On 9/15/05, liamlambert [EMAIL PROTECTED] wrote:


Has anyone use rev with teleo from makingthings.com I am looking for
a stack that will connect to there starter kit and read a single
Digital in put
  Liam . L



Unfortunately, Telo uses a USB interface and Revolution currently has
no mechanism for reading  writing to a USB port directly, although I
understand that Altuit are working on an external to do this. However
Rev can write to a serial port or to a USB-serial adapter to you might
find these Weeder devices useful http://www.weedtech.com/. I have
successfully used the Digital I/O, Analog Input  Thermocouple Input
modules with a Revolution program.

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

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



___
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 to speech engines for Windows

2005-09-16 Thread Mark Swindell
When I was investigating this a couple of months ago I felt that ATT  
had the most natural speech.  But the cost was prohibitive for what I  
was doing.


Mark

On Sep 15, 2005, at 9:33 AM, Bob Earp wrote:

What's the best English text to speech engine for Windows?  I see  
there are ones from Microsoft, WinSpeech, Lernout  Hauspie, ATT, and  
maybe others.


Are there others for Spanish, Portuguese and French ?

Also, through searching I see references to SAPI 4.0, SAPI 5.0 and  
SAPI 5.1 (I assume) standards for these engines.  Are there any  
problems associated with a particular version and a release of Windows  
?


Tnx, Bob...

Bob Earp - White Rock, BC

_
Take charge with a pop-up guard built on patented Microsoft®  
SmartScreen Technology   
http://join.msn.com/?pgmarket=en-capage=byoa/ 
premxAPID=1994DI=1034SU=http://hotmail.com/ 
encaHL=Market_MSNIS_Taglines  Start enjoying all the benefits of MSN®  
Premium right now and get the first two months FREE*.


___
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


My first print out.

2005-09-16 Thread AbilityForms
Hi Helpful people,

I just made my first print out and needless to say I have 2 questions.

1. Why was a screen inserted over the entire printable area? Can I delete 
this screen?

2. I have a HP 2200d printer and use Mac OS X. What's the largest card size I 
can have and print only one 8 1/2 x 11 sheet?

Joe,
Orlando, FL
___
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: My first print out.

2005-09-16 Thread Mark Smith
I'm guessing that when you say screen, you mean the fact that the  
background is grey. You have to set the background of the card or  
stack you're printing explicitly to white. If there is no colour set,  
then it will show white on screen, but grey on the page.


I think the way to calculate card sizes for printing means assuming a  
printer resolution of 72 dots per inch, and then equating 1 dot to 1  
pixel on the screen.



Cheers,

Mark


On 16 Sep 2005, at 16:48, [EMAIL PROTECTED] wrote:


Hi Helpful people,

I just made my first print out and needless to say I have 2 questions.

1. Why was a screen inserted over the entire printable area? Can I  
delete

this screen?

2. I have a HP 2200d printer and use Mac OS X. What's the largest  
card size I

can have and print only one 8 1/2 x 11 sheet?

Joe,
Orlando, FL
___
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: My first print out.

2005-09-16 Thread SimPLsol
Joe,
I believe Mark answered your first question, and most of your second 
question. The only thing I'd add is before printing set the printMargins to 
15. This 
will give you a 15 pixel border around your card. It compensates for the 
non-printable area on most printers (HPs tend to have the widest margins so you 
may have to experiment with higher numbers).
So the width of the card would be 612 (8.5 inches X 72 pixels per inch = 612)
The printable area would be 582 (612 minus 15 pixel margins on each side)
Paul Looney
___
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


Windows 2000

2005-09-16 Thread Peter T. Evensen
Is anyone deploying for Windows 2000?  It seems that Rev uses a weird 
(non-system) scroll bar).  Also, a lot of my fields have a border, even 
though the border is turned off.  3D boarders on a text field aren't complete.


Has any one else run into this?  If so, what did you do?  Is there any way 
to get Rev to use 2000-native scroll bars?


BTW, is there an easy way to substitute one's own graphics for a 
scroll-bar?  As my Java-loving boss said, That's easy to do in Java...


Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 


___
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: Windows 2000

2005-09-16 Thread TJ Frame
I'm using win 2000 and the scrollbars looks almost exactly like the ones in 
Word and Explorer.. not sure what you mean by non standard. Also Im not 
having any border issues - they work the way they should.
  Im using Rev v 2.6 by the way.

 On 9/16/05, Peter T. Evensen [EMAIL PROTECTED] wrote: 
 
 Is anyone deploying for Windows 2000? It seems that Rev uses a weird
 (non-system) scroll bar). Also, a lot of my fields have a border, even
 though the border is turned off. 3D boarders on a text field aren't 
 complete.
 
 Has any one else run into this? If so, what did you do? Is there any way
 to get Rev to use 2000-native scroll bars?
 
 BTW, is there an easy way to substitute one's own graphics for a
 scroll-bar? As my Java-loving boss said, That's easy to do in Java...
 
 Peter T. Evensen
 http://www.PetersRoadToHealth.com
 24-hour recorded info hotline: 1-800-624-7671
 
 ___
 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


Moving Wallpaper v2.0 API

2005-09-16 Thread FlexibleLearning
Moving Wallpaper v2.0 API
by  www.FlexibleLearning.com/xtalk.htm

For those who want to MovingWallpaper  in their own project and following 
feedback, the following enhancements have  been implemented...

- Trap Callbacks on image changeover
- Play images  of different dimensions
- No minimum image dimension
- Error  reporting
- Dynamic file checking, so images can replaced, added and removed  as the 
program runs.
- Save a Documentation file from the About  screen

This means image flexibility, better results for slower machines  as smaller 
images require less processing, as well as the ability to respond to  
callbacks with 7 display details including time, filename, image dimensions,  
window 
dimensions, visual effect, speed, the number of the file, and total  number of 
files.

You can now download the stack on its own (25k), or  download the full demo 
(5Mb) at  www.FlexibleLearning.com/xtalk.htm


Comments and feedback  welcome.

/H
FLCo
Home of The Scripter's  Scrapbook
www.FlexibleLearning.com/ssbk.htm  

___
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


mouseDoubleDown

2005-09-16 Thread Peter T. Evensen
I have a group with images in it.  If I try to double click an image, the 
mouseDoubleDown is not sent to either the group, nor the image, but the 
card.  Is this the normal behavior?  I have an image under everything (to 
provide a background to the card, but it isn't a Revolution background 
object).  This background image gets the mouseDoubleDown first and then the 
card.


It appears mouseDoubleUp is not sent at all.

This isn't what I was expecting.  Can anyone shed some light on this?  Thanks!

Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 


___
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: Windows 2000

2005-09-16 Thread MisterX
Peter

sometimes the fields' scrollbarwidth can change... I've seen it happen and
it's an old MetaCard bug - particularly when switching windows mode
(toplevel to palette for example)... 

But the hell if it can be reproduced consistently... I've never managed... 

To fix it, select your field, change the width to small and the back to big
and it should look ok from then on...

The rectangle looks fine! what's wrong with it?

cheers
Xavier 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of TJ Frame
Sent: Friday, September 16, 2005 8:44 PM
To: How to use Revolution
Subject: Re: Windows 2000

I'm using win 2000 and the scrollbars looks almost exactly like the ones in
Word and Explorer.. not sure what you mean by non standard. Also Im not
having any border issues - they work the way they should.
  Im using Rev v 2.6 by the way.

 On 9/16/05, Peter T. Evensen [EMAIL PROTECTED] wrote: 
 
 Is anyone deploying for Windows 2000? It seems that Rev uses a weird
 (non-system) scroll bar). Also, a lot of my fields have a border, even 
 though the border is turned off. 3D boarders on a text field aren't 
 complete.
 
 Has any one else run into this? If so, what did you do? Is there any 
 way to get Rev to use 2000-native scroll bars?
 
 BTW, is there an easy way to substitute one's own graphics for a 
 scroll-bar? As my Java-loving boss said, That's easy to do in Java...
 
 Peter T. Evensen
 http://www.PetersRoadToHealth.com
 24-hour recorded info hotline: 1-800-624-7671
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

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

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


No LF when printing scripts.

2005-09-16 Thread Dave LeYanna
I am not getting a line feed (just carriage return) when printing 
scripts so long line print on top of themselves.


I know that you need to be careful when witting text files and so on and 
be sensitive to platform issues but I can't seem to find anything about 
problems with the development environment. I am using Win XP


I have searched the archives and have not been able to find anything.

Dave
___
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: Windows 2000

2005-09-16 Thread Malte Brill

Hi Peter,

BTW, is there an easy way to substitute one's own graphics for a
scroll-bar?  As my Java-loving boss said, That's easy to do in 
Java...


Depending on how you define easy it is perfectly doable in Rev, but 
you need to roll your own Scrollbars.You need to do  a little 
calculation of percentage and then you will be able to do that quickly. 
There are a few demo stacks. One is Klaus Majors famous banana. You 
find it in revOnline.


 User: Klausimausi
Stack: Custom volume slider

And I have scripted a scrollbar with a proportional thumb:

Revonline
User: Malte
Stack: Propscroll


Hope that helps,

Malte

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


Printing Problem

2005-09-16 Thread AbilityForms
Hi Everyone,

OK so the gray area on my printout is gone and I have the image area size 
under control. Now my problem is that the image is off center and I have a non 
printing area of an inch at the top and left. Can this be changed?

If it matters I'm on a Mac OS X and I'm using an HP laser printer.

Joe,
Orlando, Florida
___
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: Copy image content for object image empty. (Image moving)

2005-09-16 Thread Gilberto Cuba Ricardo

Hi,


you can simply put one image into another one :-)

But this only works with imported images, NOT with referenced images!


I understand this.



on mouseUp
   put image img01 into image Visor ##of cd 17 of stack another  cool 
stack

end mouseUp


This works to the a thousand marvels. Thanks.



This is a little less scripting and you do not have to take care that  the 
dimensions


As you spoke of the dimensions I stayed thinking and when carrying out a 
code I found a detail that   I wanted to be able to clarify.


I made the following script in the image.

on mouseUp
   lock screen
   put image img01 of stack myStack into image Visor
   set the width of image Visor to 200
   set the height of image Visor to 200
   unlock screen
end mouseUp

And it happens that when I press the click in the image, the image goes 
moving up in a position and me the only thing that I make is to change their 
dimensions.


Why does this happen?

I don't have neither the smallest idea.


of both images are identical(!) as you have with imagedata.

Hope that heps.


Yes and thanks you.




Greetings,

Gilberto Cuba


Regards from germany

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



Greetings,

My name is Gilberto Cuba and I live in Cuba.




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


Re: Poke a Shell Variable with xTalk?

2005-09-16 Thread Sivakatirswami

Aloha, David:

Thanks for that tip... but the (text file + shelling to sendmail)

cat someFoo.txt | sendmail etc.

is what we use now, and honestly we are shooting in the dark as to  
when and why a CRLF is inserted into a line that is longer than 1024  
characters. The attempt to use echo makes a big assumption (possibly  
wrong) that it would handle long lines without that CRLF being  
introduced... but without *any* line delimiters at all from echo,  
it's a futile attempt to test for an unknown result.


I'll look at postalias... but as often happens with such things,-- 
where lo-level programming eats so much time for so little result,  
and you end up going back to find an xTalk solution-- I am about  
ready to move up and use Shao's SMTP libs... If I had started this  
whole foray with that and ditched the shell thing completely last  
week, I would probably be home free already...and I would have a grip  
on a nice tool box I can use for other projects...


Anyway, I think we can let this thread die for now..

Thanks

Sivakatirswami



On Sep 15, 2005, at 4:40 AM, david bovill wrote:

My suggestion would be to go with the (text file + shelling to  
sendmail) combination,  and not the (shell + echo + pipe)  
combination to get variables into anything but the simplest stuff.


I have not done this with sendmail but looking at the man page,  
would indicate that you need to use the :


   Postfix sendmail relies on the postdrop(1) command to create
   a queue file in the maildrop directory.

Which you can find at:

/var/spool/postfix, mail queue

However as this says use postdrop which in return takes input from  
STDIN you are back to square one.


   newaliases
  Initialize the alias database.  If no input  file   
is  specified
  (with  the  -oA  option,  see  below), the program  
processes the
  file(s) specified with the alias_database  
configuration  parame-
  ter.   If  no alias database type is specified, the  
program uses
  the type specified with the default_database_type   
configuration
  parameter.  This mode of operation is implemented by  
running the

  postalias(1) command.

Where:

  -oAalias_database
  Non-default  alias  database. Specify pathname or  
type:pathname.

  See postalias(1) for details.

So this is not looking simple:) The postalias command seems to be  
the thing you need to create the queue files in the maildrop  
directory (from files):


POSTALIAS(1)   
POSTALIAS(1)


NAME
   postalias - Postfix alias database maintenance

SYNOPSIS
   postalias [-Nfinoprvw] [-c config_dir] [-d key] [-q key]
   [file_type:]file_name ...

So by issuing a series of simple commands passing the right  
fileNames you should get the result you want? NB ie use merge() to  
create the right shell commands...




___
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: mouseDoubleDown

2005-09-16 Thread Ken Ray
On 9/16/05 3:40 PM, Peter T. Evensen [EMAIL PROTECTED] wrote:

 I have a group with images in it.  If I try to double click an image, the
 mouseDoubleDown is not sent to either the group, nor the image, but the
 card.  Is this the normal behavior?  I have an image under everything (to
 provide a background to the card, but it isn't a Revolution background
 object).  This background image gets the mouseDoubleDown first and then the
 card.
 
 It appears mouseDoubleUp is not sent at all.
 
 This isn't what I was expecting.  Can anyone shed some light on this?  Thanks!

Peter, I'm not getting this behavior... I imported an image set the script
to:

on mouseDoubleDown
  put DoubleDown
end mouseDoubleDown

on mouseDoubleUp
  put DoubleUp
end mouseDoubleUp


Then I grouped the image (so it was in a group), and then 2x-clicked it with
the browse tool and got DoubleDown and then DoubleUp in the message box.

Perhaps it's something else?

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: Printing Problem

2005-09-16 Thread Mark Smith
Have you experimented with the printMargins? It may be that if you've  
set them to a smaller value than your printer supports, some value  
(like 1 inch) gets used. I've had various difficulties when printing,  
but experimenting with the printMargins has usually sorted this kind  
of problem. I'm certainly no expert, so maybe someone else here can  
suggest something more specific...



Mark


On 17 Sep 2005, at 00:25, [EMAIL PROTECTED] wrote:



Hi Everyone,

OK so the gray area on my printout is gone and I have the image  
area size
under control. Now my problem is that the image is off center and I  
have a non

printing area of an inch at the top and left. Can this be changed?

If it matters I'm on a Mac OS X and I'm using an HP laser printer.

Joe,
Orlando, Florida
___
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


java?

2005-09-16 Thread Eric Engle
My current development strategy is to use hypercard for classic and then port
to metacard for windows and os x. It seems a workable strategy. However I keep
hoping for transcript as a scripting language (a tag like script
language=transcript) or a way to run a stack from within the browser. So far
I'm not seeing this happening. 

This semester I'm off to learn java. I'm hoping however to find the simplest
and easiest IDE out there (classic, os x or windows) to do so. I don't want the
latest and greatest -- in fact, I want the simplest and smallest. I'm hoping
someone here might be able to tell me:

a) Whether and where an integrated visual IDE for java could be found -- of
course, ideally it would be like hypercard with a palette to choose interface
elements (buttons, fields, movies, images) and for scripting them.
b) A simple java for compiling applets. I don't need or even want to make java
standalones! I want not to have to choose between the various development
possibilities that java offers -- all I want is to compile simple applets. If I
wanted to build standalone apps I would use hypercard/revolution for that. But
I don't think there is a good hypercard/revolution solution for online
distribution (i.e. you cannot yet run a stack from within a browser).

I know some people were working on a java hypercard. So maybe they might have
some ideas?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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