Credit card payments

2000-12-06 Thread Monte Goulding

Hi all

I know there's not going to be any easy answers to this question but I'm
wondering about the complexity of building in credit card
payment/registration details into an app using the post command and a CGI
script or something on the other end. Idealy I'd like to be able to
automatically send back a registration key but just recieving orders via
email would be good too.

I have purchased some software over the internet that sent the registration
key to my email before I could get back there. This would be an impressive
addition to our collective knowhow.

Regards

Monte


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: Max Bytes per Write for Passive

2000-12-06 Thread andu

>
>OK, so I got the FTP-a-single file working.
>
> !*Thank you Andu!*!
>
>next question:
>
>what is the "logic-criteria-limitation" behind the "write small 5000 bytes
>chunks to the socket at a time" decision? i.e. what determines one's choice
>of how much data to send in a single write. Is this a question of bandwidth,
>(we are getting 60-90K per sec on upload) available RAM on the sending side,
>or an issue relating to the passive FTP mode? Since the daily update to our
>site involves sending as much as 12 Megabytes of data in two separate FTP
>sessons (one set of files to one directory, and an archive mirror copy that
>moves to another server later at nite), would anything be lost or gained by
>increasing the amount of data being written per write?

That seemed to be the most I could write in one shot with my 56 k modem, you can
definitely change it.

>
>Hinduism Today
>Sivakatirswami
>Editor's Assistant/Production Manager
>www.HinduismToday.com
>www.HimalayanAcademy.com
>[EMAIL PROTECTED]
>
>
>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.
>
>.


Regards, Andu 
___
[EMAIL PROTECTED]

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.




Max Bytes per Write for Passive FTP Transfer

2000-12-06 Thread Sivakatirswami

OK, so I got the FTP-a-single file working.

 !*Thank you Andu!*!

next question:

what is the "logic-criteria-limitation" behind the "write small 5000 bytes
chunks to the socket at a time" decision? i.e. what determines one's choice
of how much data to send in a single write. Is this a question of bandwidth,
(we are getting 60-90K per sec on upload) available RAM on the sending side,
or an issue relating to the passive FTP mode? Since the daily update to our
site involves sending as much as 12 Megabytes of data in two separate FTP
sessons (one set of files to one directory, and an archive mirror copy that
moves to another server later at nite), would anything be lost or gained by
increasing the amount of data being written per write?

Hinduism Today
Sivakatirswami
Editor's Assistant/Production Manager
www.HinduismToday.com
www.HimalayanAcademy.com
[EMAIL PROTECTED]


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: Multi-Player Gaming

2000-12-06 Thread Karl Becker

Multiplayer gaming... now that's a subject that's been on my mind for 
quite awhile.
I'll eventually tie in a multiplayer aspect into a casino game I'm 
working on (though the architecture, while not the most stifling, 
isn't designed greatly to be in a multiplayer environment) , and will 
definitely need a feature like a chat program (along with 
transmitting the game info such as money won/lost) .  Sockets should 
take care of this fine, tho... have one copy of the game act as the 
"host," while all other users open up a socket to the host's IP 
address.  Each open socket from a player to the host should also have 
a socket from the host to the player (which would have to be made by 
the host computer) ... correct?
Once these sockets are open, each computer could transfer pieces of 
information to and from each other... something like "playerbet 10", 
where the first word of the chunk would designate the type of 
information being transferred, and the second word having the actual 
value... right?

This would be really complicated... I hate to try to figure this out 
when I've really done nothing with sockets.  Could anyone elaborate 
on the little situation I set up above there, telling me if this 
would actually work?  I suppose I could actually go through the work 
of setting it up and trying it sometime as well... but someone who's 
worked with sockets would be so much better at it than me...   8-)



>Sorry, though this is good info too. I actually meant accross dial-up
>connections on an ISP. I understand that you get assigned an IP address on
>connection with the computer.
-- 
Karl Becker, KB Productions   |   Featuring Tiger's Eye Casino,
http://www.karlbecker.com |   The Fishin' Hole, and New Tricks
  |
  |   Also featuring un-cut writings of Karl!

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.




Backup

