How to display mp3 or mpeg files

2003-12-01 Thread [EMAIL PROTECTED]
I produce educational cd-rom for kids. 97% of my customers have Windows 
computer and 3% Macs.

How to display mp3 or mpeg files from Revolution for my Windows users ?

Quicktime is not an issue because most Windows machine do not have 
Quicktime and most kids are not allowed by the schools or their parents to 
install new pieces of software on the computer (they dont have the admin 
rights in XP).

Any suggestion ?

Claude Lemmel
www.opus-species.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Writing PDF files from RunRev

2003-12-01 Thread jbv


Alejandro,


  I haven't visited the link, but have some
  experience writing PDF files from Metacard.

 Wonderful! Have you exported to pdf the full content
 of a field, a card or a whole stack?

Take it easy...;-)
It actually began more than 2 years ago on the MC list
when I helped Monte Goulding (sp?) generating PDF
files for one of his projects. I guess Monte also worked
a lot on exporting data as PDF, and that he might be of
some help as well (if not too busy)...
As for me, it's been more than 1.5 years since the last
time I tweaked some PDF in MC... AFAIR it was in
a CGI script : requests sent from a form on a web page
were extracting data from a database and exporting them
on the fly as PDF for download.
AFAIR I used templates (PDF files made in Illustrator)
featuring keywords, and the replace cmd was used to
insert accurate data in the file that was then saved as PDF.
Before saving, I had to change in the trailer the number of
bytes in the file, otherwise it would generate an error when
opening the file, and AFAIR some versions of Acrobat
Reader on some platforms even refused to open it.

IMHO exporting a card or a whome stack as PDF is not
the best way to approach the problem. I mean : we're talking
of completely different languages / environments.
So I guess the best is to :
- decide how you want your data to be displayed in PDF
- build one (or several) PDF templates
- write a PDF export handler that picks data (field content,
etc) in your stack and insert it in the PDF file
- fine tune your PDF file (according to the data inserted) and
save it.

