Fwd: [Re: HTML Formatted Mail (Off topic ?)]

2001-02-02 Thread jbv




 andu  :

  MetaCard can send any data using sockets but the html formatting with
  images and all that must be done by other app.
 

 You can also generate HTML pages "on the fly" through MC scripts and
 send those pages using sockets...

 JB




Still on the subject of generating code "on the fly" through MC scripts,
I'd like to insist on a feature I'd really like to see in further versions
of
MC (I already mentioned it a couple of weeks ago, but surprisingly
nobody reacted to it) : the possibility to download the content of a
handler (textfield, script, custom property, variable...) to any PS
printer
available on the network (just like you send data to a "socket").
The idea is to generate "on the fly" PostScript or PDF files and send the
data to a PS printer, and thus increase MC printing capabilities by
several
orders of magnitude. Of course, this feature should be available on all
platforms (AFAIR it's already available on the Unix version of MC).

I'm not sure how many other MC users would be interested in that
feature, but believe me : you can achieve wonderful printings.
And you don't even have to master PostScript programing : this feature
also allows you to download ready-made PDF or PS files (from Illustrator,
Photoshop...).

JB




Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




universal mouseMove?

2001-02-02 Thread Richard Gaskin

The mouseMove message is exactly what I'm looking for as a solution to
something I'm working on, but with one drawback for my needs:  it is only
sent when the mouse moves inside of a MetaCard window; once outside, the
message is no longer sent.

Any know a native MetaTalk way to trap mouse movement anywhere on the
screen, even outside of MC windows, so long as MC is in front?

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Multimedia Design and Development for Mac, Windows, UNIX, and the Web
 _
 [EMAIL PROTECTED] http://www.FourthWorld.com
 Tel: 323-225-3717   ICQ#60248349Fax: 323-225-0716



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: universal mouseMove?

2001-02-02 Thread Kevin Miller

On 2/2/01 2:07 pm, Richard Gaskin [EMAIL PROTECTED] wrote:

 The mouseMove message is exactly what I'm looking for as a solution to
 something I'm working on, but with one drawback for my needs:  it is only
 sent when the mouse moves inside of a MetaCard window; once outside, the
 message is no longer sent.
 
 Any know a native MetaTalk way to trap mouse movement anywhere on the
 screen, even outside of MC windows, so long as MC is in front?

The only way I can think of doing it would be to use a send...in handler
with a short interval to check the screenMouseLoc.

Regards,

Kevin

Kevin Miller [EMAIL PROTECTED] http://www.runrev.com/
Runtime Revolution Limited (formerly Cross Worlds Computing).
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: universal mouseMove?

2001-02-02 Thread Dave Cragg

At 6:07 AM -0800 2/2/01, Richard Gaskin wrote:
The mouseMove message is exactly what I'm looking for as a solution to
something I'm working on, but with one drawback for my needs:  it is only
sent when the mouse moves inside of a MetaCard window; once outside, the
message is no longer sent.

Any know a native MetaTalk way to trap mouse movement anywhere on the
screen, even outside of MC windows, so long as MC is in front?

Using "send" might work. For example, in a card script:

local sHaveFocus

on mouseMove x,y
   put x  ","  y
end mouseMove

on mouseLeave
   put true into sHaveFocus
   send "exMouseMove"  to me in 10 milliseconds
end mouseLeave

on exMouseMove
   put the mouseLoc into tPoint
   if (not within(me, tPoint)) and sHaveFocus  then
 put tPoint
 send "exMouseMove" to me in 10 milliseconds
   end if
end exMouseMove

on suspendStack
   put false into sHaveFocus
end suspendStack

If this doesn't do what you want, I'm sure some variation of "send" 
will do the trick.

BTW, mouseMove does get sent when the mouse is outside the window if 
the mouse is down. It gets sent to the object where the mouseDown 
occurred.

Cheers
Dave Cragg

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




RE: HTML Formatted Mail (Off topic ?)

2001-02-02 Thread Geoff Canyon

Actually, I should clarify my comments about pdf.  Acrobat Reader is 
free  cross-platform (at last Mac  Windows), but to create pdf 
files you do need to purchase the full version of Acrobat.  However, 
it's simple to create Acrobat files - you simply print your document 
to the Acrobat driver instead of a printer.  Therefore the files can 
be anything you can create  print from any application.  Acrobat 
reader is free and can be downloaded (most web sites that provide 
content this way have a link to the download site).  I assume you 
can buy Acrobat from Adobe's web site (as you've probably already 
found out if you've visited there).


OK sounds like a plan. Does anyone know the specifics of pdf file format or
where I can find this out? In the mean time I'll try Adobe. Is Acrobat cross
platform? Also is it free to distribute Acrobat?

  I haven't yet begun to mess with this kind of thing, but it strikes
  me that you might want to think about creating pdf files for this
  purpose.  After all, Acrobat is free...

  Regards,
  Dave Tremmel


Adobe provides information on this, but it's fairly detailed. It's in 
a document available on their web site, called, "Portable Document 
Format Reference Manual." The file name is pdfspec.pdf. I got it from

http://partners.adobe.com/asn/developer/acrosdk/DOCS/pdfspec.pdf

gc


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Storing HTML Formatted Mail

2001-02-02 Thread Peter Reid

Recently Monte asked about storing HTML files containing images and 
this generated some comment about use of acrobat, Web archives etc. 
Here's my knowledge on these things.

1) Acrobat Reader is free.  Acrobat generation costs (about 150 UK 
pounds) and this is true whether you want to use the editor or 
print-to-PDF - you need the full paid-for version of Acrobat to 
legitimately generate Acrobat by any means that involves Adobe 
software (including their printer drivers).