2000-12-06 Thread Monte Goulding

Hi all

I am just wondering if I could have some advice about backing up my data. I
am sure that each of you has their own unique system and media that you use.
One thing that's good with MetCard is that even quite complex programs are
small in size and can even be compressed to a floppy (that's a 1.44 MB disk
for you Mac users). The specifics I fould like advice on are programs that
automatically back-up. Archiving as opposed to keeping the latest copy.
Media. Frequency. Anything else you can think of.

PS This post has been brought about by my current situation of having only 1
100 MB Zip that I backup my data to. The Disk seems to now be corrupted and
whilst I still have coppies on the hard drive and have been able to make
multiple winzip archives on floppies I think I need a better system.

Regards

Monte


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: Multi-Player Gaming

2000-12-06 Thread Monte Goulding

Yes I am saving my pennies for adsl and in Australia it's only about $80/mo
which probably makes it about the chapest in the world considering our
dollar is roughly equivalent to the East-Mongolian Conch ;-)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Pierre Sahores
Sent: Thursday, 7 December 2000 7:09 AM
To: [EMAIL PROTECTED]
Subject: Re: Multi-Player Gaming


Monte Goulding a écrit :
>
> Thanks for all the info. I am still a little confused on how to
communicate
> with other computers over the internet. Primarily I am interested in
knowing
> whether is is possible using two dialup connections to find out the IP
> address of both computers and then open  server/client applications on
them
> to communicate. Kind of like a private internet.

As Andu said, a simple cross cable betwin two macs, and even others machines
(linux, wintel) is enough to test an intranet solution. You can even test
your
apps in loopback, using the same machine to handle the client and the
server-side of your web apps.

To test a dialup kind of solution, you can declare two domains name at
, one domain for each computer, and, if you don't
want to
pay for static ip adresses, you will need to update the ip adresses of both
machines, at your dyndns accounts, each time you will connect them to each
other
(it takes
just some seconds and dyndns run perfectly for free).

To do best, you could link the two computers to the web in using adsl modems
and
static ip adresses. It's the solution i recommand to my clients for small
extranets (100 clients per server). In France, the cost of an adsl/static ip
for
one machine/month is about US $ 100 and it's probably cheaper in the USA.

Regards, Pierre

>
> Thanks
>
> Monte
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Pierre Sahores
> Sent: Wednesday, 6 December 2000 10:06 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Multi-Player Gaming
>
> Monte Goulding a écrit :
> >
> > It would be good if you could also post what you work out to the list.
I'm
> > interested an everything at the moment. You never know what you might
want
> > to use.
>
> Hi Monte,
>
> I'm for yet working in some different ways :
>
> the leight one (the soft can be ok for share with the list in about a
month)
> :
> converting DYLESMO (a "letters game" i did years ago in using HC) to a
> multi-users vpn game. I'm doing this to learn how build mc vpn solutions.
> For
> this job, i'm using the Mark J. Luetzelschwab's "socketsserverclient.mc"
as
> starter point.
> 
>
> the deep one : learning how to design and build SQL databases (in using
> Sybase
> Project Designer and so on) to connect them (trough the PHP's ODBC driver)
> to
> the web in using an MC application server.
>
> other ones : building an e-com mc solution  first
> designed
> under linux
> and yet running on a WinNT4/IIS4 server. building differents
> intranet/extranet
> corporate mc solutions.
>
> If you want to learn about one of my web applications, you will need to
> install
> it on a web server. Just ask, if needed and don't forget to say on witch
> plateform (MacOS 8.1+, Linux 2.0.36+, WinNT4+) you want to run it. Linux
(or
> OpenBSD probably too) is clearly the simplest way to get the best results.
>
> Best Regards, Pierre
>
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Pierre Sahores
> > Sent: Tuesday, 5 December 2000 7:44 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Multi-Player Gaming
> >
> > Peter Reid a écrit :
> > >
> > > My Xmas project with older son is to try to develop a multi-player
> > > game based on some ideas he's had.  So the questions are:
> > >
> > > 1) What's involved in establishing communication over a local network
> > > which could consist of both Macs and PCs, how do you make a
> > > connection and communicate between MC stacks running on machines
> > > across a network?
> > >
> > > 2) Going beyond a local network scenario, how about playing a game
> > > across the Internet, how do you make a connection and communicate
> > > between MC stacks running on machines across the Internet?
> > >
> > > Whilst I've done a fair amount of MetaCard development over the last
> > > 12 months or so, I've not done any kind of inter-program
> > > communication, so I'm not sure where to start with these aspects of
> > > my Xmas project?!  Any/all help gratefully received.
> > >
> > > 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 