Probably a more general PDF library could be created, but I
doubt it will cover all needs...


 For this reason, I'm interested to know if the
 code of this site still works.

 http://www.mactech.com/articles/mactech/Vol.16/16.03/DynamicPDF/

 Maybe it does not works for me because the wrong
 line endings or because it had to be written
 as binary data.

  the more closely your file follows the PDF
  format requirements, the better.

 I agree, but my experience writing
 binary data is NULL... :((


Sorry I'm too busy right now to check this code (PDF code
is totally off my head right now).
Nevertheless, I would suggest that you don't spend too much
time debugging code made by others. You'd better write your
own code, following the PDF tutorial reference.
Another solution is to produce PDF files from Illustrator, and
see if they work fine.

Last but not least : IMHO you don't need to bother with binary
data. There are actually 2 types of PDF files : compressed and
uncompressed. Uncompressed files (like those produced by
Illustrator) are just ASCII (and if you study them carefully you
will see how close PDF is from PostScript). In all my PDF
teakings with MC, I always used uncompressed format.
The only drawback is that you'll have to deal with HUGE
files sometimes...

JB


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


Bottleneck Graphic card in animations ? Or am I doing something wrong???

2003-12-01 Thread Malte Brill
Hi list,

I wrote that I am about finishing my first game a few days ago, but now I
run into some serious trouble.

I´ve been writing this game for a few days now and it works pretty smoothly
on my G4 400 Mac, way too fast on my brothers 2.4 GHz Wintel machine (so i
put a brake into it and is unplayable on my girls 1.0 GHz wintel machine
because it is not scrolling smoothly and displaying animations very slowish.

But: My gamesprite (moved by the arrow keys) is moving very fast on my girls
machine also...

Could this be because she has only an onboard Graphic card with 16 MB Video
memory?

You might take a look at the stack @

http://www.derbrill.de/revstack/jump4joy.rev.zip
the stack is quite biggish (about 1 MB)

(I hope you don´t mind that the script is looking quite chaotic, I haven´t
cleared it up too much yet.)

The main game script is in the button los

If I can´t get it working better I can´t release it for windows and I am
afraid it won´t work too good on older Macs either...

Any ideas?

Malte

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


Re: Seminar

2003-12-01 Thread jbv


Heather,

 Dear Listee,

 I'm delighted to tell you that the first ever Revolution Seminar will be
 held in San Francisco, in association with MacWorld.


Are you planing to video tape it and post it (at least an edited version
of the best parts) on the RR website ?
I'm sure all the poor guys who can't make it to SF would apreciate
that...

JB

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


Re: Writing PDF files from RunRev

2003-12-01 Thread Thomas J McGrath III
PDF = Postscript Definition Format(File)

On Dec 1, 2003, at 4:26 AM, jbv wrote:
 (and if you study them carefully you
will see how close PDF is from PostScript).
JB
Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 
2.1.2

Advanced Media Group
Thomas J McGrath III 2003   [EMAIL PROTECTED]
220 Drake Road, Bethel Park, PA 15102


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


Re: Writing PDF files from RunRev (drifting OT)

2003-12-01 Thread jbv
Definition: Acronym for Portable Document Format, the PDF file format
created
by Adobe Systems, Inc. uses the PostScript printer description language
and is
highly portable across computer platforms.
http://desktoppub.about.com/library/glossary/bldef-pdf.htm

Nevertheless, there are some huge differences between PDF and PS
(like the use of dictionnaries AFAIR).

JB

 PDF = Postscript Definition Format(File)

 On Dec 1, 2003, at 4:26 AM, jbv wrote:
   (and if you study them carefully you
  will see how close PDF is from PostScript).
  JB
 

 Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev
 2.1.2

 Advanced Media Group
 Thomas J McGrath III• 2003 •[EMAIL PROTECTED]
 220 Drake Road, Bethel Park, PA 15102

 ___
 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: Bottleneck Graphic card in animations ? Or am I doing something wrong???

2003-12-01 Thread Malte Brill
I made some changes to the stack...

Seems to work better to use send in xx milliseconds than to use send in xx
ticks. Also I´ve thrown out a few graphics.

http://www.derbrill.de/revstack/jump4joy2.rev.zip
the stack is quite biggish (about 1 MB)

Regards,

Malte

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


Re: Writing PDF files from RunRev (drifting OT)

2003-12-01 Thread Thomas J McGrath III
OOHHH

On Dec 1, 2003, at 7:47 AM, jbv wrote:

Definition: Acronym for Portable Document Format, the PDF file format
created
by Adobe Systems, Inc. uses the PostScript printer description language
and is
highly portable across computer platforms.
http://desktoppub.about.com/library/glossary/bldef-pdf.htm
Nevertheless, there are some huge differences between PDF and PS
(like the use of dictionnaries AFAIR).
JB

PDF = Postscript Definition Format(File)

On Dec 1, 2003, at 4:26 AM, jbv wrote:
 (and if you study them carefully you
will see how close PDF is from PostScript).
JB
Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev
2.1.2
Advanced Media Group
Thomas J McGrath III 2003 [EMAIL PROTECTED]
220 Drake Road, Bethel Park, PA 15102
___
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

Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 
2.1.2

Advanced Media Group
Thomas J McGrath III 2003   [EMAIL PROTECTED]
220 Drake Road, Bethel Park, PA 15102


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


Unicode Problems in 2.1.2

2003-12-01 Thread Dean Snyder
Revolution 2.1.2 claims improvements in Unicode handling, but it has gone
backwards in at least one area and has also failed to fix a previously
reported serious bug:

* Unlike earlier versions where it worked, characters in the Unicode
Private Use Area are now rendered by the generic no-glyph-here symbol and
not the corresponding glyphs in custom fonts installed with those characters.

* Unicode characters with code points that end in 09 are still
interpreted as tabs, ASCII character 9, in Revolution table fields.

Part of my research depends on manipulation of Unicode text and flakiness
here is very disturbing. (I don't believe this is an OS issue, but I'm
using Mac OS X 10.3.1, Panther.)


Respectfully,

Dean A. Snyder
Scholarly Technology Specialist
Library Digital Programs, Sheridan Libraries
Garrett Room, MSE Library, 3400 N. Charles St.
Johns Hopkins University
Baltimore, Maryland, USA 21218

office: 410 516-6850 mobile: 410 245-7168 fax: 410-516-6229
Manager, Digital Hammurabi Project: www.jhu.edu/digitalhammurabi


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


Re: Writing PDF files from RunRev (drifting OT)

2003-12-01 Thread Alex Rice
On Dec 1, 2003, at 5:47 AM, jbv wrote:
Nevertheless, there are some huge differences between PDF and PS
(like the use of dictionnaries AFAIR).
Another difference: Postscript is actually a programming language, 
where PDF is just a description language.

Just interesting that's all.

Alex Rice [EMAIL PROTECTED] | Mindlube Software | 
http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Writing PDF files from RunRev

2003-12-01 Thread Alex Rice
On Nov 30, 2003, at 5:08 AM, Alejandro Tejada wrote:

but everytime that I've tried to open this code
as a PDF file, Acrobat Reader tells me that the file
has errors that could not be repaired and skips the
file...
Alejandro,  If you need to create PDFs that look just like your card 
layout, you  might want to consider a PDF printer driver like PDFCamp 
http://www.verypdf.com/pdfcamp/pdfcamp.htm or the Adobe Acrobat 
printer drivers. On OS X you can always print to PDF via the built-in 
OS print dialog.

Of course if you need to create PDFs in batches as some specific kind 
of workflow then this may not work though.

Alex Rice [EMAIL PROTECTED] | Mindlube Software | 
http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Unicode Problems in 2.1.2

2003-12-01 Thread Ken Ray
Dean, have you added this to Bugzilla?

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

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Dean Snyder
 Sent: Monday, December 01, 2003 10:45 AM
 To: [EMAIL PROTECTED]
 Subject: Unicode Problems in 2.1.2
 
 
 Revolution 2.1.2 claims improvements in Unicode handling, but 
 it has gone backwards in at least one area and has also 
 failed to fix a previously reported serious bug:
 
 * Unlike earlier versions where it worked, characters in the 
 Unicode Private Use Area are now rendered by the generic 
 no-glyph-here symbol and not the corresponding glyphs in 
 custom fonts installed with those characters.
 
 * Unicode characters with code points that end in 09 are 
 still interpreted as tabs, ASCII character 9, in Revolution 
 table fields.
 
 Part of my research depends on manipulation of Unicode text 
 and flakiness here is very disturbing. (I don't believe this 
 is an OS issue, but I'm using Mac OS X 10.3.1, Panther.)
 
 
 Respectfully,
 
 Dean A. Snyder
 Scholarly Technology Specialist
 Library Digital Programs, Sheridan Libraries
 Garrett Room, MSE Library, 3400 N. Charles St.
 Johns Hopkins University
 Baltimore, Maryland, USA 21218
 
 office: 410 516-6850 mobile: 410 245-7168 fax: 410-516-6229 
 Manager, Digital Hammurabi Project: www.jhu.edu/digitalhammurabi
 
 
 ___
 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: Writing PDF files from RunRev (drifting OT)

2003-12-01 Thread jbv


Alex Rice a *crit :

 On Dec 1, 2003, at 5:47 AM, jbv wrote:
  Nevertheless, there are some huge differences between PDF and PS
  (like the use of dictionnaries AFAIR).

 Another difference: Postscript is actually a programming language,
 where PDF is just a description language.


which is actually another side of the same problem : the lack of access
to dictionaries hinders you from defining your own procedures in the
prologue...
But it's the same good old machinery (Display PostScript) still at work
in Acrobat Reader, Illustrator and (probably) inDesign...

JB

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


Open Process, Windows platform !

2003-12-01 Thread Steve Pelchat
Hi, i would like if other people got some problem with the Open Process Vprocess for 
neither on Windows Platform 

Because when i start my open process with 'for neither' the function close my 
openprocesses even my application run. and if i put into IRIX Platform, the open 
process is correct, it close only when the application was finnished

And other question, when the ENGINE for IRIX coming out ??

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


Re: How do I create an unreferenced image?

2003-12-01 Thread Ken Norris
Hello Graham,

 Date: Sun, 30 Nov 2003 20:39:55 +
 From: Graham Samuel [EMAIL PROTECTED]
 Subject: How do I create an unreferenced image?

 My question is, how does the IDE do this trick of embedding and
 getting rid of the external reference? I would like to create such
 images myself by scripting, but I don't see how. Sorry if this is
 obvious.
---
Yep, it's pretty simple as far as the command goes.

Look up import in the Transport Dictionary.

If you know about this and it doesn't work, I can almost guarantee it's a
location (file path) problem. Please look through the docs on Files,
Folders, and Resources.

Here's a tested example on a Mac (watch linewraps):

on mouseUp
  import paint from file /Macintosh HD/Desktop
Folder/RevStacks_Mine/RevTest.JPG
end mouseUp

...You can retrieve the absolute filepath like this:

...open the multi-line message box and type:

answer file Choose a file:
put it

...You can check the folder in the msg box:

put defaultFolder

...

See the docs for converting an absolute path to a relative path, etc.

If you are working in the IDE, then Rev has taken the Rev folder as the
defaultFolder, so unless  your image is in there, you'll have to either:

1) Assign an absolute file path as I did

...or to temporarily set a relative filepath:

2) Temporarily reset the defaultFoder, call your image, then set the default
folder back to what it was, unless you move your stack to the default
folder.

NOTE: Don't forget to account for the location of referenced images when you
build your standalone.

If anything isn't clear, come back and ask.

HTH,
Ken N.




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


Re: Seminar

2003-12-01 Thread Heather Williams
 Are you planing to video tape it and post it (at least an edited version
 of the best parts) on the RR website ?
 I'm sure all the poor guys who can't make it to SF would apreciate
 that...

It's certainly on the cards, but I can't make any promises at this stage,

Regards,

Heather
-- 
Heather Williams ~ [EMAIL PROTECTED] ~ http://www.runrev.com/
Runtime Revolution - User-Centric Development Tools
Tel +44 (0) 131 7184333 Fax +44 (0) 845 4588487
~~~ Check our web site for new Revolution editions  special offers ~~~

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


Re: Seminar

2003-12-01 Thread Ken Norris
on 12/1/03 9:00 AM, [EMAIL PROTECTED] at
[EMAIL PROTECTED] wrote:

 Date: Mon, 01 Dec 2003 11:18:07 +0100
 From: jbv [EMAIL PROTECTED]
 Subject: Re: Seminar
 
 Heather,
 
 Dear Listee,
 
 I'm delighted to tell you that the first ever Revolution Seminar will be
 held in San Francisco, in association with MacWorld.
 
 
 Are you planing to video tape it and post it (at least an edited version
 of the best parts) on the RR website ?
 I'm sure all the poor guys who can't make it to SF would apreciate
 that...

...Or video to DVD or VCD (MPEG?).

...Or the ultimate dream, which can now be done much easier: Streaming QT?

Ken N.

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


How do I interrupt and cleanup gracefully?

2003-12-01 Thread T. R. Ponn
Hello all,

There are a few places in my app where it would be nice if the user 
could use a command-period interrupt to gracefully stop my scripts. 
So, in playing around, I tried this as a starting point in a new button:

on mouseUp
 repeat
   if the interrupt then cleanThisUp else add 1 to msg
 end repeat
end mouseUp
on cleanThisUp
 put I'm interrupted into msg
end cleanThisUp
It does, indeed, stop the script, but always with an error...and I never 
see the final message in the msg box.  This is happening in Rev 2.0.3 
IDE on my Mac (OS9.2.2), but must also work in the standalones when 
completed.

What am I missing?

Thanks in advance for any help you can lend!

Best Regards,

Tim Ponn

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


Re: How do I interrupt and cleanup gracefully?

2003-12-01 Thread Jan Schenkel
--- T. R. Ponn [EMAIL PROTECTED] wrote:
 Hello all,
 
 There are a few places in my app where it would be
 nice if the user 
 could use a command-period interrupt to gracefully
 stop my scripts. 
  So, in playing around, I tried this as a starting
 point in a new button:
 
 on mouseUp
   repeat
 if the interrupt then cleanThisUp else add 1 to
 msg
   end repeat
 end mouseUp
 
 on cleanThisUp
   put I'm interrupted into msg
 end cleanThisUp
 
 It does, indeed, stop the script, but always with an
 error...and I never 
 see the final message in the msg box.  This is
 happening in Rev 2.0.3 
 IDE on my Mac (OS9.2.2), but must also work in the
 standalones when 
 completed.
 
 What am I missing?
 
 Thanks in advance for any help you can lend!
 
 Best Regards,
 
 Tim Ponn
 
 

Hi Tim,

The way I read the docs, you should set the local
property allowInterrupts to false before going into
the repeat loop. So the script should look something
like :
--
on mouseUp
  set the allowInterrupts to false
  repeat
if the interrupt
then cleanThisUp
else add 1 to msg
  end repeat
end mouseUp

on cleanThisUp
  put I'm interrupted into msg
end cleanThisUp
--

A quick test revealed this to work on my Windows
machine. So I 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!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Seminar

2003-12-01 Thread Alex Rice
On Dec 1, 2003, at 12:42 PM, Ken Norris wrote:
...Or video to DVD or VCD (MPEG?).

...Or the ultimate dream, which can now be done much easier: Streaming 
QT?
The way Apple does their Macworld sessions with Quicktime streams is 
kind of neat, I think.

At conference time they post the current keynote session plus one or 
two other sessions in QT format, for free on developer.apple.com . For 
the rest of the year, all the other QT streams of macworld sessions are 
available for buying on the site. But a few weeks before Macworld, all 
of the previous sessions from the last year's conference are available 
for free QT streaming. By making all of the last year's free, it 
satisfies leeches like me :-) and also is good advertising for the 
upcoming conference.