2) There are cheaper 3rd party Acrobat generation software products, 
e.g. "Jaws PDF Creator" for the Mac.  The Acrobat file format (PDF 
format) is published and it's possible to write your own PDF 
generation code if you wish.  (I've not done this, but I have written 
RTF generation code using the published RTF spec. which is similar in 
style and complexity to the PDF spec. I believe). The URL for the 
documentation is:

http://partners.adobe.com/asn/developer/technotes.html#acrobat-pdf

3) Acrobat files can be read on Win/Mac/Unix using the free Reader.

4) You can freely distribute the Acrobat Reader installer as long as 
you include all the necessary files - Adobe are very supportive of 
this, you don't need to send them reports, licenses etc.  So no 
problem including Acrobat Reader installers with your own code.  It's 
easier than distributing the QuickTime installers since Apple insist 
on you getting a licence from them first and then sending them two 
copies of your product, and quarterly volume reports (how many 
installations, but not details).  With Acrobat Reader, you just go 
ahead and distribute them, no hassle, no pack drill!

5) HTML files can't include embedded images, HTML is TEXT only, hence 
everything is in the form of URL links!

6) IE Web Archives are not only Microsoft-specific (ie.e. no good 
with Netscape), but are platform-specific as well - an IE Web Archive 
saved on a Mac can't be opened with IE on Windows and vice versa. 
How unusual for MS stuff to be mutually as well as universally 
incompatible, eh? ;)

Hope this helps.

Cheers
Peter
-- 

Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)870 052 7576
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.co.uk

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Ask ans Answer dialog

2001-02-02 Thread Rick Rice

I wrote a stack a couple of MC versions ago. When I run it now and attempt to
use the Ask or Answer dialog I get an error mesage. The only way out is to quit
MC. I'm working on a Mac. I had used the resource mover on the original stack to
create a standalone.
:::

:: PLAN!!  I'd rather be surprised.
:: F.A. (Rick) Rice, Instructor   [EMAIL PROTECTED]
:: Div. of Sciences and Health Sciences   Phone: (250) 828-5424
:: The University College of the Cariboo  Fax: (250) 828-5450
:: 900 McGill Road
:: Box 3010
:: Kamloops, BC
:: V2C 5N3
:::




Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Fwd: [Re: HTML Formatted Mail (Off topic ?)]