RE: palette/windows/etc

2000-12-06 Thread Monte Goulding

You could try playing with the grab commmand or even the mouseMove x,y
handler - testing for the mouse being down. The other thing you may want to
consider is grouping the controls and then you could simply put the
following handler in the group script.

on mouseDown
   grab me
end mouseDown

Regards

Monte

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, 7 December 2000 3:44 AM
To: [EMAIL PROTECTED]
Subject: Re: palette/windows/etc


I have a button with the following script below. On using the mouseDown for
this button, the user can drag this button and its associated buttons and
field anywhere on the screen. Is there a better way to do it?
How can all this be changed to a palette?
mike
[EMAIL PROTECTED]

on mouseDown
  toComputer
  global dx, dy
--  lock screen
  set lockmessages to true
  put mouseLoc() into mousePos
  put the loc of me into buttonPos
  put item 1 of buttonPos - item 1 of mousePos into dx
  put item 2 of buttonPos - item 2 of mousePos into dy
end mouseDown

on mouseStillDown
  toComputer
  global dx, dy
  set lockmessages to true
  get mouseLoc()
  add dx to item 1 of it
  add dy to item 2 of it
  lock screen
  set the location of me to it
  set the topLeft of field "answer" to the left of me, the bottom of me-1
  set the topLeft of bg btn  "close" to the left of me+2, the bottom of
me-17
  set the topLeft of bg btn  "SELECT" to the left of me+20, the bottom of
me-19
  set the topLeft of bg btn  "export" to the left of me+120, the bottom of
me-19
  set the topLeft of bg btn  "compute" to the left of me+190, the bottom of
me-19
end mouseStillDown
on toComputer

  lock recent
  lock messages
  lock screen
end toComputer


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: Multi-Player Gaming

2000-12-06 Thread Monte Goulding

Sorry, though this is good info too. I actually meant accross dial-up
connections on an ISP. I understand that you get assigned an IP address on
connection with the computer.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of andu
Sent: Wednesday, 6 December 2000 6:46 PM
To: [EMAIL PROTECTED]
Subject: RE: Multi-Player Gaming


>
>Thanks for all the info. I am still a little confused on how to communicate
>with other computers over the internet. Primarily I am interested in
knowing
>whether is is possible using two dialup connections to find out the IP
>address of both computers and then open  server/client applications on them
>to communicate. Kind of like a private internet.

Monte, what platform are the 2 computers? If they are macs you just plug an
ethernet
cable between them, set the ip address to whatever you want for both (in
tcp/ip control
panel -> manual) and you are all set.
More or less the same for any platform except that you will need to install
2 network
cards.

>
>Thanks
>
>Monte


Regards, Andu
___
[EMAIL PROTECTED]

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: FTP Single File Script

2000-12-06 Thread Pierre Sahores