Runrev: any chance of getting your session into the ADC TV part of 
developer.apple.com?

Alex Rice [EMAIL PROTECTED] | Mindlube Software | 
http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How do I interrupt and cleanup gracefully?

2003-12-01 Thread T. R. Ponn
Jan,

I tried it and it failed (the IDE locked up)...then I added the obvious 
(exit to top).  And, just to make sure things were back where they're 
supposed to be, I added set allowInterrupts to true.  Badda-bing! 
That did it!

Though not a biggie, I'm still struggling with understanding the logic: 
set allowInterrupts to false = allow the user to interrupt.  Sounds 
backwards to me. :-D

Thanks!

on mouseUp
 put empty into msg
 set the allowInterrupts to false
 repeat
   if the interrupt
   then cleanThisUp
   else add 1 to msg
 end repeat
end mouseUp
on cleanThisUp
 put I'm interrupted into msg
 set the allowInterrupts to true
 exit to top
end cleanThisUp
Best Regards,

Tim Ponn

Jan Schenkel wrote:

--- T. R. Ponn [EMAIL PROTECTED] wrote:
 

Hello all,

There are a few places in my app where it would be
nice if the user 
could use a command-period interrupt to gracefully
stop my scripts. 
So, in playing around, I tried this as a starting
point in a new button:

on mouseUp
 repeat
   if the interrupt then cleanThisUp else add 1 to
msg
 end repeat
end mouseUp
on cleanThisUp
 put I'm interrupted into msg
end cleanThisUp
It does, indeed, stop the script, but always with an
error...and I never 
see the final message in the msg box.  This is
happening in Rev 2.0.3 
IDE on my Mac (OS9.2.2), but must also work in the
standalones when 
completed.

What am I missing?

Thanks in advance for any help you can lend!

Best Regards,

Tim Ponn

   

Hi Tim,

The way I read the docs, you should set the local
property allowInterrupts to false before going into
the repeat loop. So the script should look something
like :
--
on mouseUp
 set the allowInterrupts to false
 repeat
   if the interrupt
   then cleanThisUp
   else add 1 to msg
 end repeat
end mouseUp
on cleanThisUp
 put I'm interrupted into msg
end cleanThisUp
--
A quick test revealed this to work on my Windows
machine. So I 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!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
___
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: Unicode Problems in 2.1.2

2003-12-01 Thread Dean Snyder
Ken Ray wrote at 12:01 PM on Monday, December 1, 2003:

Dean, have you added this to Bugzilla?

I have now, using your nifty RevZilla stack. Thanks.


Respectfully,

Dean A. Snyder
Scholarly Technology Specialist
Library Digital Programs, Sheridan Libraries
Garrett Room, MSE Library, 3400 N. Charles St.
Johns Hopkins University
Baltimore, Maryland, USA 21218

office: 410 516-6850 mobile: 410 245-7168 fax: 410-516-6229
Manager, Digital Hammurabi Project: www.jhu.edu/digitalhammurabi


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


Re: How do I interrupt and cleanup gracefully?

2003-12-01 Thread Jan Schenkel
--- T. R. Ponn [EMAIL PROTECTED] wrote:
 Jan,
 
 I tried it and it failed (the IDE locked up)...then
 I added the obvious 
 (exit to top).  And, just to make sure things were
 back where they're 
 supposed to be, I added set allowInterrupts to
 true.  Badda-bing! 
  That did it!
 
 Though not a biggie, I'm still struggling with
 understanding the logic: 
 set allowInterrupts to false = allow the user to
 interrupt.  Sounds 
 backwards to me. :-D
 
 Thanks!
 
 on mouseUp
   put empty into msg
   set the allowInterrupts to false
   repeat
 if the interrupt
 then cleanThisUp
 else add 1 to msg
   end repeat
 end mouseUp
 
 on cleanThisUp
   put I'm interrupted into msg
   set the allowInterrupts to true
   exit to top
 end cleanThisUp
 
 
 Best Regards,
 
 Tim Ponn
 
 