2001-02-02 Thread andu



jbv wrote:
 
  andu  :
 
   MetaCard can send any data using sockets but the html formatting with
   images and all that must be done by other app.
  
 
  You can also generate HTML pages "on the fly" through MC scripts and
  send those pages using sockets...
 
  JB
 
 
 Still on the subject of generating code "on the fly" through MC scripts,
 I'd like to insist on a feature I'd really like to see in further versions
 of
 MC (I already mentioned it a couple of weeks ago, but surprisingly
 nobody reacted to it) : the possibility to download the content of a
 handler (textfield, script, custom property, variable...) to any PS
 printer
 available on the network (just like you send data to a "socket").
 The idea is to generate "on the fly" PostScript or PDF files and send the
 data to a PS printer, and thus increase MC printing capabilities by
 several
 orders of magnitude. Of course, this feature should be available on all
 platforms (AFAIR it's already available on the Unix version of MC).

Talking to the printer is the easy part, generating "on the fly" PS or
PDF would imply MC has a built-in interpreter for that language. On UNIX
platforms there is Ghostscript which is a "free" PS interpreter (and it
sucks) and the only way to print more then text, but licensing anything
from Adobe must be a fortune.

 I'm not sure how many other MC users would be interested in that
 feature, but believe me : you can achieve wonderful printings.
 And you don't even have to master PostScript programing : this feature
 also allows you to download ready-made PDF or PS files (from Illustrator,
 Photoshop...).
 
 JB
 
 Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
 Info: http://www.xworlds.com/metacard/mailinglist.htm
 Please send bug reports to [EMAIL PROTECTED], not this list.

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Ask ans Answer dialog

2001-02-02 Thread Mark Talluto

on 2/2/01 10:24 AM, Rick Rice at [EMAIL PROTECTED] wrote:

 I wrote a stack a couple of MC versions ago. When I run it now and attempt to
 use the Ask or Answer dialog I get an error mesage. The only way out is to
 quit
 MC. I'm working on a Mac. I had used the resource mover on the original stack
 to
 create a standalone.


You must delete the old resources from the saved stack and import new ones
from the current version of MC.  This is all done with the resource mover.

-Mark Talluto


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Default font in Windows

2001-02-02 Thread Kevin Miller

On 2/2/01 5:39 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 I am running MC 2.3.2 and something has changed on my system (Win 98) since
 I last ran MC.  For some reason the font used when an object's font is
 "None" is different on this machine than it used to be.  I can run the exact
 same MC.EXE from a different workstation (MC is on a network drive) and the
 text displays correctly.  Am I missing a font perhaps?

Do you have Helvetica installed?  That is the default font but if it is not
installed MC will substitute Arial.

Kevin

Kevin Miller [EMAIL PROTECTED] http://www.runrev.com/
Runtime Revolution Limited (formerly Cross Worlds Computing).
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Ask ans Answer dialog

2001-02-02 Thread Kevin Miller

On 2/2/01 6:24 pm, Rick Rice [EMAIL PROTECTED] wrote:

 I wrote a stack a couple of MC versions ago. When I run it now and attempt to
 use the Ask or Answer dialog I get an error mesage. The only way out is to
 quit
 MC. I'm working on a Mac. I had used the resource mover on the original stack
 to
 create a standalone.

Use the resource mover to delete the old resources and then copy in the new
ones.  You'll need to do this whenever an engine change affects the way
these dialogs work or the dialogs get upgraded (which happened recently).

Regards,

Kevin

Kevin Miller [EMAIL PROTECTED] http://www.runrev.com/
Runtime Revolution Limited (formerly Cross Worlds Computing).
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




more on the ask aanswer dialog

2001-02-02 Thread Rick Rice

I just posted re an older stack now running under MC 2.3.2 and the hang
when the ask dialog or answer dialog executes. Here is a little more detail.
I figured that as I had imported the answer and ask dialog stacks with the
resource mover that some incompatability now exists so I tried in the message
box

delete stack "ask dialog" of stack "/Macintosh HD/Desktop
Folder/Phelbotomy/Phlebotomy1.mc"

I then tried:
delete stack "ask dialog" of stack "Macintosh HD/Desktop
Folder/Phelbotomy/Phlebotomy1.mc"

No matter what, I get the following execution error
"Chunk: can't find stack"
Object field "Message Field" of card "message Box Card" of stack "Message Box"
of stack "/Macintosh HD/Desktop Folder/Metacard"

I'm on a DVD iMac System 9 128 RAM using MC 2.3.2

Rick


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Fwd: [Re: HTML Formatted Mail (Off topic ?)]

2001-02-02 Thread jbv



andu  :



 Talking to the printer is the easy part, generating "on the fly" PS or
 PDF would imply MC has a built-in interpreter for that language. On UNIX
 platforms there is Ghostscript which is a "free" PS interpreter (and it
 sucks) and the only way to print more then text, but licensing anything
 from Adobe must be a fortune.


Sorry, but there's a misunderstanding here : the only thing I need is a MC
feature that allows me to talk to the printer.
As for generating PostScript on the fly, I will take care of that myself when
coding my scripts (as I master both PS and MetaTalk).

But this feature isn't reserved to ppl who master PostScript : as I wrote
before,
you can imagine to have various ready-made PS of PDF files (made in other
applications) that you can read and then download to the printer for great
printings...

Hope things are more clear now...

JB





Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




RE: universal mouseMove?

2001-02-02 Thread Monte Goulding

Do you want the global loc. Also how often do you want it. You could send
yourself a message every 1/2 a second like.

on wheresMyMouse
global tQuit
if not tQuit then send wheresMyMouse to me in 1/2 seconds
put the mouseScreenLoc
end wheresMyMouse

the tQuit is so it doesn't run away. Just set that to true when you want to
stop the handler.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Gaskin
 Sent: Saturday, 3 February 2001 12:37 AM
 To: [EMAIL PROTECTED]
 Subject: universal mouseMove?


 The mouseMove message is exactly what I'm looking for as a solution to
 something I'm working on, but with one drawback for my needs:  it is only
 sent when the mouse moves inside of a MetaCard window; once outside, the
 message is no longer sent.

 Any know a native MetaTalk way to trap mouse movement anywhere on the
 screen, even outside of MC windows, so long as MC is in front?

 --
  Richard Gaskin
  Fourth World Media Corporation
  Multimedia Design and Development for Mac, Windows, UNIX, and the Web
  _
  [EMAIL PROTECTED] http://www.FourthWorld.com
  Tel: 323-225-3717   ICQ#60248349Fax: 323-225-0716



 Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
 Info: http://www.xworlds.com/metacard/mailinglist.htm
 Please send bug reports to [EMAIL PROTECTED], not this list.



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




RE: HTML Formatted Mail (Off topic ?)

2001-02-02 Thread Monte Goulding


OK Thanks for that. I now have the problem that this needs to be usefull as
a distrobution not for personal use. I'm still interested though
particularly in the microsoft web archive format .mht which uses mume types
to separate info in the file.

Thanks again

Monte


 Actually, I should clarify my comments about pdf.  Acrobat Reader is
 free  cross-platform (at last Mac  Windows), but to create pdf
 files you do need to purchase the full version of Acrobat.  However,
 it's simple to create Acrobat files - you simply print your document
 to the Acrobat driver instead of a printer.  Therefore the files can
 be anything you can create  print from any application.  Acrobat
 reader is free and can be downloaded (most web sites that provide
 content this way have a link to the download site).  I assume you can
 buy Acrobat from Adobe's web site (as you've probably already found
 out if you've visited there).


 OK sounds like a plan. Does anyone know the specifics of pdf
 file format or
 where I can find this out? In the mean time I'll try Adobe. Is
 Acrobat cross
 platform? Also is it free to distribute Acrobat?
 
   I haven't yet begun to mess with this kind of thing, but it strikes
   me that you might want to think about creating pdf files for this
   purpose.  After all, Acrobat is free...
 
   Regards,
   Dave Tremmel
 
 
   Sorry off topic again but I'm wondering if it were at all
   possible to srore
   image data in a html file and have it readable by a browser.
 I'd like to
   save reports as html files but I need images in them and would
   like all to
   be in one file. Basicly I'd like to divide the page up into HTML
   and images.
   Is this possible. I asume if it was then more people would
 be doing it.
   
 Recently, Sjoerd Op 't Land wrote:
   
  Got a client who wants to send HTML formatted Mail to his
   customers.
 
  I've been looking into the same thing.  Apparently the key
   part of the
  equation is the tool/client that is used to encode/send the
 mail.  It needs
  to be capable of encoding multi-part MIME messages so that
 recipients will
  see plain text if there's no HTML formatting available.
   Not sure if MC
  could set up to do this.  Otherwise, there's nothing special
 on the content
  end -- all you have to do is create standard (simple) HTML.
 
  Instead of just sending that plain text you have to send
 something like the
  thing below.
   
 As far as I know, you can't send HTML mail from a standard
   mail client --
 this apparently requires dedicated sofware, at least from
   what I've been
 able to gather.
   
 Regards,
   
 Scott
   
   
 _
 Scott Rossi   Tactile Media -
 Multimedia  Design
 Creative Director Email: [EMAIL PROTECTED]
   Web: www.tactilemedia.com
   
   
 Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
 Info: http://www.xworlds.com/metacard/mailinglist.htm
 Please send bug reports to [EMAIL PROTECTED], not this list.
   
   
   
   Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
   Info: http://www.xworlds.com/metacard/mailinglist.htm
   Please send bug reports to [EMAIL PROTECTED], not this list.
 
 
   Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.
   
   
 
 
 Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
 Info: http://www.xworlds.com/metacard/mailinglist.htm
 Please send bug reports to [EMAIL PROTECTED], not this list.


 Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
 Info: http://www.xworlds.com/metacard/mailinglist.htm
 Please send bug reports to [EMAIL PROTECTED], not this list.



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Telnet client

2001-02-02 Thread LiangTyan Fui

On 2/3/01 7:15 AM, Scott Raney wrote:

 I recall that awhile back someone on this list said that they had done
 some work on a telnet client using MetaCard sockets.  Anyone know who
 that was, or have any other experience with this?

Hi Scott, this is from my archive.

--
From: Miel [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: 16 Jun 2000 11:43:05 -0700
To: [EMAIL PROTECTED]
Subject: telnet stack

hi all,

my telnet stack (.mc format) can be downloaded at:
www.casema.net/~zweda/telnet.mc

it's not stainless or anything but it's a start. enjoy!


-=[MieL]=-
   
-
Get free email at http://mail.limpbizkit.com

 Regards,
 Scott
 
 
 Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
 MetaCard: You know, there's an easier way to do that...


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Telnet client

2001-02-02 Thread andu



LiangTyan Fui wrote:
 
 On 2/3/01 7:15 AM, Scott Raney wrote:
 
  I recall that awhile back someone on this list said that they had done
  some work on a telnet client using MetaCard sockets.  Anyone know who
  that was, or have any other experience with this?
 
 Hi Scott, this is from my archive.
 
 --
 From: Miel [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: 16 Jun 2000 11:43:05 -0700
 To: [EMAIL PROTECTED]
 Subject: telnet stack
 
 hi all,
 
 my telnet stack (.mc format) can be downloaded at:
 www.casema.net/~zweda/telnet.mc
 
 it's not stainless or anything but it's a start. enjoy!
 
 -=[MieL]=-
 
I actually have that stack but it didn't do anything for me and looking
at the script I don't think it can. I can send it to whoever needs it
but I don't recommend it as an example of telnet protocol with mc.

Andu

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.