Sivakatirswami a écrit :
> 
> Thanks to Andu's help, we have worked out a simple script based on his FTP
> stack that sends a single file, using passive FTP to your web site.
> 
> Hopefully others will find this useful. Note I have no error trapping or
> socketTimeout handlers. . .so if you hang, it means you are stuck in a
> repeat block, Just hold your command period down till the repeat quits. If
> someone can figure out how and where to set those go please post and
> "upgrade" to this list. Thanks! note, this assume you have a log field on
> the card that is running the script. Note we are on a T1 line and perhaps
> the socketTimeOutinterval needs to be more for a dial up connection. . .but
> I don't even understand that part of it yet. . .anyway this does work.  If
> anyone can improve on this (and Scott probably could. . .) please do and
> post an update for all of us. This is a first draft by a complete socket
> newBie. I didn't even read the RFC docs yet. . .
> 
> ==
> 
> ##you must set all variables for the ftp address, user name, password
> ##etc. You will do a passive transfer (server asigns the port and tells
> ##you on which port to write the data. You will have to read from socket
> ##Q every time you write to it; the server answers to all requests and
> ##you want them all to know the status and keep the socket clear. Again,
> ##check all variables since some of them need to be declared at the top.
> 
> global Q, iName,IPath,fData,nData, tIP
> 
> on startFtp
>   ## First initialize variables with your web site host address
>   ## username and password, These could be passed as globals from some other
>   ## window or handler where the data could be permanently stored or
> changed.
>   set the socketTimeOutInterval to 5000
>   put hostnametoaddress(www.YourWebSite.com) into remoteAddress
>   put "UserName" into username
>   put "passWord" into password
> 
>   put empty into fld "log"
>   put  remoteAddress &":21" into Q
>   open socket to Q
>   write "USER " & username & CRLF to socket Q
>   read from socket Q for 1 line
>   if char 1 of it is "5" or word 1 of it is "421" then #error
> answer it
> exit "startFtp"
>   else
> write "PASS " & password & CRLF to socket Q
> repeat 100 times
>   read from socket Q for 1 line
>   put it &cr after fld "log"
>   if char 1 of it is "5" then
> answer it
> exit "startFtp"
>   end if
>   if char 4 of it is not "-" then exit repeat
>   ##if login is OK you
>   ##want to read all Welcome stuff and discard it
> end repeat
> sendFile
>   end if
> 
> end startFTP
> 
> on sendFile
>   set the directory to "/MyHardDrive"
>   put URL "binfile:BIG-om-animation -1.gif" into fData
>   put "public_html/BIG-om-animation-1.gif" into iPath
>   ## obviously you could pass the file references for fData and iPath
>   ## from another control/fields as globals
>   put the length of fData into tBytes
>   put tBytes & cr  after fld "log"
>   write "PASV"  & CRLF to socket Q
>   repeat 20 times
> read from socket Q for 1 line
> put cr & it after fld "log"
> if it contains "Entering Passive Mode" then exit repeat
>   end repeat
> 
>   put it into tReply
>   replace ")" with empty in tReply
>   set the itemDel to "("
>   put item 2 of tReply  into n1
>   set itemDel to ","
>   put item 1 to 4 of n1 into tIP
>   replace "," with "." in tIP
> 
>   put (item -2 of n1)*256  into a1
>   put item  -1 of n1 into a2
>   put a1+a2  into tPort
>   put tIP & ":" & tPort into tIP
>   open socket tIP
>   put cr &  tIP after fld "log"
>   write "TYPE "& I & CRLF to socket Q
>   read from socket Q for 1 line
>   put  cr & it after fld "log"
>   write  "STOR " & IPath & CRLF to socket Q
>   read from socket Q for 1 line
>   put  cr & it after fld "log"
>   set cursor to busy
>   senddata
> end sendFile
> 
> on senddata
>   put char 1 to 5000 of fData into nData
>   write nData to  socket  tIP with  message "writemore"
> end senddata
> 
> on writemore
>   delete char 1 to 5000 of fData
>   put "delete 5000"
>   put the length of fData into sLength
>   put sLength
>   if fData is not empty then
> if sLength>=5000 then
>   put char 1 to 5000 of fData into nData
>   write nData to  socket  tIP  with message "writemore"
>   put "OK"
> else
>   put fData into nData
>   write nData to  socket  tIP  with message "writemore"
>   put "OK"
> end if
>   else
> Put "Closing"
> close socket tIP
> read from socket Q for 1 line #for confirmation
> put  cr & it after fld "log"
> write "QUIT" & crlf to socket Q
> read from socket Q for 1 line #for confirmation
> put  cr & it after fld "log"
> close socket Q
> beep
>   end if
> end writemore
> 
> the following was the first feeble attempt at setting up a trap
> for socketTimeOut, but I haven't figured out how to implement it yet.
> 
> --on socketTimeOut Q
>  -- put "true" into tSocketIsClear
> --en

Re: Multi-Player Gaming