Hi Tim,

Well you have to read it as follows:
- if the allowInterrupts is true, the user can
interrupt the script at any time, even in a situation
that would leave data in an incorrect state.
- if the allowInterrupts is false, then the user can
still send the interrupt keystroke, but the developer
decides when to handle the interrupt, and how to clean
up and exit gracefully.

Hope this clarified things a bit,

Jan Schenkel.

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

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Open Process, Windows platform !

2003-12-01 Thread Alex Rice
On Dec 1, 2003, at 9:58 AM, Steve Pelchat wrote:

Hi, i would like if other people got some problem with the Open 
Process Vprocess for neither on Windows Platform 

Because when i start my open process with 'for neither' the function 
close my openprocesses even my application run. and if i put into 
IRIX Platform, the open process is correct, it close only when the 
application was finnished
Have you checked bugzilla for open process bugs? The open process 
command is severely buggy IMHO.

And other question, when the ENGINE for IRIX coming out ??
I remember you asked this before. Looks like you asked in September and 
in mid-November. If I were you I would not be too happy :-/

Alex Rice [EMAIL PROTECTED] | Mindlube Software | 
http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Seminar

2003-12-01 Thread Ken Norris
Hi Alex,

 Date: Mon, 1 Dec 2003 13:04:12 -0700
 From: Alex Rice [EMAIL PROTECTED]
 Subject: Re: Seminar
 
 
 On Dec 1, 2003, at 12:42 PM, Ken Norris wrote:
 ...Or video to DVD or VCD (MPEG?).
 
 ...Or the ultimate dream, which can now be done much easier: Streaming
 QT?
 
 The way Apple does their Macworld sessions with Quicktime streams is
 kind of neat, I think.
--
Actually, that was my reference, although I didn't mention it. I found the
last one very informative and just plain kewel.

Ken N.

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


updating graphic properties - question for the development team ?

2003-12-01 Thread jbv
I guess it's a question for the development team, since
it concerns the engine...

When updating a visual property of a control (like the
opaque of a field, or the backgroundcolor of a btn, etc.
IOW any property that leads in changes in the current
display) does the engine check the setting of this property
before trying to update anything ?

I'm asking because one of my script sets the opaque of a
large chunk of flds to true, and when the opaque of a large
portion of these flds is already set to true, I have the feeling
that the script runs significantly faster... as if it didn't bother
updating the display when the property is already set...

If it were the case, it would avoid complex checking of what
is set and what isn't in order to run scripts faster...

Or does it have to do with the way the OS handles display ?

Thanks,
JB

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


Re: How do I create an unreferenced image?

2003-12-01 Thread Wilhelm Sanke
On Mon, 01 Dec 2003, Ken Norris [EMAIL PROTECTED] wrote:

Hello Graham,

 Date: Sun, 30 Nov 2003 20:39:55 +
 From: Graham Samuel [EMAIL PROTECTED]
 Subject: How do I create an unreferenced image?

 My question is, how does the IDE do this trick of embedding and
 getting rid of the external reference? I would like to create such
 images myself by scripting, but I don't see how. Sorry if this is
 obvious.
---
Yep, it's pretty simple as far as the command goes.
Look up import in the Transport Dictionary.

If you know about this and it doesn't work, I can almost guarantee it's a
location (file path) problem. Please look through the docs on Files,
Folders, and Resources.
Here's a tested example on a Mac (watch linewraps):

on mouseUp
  import paint from file /Macintosh HD/Desktop
Folder/RevStacks_Mine/RevTest.JPG
end mouseUp
...You can retrieve the absolute filepath like this:

...open the multi-line message box and type:

answer file Choose a file:
put it
...You can check the folder in the msg box:

put defaultFolder

...

See the docs for converting an absolute path to a relative path, etc.

If you are working in the IDE, then Rev has taken the Rev folder as the
defaultFolder, so unless  your image is in there, you'll have to either:
1) Assign an absolute file path as I did

...or to temporarily set a relative filepath:

2) Temporarily reset the defaultFoder, call your image, then set the 
default
folder back to what it was, unless you move your stack to the default
folder.

NOTE: Don't forget to account for the location of referenced images 
when you
build your standalone.

If anything isn't clear, come back and ask.

HTH,
Ken N.
Ken and Graham,

Lots of things to consider, aren't they?

Excuse me, RR folks, if I mention this again: Besides a number of really 
good improvements unfortunately there is a whole bunch of 
mis-improvements of Revolution vs. Metacard.

In the Metacard IDE, when you import an image file, first thing you get 
is a dialog with a checkbutton Link Only. If you uncheck this button, 
the image will be embedded.

So my recommendation is: Switch to the Metacard IDE for a moment and 
then - if you like - go back to Revolution.

Regards,

Wilhelm Sanke

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


[ANN] QT External 0.3.0

2003-12-01 Thread Trevor DeVore
I've updated the QuickTime External to support QuickTime movie editing 
among other things.  The following functions have been added:

qtInitializeEditing() - makes a movie in a player object editable.
qtUndo()
qtCut()
qtCopy()
qtPaste()
qtSelectAll()
qtSelectNone()
qtAddMovieSegment() - allows add and add scaled operations
qtCreateHREFTrack()
qtDeleteTrack()
qtSaveAs()
qtGetMovieControllerInfo() - getting available actions on a movie (can 
be copied, pasted, etc.).  There is also an IsPlaying option that 
returns whether or not the movie is playing.
qtGetTrackEnabled()/qtSetTrackEnabled() - get/set track enabled by 
track index or track name.  Revolution currently supports this by track 
ID only.
qtRegisterTexSampleCallback() - register a handler that will be called 
whenever a new text sample is loaded in the QT movie.
qtAddMovieAnnotation()
qtGetMovieAnnotation()

A player object can now receive the ApplicationNumberAndString message 
as well.

The external is currently available for OS X only.

http://www.mangomultimedia.com/examples/revolution/;

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


cross-platform compress decompress

2003-12-01 Thread Mark Brownell
Hi,

I've read everything I can find in the archives and I'm wondering if 
anyone has solved the cross-platform compress  decompress problems. I 
would like to create a compressed text file on Mac X and open  
decompress it on Windows, the same goes for make on Windows  open on 
Mac. I'm not sure but it looks like the different charSets for each OS 
seems to be the problem. Anyway when I try to open made on Mac in 
Windows the file is not recognized as being compressed. I've tried 
stripping the header before decompressing with no luck. Perhaps a 
cross-platform compress/decompress is in the works soon? I solved these 
charSet OS issues in cross-platform encryption by converting to numbers 
within the entire encryption/decryption process. This took the relative 
positions of the different chars in charSets out of picture until the 
final rendering takes place.

Mark Brownell

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


Re: cross-platform compress decompress

2003-12-01 Thread Alex Rice
On Dec 1, 2003, at 4:19 PM, Mark Brownell wrote:

I've read everything I can find in the archives and I'm wondering if 
anyone has solved the cross-platform compress  decompress problems. I 
would like to create a compressed text file on Mac X and open  
decompress it on Windows, the same goes for make on Windows  open on 
Mac. I'm not sure but it looks like the different charSets for each OS 
seems to be the problem. Anyway when I try to open made on Mac in 
Windows the file is not recognized as being compressed. I've tried 
stripping the header before decompressing with no luck. Perhaps a 
cross-platform compress/decompress is in the works soon? I solved 
these charSet OS issues in cross-platform encryption by converting to 
numbers within the entire encryption/decryption process. This took the 
relative positions of the different chars in charSets out of picture 
until the final rendering takes place.
Would base64 encoding the content before compressing it be a suitable 
workaround for the char set issues?

Is there a bugzilla # I can read to get up to speed on this bug?

Alex Rice [EMAIL PROTECTED] | Mindlube Software | 
http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: cross-platform compress decompress

2003-12-01 Thread Richard Gaskin
Mark Brownell wrote:

 I've read everything I can find in the archives and I'm wondering if
 anyone has solved the cross-platform compress  decompress problems.

I've been using base64 on the compressed data to maintain it unadulterated
in user props or for transmission.  It adds some bulk, but the net result is
still usually much smaller than the original.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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


Re: cross-platform compress decompress

2003-12-01 Thread Richard Gaskin
Alex Rice wrote:

 On Dec 1, 2003, at 4:19 PM, Mark Brownell wrote:
 
 I've read everything I can find in the archives and I'm wondering if
 anyone has solved the cross-platform compress  decompress problems. I
 would like to create a compressed text file on Mac X and open 
 decompress it on Windows, the same goes for make on Windows  open on
 Mac. I'm not sure but it looks like the different charSets for each OS
 seems to be the problem. Anyway when I try to open made on Mac in
 Windows the file is not recognized as being compressed. I've tried
 stripping the header before decompressing with no luck. Perhaps a
 cross-platform compress/decompress is in the works soon? I solved
 these charSet OS issues in cross-platform encryption by converting to
 numbers within the entire encryption/decryption process. This took the
 relative positions of the different chars in charSets out of picture
 until the final rendering takes place.
 
 Would base64 encoding the content before compressing it be a suitable
 workaround for the char set issues?
 
 Is there a bugzilla # I can read to get up to speed on this bug?

I don't think it's a bug as much as a very useful feature with unintended
consequences for binary data:  in old versions of the engine, folks
complained that data stored in user properties did not have the automatic
cross-platform conversion as text in fields enjoy.  So several versions ago
this was changed to allow the same for user props.

The downside to the change is that for the minority of user props containing
binary data this conversion will cause trouble, often making the data
unusable (as is the case if the data is compressed).

Maybe we need a flag to note whether a property is text or binary?  Should
it be a stack property?

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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


Re: cross-platform compress decompress

2003-12-01 Thread Alex Rice
On Dec 1, 2003, at 4:27 PM, Richard Gaskin wrote:

I don't think it's a bug as much as a very useful feature with 
unintended
consequences for binary data:  in old versions of the engine, folks
complained that data stored in user properties did not have the 
automatic
cross-platform conversion as text in fields enjoy.  So several 
versions ago
this was changed to allow the same for user props.


The downside to the change is that for the minority of user props 
containing
binary data this conversion will cause trouble, often making the data
unusable (as is the case if the data is compressed).
When did that happen? I thought that custom properties are a place 
where binary data was really safe in Rev.

In either case I misunderstood Mark's question. I thought he meant 
compressing data X on two different platforms would yield 2 different 
chunks of binary data.

Maybe we need a flag to note whether a property is text or binary?  
Should
it be a stack property?
Just as a transcript notation you mean? Sounds useful

Alex Rice [EMAIL PROTECTED] | Mindlube Software | 
http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: cross-platform compress decompress

2003-12-01 Thread Mark Brownell
On Monday, December 1, 2003, at 03:19  PM, Alex Rice wrote:

Would base64 encoding the content before compressing it be a suitable 
workaround for the char set issues?
Base64 would not help. It's not before compression that is the issue. 
The stuff I'm encrypting already has a less-than 127 numToChar() value 
restriction. If you look at the text of the compressed data you will 
see many ascii characters that numToChar() higher than 127. These chars 
read differently on different Systems. Even if you macToISO() the chars 
they end up changing the decompress process on different platforms.

Is there a bugzilla # I can read to get up to speed on this bug?
I only found one and it said it was resolved. I think this might be a 
feature request kind of an issue.

mb

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


RE: Writing PDF files from RunRev

2003-12-01 Thread Monte Goulding

   I haven't visited the link, but have some
   experience writing PDF files from Metacard.
 
  Wonderful! Have you exported to pdf the full content
  of a field, a card or a whole stack?

 Take it easy...;-)
 It actually began more than 2 years ago on the MC list
 when I helped Monte Goulding (sp?) generating PDF
 files for one of his projects. I guess Monte also worked
 a lot on exporting data as PDF, and that he might be of
 some help as well (if not too busy)...

Yep, JB got me started on what was not an easy journey. It took me ages to
realise that even though it looks like ASCII text you need to save it as a
binary file (could be a line endings issue???). Unfortunately I've been
planning to build a generic PDF export library for about a year and never
had the time or project to make it worth while. My application Somatotype
generates PDF reports on the fly including multiple pages, complex charts,
tables and text. Fonts are an issue and any library I made would be limitesd
to the built in PDF fonts.

My plan has been to export stacks from card 1 to n with the page the same
size as the card. Currently all my code is in a Somatotype specific form so
I'm reluctant to hand it around. But it would be great to have a save stack
as PDF handler.

So the moral of the story is it's hard to motivate yourself to build a
library you don't need when you have a 6 week old baby girl, work coming out
your ears and Christmas on the way ;-)

Cheers

Monte

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


Rev 1.1 apps launching Classic on OS X 10.3

2003-12-01 Thread Ian Wood
Hi folks,

I'm having trouble with Rev 1.1 builds and OS X.3, the apps try to 
launch in Classic with no way to override this behaviour.

Can anyone else confirm this?

Ian Wood
Panoramic photography, from web to billboard, sunrise to moonrise
http://www.azurevision.co.uk
P.S. Yes, I could save up and get 2.1, but at the current rate of 
shareware sales that would take a LONG time!

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


Re: Writing PDF files from RunRev

2003-12-01 Thread Alex Rice
On Dec 1, 2003, at 4:42 PM, Monte Goulding wrote:

 My application Somatotype
generates PDF reports on the fly including multiple pages, complex 
charts,
tables and text.
That's impressive though! Just curious: how much of the many-thousand 
page PDF Specs from Adobe did you have to study to get to this point?



Alex Rice [EMAIL PROTECTED] | Mindlube Software | 
http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Trapping for Cancel Answer printer

2003-12-01 Thread Alex Rice
On Nov 30, 2003, at 12:46 PM, [EMAIL PROTECTED] wrote:
This is either a bug, where for use of  answer printer Rev should 
pass the result to it or needs more documentation if the globally 
expected engine behavior is for anything from the system to *not* be 
in it but be passed via the result, which is also logical. Old time 
xTalkers may take that for granted, newbies will stumble
As Ken confirmed, the solution is to check the result, not it. I 
think the docs reflect that.
As a relative new xtalker I have sometimes been confused when sometimes 
it is called for, and sometimes the result. Is there any general 
rule to be aware of?