2000-12-06 Thread Pierre Sahores

Monte Goulding a écrit :
> 
> Thanks for all the info. I am still a little confused on how to communicate
> with other computers over the internet. Primarily I am interested in knowing
> whether is is possible using two dialup connections to find out the IP
> address of both computers and then open  server/client applications on them
> to communicate. Kind of like a private internet.

As Andu said, a simple cross cable betwin two macs, and even others machines
(linux, wintel) is enough to test an intranet solution. You can even test your
apps in loopback, using the same machine to handle the client and the
server-side of your web apps.

To test a dialup kind of solution, you can declare two domains name at
, one domain for each computer, and, if you don't want to
pay for static ip adresses, you will need to update the ip adresses of both
machines, at your dyndns accounts, each time you will connect them to each other
(it takes
just some seconds and dyndns run perfectly for free).

To do best, you could link the two computers to the web in using adsl modems and
static ip adresses. It's the solution i recommand to my clients for small
extranets (100 clients per server). In France, the cost of an adsl/static ip for
one machine/month is about US $ 100 and it's probably cheaper in the USA.

Regards, Pierre

> 
> Thanks
> 
> Monte
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Pierre Sahores
> Sent: Wednesday, 6 December 2000 10:06 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Multi-Player Gaming
> 
> Monte Goulding a écrit :
> >
> > It would be good if you could also post what you work out to the list. I'm
> > interested an everything at the moment. You never know what you might want
> > to use.
> 
> Hi Monte,
> 
> I'm for yet working in some different ways :
> 
> the leight one (the soft can be ok for share with the list in about a month)
> :
> converting DYLESMO (a "letters game" i did years ago in using HC) to a
> multi-users vpn game. I'm doing this to learn how build mc vpn solutions.
> For
> this job, i'm using the Mark J. Luetzelschwab's "socketsserverclient.mc" as
> starter point.
> 
> 
> the deep one : learning how to design and build SQL databases (in using
> Sybase
> Project Designer and so on) to connect them (trough the PHP's ODBC driver)
> to
> the web in using an MC application server.
> 
> other ones : building an e-com mc solution  first
> designed
> under linux
> and yet running on a WinNT4/IIS4 server. building differents
> intranet/extranet
> corporate mc solutions.
> 
> If you want to learn about one of my web applications, you will need to
> install
> it on a web server. Just ask, if needed and don't forget to say on witch
> plateform (MacOS 8.1+, Linux 2.0.36+, WinNT4+) you want to run it. Linux (or
> OpenBSD probably too) is clearly the simplest way to get the best results.
> 
> Best Regards, Pierre
> 
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Pierre Sahores
> > Sent: Tuesday, 5 December 2000 7:44 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Multi-Player Gaming
> >
> > Peter Reid a écrit :
> > >
> > > My Xmas project with older son is to try to develop a multi-player
> > > game based on some ideas he's had.  So the questions are:
> > >
> > > 1) What's involved in establishing communication over a local network
> > > which could consist of both Macs and PCs, how do you make a
> > > connection and communicate between MC stacks running on machines
> > > across a network?
> > >
> > > 2) Going beyond a local network scenario, how about playing a game
> > > across the Internet, how do you make a connection and communicate
> > > between MC stacks running on machines across the Internet?
> > >
> > > Whilst I've done a fair amount of MetaCard development over the last
> > > 12 months or so, I've not done any kind of inter-program
> > > communication, so I'm not sure where to start with these aspects of
> > > my Xmas project?!  Any/all help gratefully received.
> > >
> > > 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.
> >
> > Hi Peter,
> >
> > See Mark J. Luetzelschwab <[EMAIL PROTECTED]> about that.
> >
> > Regards, Pierre Sahores
> >
> > chef de projet cyberlibrairie
> > SNPIN - CNDP. 91, rue Gabriel-Peri
> > 92120 Montrouge. Tél.: 01.64.45.05.33
> >
> > Penser la part du rêve et
> > produire l'avantage compétitif.
> >
> > Archives: http://www.mail-archive.

Re: QuickTime MPGs on Windows

2000-12-06 Thread Scott Rossi