Alex Rice [EMAIL PROTECTED] | Mindlube Software | 
http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: cross-platform compress decompress

2003-12-01 Thread Mark Brownell
I have a system that works for me, it's plain text.

This example opens on all platforms and is without cross-platform 
issues:

mtml noteBook=version 1.0 mtmlVersion=3.0
  authorn/a/author
  titleDemo Document/title
  copyrightn/a/copyright
  publisherwww.demotypeX.com/publisher
  offSetPage1/offSetPage
docSettings
61 173 254 201 112 131 124 144 25 151 90 58 97 202 63 89 92 6 195 93 79 
163 159 77 171 228 84 228 [snip]...
/docSettings
dictionary
  termDictionary InformationdefinitionNo dictionary information 
available./definition/term
/dictionary
indicated
  termAdd a term later/term
/indicated
/mtml
page
135 157 165 249 203 64 187 98 25 182 92 175 143 130 104 126 204 151 137 
247 154 167 240 68 138 168 134 37 0 10 37 131 113 108 191 14 208 46 170 
95 105 30 110 123 49 72 24 246 129 148 [snip]...
/page

The snipped sets of numbers are encrypted data that exists between the 
tag sets.

I was just looking for a way to make it smaller.

mb

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


Re: cross-platform compress decompress

2003-12-01 Thread Dave Cragg
At 3:27 pm -0800 1/12/03, Richard Gaskin wrote:

 On Dec 1, 2003, at 4:19 PM, Mark Brownell wrote:

 I've read everything I can find in the archives and I'm wondering if
 anyone has solved the cross-platform compress  decompress problems. I
 would like to create a compressed text file on Mac X and open 
 decompress it on Windows, the same goes for make on Windows  open on
 Mac. I'm not sure but it looks like the different charSets for each OS
 seems to be the problem. Anyway when I try to open made on Mac in
 Windows the file is not recognized as being compressed. I've tried
 stripping the header before decompressing with no luck. Perhaps a
 cross-platform compress/decompress is in the works soon? I solved
 these charSet OS issues in cross-platform encryption by converting to
 numbers within the entire encryption/decryption process. This took the
 relative positions of the different chars in charSets out of picture
 until the final rendering takes place.
Are you treating the files as binary data and not as text files? That 
is, when you save and open, you should use binfile and not file. 
For example:

When saving:
  put compress(field 1) into url (binfile:  someFile)
When opening:
  put decompress(url (binfile:  somefile)) into field 1
I don't think it's a bug as much as a very useful feature with unintended
consequences for binary data:  in old versions of the engine, folks
complained that data stored in user properties did not have the automatic
cross-platform conversion as text in fields enjoy.  So several versions ago
this was changed to allow the same for user props.


Are you sure that's true, Richard? I use custom props for image data, 
audio, and a host of other binary data but haven't noticed any cross 
platform issues.

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


Re: cross-platform compress decompress

2003-12-01 Thread Mark Brownell
On Monday, December 1, 2003, at 03:59  PM, Dave Cragg wrote:

Are you treating the files as binary data and not as text files? That 
is, when you save and open, you should use binfile and not file. 
For example:
I'm using binfile for all. This works fine on Win and works fine for 
Mac as long as I use binary files created on the same platform.

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


Re: How do I create an unreferenced image?

2003-12-01 Thread Graham Samuel
On  Mon, 01 Dec 2003 23:37:06 +0100, Wilhelm Sanke 
[EMAIL PROTECTED]

Hello Graham,

Date: Sun, 30 Nov 2003 20:39:55 +
From: Graham Samuel [EMAIL PROTECTED]
Subject: How do I create an unreferenced image?
My question is, how does the IDE do this trick of embedding and
getting rid of the external reference? I would like to create such
images myself by scripting, but I don't see how. Sorry if this is
obvious.
---
Yep, it's pretty simple as far as the command goes.
Look up import in the Transport Dictionary.

[...]

Ken and Graham,
Lots of things to consider, aren't they?

Excuse me, RR folks, if I mention this again: Besides a number of 
really
good improvements unfortunately there is a whole bunch of
mis-improvements of Revolution vs. Metacard.

In the Metacard IDE, when you import an image file, first thing you get
is a dialog with a checkbutton Link Only. If you uncheck this button,
the image will be embedded.
So my recommendation is: Switch to the Metacard IDE for a moment and
then - if you like - go back to Revolution.
Interesting point, Wilhelm, but I wanted to do this while my app was 
running, not in the IDE - the two Kens have now both pointed me at the 
'import' command, so all is well, once I've worked out how to name the 
image after it's imported (don't worry, I'm sure that this is trivial 
although it's not mentioned in the documentation for 'import' - I guess 
I just have to find the last numbered image and change its name).

Thanks all

Graham

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


RE: Writing PDF files from RunRev

2003-12-01 Thread Monte Goulding

   My application Somatotype
  generates PDF reports on the fly including multiple pages, complex
  charts,
  tables and text.

 That's impressive though! Just curious: how much of the many-thousand
 page PDF Specs from Adobe did you have to study to get to this point?

Quite a bit although much of it doesn't apply to the very basic PDF
documents that I export. In such a big document it's finding the one line of
text that you need that's annoying.

Cheers

Monte

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


RE: cross-platform compress decompress

2003-12-01 Thread Monte Goulding
 On Monday, December 1, 2003, at 03:59  PM, Dave Cragg wrote:

  Are you treating the files as binary data and not as text files? That
  is, when you save and open, you should use binfile and not file.
  For example:

 I'm using binfile for all. This works fine on Win and works fine for
 Mac as long as I use binary files created on the same platform.

Try compressing an decompressing the whole file to see if some stage in your
parsing is corrupting the compressed data. Richard's suggestion of compress
then base64Encode is also appropriate for binary data in an XML document.

Cheers

Monte

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


Re: cross-platform compress decompress

2003-12-01 Thread Dave Cragg
At 4:01 pm -0800 1/12/03, Mark Brownell wrote:
I have a system that works for me, it's plain text.

This example opens on all platforms and is without cross-platform issues:
Mark, could you provide an example that doesn't work? I've never 
encountered this problem, and I open a lot of compressed files 
(usally stacks) across Win and Mac platforms.

Are you using e-mail to transfer the files? I've come across cases of 
supposedly binary files being converted during e-mail transmission.

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


if not OT then why off list?

2003-12-01 Thread erik hansen

--- [EMAIL PROTECTED] wrote:
 Due to spiders harvesting email addresses from
 our web sites, which results in a flood of
 spam, we are planning to remove them all and
 use a form-post-to-cgi model. I would like to
 use transcript.  If anyone has invented this
 wheel already, email me off list.

if not OT then why off list?



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

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Beginning Valentina Question

2003-12-01 Thread erik hansen

--- Dan Shafer [EMAIL PROTECTED] wrote:
 Ken...
 
 Thanks. Success!
 
 Wow, there's a lot of undocumented arcania
 here! Someone needs to pull 
 it together in one place where people can find
 it!
 
 I'm working on a stack demonstrating the use of
 the report stuff in 
 2.1.2, but maybe I should first do a database
 tutorial stack set.
 
 Hm

please do.

Erik

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

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: cross-platform compress decompress