Recently, Sivakatirswami wrote:

> For those doing multimedia stuff and just getting into it. After many, many
> hours of crossplatform struggle we discovered that even the latest version
> (4.1.2) of Quicktime for Windows will not play mpg movies.

MPEG formatting isn't the problem -- it's probably whatever codec was used
to encode the video.

I recently put together a CD-ROM that contained about 10 MPEG formatted
videos which play fine in QT and in MC, on both Mac and Windows.  I ran into
a problem with one of the videos not playing at all and wound up having to
tell the author of the video to encode it so it would play under QT.  I
don't know what codec/settings they used, but whatever they did fixed the
problem, so it is possible to do.

FWIW, AVI also has similar problems -- some AVIs work fine under QT while
others do not, again, indicating that certain codecs work in QT.  Perhaps
Apple makes a list somewhere of which codecs QT supports...

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.




Re: Writing to www address

2000-12-06 Thread Pierre Sahores

Jack Rarick a écrit :
> 
> I'm a fairly new MC user - but a fairly experienced programmer - but - I'm
> missing something here - I hope.
> 
> It is very easy to READ data from a web address:
> get url "Http:www.somewhere.com/mytextfiles/test"
> put it into field "MyField"
> 
> That works very well - super in fact.
> 
> Now - is it possible to write a similar text field back to the same
> directory on the web?  Appending to the document?  I don't need the server
> to respond - I really just want it to provide "web storage".
> 
> Any help - or pointers - would be greatly appreciated.
> 
> Jack Rarick
> Braintree Athletic Systems
> 
> 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.

See  as
starter point :-)

Regards, Pierre Sahores

chef de projet cyberlibrairie
SNPIN - CNDP. 91, rue Gabriel-Peri
92120 Montrouge. Tél.: 01.64.45.05.33

Penser la part du rêve et
produire l'avantage compétitif.

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.




QuickTime MPGs on Windows

2000-12-06 Thread Sivakatirswami