2003-12-01 Thread Mark Brownell
On Monday, December 1, 2003, at 04:15  PM, Monte Goulding wrote:

Try compressing an decompressing the whole file to see if some stage 
in your
parsing is corrupting the compressed data. Richard's suggestion of 
compress
then base64Encode is also appropriate for binary data in an XML 
document.

Cheers

Monte
I have tried compressing and decompressing the whole file as the first 
test. I tried compressing the data from a variable as a second test. 
I've looked at the same data in a text editor on both platforms and I 
did a comparison of charToNum() of the compressed data on both 
platforms. This was the exact same problem I had with blowfish I think. 
I solved it by constricting cross-platform data transfers to less than 
ascii 127; even though the data can represent up to ascii 255. My 
blowfish algorithm does it all as numerical values until the final 
rendering. I had to drop binaryEncode()  binaryDecode() in order to 
get numerical only results within the process. That's why I think it's 
something like upper ascii character values across platforms.

So can you compress this: abcdefghijklmnopqrstuvwxyz1234567890 on a 
Mac, save it as binary on a Mac, and open  decompress it on a Windows 
machine? I need to see a basic text file that I can decompress on Mac  
Windows. \ mb

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


Re: cross-platform compress decompress

2003-12-01 Thread Mark Brownell
On Monday, December 1, 2003, at 04:17  PM, Dave Cragg wrote:

Mark, could you provide an example that doesn't work? I've never 
encountered this problem, and I open a lot of compressed files (usally 
stacks) across Win and Mac platforms.

Are you using e-mail to transfer the files? I've come across cases of 
supposedly binary files being converted during e-mail transmission.
I'm zipping the Mac files and then FTPing them to my website. I'm then 
downloading them, unzipping them on Windows. After that I can open the 
text files but I can't use Rev to decompress the Mac .gz files. Windows 
recognizes these compressed files as .gz but won't let me decompress 
them. \ mb



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


Re: cross-platform compress decompress

2003-12-01 Thread Richard Gaskin
Mark Brownell wrote:

 On Monday, December 1, 2003, at 04:17  PM, Dave Cragg wrote:
 
 Mark, could you provide an example that doesn't work? I've never
 encountered this problem, and I open a lot of compressed files (usally
 stacks) across Win and Mac platforms.
 
 Are you using e-mail to transfer the files? I've come across cases of
 supposedly binary files being converted during e-mail transmission.
 
 I'm zipping the Mac files and then FTPing them to my website. I'm then
 downloading them, unzipping them on Windows. After that I can open the
 text files but I can't use Rev to decompress the Mac .gz files. Windows
 recognizes these compressed files as .gz but won't let me decompress
 them. \ mb

There may be something else in the mix:  RevNet has a lot of gzipped files
from both platforms and this has not been reported as a problem there.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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


Re: Trapping for Cancel Answer printer

2003-12-01 Thread Richard Gaskin
Alex Rice wrote:

 On Nov 30, 2003, at 12:46 PM, [EMAIL PROTECTED] wrote:
 This is either a bug, where for use of  answer printer Rev should
 pass the result to it or needs more documentation if the globally
 expected engine behavior is for anything from the system to *not* be
 in it but be passed via the result, which is also logical. Old time
 xTalkers may take that for granted, newbies will stumble
 
 As Ken confirmed, the solution is to check the result, not it. I
 think the docs reflect that.
 As a relative new xtalker I have sometimes been confused when sometimes
 it is called for, and sometimes the result. Is there any general
 rule to be aware of?

As a very general rule, the result is used for error info while it
contains data.

Are there other exceptions to this?

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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


Re: cross-platform compress decompress

2003-12-01 Thread Richard Gaskin
Dave Cragg wrote:

 I don't think it's a bug as much as a very useful feature with unintended
 consequences for binary data:  in old versions of the engine, folks
 complained that data stored in user properties did not have the automatic
 cross-platform conversion as text in fields enjoy.  So several versions ago
 this was changed to allow the same for user props.
 
 Are you sure that's true, Richard? I use custom props for image data,
 audio, and a host of other binary data but haven't noticed any cross
 platform issues.

I may be getting old and feeble, recalling merely a discussion of what would
happen if the request were implemented.

I can't recall a specific instance of custom props failing with binary data
for me, so chalk that up to a lack of sleep until someone confirms/denies it
empirically.

However, i used to have issues sending compressed data over sockets until I
got into the habit of using base64.   But since I've never had a problem
using your excellent libUrl even those may have been user error. :) I
started using base64 early on in my works with sockets, so other factors may
have been at play while I was getting the hang of it.

But the issue seems bigger than Mark and myself:  I recall a number of cases
where using compress/decompress across platforms was discussed here as
problematic, though I don't recall if storing them in user props or
transmitting via sockets was a consistent part of the recipe.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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


Re: cross-platform compress decompress

2003-12-01 Thread Mark Brownell
On Monday, December 1, 2003, at 05:01  PM, Richard Gaskin wrote:

There may be something else in the mix:  RevNet has a lot of gzipped 
files
from both platforms and this has not been reported as a problem there.
I'm using this on a Mac X:
put abcdefghijklmnopqrstuvwxyz1234567890 into tankX
ask file Save: with Untitled.txt
put compress(tankX) into URL (binfile:  it  .gz)
I get this:
KLJNIMK/(,*.)-+24261534d
It will be fun to compare what comes through the list as ascii chars 
for the result...

So I put this file on-line zipped and...

Wouldn't you know it, it works fine!

I used this on the Windows machine:

answer file this
put decompress(URL (binfile:  it )) into zap
put zap -- returns abcdefghijklmnopqrstuvwxyz1234567890
OK I've discovered a bug with me. I zipped me...

It turns out I was sending header data in the first line of the 
compressed data. Once I dropped that it worked fine.

Thanks to all,

Mark

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


Find and Replace

2003-12-01 Thread FMoyer
Can anyone shed any light on the Find and Replace... feature in Revolution? 
I open a stack, and then press command-F. Up comes Find and Replace. I type 
in a word to search for, and make sure only Field Text is checked. The 
results of the search are baffling -- I get the same card listed over and over. 
And then when I double-click on a line, instead of being led to that card, the 
script for the field where that text is found opens. Why would I want see the 
script for the field where that word exists? It seems completely illogical to 
me -- but maybe I'm missing something.

Then if instead of searching This Stack I choose Stacks in a Folder and 
then choose a folder, I get a bunch of error messages and then the computer 
freezes and I have to force-quit Revolution.

I'm using MacOS 9. Are others experiencing similar issues with Find and 
Replace?

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


Re: cross-platform compress decompress

2003-12-01 Thread J. Landman Gay
On 12/1/03 7:22 PM, Richard Gaskin wrote:

Dave Cragg wrote:

Are you sure that's true, Richard? I use custom props for image data,
audio, and a host of other binary data but haven't noticed any cross
platform issues.
I may be getting old and feeble, recalling merely a discussion of what would
happen if the request were implemented.
I made the same misstatement here six months or so ago, and maybe for 
the same reason you did. I am sure I remember a note in  one of the 
what's new files in a version of MC a while back which said that line 
endings in custom props were now converted. I remember being relieved 
because I had some trouble with that once.

Folks here corrected me, and now I don't know whether line conversion 
worked for a while and then was reverted later on, or whether I just 
dreamed the whole thing.