For those doing multimedia stuff and just getting into it. After many, many
hours of crossplatform struggle we discovered that even the latest version
(4.1.2) of Quicktime for Windows will not play mpg movies. (maybe 5.0 will
but we don't know that yet.) Apple is very careful not to say anything about
this on their web site and the upfront text would indicate that your latest
quicktime download (4.1.2) to a windows machine "should" run whatever.mpg
movies. But they won't. Also Quicktime 4.0 on a Mac will not run them either
(earlier and later versions do). Check the forums and viola. . in the
QuickTime for Windows forum at the site there are all these posts "Can't
open MPEG" with replies "Mpegs don't work in Quicktime" Of course that's
only on Windows. I had to beg our video team to reprocess the same footage
(10 hours of CPU time from original footage back out to simple
Quicktime.mov-sorensen codec for cd rom) and set up a "upgrade trap" for
QT4.0 in case anyone still had that (surprisingly, lots of people still do.
. .)

Something else to note. Mpgs are amazingly scaleable on a Mac. You can set a
larger than original movie rect (say 800X600 for an original movie size of
640X480) for the player and lock location and you get this giant and still
very fine looking movie. But the Sorenson CODEC is not scaleable. If you try
the above your movie will lock up when it opens in the larger-than-original
player rect. On the plus side the Sorenson CODEC is very efficient, nearly
1/2 smaller than the MPG CODEC for the same original footage at the same
size (640X480)

Hinduism Today

Sivakatirswami
Editor's Assistant/Production Manager
www.HinduismToday.com
www.HimalayanAcademy.com
[EMAIL PROTECTED]


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: palette/windows/etc

2000-12-06 Thread MMessieh

I have a button with the following script below. On using the mouseDown for this 
button, the user can drag this button and its associated buttons and field anywhere on 
the screen. Is there a better way to do it?
How can all this be changed to a palette?
mike
[EMAIL PROTECTED]

on mouseDown
  toComputer
  global dx, dy
--  lock screen
  set lockmessages to true
  put mouseLoc() into mousePos
  put the loc of me into buttonPos
  put item 1 of buttonPos - item 1 of mousePos into dx
  put item 2 of buttonPos - item 2 of mousePos into dy
end mouseDown

on mouseStillDown
  toComputer
  global dx, dy
  set lockmessages to true
  get mouseLoc()
  add dx to item 1 of it
  add dy to item 2 of it
  lock screen
  set the location of me to it
  set the topLeft of field "answer" to the left of me, the bottom of me-1
  set the topLeft of bg btn  "close" to the left of me+2, the bottom of me-17
  set the topLeft of bg btn  "SELECT" to the left of me+20, the bottom of me-19
  set the topLeft of bg btn  "export" to the left of me+120, the bottom of me-19
  set the topLeft of bg btn  "compute" to the left of me+190, the bottom of me-19
end mouseStillDown
on toComputer
  
  lock recent
  lock messages
  lock screen
end toComputer


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: printing cards (beginners Q?)

2000-12-06 Thread Larry_R_Huisingh

> 
> hello everyone,
> 
> -I really need some help on how to print 2 cards onto
> 1 page of an A4 or letter size paper
> 
> -The 2 cards I have are with the rect of 0,0,640,460
> each.
> 
> -I've set the printmargin to 36,36,36,36 from within a
> script
> 
> -I've even set the margin to all sides 36,36,36,36
> (points) from the page setup menu item.
> 
> -I've tried open printing but the result was:
> 
> both cards got truncated at the right side (at least 1
> inch), and the bottom of the second cards got cut off
> by an inch or so.
> 
> i feel like i m running into something i don't have
> any ideas of, or obviously  there's something totally
> wrong that i did...Any help is greatly appreciated. 
> Thank you.
> 
> -RY
> 

Here is a script I use to print several cards at once one per page.  You
will want to modify it to suit your needs.  To print two cards per page you
will have to print two cards between the "open printing" and "close
printing".  You would also have to adjust the printScale to account for two
images per page instead of one.  Also take a look at and account for
"printGutters" for how much space to be kept between the images when you
calculate the printScale.  I think the key for you might be the calculation
and use of printScale.  The value for printScale will need to take into
account whether you are printing two across or two down the page.

  put cd field "Print List" of wd "test window" into list
  if list is not empty then
answer printer
if the result is not "Cancel" then
  # Try to use landscape.  It doesn't always work for me to use
printRotated.
  # I use the answer printer dialog to manually 
  # set the printer to landscape mode
  set printRotated to true  
  set printRowsFirst to true
  set printMargins to 36,36,36,36
  # landscape page width = 11 inches.  Use correct value for A4 paper.
  # subtract left and right margins.  
  put 11 - ((item 1 of printMargins + item 3 of printMargins)/72) into
targetWidth
  # Modify the next line to account for twice the width of your card
plus 
  # the printGutters value
  set the printScale to targetWidth/(the width of this wd/72)
  open printing
  repeat while list is not empty
put line 1 of list into begzone
go cd begzone
print this card
delete line 1 of list
  end repeat
  close printing
  put "Done printing"
end if
choose browse tool

Larry Huisingh

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: Playing imported QuickTime (.mov) movies

2000-12-06 Thread Kevin Miller

On 5/12/00 9:01 pm, Carsten Levin <[EMAIL PROTECTED]> wrote:

> We are trying to controll the playing of video clips in MetaCard, but find
> it hard to understand the examples in the help system ... waiting for the
> manual to arrive!
> Where can we se examples of setting the properties like showController and
> other relevant items?

The best way to find out about these is to try them out.  Set the filename
to a movie, then set these properties and see what changes.  ShowController
shows the QT standard controller.  AlwaysBuffer buffers the movie (allowing
other objects to be placed on top for example) but also prevents mouse
interaction with the controller.

Regards,

Kevin

Kevin Miller <[EMAIL PROTECTED]> 
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: Digest metacard.v004.n095

2000-12-06 Thread Gregory Lypny

Thanks Dave Cragg,

 86,213 records identified in 224 seconds.  Beats thumbing through 
over 3,000 pages of text.

 Cheers,

  Greg





On 6/12/2000 9:19 am, Dave Cragg wrote:

>I think eof is returned in the result. Try this:
>
>put 0 into counter
>open file tDatapath for read
>  repeat
>   read from file tDataPath until "//"
>   if the result is not empty then exit repeat
>   add 1 to counter
>end repeat
>close file tDataPath
>put counter
>
>This should jump out of the loop either after eof is reached, or an 
>error occurs.
>
>Cheers
>Dave Cragg



_
Gregory Lypny
Associate Professor of Finance
Concordia University

_
"Take chances, make mistakes!"
   - Ms Frizzle, The Magic School Bus



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.




Writing to www address

2000-12-06 Thread Jack Rarick

I'm a fairly new MC user - but a fairly experienced programmer - but - I'm
missing something here - I hope.

It is very easy to READ data from a web address:
get url "Http:www.somewhere.com/mytextfiles/test"
put it into field "MyField"

That works very well - super in fact.

Now - is it possible to write a similar text field back to the same
directory on the web?  Appending to the document?  I don't need the server
to respond - I really just want it to provide "web storage".

Any help - or pointers - would be greatly appreciated.

Jack Rarick
Braintree Athletic Systems


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: Print all scripts

2000-12-06 Thread Blair Moxon

Thank you, thank you, thank you! (especially Mark Talluto for contributing
the script)
This is something we have needed for some time...it actually works extremely
well. The only catch is to print the scripts, you have to copy and paste
into notepad or any text editor. I can definitley live with that...wahoo!

From: "Monte Goulding" <[EMAIL PROTECTED]>
I think some nice person from this list has contributed a stack
statistics
stack to x-worlds. It puts all the script into a field and gives
headings
and stuff... quite usefull.

-Original Message-
Subject: Print All Scripts
Does anyone have a code chunk that would print out all scripts for
all
controls, cards, groups, backgrounds, substacks and mainstack at one
go?


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: Help needed please

2000-12-06 Thread Hugh Senior

>1 - How do I launch a standalone in palette mode?

# openStack script
if ".exe" is in the effective filename of this stack then
  set the style of this stack to patlette
end if

>2 - I have a list field (a tutorial index) containing 
>chapters that when double clicked go to some card:
>
>on mouseDoubleDown
>  if the hilite of me = "some" then go card "some"
>end mouseDoubleDown
>
>When back from card "some" to the list, I'd like to have 
>the last clicked chapter hilited

# Field script
on mouseDoubleDown
 if the hilite of me = "some" then
   go card "some"
   set the u_HilitedLines of this cd to the hilitedLines of me
 end if
end mouseDoubleDown

#card script
on openCard
 set the hilitedLines of fld 1 to the u_HilitedLines of this cd
end openCard

>3 - Could someone please point me what is wrong with the 
>following lines:
>
>get setRegistry("HKEY_CLASSES_ROOT\.ebf\", "EbookFacil")
>get setRegistry
>("HKEY_CLASSES_ROOT\EbookFacil\", "EbookFacil Files")
>get setRegistry
>("HKEY_CLASSES_ROOT\EbookFacil\DefaultIcon\", "EbookFacil
>.exe,1")
>get setRegistry
>("HKEY_CLASSES_ROOT\EbookFacil\Shell\Open\command\", "Ebo
>okFacil.exe%1")

Last registry entry above should include the full path to the application.

/H

Hugh Senior

The Flexible Learning Company
Consultant Programming & Software Solutions
Fax/Voice: +44 (0)1483.27 87 27
Email: [EMAIL PROTECTED]
Web: www.flexibleLearning.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.




RE: Multi-Player Gaming

2000-12-06 Thread andu

>
>Thanks for all the info. I am still a little confused on how to communicate
>with other computers over the internet. Primarily I am interested in knowing
>whether is is possible using two dialup connections to find out the IP
>address of both computers and then open  server/client applications on them
>to communicate. Kind of like a private internet.

Monte, what platform are the 2 computers? If they are macs you just plug an ethernet
cable between them, set the ip address to whatever you want for both (in tcp/ip control
panel -> manual) and you are all set.
More or less the same for any platform except that you will need to install 2 network
cards. 

>
>Thanks
>
>Monte


Regards, Andu 
___
[EMAIL PROTECTED]

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.