I can't recall a specific instance of custom props failing with binary data
for me, so chalk that up to a lack of sleep until someone confirms/denies it
empirically.
The reason I brought it up six months ago was because I was storing 
compressed data in a custom property that would not decompress on a 
different platform. If I compressed it on Mac it wouldn't decompress on 
Windows and vice versa. I never did get it to work. I had to create two 
versions of the compressed data, one for each platform. The data was all 
just plain ascii text, and I don't think there were any high-ascii 
characters in it.

But the issue seems bigger than Mark and myself:  I recall a number of cases
where using compress/decompress across platforms was discussed here as
problematic, though I don't recall if storing them in user props or
transmitting via sockets was a consistent part of the recipe.
That was me, for at least one of the times, and it was custom props. I 
haven't tested it again since then.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


HELP with mov FLASHING

2003-12-01 Thread Thomas J McGrath III
Help.

I put a reference movie from Keynote into my stack set as an 
interactive movie file. It used to play just fine. Click the mouse and 
it advances to the next slide with or without whatever effects you 
might have had in Keynote.

Well now the movie flashes to white when I click on it. It does change 
to the next slide but the flash to white is just awful.
This same movie file worked fine just a week ago. And when I open the 
mov file in Quicktime it works fine. The only thing that I have done 
since the other day was to import a bunch of graphic jpgs into another 
card not as references.
Could this have created a memory issue? the graphics added a bit of 
size to the over all project but they are on another card in the main 
stack and the mov reference is in a sub stack..

Does anyone know what might be going on? My whole project is based on 
this running smoothly.

Thanks for any help.

Tom

Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 
2.1.2

Advanced Media Group
Thomas J McGrath III 2003   [EMAIL PROTECTED]
220 Drake Road, Bethel Park, PA 15102
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How do I create an unreferenced image?

2003-12-01 Thread Ken Norris
Hi Wilhelm,

 Date: Mon, 01 Dec 2003 23:37:06 +0100
 From: Wilhelm Sanke [EMAIL PROTECTED]
 Subject: Re: How do I create an unreferenced image?

 In the Metacard IDE, when you import an image file, first thing you get
 is a dialog with a checkbutton Link Only. If you uncheck this button,
 the image will be embedded.
---
You can choose either one from the pulldown File menu in RR:

Import As Control  (embedded)...or
New Referenced Control  (file reference)

No waiting, no extra dialog (other than the Answer file), nothing to
'uncheck'.

Howcome that's 'mis-improved'?

Ken N.

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


Re: How do I create an unreferenced image?

2003-12-01 Thread Ken Norris
Hi Graham,

 Date: Tue, 2 Dec 2003 00:09:05 +
 From: Graham Samuel [EMAIL PROTECTED]
 Subject: Re: How do I create an unreferenced image?

 once I've worked out how to name the
 image after it's imported (don't worry, I'm sure that this is trivial
 although it's not mentioned in the documentation for 'import' - I guess
 I just have to find the last numbered image and change its name).
--
Yes, but you could write it into the script, pretty much like you just said:

get the id of the last image
set the name of image id it to MyFabulousDrawing

Are you importing a bunch of images? You might want to look at All Images
In Folder (Import As Control submenu). That will batch import them all at
once. Then just write a loop to go through them and rename them.

HTH,
Ken N.

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


Re: How do I create an unreferenced image?

2003-12-01 Thread Scott Rossi
On 12/1/03 8:38 PM, Ken Norris [EMAIL PROTECTED] wrote:

 once I've worked out how to name the
 image after it's imported (don't worry, I'm sure that this is trivial
 although it's not mentioned in the documentation for 'import' - I guess
 I just have to find the last numbered image and change its name).
 --
 Yes, but you could write it into the script, pretty much like you just said:
 
 get the id of the last image
 set the name of image id it to MyFabulousDrawing


You don't even need the first line:

  set name of last img to MyFabulousDrawing

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

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


Repeating events

2003-12-01 Thread Bill Vlahos
I have a script that I want to run every day at 5:00 AM and 2:30 PM and 
am having the hardest time figuring out how to work simply and 
reliably. The following script will figure out how many seconds from 
some arbitrary time to the next 5:00 AM. Normally the script will run 
automatically but it will be possible that the user might run it 
manually at any time.

convert the short time to dateItems
add 1 to item 3 of it -- tomorrow
put 5 into item 4 of it -- 5 AM
put 0 into item 5 of it -- :00 seconds
convert it to seconds
put it into vNextTime
convert the time to seconds -- current time
put it into vNow
put vNextTime - vNow into vTimeOffset -- number of seconds until the 
next 5:00 AM

This works OK for one repeating time per day but I want more than one 
(at this point it is two but it would be good to make a general case 
for any number of times the script is to be run).

Is there a simple way to track multiple repeating events without going 
bonkers keeping track of multiple send in times? I think I must be 
trying too hard on this but I can't think of a simple way to do it.

Bill

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


Re: Repeating events

2003-12-01 Thread Scott Rossi
On 12/1/03 10:03 PM, Bill Vlahos [EMAIL PROTECTED] wrote:

 I have a script that I want to run every day at 5:00 AM and 2:30 PM and
 am having the hardest time figuring out how to work simply and
 reliably.
 ...
 Is there a simple way to track multiple repeating events without going
 bonkers keeping track of multiple send in times? I think I must be
 trying too hard on this but I can't think of a simple way to do it.

Couldn't you just check the time once a minute or so?

  on checkTime
if the time = 5:00 AM or the time = 2:30 PM then doMyStuff
send checkTime to me in 60 seconds
  end checkTime

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

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


Re: Repeating events

2003-12-01 Thread Dar Scott
On Monday, December 1, 2003, at 11:03 PM, Bill Vlahos wrote:

Is there a simple way to track multiple repeating events without going 
bonkers keeping track of multiple send in times? I think I must be 
trying too hard on this but I can't think of a simple way to do it.
Every half minute check the time against your list of things to do that 
have not been checked off (or removed).  The task to do in the middle 
of the night is to re-initialize your list.

Dar Scott

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


RE: Repeating events

2003-12-01 Thread Monte Goulding

I suggest triggering your next event setup at the end of executing the last
one (also at startup to get things going)

Try this (untested):

on triggerEvent
  local tTime,tLine,tEventTimes
  doEvent -- script you want to run
  put the seconds into tTime
  convert tTime to dateItems
  -- uEventTimes is a list of times (5:00 AM = 5,0)
  put the uEventTimes of the target into tEventTimes
  if item 4 of tTime = item 1 of line -1 tEventTimes and \
item 5 of tTime = item 2 of line -1 of tEventTimes then
 add 1 to item 3 of tTime
 put line -1 of tEventTimes into item 4 to 5 of tTime
  else
 repeat for each line tLine in tEventTimes
   if item 4 of tTime = item 1 of tLine and \
  item 5 of tTime = item 2 of tLine then
  put tLine into item 4 to 5 of tTime
   end if
 end repeat
  end if
  convert tTime to seconds
  send triggerEvent to the target in (tTime - the long seconds) seconds
end triggerEvent


Tou could have this script in a library stack and have as many objects as
you like triggering events all over the place ;-)

Cheers

Monte

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