Re: Digest metacard.v003.n530

2000-09-26 Thread andu





you can try finding the email address of a given user like that

my machine name here is kevin.kplab.com but my email addy isnt
[EMAIL PROTECTED], nor [EMAIL PROTECTED] its
[EMAIL PROTECTED]

Yes but you can do nslookup on bestweb.net  to obtain the address of say 
mail.bestweb.net and send the mail for 
[EMAIL PROTECTED] there without using your own smtp server , can't you?


you dont know if sendmail is running on localhost, nor if the mail server they
ACTUALY use shares a primany domain with the localhost.

best just to ask, although it would be nice to see the programme make an
educated guess.

robin-david hammond
lead systems engineer
KPL


From: andu [EMAIL PROTECTED]
Subject: Re: Implementing mailto: Mac
Date: Mon, 25 Sep 2000 19:35:42 -0400 (EDT)




Thanks to Dave and Sjoerd for arriving at the elegant 2-line solution on a PC:

put word 1 to -2 of \

queryRegistry("hkey_local_machine\software\classes\mailto\shell\open\command
\") \
  into tBrowserPath
launch "mailto:"tAddress with tBrowserPath

I think originally you wanted to do this within MC. I just found out there is
nslookup for windows (probably a port from Linux) which can be called with
"shell()"
and return the mail server given the domain name([EMAIL PROTECTED]).
Nslookup is here: http://www.trumphurst.com/dnsocx/nslookup.exe
and the dos commands are :

Using nslookup, you can find the email server of your domain, as shown in the
sample session below.
 Start a MS-DOS command prompt (in our case we use shell()) and type the
nslookup command:

   C:\ nslookup
   Default Server:  youserver.yourdomain
   Address:  X.X.X.X
set type=MX
microsoft.com
   microsoft.com   MX preference = 10, mail exchanger =
mail1.microsoft.com
   microsoft.com   MX preference = 20, mail exchanger =
mail2.microsoft.com
   microsoft.com   MX preference = 30, mail exchanger =
mail3.microsoft.com
   microsoft.com   MX preference = 40, mail exchanger =
mail4.microsoft.com
   microsoft.com   MX preference = 50, mail exchanger =
mail5.microsoft.com
The lowest preference indicates the best (primary) mail server. A mailer
would try it first and if it
  cannot connect to this server, it would use other servers (by order of
preference).


Now... Does anyone have the AppleEvent equivalent for a Mac?

I also found a perl script which gets the mail server name from
InternetConfig. It just needs to be translated into Metatalk:

use Mac::InternetConfig;
print $InternetConfig{kICSMTPHost()};

I tested it and it works I just don't know perl ;-)


/H
Hugh Senior





XIIdigitation, n.:
The practice of trying to determine the year a movie was made
by deciphering the Roman numerals at the end of the credits.
-- Rich Hall, "Sniglets"





Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Implementing mailto: Mac

2000-09-25 Thread andu




Thanks to Dave and Sjoerd for arriving at the elegant 2-line solution on a PC:

put word 1 to -2 of \

queryRegistry("hkey_local_machine\software\classes\mailto\shell\open\command
\") \
  into tBrowserPath
launch "mailto:"tAddress with tBrowserPath

I think originally you wanted to do this within MC. I just found out there is nslookup 
for windows (probably a port from Linux) which can be called with "shell()" and return 
the mail server given the domain name([EMAIL PROTECTED]).
Nslookup is here: http://www.trumphurst.com/dnsocx/nslookup.exe
and the dos commands are :

Using nslookup, you can find the email server of your domain, as shown in the sample 
session below.
 Start a MS-DOS command prompt (in our case we use shell()) and type the nslookup 
command:

   C:\ nslookup
   Default Server:  youserver.yourdomain
   Address:  X.X.X.X
set type=MX
microsoft.com
   microsoft.com   MX preference = 10, mail exchanger = 
mail1.microsoft.com
   microsoft.com   MX preference = 20, mail exchanger = 
mail2.microsoft.com
   microsoft.com   MX preference = 30, mail exchanger = 
mail3.microsoft.com
   microsoft.com   MX preference = 40, mail exchanger = 
mail4.microsoft.com
   microsoft.com   MX preference = 50, mail exchanger = 
mail5.microsoft.com
The lowest preference indicates the best (primary) mail server. A mailer would try 
it first and if it
  cannot connect to this server, it would use other servers (by order of 
preference).


Now... Does anyone have the AppleEvent equivalent for a Mac?

I also found a perl script which gets the mail server name from InternetConfig. It 
just needs to be translated into Metatalk:

use Mac::InternetConfig;
print $InternetConfig{kICSMTPHost()};

I tested it and it works I just don't know perl ;-)


/H
Hugh Senior


Regards, Andu 
___
[EMAIL PROTECTED]

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




Re: Rookie question - mouseUp on unlocked

2000-09-25 Thread andu



Hi all

I'm just fiddling around trying to learn how to use MC.  I'm creating a
simple temperature converter, and I've encountered a problem.

My card consists of two fields (Degrees C and Degrees F), two labels(for the
fields) and two buttons (Convert and Quit)

If I understand the MetaTalk reference correctly (and it's more than likely
I don't), an unlocked field doesn't receive mouseUp messages unless you hold
down the ctrl key (I'm on a Mac).  How then do I script the field to clear
itself when I click in it?  I've tried using a selectionChanged message
handler, but it started acting weird.  Here is the code I'm using.

Tim, what you are trying to do is kind of against expectations but ... Imagine you 
entered the wrong number in one of the fields and you want to select some or all of it 
in order to delete/change it. 
Set the lockText of the fields to true when you click the Convert button; that would 
enable the fields to accept a mouseUp. In that mouseUp you can put empty into the 2 
fields and set the lockText of them to false.


on selectionChanged #or mouseUp  put empty into field "Degrees C"  put empty into 
field "Degrees F" #I want it to clear both fields  select field "Degrees C"end 
selectionChanged #or mouseUp

My plan is that you click on either field and it clears both.  You then
enter whichever value you have (Centigrade or Fahrenheit) into the field,
and click the Convert button.  Depending on which field you entered, the
Convert button calculates the result and populates the other.

TIA
Tim


Regards, Andu 
___
[EMAIL PROTECTED]

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




Re: Can of Worms...

2000-09-23 Thread andu




As a Mac developer I monitor both the Realbasic and Supercard lists. Whilst
I'm active (and hopefully have assisted people) on this list, there are
people using RB and SC who are asking questions which could easily be solved
using MC. Previously, as a long term SC user, an MC 'mercenary' had a quiet
word in my ear, and, poached me from the SC list many, many  months ago.
Although this person will remain anonymous I remain in their debt.

The question is 'Do I maintain my competitive advantage by keeping quiet...'
or 'assist by suggestion...'

My philosophy on this issue is that a good tool in the hands of a bad mind is worth 
less then a bad tool in the hands of a good mind. At the same time a larger user base 
of MetaCard is beneficial to almost everybody involved with the product. 
The worst thing that can happen to a MC developer is to see possible clients shying 
away from their product because they never heard of MetaCard. Not to mention my recent 
experience with a web hosting company trying to use MC for cgi. 


TIA

Gary Rathbone





Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: MC Statistics Builder

2000-09-22 Thread andu






Hi fellow MC users.  I recently needed to know how many lines of code I had in a 
completed project and print out some of those to paper.  So I made a program that:

1.  Counts all of your objects on your mainstack and substacks and display each 
accordingly
2.  Compiles a complete copy of all of your code and labels each section.
3.  Tells other general information about your stack.

If anyone would like a copy and maybe make it better, that would be cool.  I find it 
useful at times and thought others might too.  If so, maybe x-worlds would host it as 
a tool for download.

Could you please send me a copy? Thanks.

-Mark Talluto


Regards, Andu 
___
[EMAIL PROTECTED]

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




Re: Ok, what now?

2000-09-21 Thread andu




Hi all

I've just downloaded the MetaCard starter kit, and had a bit of a look at
the demo, and quite frankly it impressed the hell out of me.  What I'd like
now is a few ideas on how I might put this thing to good use.  If anyone has
any great ideas or tips on how make the most of MetaCard, please respond (on
or off list as you prefer).

The simple answer is that you can write almost any kind of application and/or 
utilities with it for at least 3 platforms.  Some experience with Hypercard or 
Supercard is definitely helpful otherwise just take it step by step and ask all the 
stupid questions like most users do at some point or another ;-). Also there is an 
archive with previous posts at http://www.mail-archive.com/metacard which is most 
informative.
The ideas should come from you but if you need help implementing them ask the list.

Cheers
Tim


Regards, Andu 
___
[EMAIL PROTECTED]

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




Re: SendMail.mc preferences

2000-09-20 Thread andu




Situation:
The need is a built-in email facility so the CDROM users can select any
listed destination email address, type a message and click 'Send'.

Question:
Using Windows, is there a way to identify the SMTP_Server information
(preferably also the user's email address) to automatically set up the
sendMail.mc preferences? SendMail.mc is the solution of choice rather than
a .html page!

e.g.
get queryRegistry("HKEY_CLASSES_ROOT\plus\SMTPserverAddress)cr\
   queryRegistry("HKEY_CLASSES_ROOT\plus\UserAddress)
if it is not empty then ... etc

Andu?

Sorry, Windows is not my specialty but I'm sure there is a way.


/H

Hugh Senior


Regards, Andu 
___
[EMAIL PROTECTED]

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




Re: Detect all connection requests?

2000-09-14 Thread andu




On Thu, 14 Sep 2000, Pierre Sahores wrote:

 Phil Davis wrote:
  
  I would like MC to detect all incoming connection requests,
  regardless of the requested port, and respond by issuing a
  message. I envision a message whose parameters contain all
  available info on the connection request. If the connection
  request is for a port where the stack is listening, this message
  would be fired before the socket is opened. For example:
  
  on socketRequest pPortNum, pRequestData
if pPortNum is among the lines of the permittedPorts of me
  then
  pass socketRequest
else
  put short date  long time  tab \
   pPortNum  tab \
   digested(pRequestData)  cr \
  after url "file:log"
end if
  end socketRequest
  
  Maybe it could be used to prevent the opening of an otherwise
  accepting port under certain conditions, similar to the way
  "closeStackRequest" can be used to prevent the closing of a stack.
  
  This feature would enable us to build things like firewalls that
  log all connection requests, whether they were honored or not.
  
  Does this sound useful to anyone besides me?
  --
  Phil Davis
  ---
  [EMAIL PROTECTED]
  days: (503) 417-7930
  eves: (503) 557-5656
  ---
  Facilitator
  Essentials of eBusiness Computing
  Information Technology Institute
  http://www.iti.com
  
  Archives: http://www.mail-archive.com/metacard%40lists.best.com/
  Info: http://www.xworlds.com/metacard/mailinglist.htm
  Please send bug reports to [EMAIL PROTECTED], not this list.
 
 
 That's would realy be a top key feature Phil, even on unixes, probably usable to
 secure ip-chains configs...
 
 Is it a way to do that avalaible in mc, Scott ?

I guess I really don't follow this.  If what you're trying to build is
some sort of proxy or firewall, this could probably be done with using
the standard "accept" command.  But there is no way for one process to
"pass" a socket request onto another process, so you'd have to do it
the way existing firewalls and proxies do: you accept a connection
from outside and then open another a socket connection to the inside,
then write data read from the outside socket to the inside socket.
And I say "probably" because at least some types of socket-based
protocols require access to low-level socket features not available in
the MetaCard sockets API (out-of-band data being the most notable of
these).

A useful feature would be to be able to listen to *any* port (aside from the current 
behavior) and filter which ports to use later.

  Regards,
Scott



Regards, Andu 
___
[EMAIL PROTECTED]

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




Re: File Uploads

2000-09-14 Thread andu




HTML (tags missing)

input type=file" name="tupload"

produces a text field and a "browse..."  button on a web page allowing the
user to select a file on their machine. When the Form is submitted my MC cgi
stack is passed the path of the file. Is there anyway to 'suck' the file up
from their machine (I've seen it done with PERL scripts).

The server must support either POST or even better PUT (see the RFC) and provide a 
mechanism for reading the data coming in from the client. In other words the server 
doesn't need the path on the remote client; the client needs it in order for it to 
know which file to POST or PUT. The server receives whatever comes in and writes it to 
a local file.
Hope that answered your question.


Any pointers would be gratefully appreciated...

TIA

Gary Rathbone 



Regards, Andu 
___
[EMAIL PROTECTED]

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




Re: Localhost: anyone know how to get

2000-09-14 Thread andu




I think the answer is you can't, but it would be nice to work on server
projects with the server running and talking to the browser.

You want to run the server and the client on the same machine? (mac)
All you need to do is :
choose in the tcp/ip panel - connect via ethernet
give the machine an IP address (any)
and you are done. Start the server and point the client to 
http://IPAddress/fileName.html
If you want both internet and local IP address you need a router (IPNet router)
Or switch to Linux or both.


Now I've followed some detailed instructions involving setting up the TCP/IP
control panel to use the IP address 127.0.0.1 (which should work with an
ethernet network), but does not work on a machine bereft of any network
connection (as far as I can see)..

Any ideas?


Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Localhost: anyone know how to

2000-09-14 Thread andu







I think the answer is you can't, but it would be nice to work on server
projects with the server running and talking to the browser.

You want to run the server and the client on the same machine? (mac)
All you need to do is :
choose in the tcp/ip panel - connect via ethernet
give the machine an IP address (any)
and you are done. Start the server and point the client to 
http://IPAddress/fileName.html
If you want both internet and local IP address you need a router (IPNet router)
Or switch to Linux or both.

Forgot to mention, If you are connected to internet with dynamic IP address you can 
use that address to connect a local client to a local server.


Now I've followed some detailed instructions involving setting up the TCP/IP
control panel to use the IP address 127.0.0.1 (which should work with an
ethernet network), but does not work on a machine bereft of any network
connection (as far as I can see)..

Any ideas?


Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Trapping Errors ..Mac to

2000-09-14 Thread andu




Could you let us know how you configure the G4 TCP/IP so the browser and
servers connect?

I have a Java based server which listens and replies on Port 2001. I want to
get Metacard and/or a browser to talk to this server. When the server loads
it indicates that there is an open transport error, which I presume is due
to a lack of an active TCP/IP connection


Perhaps if I knew exactly how to do this with MCHTTP and a browser offline,
I could work from there...

If you read my previous post on TCP/IP and your server still not working maybe it's 
Java.
Get my web server from cloud9.net/~undo, set your tcp/ip like I explained and the 
server works. Don't forget to set the port.


Regards, Andu 
___
[EMAIL PROTECTED]

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




Re: client side http

2000-09-11 Thread andu




Hi

I've been playing with the sockets features in order to try and 
implement some client side http. I've been doing this because 
Metacard's built-in http support won't work with some URLs (something 
to do with the way aliasing is set up on the server, I think).

The script below is a crude first attempt at this. It simply loads 
the data from the specified URL. (I've removed some stuff that was 
specific to my situation.) So far, it seems to work, even with 
previously unreachable URLs. Ideally, I'd like to be able to emulate 
the built-in http features of Metacard, but using sockets. (I've also 
had a go at the POST method, and it seems to work, but I need to make 
a more general solution than what I've done so far.)

The scripts may be useful to anyone else wanting to do the same 
thing. More importantly, I'd appreciate any feedback from the sockets 
gurus about whether I'm going in the right direction.

Two questions foremost on my mind:

In order to show progress of the download (progress bar or whatever), 
is it necessary to do reads in short steps (as in the script below) 
or is there another way?

That's the way but when you get data it comes in chunks anyway.
Use repeat only if you have to.

How to handle http proxies? Is this just a question of opening the 
socket to the proxy and carrying on as before, or is it, as I fear, 
more torturous?

Yes, take a look at my ftp client (http://www.cloud9.net/~undo) which handles proxy, 
it should be the same.
It also shows you how I handled the progress bar and others.


Any comments appreciated.

Cheers
Dave Cragg

---
local lcSocket, lcPath, lcData, lcHeader

on httpLoad pURL
   ## remove initial "http://" if present
   if "http://" is char 1 to 7 of pURL then
 delete char 1 to 7 of pURL
   end if
   put  offset("/",pURL) into tOff
   if tOff = 0 then
 put pURL into lcSocket
 put "" into lcPath
   else
 put char 1 to (tOff - 1) of pURL into lcSocket
 put char tOff to -1 of pURL into lcPath
   end if

   put  numToChar(13)  numToChar(10) into CRLF

CRLF is built in you don't need to do the above.


   open socket  to lcSocket
 
   put "GET"  lcPath"HTTP/1.1"  CRLF  into tString
   put "host:"  lcSocket  CRLF after tString
   put CRLF after tString  ## blank line is necessary

Put an empty space between header item and value = host: host.com

 
   write tString to socket lcSocket
   read from socket lcSocket until CRLF ##line 1
   if word 2 of it = 200 then
 read from socket lcSocket until  CRLF   CRLF ##get the header
 put it into lcHeader
 get lineOffset("Content-Length", lcHeader)
 if it  0 then
   put  it into tLineNum
   put word 2 line tLineNum of lcHeader into tLength
   put 1024 into tStep
 end if
 put empty into lcData
 put 0 into tCount
 put tLength div tStep into tTimes
## read in small steps in order to show a progress bar or other indication
 repeat for tTimes
   add 1 to tCount
   read from socket  lcSocket for tStep
   put it after lcData
  ## handle progress bar updating here
 end repeat
 read from socket  lcSocket until empty ## catch last few dribbles
 put it after lcData
 close socket lcSocket
 ## do something with lcData here (cache it, return it, or whatever)
   else
 ## crude error handling
 put word 2 of it
 close socket lcSocket
   end if
end httpLoad
---
on socketError pSocket, pErr
   ##crude error handling
   put pSocket  ":"  pErr
end socketError
--
on socketTimeout pSocket
   ##crude error handling
   put "Timed out"
   close socket pSocket
end socketTimeout
--
_
The LACS Centre (Business English Training Resources)
mailto:[EMAIL PROTECTED]
http://www.lacscentre.co.uk
_


Regards, Andu 
___
[EMAIL PROTECTED]

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




Re: Groups, borders, and invisible objects...

2000-09-08 Thread andu




Having problems at the moment with groups and geometry management. I have
been using the rectangle of the group as a visual border, which is nice as
you can see the group, position it etc and saves having to add a dummy
button as a frame for the group...

I then started to use the "rect" of the group as a natural reference point
with which to resize and position the contents of the group. Fine. Two
problems:

1) A groups rectangle is automatically calculated from the objects
(visible I think) within the group.

Now in the complex tabbed resizable layout that I am working on, I hide
objects that overlap, and move stuff around using geometry management - and
I want the group to stay still. But it keeps getting resized and moves
around due to this automatic setting of the group rectangle.

I have everything ending up pretty well where I want, but the whole group
jumps or appears to have a large border. I think this is because an object
has temporarily been moved outside of the group, and this combined with
hiding/showing is causing the bug... I'm just wandering what a good strategy
here is/ What is the relationship between invisible objects, and a groups
rect, and in general what is the behaviour/effect of invisible objects.

Ideally I'd like to turn off this automatic resizing of the group and have
objects just disappear "off frame" when there location is set to outside of
the group, then I wouldn't have to be so careful about tracking all the
objects locations (invisible or not). This is how it works when you manually
resize a groups borders. The same problem occurs when you change a players
filename (the player gets resized if the controller is visible).

2) An automatic margin of several pixels is drawn around the objects
that the group contains. This default margin seems to differ when a group
contains other groups - not sure about this.



Any advice on a good strategy here? I am thinking of abandoning my reliance
of a groups rectangle as a marker of where a group is, and setting some
custom property which all the script refer to and making sure the last step
is to reset the groups rect to that position? But maybe there is a simple
way of stopping the group resizing/ Perhaps this doesn't not happen if the
screen is locked or all the objects are hidden/visible? Or I do things in a
certain order?

As always I'll report back with any progress on this...

Did you try the locLoc property on groups?

Regards, Andu 
___
[EMAIL PROTECTED]

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




Re: MC /E Books/Small Devices/Predictions?

2000-09-08 Thread andu




We will soon be going into ebooks in a very major way. . .I am wondering how
is Metacard situated as a possible tool of choice for this market. It seems
ideal. The two most common formats are PDF and HTML. With the latter being
the most flexible, Metacard would seem to be a knock out publishing
platform. Especially, obviously, if we get image rendering in line with
text.  One could dump a book from Quark Express into HTML, use section
breaks as page/card delimiters, load it into a stack, import the art here
and there, make a dynamic clicktext glossary etc. all pretty simple
scripting. But the key issue will be small device compatibility.
  What small devices does MC work on now, and what does it not work on now.
.. . and does any one have any insights on where the trend for the small
device market will take us in terms of the OS. i.e  five years from now hand
held be running on what?

Most likely versions of linux.


Hinduism Today

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


Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: modem questions (modem independent suggestion/question)

2000-09-06 Thread andu




On the Mac you could get an AppleScript to dial out for you (for which I
guess you would need Tuviah  RunTime's external collection), is there a dll
or way to do the same thing on windows? Unix?

I'm guessing but it seems that a lot of people would like to be able to
create applications that use an internet connection when available,
prompting the user to dial out and connect. Seems like a nice "package" to

No need for that. You can just do "get hostName()" (or maybe anything that requires 
TCP/IP)
and on Mac (most likely windows too) if you don't have a connection to internet the 
modem 
dials automatically. Linux knows better.

put together, so if anyone has any scripts or suggestions that work for
their platform, I'd be happy to put them together and mail the collection
back to anyone who would find them useful.


 From: Miel [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: 5 Sep 2000 07:53:52 -0700
 To: [EMAIL PROTECTED]
 Subject: modem questions
 
 hi all,
 
 has anyone ever acomplished to make a modem dial a phone number using
 MetaCard? and if so: How did you do it?
 
 cheers,
 
 Miel
 
 
 -
 Get free email at http://mail.limpbizkit.com
 
 Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Avoiding home... script limit problem.

2000-09-06 Thread andu




Recently, Scott Raney wrote:

 This really gets back to the issue of "are stacks documents or
 applications?" debate that has come up several times in various places
 over the years.  My UNIX and CS background causes me to consider them
 applications, whereas people with a less technical background tend to
 consider them documents.

Are pages of text considered "applications" on UNIX?  I would imagine these
are incapable of launching or being edited without some type of engine.
Isn't a MC stack the same type of animal?  You can't launch or edit a stack
without some type of engine, regardless of whether the engine is external or
bound to the stack.  Granted, I am "less technical" but since (as far as I
know) you can't "technically" do anything with a stack unless you have the
engine, a stack would be considered a document.

The analogy is not right. When you doubleclick a stack you launch the engine. The 
functionality of a text file without an environment which would allow for 
editing is close to none; a stack without the development environment can be as useful 
as any application.
I frequently run stacks that way and would be both bothering and a waist of energy to 
have the Home and Tools
present when I don't need them. I'm not technical either but the difference between 
the engine and the IDE is obvious.


 Not sure where to draw the line on this
 one: Abide by user expectations, or force them to adapt to a more
 technically sophisticated architecture?

I might suggest catering to clueless folks like myself, in the interest of
remaining approachable.  The people who have more technical understanding
will "get it" on their own.

Regards,

Scott

_
Scott Rossi   Tactile Media - Multimedia  Design
Creative Director Email: [EMAIL PROTECTED]
  Web: www.tactilemedia.com


Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Avoiding home... script limit problem.

2000-09-06 Thread andu





Are you going to sit at your WWW server console 24x7 so that every
time a CGI program runs it won't start up the development
environment?)

That's a good idea - it will shrink the unemployment to -10;-)

  Regards,
Scott



Regards, Andu 
___
[EMAIL PROTECTED]

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




Re: Image

2000-09-05 Thread andu




One more problem I am having is with a logo that I am incorporating into 
a metaCard stack.  The image is small and is JPEG format.  I imported it 
on the Mac without problem and could copy and paste it within the stack.  
When I run the stack on the Windows platform the image does not show, 
presumably because the fork has changed.  In the manual it intimates that 
importing does exactly that, the image becomes part of the stack, and 
goes on to suggest that larger images be placed in separate files.  It 
seems to me that importing an image simply records the location and file 
name of the image.  How iss this different from the suggestion for 
dealing with large images?

Is there a way to make the image part of the stack?

yes, uncheck the 2 buttons(don't import and set directory) on the import palette.


Jim Wall


***
James C.Wall, Ph.D.
Professor
Department of Physical Therapy
University of South Alabama
1504 Springhill Avenue, Room 1214
Mobile AL 36604

Phone:  (334) 434 3575
  Fax:  (334) 434 3822
   e-mail:  [EMAIL PROTECTED]


Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: tabbedButton featureidea

2000-09-03 Thread andu




Hi listmembers,
ever thought about extended options of tabbedButtons???

think about an addessBook with alphabetic tabs
how will You do this with tabbedButton now??
wouldn´t it be nice to have the tabs vertical like a real book??
in such a big number of tabs how could You easy find the selected one??

Vertical tabs is not a bad idea but how do you write the names?

what about the option of positioning the tabs on top or bottom or left or
right or any combination?
what about I call it tabAnimation and tabTextAnimation?
 - the selected tab or even the tab under the mouse changes
size/border/color - the text becomes fatter, bigger, other color???
what about horizontal text in vertical tabs, vertical text in horizontal
tabs or even oblique text???




Regards,
  Ernst


Ernst M. Reicher
A-7571 Rudersdorf, Lahnbachweg 3
Tel: 03382 / 73020  Fax: 03382 / 73020-12
eMail: [EMAIL PROTECTED]


Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: What the...

2000-08-19 Thread andu




Hey!
Before I submit this as an "official" bug, could anyone tell me if they've
seen this...

I have a text field that is pretty narrow, and when I type a really long
word into it (one that is wider than the width of the field), the word does
NOT extend to the next line... it merely keeps going on the same line
because it is incapable of wrapping.

MetaCard can't wrap a word?

How cum I never noticed this before?

This is a big problem with a program I'm designing right now, which requires
a couple of text fields that are fairly narrow.  And before anyone asks, no
I did NOT set the field so that it couldn't wrap.  The field is set to wrap
text, which it does... unless you have a really long word.

Can anyone help with this?  Please?

Metacard does that. If there is no space on the line it just keeps on going.
You have to script the behavior you want with either a cr or space after the word.
Also even when the field wraps the lines (in an open field) if you do "put the num 
of lines of fld x" it returns 1 unless you have a cr after each wrapped line.



:)
Richard MacLemale
Instructional Technology Specialist
James W. Mitchell High School


Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Download Stack

2000-08-16 Thread andu




Signe, 

mail still bouncing off your server so I'll post this to the list;

 By the way, I have seen in an earlier posting of
 yours that you ask about the "download data" stack. Nor I have the
 faintest clue about where and what it is. Have you understood this
 since?

Yes, this stack comes with the MC package. First a question for Scott:

Scott, where does the Metacard Menu Bar stack reside? It seems to be a main
stack of it's own, but one doesn't see it in the folder with the rest of the
mc stacks and it is not a component of any other stack. . .

That's the mctools.mc stack.



Regards, Andu 
___
[EMAIL PROTECTED]

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




Re: deleting ascii garbage

2000-08-15 Thread andu




I need to get rid of ascii 127 to ascii 255 and
also most of the ones below ascii 32 from a text
fld (or after placing in a variable). In other
words, get rid of just about all garbage that
might pop up except a-z, A-Z, 0-9, punctuation,
spaces, tabs and carriage returns etc.

This will be done on a Mac only MC application.

Anyone know of an external, RegEx expression
or some other cool, *fast* way of getting this done?

Probably replace would be fast enough: 
replace chartonum("127") with empty in variable


tia

sims

Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: FTP from within MC

2000-08-15 Thread andu




I have a stack that generates the HTML code for a www site.

I have then to transfer all those files from my hard disk
to the hard disk of an Internet Service Provider.

Could this be done from within MetaCard?

Or should I try to get MetaCard to tell LeapFTP, CuteFTP,
or some other program to do it behind the scene automatically?

I read on HyperCard's mailing list
that it can be done with HyperFTP on the Mac.

But my project will be running under Windows on a PC.

Try my ftp client (still in work) at "www.cloud9.net/~undo"  which is cross platform.


Thank you for your help


Serge Grenier

Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: MC, the Web, and you

2000-08-14 Thread andu




Thanks for the feedback, Andu:

 A quick survey of MetaCard developers, if you don't mind:

 But what do you need this for if I may ask?

I'm seeing a big shift away from desktop applications and onto the Web, and
wanted to get a feel for what others are doing with MC.

It seems that the three main ways MC can contribute to Web work are:

- CGI solutions
- Net-aware applications ("custom browsers")
- Web production tools

Historically, most of our work with MC has been designing desktop
applications, but in recent months the bulk of the work coming in has us
using JavaScript or Flash (or in the case  of Flash 5, both together).
Since most ISPs only allow Perl-based CGIs, we're finding ourselves spending
less time with MetaCard than I would prefer.  I'm working with my favorite
client on adding some net-savvy to his app, but I'd like to be working in MC
even more.  JavaScript and Perl simply aren't as much fun.  :)

That's because there is a price for fun;-)


So the biggest reason for finding out what others are doing with MC is
twofold:

- What are the opportunities for a RAD tool like MC in
  a Browser-centric world?

I think many. Too few people are involved with this right now so there isn't a lot of 
experience in this domain. 


- What untapped opportunities may still exist in the
  world of desktop applications?

The breadth of what MetaCard delivers also makes it relatively difficult to
define.  We can build almost anything for a client, but more and more they
seem to prefer that it take place inside of a browser window.

No wonder. Every one uses a browser probably more than any other application. There's 
the convenience of not having to switch to another application which can go as far as 
accepting lots of  limitations. Think of web mail for example.


Given the relative newness of this Web fenzy, I suspect that the browser
will ultimately prove to be a transitional phase, a stepping stone on the
way to other things which allow more flexible user interfaces for both
content presentation (which is currently good on the Web) and data
manipulation (at which the Web sucks -- can you imagine using a
browser-based spreadsheet?).

Yes but the necessity of not having to switch from one ui to another will always be 
there.
Don't forget the computer is still highly unintuitive and even the simplest 
interaction with it requires a lot of knowledge.


There are probably several dozen categories of things MetaCard can do that
would really drive its value home to a variety of organizations.  SETI and
Napster are two popular examples of distributed apps which conceivably could
have been written in MetaCard, and I suspect there are a few thousand more
waiting to be discovered.

A question in response to your post:  Since you mentioned being able to
spend 95% of your time with MC and that most of your work is for the Web,
does that imply that you're building server-side MC CGIs?  Or "custom
browsers" a la AOL?

More of the first but consider also the clients I made and still working on.

-- 
 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


Regards, Andu 
___
[EMAIL PROTECTED]

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




upgrade email client posted

2000-08-14 Thread andu



http://www.cloud9.net/~undo

Solved some problems with keeping track of new/deleted mail.
To delete mail in the browser select a line(shift for more lines) and then 
control+click.


Regards, Andu 
___
[EMAIL PROTECTED]

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




Re: Replacing an AppleScript in Windows

2000-08-14 Thread andu




I have been looking at a HyperCard system for possible conversion to
MetaCard so that it will run on both Mac and Windows. The current
implementation uses AppleScript to control Graphic Converter, in order
to open a huge jpg file, resave it as a compressed jpg, and display it,
rotate it, and zoom the view in and out.

Is it possible to duplicate this functionality within MetaCard? I know
MC will display the graphic, but what about resaving as a compressed
file, rotation and zoom? Or alternately, is there any equivalent of
inter-application communication on Windows so that a stack could control
a graphics application to perform these tasks?

Check out "launch" in the docs.
-- 
Jacqueline Landman Gay| [EMAIL PROTECTED]
HyperActive Software  |   [EMAIL PROTECTED]
Custom hypermedia solutions   | http://www.hyperactivesw.com
612.724.1596  |   612.724.1562 - fax


Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: metacard, internet and security

2000-08-13 Thread andu




As most people on this list i downloaded and tested the portal of
Sivakatirswami.
That's a great job !
Until now, the "computer based training" solutions where based on java (cf
toolbook) or shockwave or flash. It was difficult to program and/or heavy to
download.
Sivakatirswami's solution is light, powerful and elegant.

But we have now to consider the security...

A *.mc app can do anything : destroy all the data of a computer, use a
computer to destroy all the data on a network, ...

I think it is up to the developer to make sure he limits access to the server by 
clients 
as for the other end you better trust the developer for not making you download 
malicious stacks or dont do it at all.

We have to protect our customers against :
- downloading a utility and misusing it
in what way?
- downloading a bugged and dangerous mc file
Then you don't trust the developer at all; how about a buggd and dangerrous .mc file 
which is signed?
- downloading some mc-based virus
Like what?

I can think of 2 kind of solutions :

1) solution based on signature
The programmer put his signature in his runtime and in his stacks. When
opening a stack, the runtime checks if the stack has the right signature.
The process could be a "compress+encrypt" function built in the engine and a
"decompress+decrypt" function build in the runtime.

2) solution based on limiting the runtime
The Navigator, MSIE or javascript have some internal limitations to forbid
writing on the user's disk.
Would it be possible to have in metatalk some internal flag forbiding a
runtime to write on the user's disk but in the folder where the runtime is ?





Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: MC, the Web, and you

2000-08-13 Thread andu




A quick survey of MetaCard developers, if you don't mind:

Of work you've performed over the last year, what percentage has been
related to the Web?
Most of it

Does your work focus more on the client side of the Web, the server side, or
both?
Both

Of the time spent with your tools on a project, what percentage do you spend
with MetaCard?
95%

And what percentage with client-side tools/languages like JavaScript, Perl,
and of course HTML and others?
6% 

Thanks in advance -

But what do you need this for if I may ask?

-- 
 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%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Stacks available: comments

2000-08-12 Thread andu




I chose to adapt the email client I've been working on to create cards rather than 
store text files. I can't see the point. I can see the dissadvantages - can't search, 
slightly slower access, messy file structure, but no real advantages.

Originally I was storing the mail as custom props in a second stack but it kept 
growing and growing and by the time it was 4M it became to slow at sorting things. 
Besides if the stack is gone all the mail is gone. Creating a mechanism for periodic 
archiving is probably easier with a bunch of files. That's not to say that this method 
is perfect.

The strategy i was thinking of taking was to archive stuff over xmonths old and junk 
as either text files of stacks (not sure yet) and keep a reasonable size of stack in 
memory (spitting off chunks when it needs to slim down) - what do you think?

 Had a quick look at the scripts and prefer the syntax: 

  " open socket targetserver with message sockopen"

as it's neater, and you can do other stuff in case of a network delay. What do you 
think about altering the scripts to handle the conversation with this technique?

Yes, I'll look into it. The thing is that you don't really want to do other stuff 
unless you have an open connection (that was my thinking).
 


Regards, Andu 
___
[EMAIL PROTECTED]

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




Re: Standalone

2000-08-11 Thread andu




Hello,
would someone, please, provide me with instructions on how to access 
the scripts of a standalone, I know how to do it in SuperCard with 
ResEdit (on Mac), but when I try to change Type (=APPL) to MSTK and 
Creator (=MSTD) to MCRD, I am still not able to open it.

Open it in a text editor like BBEdit.

Regards, Andu 
___
[EMAIL PROTECTED]

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




Re: stacks available

2000-08-11 Thread andu






I posted the Email stack togather with a revised version of the ftp client
and a rewrite of the web server. 
The web server does not have support for cgi yet but 
it sends full headers to clients which should improve performance and cross platform 
compatibility. Also I added support for /pub directory so clients can do file 
download via http.
I'd appreciate your feedback.

All this wonderful things at http://www.cloud9.net/~undo ;-)



Regards, Andu 
___
[EMAIL PROTECTED]

Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: mail with MC

2000-08-10 Thread andu



I will upload the mail program today to my web space on cloud9.net since so many of 
you want it.
Andu

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




Re: mcHTTPd

2000-08-09 Thread andu




I'm playing with the MetaCard Server stack and I have good news and 
two mysteries:

It runs perfectly on an old Mac which is my temporary server 
http://endevour.u-aizu.ac.jp:8080/.  Pardon the weird spelling of 
endeavour.

When I access this from a Mac or a Sparcstation all is cool.

Mystery 1: When I access it from a Win98 machine I get a white screen.

Mystery 2:  When I run the MC server on the Win98 machine, it serves 
the text files but not the graphics to both Mac and Unix. 
http://vivid.u-aizu.ac.jp:8080/.

Any hints?  I'm not Windows fluent.

For windows you might have to replace "binfile:" with "file:" or vice versa in 
critical places;-)
unless I did something stupid there. 
I'm working now on a new version and hopefully I'll test it on windows (which I don't 
have installed at the moment) too.








-- 
Steven Tripp
University of Aizu

Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




mail with MC

2000-08-09 Thread andu



Is there any interest in a more or less complete E-mail program I wrote ?
I used it for the past several months (mostly without complains) and I think it would 
be
most useful as a tutorial. I'm still not sure about the general concept of handling 
mail so 
it's work in progress.
It should run on all platforms (how many software do that;-); I only checked it on 
Linux and Mac.
It sends attachments too.

Andu

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




Re: HowToPost?

2000-08-06 Thread andu




I would like to post several fields of data from metacard to a web
server other than mhttpd (I'm using Xitami on Win98 for testing, but I
assume Apache would be the same.) The docs say -- post *expression* to
url *url*  I need help filling in the exact syntax for *expression* for
multiple fields of data. A working example would be wonderful. Thank
you, Michael Kann, [EMAIL PROTECTED], Victoria, TX.

Expression can be anything your server will accept, usually the name of a cgi script 
plus data the cgi script is supposed to do something with.
I suggest you start with some sample cgi script that came with the server which 
*doesn't* need any other data from the client (it just executes something and post the 
result). Next replace expression with the name of that cgi; the result should be in 
the variable it.
 

Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Metacard kills new users

2000-08-06 Thread andu




Dear list

Over this last weekend I downloaded both Metacard and RealBasic. As a
competent Hypercard programmer, I would obviously prefer the XTalk of
Metacard. However, the presentation of Metacard is amateurish and
offputting. If it weren't for my Hypercard experience I would quickly write
off Metacard as junk and purchase RealBasic.

Good thing you knew better than that and persisted...
You are not alone though; many new users are put off by the GUI of the development 
environment
which is not the strong point with Metacard but the richness of language and speed of 
execution are. If you can pass the initial impression and actually build something 
you'll get the rewards.
Also don't hesitate to ask the list. Although I disliked the GUI of MC when I started 
to use it now I feel It doesn't really matter when one takes the whole  into account. 
Besides, when you get more familiar with the language you can make it any way you want.


The first thing I wanted to do was to use the tutorials. RealBasic tutorial
was straightforward, attractive and successful. Metacard tutorial was none
of those things. Initially I couldn't even find it! The tutorial is
accessible via the mchelp.mc stack but doesn't appear anywhere else.
Wouldn't it be sensible to make it obvious that there is a tutorial hidden
somewhere within the downloaded stuff?

Card 2 of the application tutorial has instructions for opening the
Metacard menu bar BUT ONLY FOR UNIX AND WINDOWS! As far as I recall, I
downloaded the Mac version. I found by random clicking that clicking on the
words "Metacard menu bar" would open it. That hypertext or hot link is
indicated only by bold text. Surely if you want me to click on a link you
should make it look like a link. How about underlined colored text? That
would do it for me.

Now I have got the "Metacard menu bar *" visible (don't know what the
asterisk is for). Why not try a bit more random clicking? It worked for me
last time. Well, when I clicked the arrow button I got into a mode where I
could move the buttons around, but I couldn't get back to the browse (?
hand) tool. It then seemed sensible to close the Metacard menu bar and
start again. I clicked the close box and declined the offer to save my
changes. However, when I reopened the Metacard menu bar I was again in edit
mode! The titlebar of the Metacard menu bar  is now hidden behind my
menubar! I am stuck and can go no further in the tutorial.

If I persist, how many more of these hurdles should I expect to fall on?

This definitely a big turnoff. So are the ugly (Unix-like?) buttons and
dialog boxes. After lurking this list for a long time I thought that I was
tready to start playing around with Metacard, but I find that your program
interface and tutorial are not ready for me.

The Mac is a pleasant platform to work on because application developers
are made to take responsibility for the drudgery of getting it right and
consistent. I take care of the interface of the programs that I develop:
you should take care of Metacard.

Michael J. Lew

Lecturer
Department of Pharmacology
The University of Melbourne
Parkville 3010
Victoria
Australia

Phone +63 8344 8304

Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Focus in Mac

2000-08-04 Thread andu



I'm converting a program from the PC to run on Mac.  Everything is going smoothly 
(great job Scott and gang!) except for one thing.  To make all the buttons look the 
same between the two versions (PC and Mac), I set the Lookandfeel of the Mac version 
to "Windows."  This works great except now, when the buttons are clicked, there 
appears a thick black border around them.  It appears to be the Mac way of emulating 
something getting the focus as in Windows.  (By the way, that was a bad idea 
MicroSoft).  My buttons have a colored background which are used to highlight when 
the button is clicked.  Now, the colored border is there with a black line around the 
outside.  I cannot turn off the TraversalOn feature because that changes the button 
behavior from what I want.  Any ideas how to get rid of the black focus border?

Philip Chumbley

That black line stands for the default button property so you can turn it off or set 
the border color to the one of the card. The focus is the dotted line inside the 
button. You can set the color of that one too.
Still, windows lookandfeel on mac is a bad idea since it affects not only the buttons.


P.S.  This one "feature" about and object getting the foucs and thus having a black 
or dotted border around it has caused me more headaches in both versions than 
anything else.  Thanks a lot, Microsoft!


Regards, Andu
__
[EMAIL PROTECTED]

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




Re: Re: Metacard based browser?

2000-08-04 Thread andu




I was thinking of using CSSP for layouts for users with later browsers, and designing 
style sheets that then work and look good for both the MetaCard environment and the 
average web user. Template based web authoring, with added ease of dynamic CGI 
scripting is what I think is worth aiming for in my life time -:)

Any comments?

In other words you want to be able to export a stack layout to style sheets. 
Since I had this idea myself I think it's a good one ;-). I just never had the 
patience to learn yet another thing (style sheets stuff) but if you are willing to do 
it go for it; its probably the closest we can come to using MC for web authoring and 
as you mention, dynamic generating of web pages.


Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Re: Metacard based browser -

2000-08-04 Thread andu



A French car?

Scott Rossi wrote:

 My guess is, if you're looking to be able to parse the HTML from any
 existing Web page, you're in for a thousand and one headaches.

One word:  tables. 

Okay, two words:  nested tables.


The thought makes me shiver -:)

OK, here is the first problem:

  trying to get url "http://www.mail-archive.com/metacard%40lists.best.com/"
 or then url "http://www.mail-archive.com/metacard@lists.best.com/"

Returns the following:

!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"
HTMLHEAD
TITLE302 Found/TITLE
/HEADBODY
H1Found/H1
The document has moved A 
HREF="http://www.mail-archive.com/metacard@lists.best.com/"here/A.P
/BODY/HTML

I am guessing that the built in Metacard "get url" method is not handling the 302 
code??? and that i have to use sockets? But then maybe it's a lot simpler, and I'm 
doing something stupid.

Please, can anyone save me from the RFC???

There is no escape from RFCs :-0

Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: newbutton it?

2000-07-30 Thread andu



andu ecrivait / wrote:

 Try:

  create button "a1"
   put it
 --will return the long id of the new button

"it" works! Thanx :-)

Nonetheless, I found somewhat confusing (and not very logical)  not to be
able to have "it" with the "newbutton" message...

I wonder why; it is just another local variable. If you want to get the button's id 
from newbutton message use:
on newbutton
put the long id of the target
end newbutton.


domi  (-8
mailto:[EMAIL PROTECTED]



Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: newbutton it?

2000-07-29 Thread andu



I read in MC help that when creating a new button, the it variable was
given the id of the new button...   I am not able to retrieve this id!

on newbutton
answer it -- empty!
end newbutton

on newbutton which
answer which -- empty!
end newbutton

Try:

 create button "a1"
  put it 
--will return the long id of the new button


The workaround I found is to retrieve the new button by "last button"...

domi  (-8
mailto:[EMAIL PROTECTED]



Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: How to stop scrolling with pull

2000-07-26 Thread andu



I want to be able to click on a line in a scrolling field and then have a
menu appear in order to manipulate the line clicked on with a script. So far
I can do pretty much what I want with a mouseDown handler and th epulldown
command. I want to use a single object (no transparent buttons), and will
want to do this eventually in a mouseStilldown handler.

If you are talking about a contextual menu (right-click or control-click) it is best 
done with a separate stack (substack) with buttons on it and the command "popup 
stackName".

The problem is:

when the menu appears, and the user scrools to select a menu item the
field also continues to scroll.

The question is therefore:
how do i stop the field from scrolling when the menu is being selected?


Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: post vs put vs ?sockets? for

2000-07-25 Thread andu
o, the number 1 Qustion really is what will be the "socket" equivalent of
the following
post command?

post
"-Database=Students.fp3-layout=LayoutNameHere-Response=ResponseFileNameHer
e
Social_Security=333444333-search" to url "http://##. ##. ##.
#/Action.lasso"

Q2 through 5)  Why are socket-level solutions, when finally written, likely
to be more reliable?  Are they truly more flexible?  Why is the required
"programmer's" knowledge load being moved from "built-in" to
"build-your-own" with these improvements?  Will this level offer, for
example, one to trap a failed return so a call can be reissued?  This is a
complex mix of MC rules and http rules that I'm trying to get a handle on
and somehow haven't yet fully grasped.   And I am willing to try to learn it
if it really will solve my problem.  Where can I start?  I suspect we have a
few really savvy internet MC  developers out there who can help, if not by
explanations at least by offering working examples, and any help would be
greatly appreciated, either on or off list.

Thanks,
Roger



Regards, Andu
__
[EMAIL PROTECTED]

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




Re: Re a little mention...

2000-07-25 Thread andu



   He clearly believes that MetaCard is a powerful tool somewhat let
  down by its current user interface in two respects - a) the interface
  presented to the developer, and b) its lack of complete adherence to
   Mac U-I guidelines.
The interface presented to the developer... give me a break.
Best applications are most likely built in environments with no interface.

no interface? wtf? there is *no* software without an interface. if 
there was, you couldn't do anything with it. DOS has an interface, 
too. even your car stereo has an interface. everything you use has 
one. but MetaCard's Interface is truly the one thing that keeps it 
from getting accepted more widely, especially on the mac side of 
things. and there are lots of mac users who are still searching for a 
replacement for hypercard.

If those mac users want to use most of what they already know and accept getting used 
to a different development environment they should look no farther.


lucas

Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Testing for existence of a file

2000-07-24 Thread andu



OK now that we are learning to write preferences files. . . how to test for
their existence?

exists url "file://mcPrefs/proxyPrefs.txt"

Try
put the directory  "/mcPrefs/proxyPrefs.txt" into tPrefsPath
put there is a file tPrefsPath


returns an error message even though the file is there.

Of course one can try to simply get the data (prefs saved in an engine level
folder)

on mouseUp
  put the directory  "/mcPrefs/proxyPrefs.txt" into tPrefsPath
  put url tPrefsPath into msg
end mouseUp

This works and if it is not returned then you know it doesn't exist at least
at that location. But it will be helpful in the long wrong to have the
existence function work for a file ref as certain functions will be easier
scripted against the boolean than to keep testing a result which takes twice
the code lines.

if not (exists some file) then download whatever from the web

vs: 

put some file into tVariable
if tVariable is empty then
  download whatever from the web
end if

===
on mouseUp
  put the directory  "/mcPrefs/proxyPrefs.txt" into tPrefsPath
 if exists url  tPrefsPath then put "yes"
end mouseUp

The above doesn't work  but the file is there and can be read from that
path.

Hinduism Today

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


Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: POST

2000-07-15 Thread andu



Thanks Andu, just what I needed! Now I know I could do all this with
sockets, but as there is built in "post" and "get" methods in metaTalk how
do I set the httpheaders to look like below?

Andu (pretty please), if you have a spare moment could you post examples of
a form submission from Netscape/Explorer using the "get" method,

This is what the server receives from the same form but using GET.:

GET /?Field-user=anduSubmit=SubmitField-pass=also-andu/ HTTP/1.0
Connection: Keep-Alive
User-Agent: Mozilla/4.7 (Macintosh; I; PPC)
Host: xxx.xxx.xxx.xxx
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
Accept-Encoding: gzip
Accept-Language: en
Accept-Charset: iso-8859-1,*,utf-8

 and also
what Metacard's built in "post" and "get = get url someurl?someparams". That
would give a complete picture...

get url "http://www.metacard.com" ; put it
post "I should read the docs first" to url "the_url.com"


Thanks

 From: andu [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Fri, 14 Jul 2000 20:42:47 -0400 (EDT)
 To: [EMAIL PROTECTED]
 Subject: Re: POST
 
 
 
 Andu, do you know what is sent in the http header from a browser such as
 Netscape/Explorer. If you could send me an example input I could see if I
 can get the CGI I am playing with to work?
 This is a web page with 2 fields for username and password and a Submit
 button:
 
 __
 POST / HTTP/1.0
 Connection: Keep-Alive
 User-Agent: Mozilla/4.7 (Macintosh; I; PPC)
 Host: xxx.xxx.xxx.xxx
 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
 Accept-Encoding: gzip
 Accept-Language: en
 Accept-Charset: iso-8859-1,*,utf-8
 Content-type: application/x-www-form-urlencoded
 Content-length: 50
 
 
 Field-user=anduSubmit=SubmitField-pass=also-andu
 
 __
 
 Notice the 2 empty lines between the header and the data (crlf  crlf) must be
 there.
 
 
 
 Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Digest metacard.v003.n439

2000-07-15 Thread andu



I am trying to send an attachment file with the mcmail.mc file. So far, this
is what I have done:

I put a field "theAttachment" into the card. The script is from the button
"Send", with my addition clearly marked.

It does something, but it doesn't place it as an attachment, but as a part
of the body text. 


  # construct email header
  put "" into mailraw
  put "From: " fld "mailfrom"  crlf after mailraw
  put "Date: " mimedate()  crlf after mailraw
  put "Content-Type: text/plain; charset=us-ascii" crlf after mailraw
  put "MIME-Version: 1.0" crlf after mailraw
  put "Message-Id: " the seconds "-" the ticks "@MetaCardSMTP"  crlf
after mailraw
  put "To: " fld "to"  crlf after mailraw
  if fld "cc"  "" then
put "CC: " fld "cc"  crlf after mailraw
  end if
  put "Subject: " fld "subject"  crlf after mailraw
  put crlf  fld "body" after mailraw


  -- ** MY ADDITION
  if fld "theAttachment" is not empty then
put fld "theAttachment" into theAttachmentName

Try 
put url "binfile:"   theAttachmentName into theattachment
put crlf  "Content-Type: application/base64; name="  quote  \
theAttachmentName  quote after mailraw
 put crlf  crlf  base64Encode(theattachment) after mailraw

put "binfile:"  theAttachmentName into theattachment
put crlf  "Content-Type: application/base64; name="  quote 
theattachment  quote after mailraw
put crlf  crlf  base64Encode(url theAttachment) after mailraw
  end if
  --


  # socket implementation, talking to smtp
  smtpsend fld "smtpserver",fld "mailfrom",validEmailList,mailraw
end composemail


--

I sent the file (a MetaCard file) to myself. I copied and pasted the encoded
data in my email into a MC field. A button has the following script:

on mouseUp
  ask file "What file to save to?"
  put it into thefileName
  put base64Decode(field "thebinfile") into URL thefileName
end mouseUp

But now, when I attempt to open the file (type into the message box "Answer
file "?"; open it), I get the message "stack was corrupted by a non-binary
file transfer"

-

So, any suggestions? I really *need* to be able to send file attachments
with this MCmail protocol. I am building an app that will generate a MC
stack, then email it to the appropriate person.

Thanks for your help,

Raymond


Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Success

2000-07-14 Thread andu



Success indeed!
I'm so glad the number of people using the sockets part of MC is growing. Right now my 
brain is still on ice but I'd like in the near future to colaborate on a project of 
this sort.
Richard, the next step is to make your own server and do the CGI work without 
appleEvents.

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




test

2000-07-13 Thread andu



text

Regards, Andu
__
[EMAIL PROTECTED]

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




Re: More on SSL

2000-06-23 Thread andu




Hi,

I don't know if this is of interest to anybody, but I found an XFCN that
allows contact with HTTPS servers. It uses OpenSSL to ecncrypt/decrypt,
and even supports receiving/sending cookies (by way of headers).

Would this be of any interest to MetaCard either? I know I've been
wondering about SSL. The XFCN only supports GET and not POST so has
limited potential at this time, but since the guy who wrote it is very
familiar with OpenSSL, it might not be hard to add in the
encoding/decoding aspects of SSL into MetaCard's own HTTP support at this
time to allow suport for HTTPS servers. I know this would be great use to
me since customers don't want to send confidential information with SSL
at this time. Any interest? His XFCN is freeware.

I'm interested, thanks for the tip, where can I get it from?


Thanks,
ReeD.



Regards, Andu
__
[EMAIL PROTECTED]

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




Re: telnet stack

2000-06-16 Thread andu



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!

And how do I use it to say login into my router box? What do I do to get the promt for 
login?



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

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

 

Regards, Andu

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




Re: mail client

2000-06-16 Thread andu



Hello all
I'm trying to write an email client.

Here's the prelim plan...I'm familiar with the smtp commands...Helo,
RCPT to: etc.
I need to write a button script which will take an ip passed to it,
assume port 25 and just like in Expectpass the smtp commands to the
mail server in an expect/send type back and forth.

Does anyone have any suggestions on how to start?

I think there's a mail client on ftp.metacard.com somewhere but...
the general idea is that after you write a command to the server you have to read from 
the socket the response and if it's not an error write the next command and so on. 
Don't forget to add a CRLF at the end of each write to the server.
I could also post my E-mail client but I don't want to take the fun away of rolling 
your own  ;-)



Jim Kelly


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

 

Regards, Andu

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




Re: telnet decoding

2000-06-15 Thread andu



hello all,

if I connect to a telnet platform (let's say "www.telnet.org" with port "telnet" it 
connects as usual. I set the script so it reads from a socket called tFtpSock 
whenever the stack is idle and puts it into a field named: "main". after I connect, I 
get something like this: ÿýÿý ÿý#ÿý'
can I decode this into plain text? and if I can HOW?

Try binaryDecode() function.


regards, Miel



Regards, Andu

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




Re: File selector-MacOS

2000-06-14 Thread andu



On 14/6/00 4:03 am, andu [EMAIL PROTECTED] wrote:

 the problem with this (new) Navigation Services file selector on MacOS is that
 you can't select a folder like with the old one unless I'm missing something.
 Besides it has no live scrolling and really looks and acts like a visualBasic
 thing. I'd suggest defaulting to the old file/folder selector.

Afraid I disagree: navigation services is a much more flexible dialog,
allowing, for example, drag dropping in a Finder folder to navigate.  Folder
answering is fixed in the latest engine.  And any future system extensions
or enhancements to file navigation are going to be made by NS. 

I know I should argue this with Apple but aside for not being able to resize it, I 
never found something wrong with the old one. Turning it into a complex application, 
seems to me, is just the old marketing trick of *creating* the need for  more and more 
"features" and always at a price.  

 Going
backwards here is a bit like saying "I don't like OS 9, lets make MC only
work on OS 8".  (Though you can always set the dontUseNS to true if you want
to turn it off.)

Regards,

Kevin

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

Kevin Miller [EMAIL PROTECTED] http://www.xworlds.com/
Cross Worlds Computing, MetaCard Distributors, Custom Development.
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


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

 

Regards, Andu

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




File selector-MacOS

2000-06-13 Thread andu



the problem with this (new) Navigation Services file selector on MacOS is that you 
can't select a folder like with the old one unless I'm missing something. Besides it 
has no live scrolling and really looks and acts like a visualBasic thing. I'd suggest 
defaulting to the old file/folder selector.

Regards, Andu

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




Re: Subject: Images in memory

2000-06-13 Thread andu




Not exactly. Getting the filename isn't a problem; I'm trying to avoid
the hit that happens when you load an image from disk.

I spent the evening putting the images into the stack and changing
everything to use buttons with icons. It seems snappier. But if there is
a way to "preload" images and have them stay in RAM, I'd like to know
for future reference.

"You know, there's an easier way to do that..." 

Create an empty image (x).
put url "binfile:path to file" into temp (on openStack or something)
put temp into image x


-- 
Jacqueline Landman Gay  


Regards, Andu

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




Re: Easier Contextual Menus

2000-06-08 Thread andu



There are two ways to make menus in MC:  As a stack, or as a text list.
Both can be used at the discretion of the developer for most cases, except
woith contextual menus, where the developer must use a stack.

It is this very case which is also the most challenging, since contextual
menus, by their very nature, are always changing.

It would be ultra cool of there was a way to call a function for contextual
menus to let us use a text list instead, something like this:

on mouseDown
   put "Item1,Item2,Item3" into tMenu
   get PopMenu(tMenu,the mouseLoc)
   DoSeomthingWith it
end mouseDown

Anyone else think this sort of enhancement would be useful?

Sounds like a good idea to me.

-- 
 Richard Gaskin 


Regards, Andu

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




Re: Easier Contextual Menus

2000-06-08 Thread andu



On 8/6/00 6:14 pm, Richard Gaskin [EMAIL PROTECTED] wrote:

 There are two ways to make menus in MC:  As a stack, or as a text list.
 Both can be used at the discretion of the developer for most cases, except
 woith contextual menus, where the developer must use a stack.
 
 It is this very case which is also the most challenging, since contextual
 menus, by their very nature, are always changing.
 
 It would be ultra cool of there was a way to call a function for contextual
 menus to let us use a text list instead, something like this:
 
 on mouseDown
 put "Item1,Item2,Item3" into tMenu
 get PopMenu(tMenu,the mouseLoc)
 DoSeomthingWith it
 end mouseDown
 
 Anyone else think this sort of enhancement would be useful?

Yes.  Of course, you can write a script that creates a panel menu stack on
the fly, but it this would make a cool built-in feature.  They'd have to
figure out where the menuPick handler would get sent though - to the object
that contained the command to create the menu, or to the current card?

I think to the object that generated it.

Regards,

Kevin

 -- 
 Richard Gaskin 
 Fourth World
 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

Kevin Miller [EMAIL PROTECTED] http://www.xworlds.com/
Cross Worlds Computing, MetaCard Distributors, Custom Development.
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


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

 

Regards, Andu

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




Re: Setting the DefaultStack/Passing commands

2000-06-08 Thread andu



The whole directory thing,  "where am I pointing to now" is challenging.

Oh for the day we can "set relative reference to true". . .where the first
level is open stacks, second level is stacks in the same directory etc. then

You forgot the substacks...

on to the standard ../../ nomenclature. or may you just have to come to
grips with MC's way of doing it and once you do it is better?

help: scenario:

We have a stack (1) called "HAKey" which is open, from disk. It is just a
copy of the DownloadNGo stack with the downlaodNGo handler in the stack
script and it does one thing only: downloads another stack (2) called
HAStudies. Under development stack (2) is being opened from disk, under
deployment, stack 2 will be downloaded and opened in RAM and not be anywhere
on the user's hard drive, nor will it be saved to disk.

OK now, both stacks are open on screen, stack 2 is topLevel

What I want to do is simply, in a button of stack 2 put

on mouseUp
  set the defaultStack to "HAKey"
  downLoadNGo 
"http://www.himalayanacademy.com/studyhall/mystic_mouse/mysticms.mc"
end mouseUp

but I get an error, saying can't find the handler, and if I check the
default stack it is still set to the topStack "HAStudies" and not to stack
"HAKey". 

Now, both these stacks are on the same level on disk, and they are both
open. how do I send the message and the href from one stack to the other? I
could put the whole downLoadNGo handler in stack 2 but am thinking to reduce
code redundancy. . .which may be more trouble than it is worth in the long
run. Still, sending commands with parameters from one open stack to open
stack that is not in the same file as the first one and thus not in the
message path and for which you may not know the directory location (s) must
be doable. . .and perhaps there are better ways to pass the message? Send?
StartUsing? 

Start using.



Hinduism Today

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


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

 

Regards, Andu

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




Re: How to detect error in Set Directory

2000-06-07 Thread andu



This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--_=_NextPart_001_01BFD020.0EA6FC7E
Content-Type: text/plain;
   charset="iso-8859-1"

How do I detect an error in a "Set Directory" statement?

It appears that 'set the directory to "My Dir"; answer the result' will
return an empty string on success, an error message on failure.  This
behavior makes sense.

But 'set the directory to myFunction(); answer the result' appears to return
the result of myFunction on success, and an error message on failure.  I
found this unacceptable because myFunction may return something that looks
like an error.

I'm assuming that 'the result' was getting confused by the function call.
So I tried 'get myFunction(); set the directory to it; answer the result'.
This form returns the value of 'it' on success, an error message on failure.
So I have the same problem as with the function call.

How can I reliably determine if "Set Directory" worked or failed?

Use a handler instead of a function. 

Regards, Andu

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




Re: MetaCard 2.3.1 beta 2

2000-06-02 Thread andu



MetaCard 2.3.1 beta 2 is now available in the directory
ftp://ftp.metacard.com/MetaCard/2.3.1/

This is the last scheduled beta for 2.3.1.  As stated in the 2.3.1
beta 1 announcment, a relatively large number of changes have been
made for 2.3.1 to improve operation of Cross Worlds' new development
environment.  If any of them affect your application, speak now or
forever hold your piece!

It would be nice to know what changes have been made in order to know what to look for.


  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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.

 

Regards, Andu

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




Re: downloading a stack...

2000-06-01 Thread andu



Question...

I'm wondering which would be faster when downloading a stack from an
Internet server...

1.  Using something like the ftp stack (ie, using ftp)

or

2.  Using "downloadNGo" (and the corresponding "My Download Stack" substack)
already included in MetaCard.

I have not delved into downloadNGo very deeply, so for all I know it already
uses ftp to do the same thing.  If so, forgive this feeble question.


"downloadNGo" which comes with MC uses the http protocol with GET, AFAIK. 
Both http and ftp should do the job just as well, the advantage (or desadvantage;-) of 
ftp is that you must use authentication.

:)
Richard MacLemale
www.coolclassroom.com


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

 

Regards, Andu

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




Re: setting up a chat

2000-05-29 Thread andu





Thanks Andu, for pushing me the right direction. I'll probably be back with more 
questions later, when I get started with it. :o)

I might actually join forces on this one if I manage to figure out the right outline 
for the base product  and most important, recharge my batteries (getting old, you 
know...). 

Eva


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

 

Regards, Andu

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




Re: Metacard replacing Toolbook and Director

2000-05-29 Thread andu



Hi!

It is no enough to just ask how to make as much money with MetaCard as
possible. As MetaCard is a very small company, the personality of a
single person is prevailing and AFAIK Scott Raney is a technology geek;
he is into making a great product, not great marketing, which I think is
a marvelous advantage to us all! It would be beneficient if MetaCard was
well known and generally accepted as a tool with a large user base, but
I personally prefer a tool that is technically on the right path over a
tool that sports a fancy feature list and none of them work good enough
to use without workarounds. Scott is very much aware of the money he
could make by reducing prices and boosting marketing, but he also
definetely knows the risks involved.

This is a point of view I share.


Regards
  Rüdiger

-- 
   GINIT Technology GmbH[EMAIL PROTECTED]
   Ruediger zu Dohna
phone:+49-721-96681-0
   Technologieparkfax:+49-721-96681-11
   Emmy-Noether-Str. 9
   D-76131 Karlsruhe   www.ginit-technology.de

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

 

Regards, Andu

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




Re: setting up a chat

2000-05-23 Thread andu



Hi all,

Would it be possible to create a chat with MC? One which would be placed on our site 
and which the
users don't have to have any x-tra programs. I would be nice to have the freedom of 
making it the
way I want. Where would I start, if at all possible?

I'm sure it is. Do a search for RFC 1459 to see how IRC is supposed to work and get 
yourself acquainted to the use of sockets in MC - the http server and ftp client on 
MC's ftp site should give you some idea of how to use the commands.


Regards,
Eva



Regards, Andu

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




Re: Groups and the controls they contain

2000-05-12 Thread andu



Hi everyone,

I'm working on a utility that will hopefully be useful to all of us. 
It's a stack "dissector" that will not only extract the scripts of 
the cards, groups, and controls of the mainStack and all substacks, 
but will also extract the contents of custom properties and give an 
outline view of all of the above.  This is one of the projects I'd 
like to share with the group as kind of an "open source" thing.

Anyway, my question is this:  can I get the controls of a group 
without including the controls of the subgroups in that group?

I'm afraid not in a straight forward way. 
If you group 2 buttons, create a third button and group it with the first group,  then 
do "put the num of controls of group 1(= second group)" you get "4" = the 3 buttons 
and the first group. I don't know how you can handle that, maybe subtracting the 
controls of the first group from the second one but it's extremely unelegant as you 
notice.

  That 
sounds rather convoluted, and the scripting is proving to be just 
that!  My script currently digs into the nested groups as far as it 
can, then compares the list of controls of that group to the list 
from the previous level and deletes the duplicates, then repeats that 
process back down to the root of the tree.  It's very cumbersome and 
I'm wondering (hoping!) there's a better way.  Any suggestions?


Thanks,

Craig

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Craig Spooner
Instructional Multimedia Specialist
and WebCT Administrator
Office of Instructional Services
Colorado State University
(970) 491-2516

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

 

Regards, Andu

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




Re: open always at cd 1

2000-05-11 Thread andu



OK, MC behaves differently than SC.. .if you save a stack when you are on cd
5, it will open on cd five. . .I presume this is because it is not destroyed
and being still in memory, knows "where you left off" right? can someone
elucidate MC's protocals in this area.  . . do we always need to put into
the stack 

on preopenstack
go to cd 1
end preopenstack

if we want the user to always start at the beginning?

Save the stack on cd 1.


Hinduism Today

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


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

 

Regards, Andu

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




re: DownLoadNgo

2000-05-11 Thread andu



thanks Andu:
 
 Several things: first do everything with one stack make sure it works the way
 you want.
 When you *send* a message it needs to be quoted:
 send "downloadNgo" etc.
 It is good practice to keep most scripts at the mainStack level

I was able to finally get message to go to the substack. . .but got another
error message. . something about not being able to put something into an
object. . .well. I just put the exact same script into the main stack and
made a card in the main stack with the URL field, cancel button m scroll bar
and status field and it worked fine.. . .have not idea why the same thing
wouldn't work by sending to the other stack. .

Maybe you're not sending the same thing ;-) Use the script debugger maybe you can 
catch it.
Also try labeling everything with the long[er] name (fld 1 of stack X) if needed; I 
used to loose my mind on "can't find object"

Maybe you're not sending the same thing ;-) Use the script debugger maybe you can 
catch it.
Also try labeling everything with the long name (fld 1 of stack X) if needed; I used 
to loose my mind on "can't find object"

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


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

 

Regards, Andu

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




Re: opening PDF file on Mac

2000-05-11 Thread andu



On 11 May 2000, at 10:43, LiangTyan Fui wrote:

  A question for all of you MC-Mac gurus.
  
  What code would I use to launch Adobe Acrobat (or Reader) and open a
  specific PDF file (e.g., mypdfdoc.pdf) on the Mac? For the moment let's
  assume that Acrobat (or Reader) is installed on the user's system.
 
 My personal favourite:
 launch "thedoc.pdf" with "theapp"
 (look into the help stack for more info)
 

Okay, I'll completely expose my ignorance about the Mac now...

How do I identify "theApp" used in this example? In Windows I give it a 
filename. I could look in registry to find out if and where the app is located. 
Or I could give the file name unqualified (no path), then Windows will search 
the dir's in its PATH environment variable to try and find it. 

You must use full path for the above to work. Otherwise AppleEvents but I don't know 
much about that.


I have no idea about how the Mac handles such things. I know Launch works 
with a filename, but how do I know where the app is located? Or can I use a 
descriptive name like "Finder", if so what would it be? Or an unqualified 
filename? 

Also, I understand that Acrobat comes installed on MacOS 8 and later...? 
Can anyone verify this?

I'm sure that there are people on this list that have done this before on the 
Mac (at least I would be Very Surprised if I'm the first). Thanks for any input 
or experience you may have to share, this list is a great resource!

 Regards,
 LiangTyan Fui
 

  Leston Drake
  LetterPress Software, Inc.
  http://www.lpsoftware.com
  
  Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
 Info: http://www.xworlds.com/metacard/mailinglist.htm
 Please send bug reports to [EMAIL PROTECTED], not this list.
 
 



Leston Drake
LetterPress Software, Inc.
http://www.lpsoftware.com

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

 

Regards, Andu

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




Re: field height and group height

2000-05-09 Thread andu



This one is slowly driving me insane.

Say I have a group with two fields in it - one is a heading, and the other
is a column below that.  And I want the column field to be really, really
tall... as in a height of 1635.  And to top it all off, I want to make a
group out of the two fields, and make the group scrollable (because my stack
is only 400 tall.)  I have not been able to do this.  Every time I quit out
of my stack and then come back, the field gets resized smaller.  If I try to
set the height of the column field on openCard, it doesn't work... it
extends the field both higher and lower, and covers the heading field.
Arrgh.

Why does MetaCard by default shrink fields that are over a certain height?
And is there a way to defeat this?

Set lockLocation to true for both.

r


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

 

Regards, Andu

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




Re: pasting

2000-04-30 Thread andu



Here's a rather strange request...
When someone pastes text into a field, is there any way to get the beginning
char and ending char of the text they pasted?  I've played around with
pasteKey, but can't seem to get anything to work.  In other words, if I
paste "Just a test" into an empty field 1, I'd like MetaCard to somehow
return to me "chars 1 to 11 of field 1".  If this is possible, I'd love to
know how.  If not, oh well.

Tough job. 
I think your best bet is to use a hidden field where you can paste the same text, find 
fld 2 in the main field and get the "foundChunk". 
Trouble is that at least on MacOS the pasteKey message is generated 
on command + c also, probably a bug to be reported.


Why?  I'm trying to create a spell check engine that does spell checking "on
the fly", the same way that Microsoft Word 98 does.  I've gotten pretty
darned far with it, but I need a way of checking the spelling words that the
user pastes.  If I HAVE to, I can check every word in the whole entire field
each time the pasteKey message occurs, but my preference would be to find a
better solution.

I think your best bet is to use a hidden field where you can paste the same text, find 
fld 2 in the main field and take it from there. Trouble is that at least on MacOS 
pasteKey message is generated on command + c also, probably a bug to be reported.

:)
Richard MacLemale


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

 

Regards, Andu

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




Re: numeric sensitive (?)

2000-04-28 Thread andu



Hello,

Does mc have a specific function that, like caseSensitive, restricts
data-input to numbers? If not, any alternate suggestions? Use matchText or
offset, right?

I ask because, after implementing Nelson Zink's clock-timer script (thank
you!), I realized what some misguided (evil minded?!) user could do when
prompted by:

  ask "Count down how many seconds?" with 300
I would use something like:
..if it is not a number then 
ask "Try  a number this time, you evil minded user!!!" with 300


(BTW I wonder how a standalone version would react to a deliberate misuse
in this manner of an ask-field? As a stack, mc handled the error, but, as a
standalone? Guess I'll go find out. Hee-hee!)

Cheers.

Nicolas R Cueto


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

 

Regards, Andu

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




Re: Position in File?

2000-04-27 Thread andu



Hi

I'm using a buffer to provide access to a large text file of up to 
200Mb in total.  The user can jump around the text file using buttons 
for next/prev group of records and start/end of file.  The problem I 
have is that I don't see how I can tell where I am in the file at any 
given point. There doesn't seem to be any command for determining the 
current read or write point in an open file.  Any suggestions please?

Have you tried something with lineOffset + wholeMatches = true?
Say, get the offset of the first line of each group of records in the text file. Add 
the number of lines of the group and you know exactly where you are.


Cheers
Peter


Regards, Andu

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




Re: Processing many lines of Text

2000-04-27 Thread andu



OK That discussion on replacing the EQL at the end of lines was very useful.
I have constantly working with long lists probably could get much better
performance. most recently I am processing a 2 meg file with 27,000 address
on 108,000 lines

The goal is to 

a) search and replace various strings of "garbage"
b) replace lines we don't want with nothing
c) introduce a delimiter between each address to facilitate the next
process.

I have this script, which is deleting the last line of an address with a
phone number that is usually garble and introducing a delimiter, the first
line of each address always ends in ", MD" and so we use that also to
introduce a delimiter where there is no phone number in the preceding
address:

on mouseUp
  
  set the caseSensitive to false
  answer file "Select A Text File"
  put it into tPath
  put url ("file:"tPath) into theFileData
  repeat with x =  to the number of lines of theFileData # File has 107,000
lines!
put x into fld lineNumber
if line x of theFileData contains "phone" then put "ƒ" into line x of
theFileData
if line x of theFileData contains "hone " then put "ƒ" into line x of
theFileData
if line x of theFileData contains "hone:" then put "ƒ" into line x of
theFileData
if line x of theFileData contains ", MD" then put "ƒ" before line x of
theFileData
  end repeat
  put theFileData into url ("file:"tPath)
  
 
  
end mouseUp 


is there a more efficient way to construct this? it took several hours to
process the list.
Try :
repeat for each line i in theFileData
if i contains "hone" then put "ƒ" into i # maybe "word 1 of i"
end repeat

along these lines should be faster.

Then our next process will be to delete addresses using the "ƒ"  as a
delimiter and a list of names we want out of the list e.g.

put fld "namesToRemove" into theDeleteNameList

where the fld "namestoRemove' will have maybe twenty names each on its
ownline

name1
name2
name3 
etc.

The script would normally look like this:

On mouseUp
   ask for and then put the file into theFileData (several lines)
set the itemdel to "ƒ"
put fld "NamestoRemove" into theDeleteNameList

repeat with x = 1 to the number of items of theFileData
 repeat with y = 1 to the number of lines of theDeleteNameList
   if item x of theFileData contains line y of theDeleteNameList then
put empty into item x of theFileData
   end if
  end repeat
end repeat

end mouseUp

I suspect above construction will be very slow. any improvements ala MC's
optimal procedures?

thanks
Hinduism Today

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


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

 

Regards, Andu

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




Re: ScrollBar on Stack/Print an 8 1/2

2000-04-27 Thread andu



How so you set a very "tall" background on a 640 X 480 stack size?

i.e. create a scrollable stack where we will want to put an entire
8 1/2 X 11 sized background on a card.

The strategy will be to create dynamic content in a educational presentation
set to a 640 X 480 window, with some of the cards being full "pages" that
can be printed out and used as a hard copy reference by the student for
homework when away from his computer, punched and put into his binder etc.

Ideally we can also "hide and show" the scrollbars as needed. . .only
showing them on the pages that will be printed out to a full letter sized
printer.  . 

Will the implementation of the above differ for MC and WinDoz?

I suspect there are several ways to tackle this, one being to dynamically,
by script, resize the stack when going to the pages to be printed .. .
perhaps there are even other strategies?

Certainly this has already been done. . .

Sometimes looking for "the best way" to do something can become counter productive, 
you know.


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


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

 

Regards, Andu

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




Re: file size on mac os +

2000-04-24 Thread andu



Thanks to Andu and Scott Raney for the ftp MetaCard stack!  Using the ftp
stack as an example, I've built a stack that can upload and download files
to a password-protected server via ftp, and all the user has to do is click
one button.  Love it, LOVE IT!

And now of course I have another question! When uploading a file, I did not
want to read it all into memory first... rather, I wanted to read a bit,
send a bit, read a bit, send a bit, etc.  This would cut down dramatically
on RAM usage for folks sending huge files.  To make a real long story short,
I got it working.  But in order for it to work, I had to get the file size
of the file I was sending.  My current way of doing this is inelegant...

 put 0 into tBytes
  repeat while the result is not "eof"
read from file sourceName for 2 characters
put the number of characters in it + tBytes into tBytes
  end repeat
  close file sourceName

Can anyone suggest the best way to do this in the Mac and also Windows?  If
so, thanks in advance!
Best way it may not be but different, yes:

 put "file:"  fileX into tFile # fileX is the path to your file
  put the length of  url  tFile  into tBytes
put 1 into tOffset
  open file fileX  for read
repeat
if tOffset = tBytes then exit repeat
read from file fileX  at tOffset for 2000
put it after Var1 # or whatever
add 2000 to tOffset
  end repeat
  close file fileX


:)
Richard MacLemale


Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: FTP from within MC

2000-04-24 Thread andu



Thanks for everyone's feed back on FTP. Pretty clear now what we can and
cannot do.

Scott said:
 It's trivial as Internet protocols go,
 but would require learning something about how the Internet works
 (i.e., sockets). 

OK, ready and willing. . .where is the classroom? any URL's that you can
offer where this "required learning" can be had?

The classroom is on the web. Search Yahoo for http,ftp,etc. protocols and read some 
RFCs to get an idea of how things are supposed to work. Don't worry if you only 
understand 5% from them, it's normal ;-).
Use the  stacks mentioned earlier for examples of reading/writing to/from sockets. 
Experiment.



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

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




Re: A stack above another?!

2000-04-18 Thread andu



Hello all,

I have a stack "manager", which manages al "learning plug-ins". A learning
plugin is a stack of a specified size, with no decorations. I send en
exercise to it, and it displays the exercise.

The only problem is that when the user clicks in the manager, the plugin
disappears. If I make the plugin a palette, the user can't click any button
in the manager...

Why not? It's like having the tools palette and the home stack open.


Is there out there a solution

Thanks in advance,
Sjoerd Op 't Land


Archives: http://www.mail-archive.com/metacard%40lists.best.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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Externals/ Implementation

2000-04-18 Thread andu



The externals on mac work just like you imagined- they need to be in the resource 
fork(only). Either use ResEdit or MC's commands to deal with them. I'll send you off 
the list a stack I made (probably one of my first in MC) to transfer resources among 
HC-MC stacks at least to see the scripts.
And of course, you call them in your scripts by their specific syntax. 
Dlls I never used so others can fill in.
Andu

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




Re: Download Self-bootable stacks?

2000-04-17 Thread andu

Questions about serving MC stack via web pages and via MC stacks that Load
stacks

1) Assuming that a client had already downloaded the Metacard engine for
their platform, can you then, from an HTML file/web page. . .serve up a MC
stack that will self-boot when it completes downloading?

You can "serve up" a stack but you need a client to get it. If the 
client is a stack as you describe bellow using "go stack" will 
achieve the desired effect otherwise the engine on its own cannot 
open a stack.


Or, is it a requirement that they would have to download that stack and then
take the initiative to run it, and then once running, scripts could "take
over" and do the "downLoad and Go" thing.

2) For Stacks that are downloaded via the "load URL" command and then opened
with "go" they are obviously present at that time only in RAM. Can one
include a "save" command in their "on closeStack" that automatically will
save it to their hard drive?

Yes, see save in docs. Good habit to look there first.


Hinduism Today

Sivakatirswami
-- 
Regards, Andu

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




interesting article

2000-04-16 Thread andu

On freshmeat.com
http://freshmeat.com/news/2000/04/16/955943940.html
-- 
Regards, Andu

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




anyone knows PERL?

2000-04-13 Thread andu

I have a perl script that I need translated to MC or at least 
understand it so that I can do the translation. Is anyone out there 
knowledgeable in perl and willing to help me?
TIA
-- 
Regards, Andu

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




Re: Important notice to all list subscribers

2000-04-12 Thread andu

Hi Everyone,

The purpose of this list is not to solicit market research (nor to carry any
form of advertisting: in fact I spend time behind the scenes making sure
this list stays free of this kind of material).  However, this once I'm
going to break the rules!

To follow on from Scott's earlier post: I'd like to make a plea to
*everyone* on this list to fill in the MetaCard survey.

We've been busy processing the results in so far, and turnout has been lower
than expected.

The MetaCard survey is more than interesting reading for us, it really does
greatly influence the development of the next version of MetaCard.  By
taking a moment to go and fill it in, you will actually influence the
development of the product.  Your comments are needed to help decide what
makes it into the next version, and what doesn't.  Of course, that leads to
a product better suited to *your* specific needs.

This only happens once a year, and will take you less than 10 minutes to
fill in.  So please, whether you've purchased MetaCard or not, whether you
post regularly to this list, or just lurk, in fact, whoever you are, please
go and fill in the survey at:

http://www.xworlds.com/metacard/metacard_survey.htm

Thanks very much,

Kevin
Listmaster



  I thought the benefits of this survey were self evident to everyone using MC.

Do it people, now!
-- 
Regards, Andu

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




test-don't read

2000-04-10 Thread andu


Regards, Andu

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




Re: MC Internet Suite Guidance

2000-03-26 Thread andu

Aloha,

I'm just getting started here. Please bear with the "newbie" questions.

As a long time SC user, the tutorials and concepts etc that come with the
starter kit serve for someone to study and get a grip on MC to make a
presentations for CD deployment, set up small dbases etc. text manipulation
there's a learning curve, but that's all pretty straight forward.

But how to use all the internet commands, compress files etc? I don't find
any user's guidance. . .so how to get a grip on this? The scenario is pretty
obvious:


I didn't quite understand what your application is supposed to do, so 
for your benefit, please restate the purpose of it in simple words so 
maybe I can help you. The "internet stuff" is not the easiest thing 
to figure out but if I get a clear idea of what you want I might be 
able to send you some example scripts to help you get the idea.


I am sure the above is relatively simple but if you drove our small John
Deere tractor for several years and then got into our big FORD tractor. .
.well, someone has to tell you what levers do what. . .A step buy step guide
would help; I don't need a line by line scripts (yet), I can write the code,
I just need a "do this first, then do that, then use the URL commands to do
this ..." Is there a USER guide on line to implement this side of MC
capabilities?
Thanks!
Hinduism Today

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


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

-- 
Regards, Andu

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




Re: Launch a URL in the user's Browser

2000-03-26 Thread andu

OK, thanks for the help so far.

I'll ask very focused questions from now on.

In trying to examine the MCDemo2.mc to "see how it is done." I can get the
focus to that stack using topstack="mcdemo2.mc" and then open the control
browser etc. but then when i go to the next card the scripts all start to
run. . .if I do command period, my system hangs momentarily. i can get the
message box up and open the tools and set the backdrop to none and get back
Home,more or less, but then if try again to move to another card in the
demo, it starts up. . . How do you make the whole thing just remain static
and then move from card to card to examine the scripts in the cards and
objects?


One solution is to save copies of substacks from the mctools.mc stack 
as mainstacks on their own. Start up MC, choose "open.." and open 
mctools.mc.
Go Edit, Stack properties (opens the palette), choose Components, 
doubleClick on the name of the stack you want, it opens, type in 
Message Box "clone topStack()"
and you'll have a copy of that stack. Save it, quit and restart MC, 
and open the saved stack. Switch to edit mode and there you are.


Hinduism Today

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



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

-- 
Regards, Andu

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




Re: Launch a URL in the user's Browser

2000-03-26 Thread andu



The simple answer is "lock messages; go next" in the Message Box.
   Scott

This ";" was there all along I just didn't know about it, right? ;-)
-- 
Regards, Andu

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




Re: first past the POST

2000-03-22 Thread andu

The saga continues.

I've been having great difficultly getting my CourseInfo web server 
to accept a POST from Metacard.  Rather than describe the problem in 
detail here, I've made a testbed stack which illustrates the 
problem. I've also included a few TCP/IP logs in the stack to show 
you exactly what's going on, and some bookmarks of relevant web 
sites in the stack notes.

I think the problem is related to how I am formatting the 
multipart/form-data.  I've tried URL formatted POST which didn't 
work either.

First, from what I remember "Content-Type: multipart..." has to do 
with attachments and you don't send POST data as attachment but as 
part of a http request.

Bonus: if you'd like to try CourseInfo out, this is your 
opportunity. Inside the stack I've provided user account details - 
you'll need this access to be able to test the stack.  The 
CourseInfo account/course will only be available for the next week 
or so, then I'll delete it.

You can ftp the stack, ci_pos,  from:

ftp://139.80.66.35/ci_post.zip

Please help me - this is driving me nuts.

Here is what a "real" POST request looks like when it reaches the server:

POST /script.cgi HTTP/1.0
Connection: Keep-Alive
User-Agent: Mozilla/4.7 (Macintosh; I; PPC)
Host: hostname:portNumber
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
Accept-Encoding: gzip
Accept-Language: en
Accept-Charset: iso-8859-1,*,utf-8
Content-type: application/x-www-form-urlencoded
Content-length: 112

Submit=SubmitTextArea1=this+is+the+text+in+the+first+field.TextArea4=and+this+is+the+text+in+the+second+8field

##Submit is the button so disregard it.
Hope this helps.


Rodney

-- 
Regards, Andu

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




Re: openStack handler

2000-03-17 Thread andu

*This message was transferred with a trial version of CommuniGate(tm) Pro*
[EMAIL PROTECTED] wrote:

 *This message was transferred with a trial version of CommuniGate(tm) Pro*
 I am converting a SuperCard application to MetaCard.  The SC project script
 had an openProject handler that would execute when the project was opened.
 I am trying to come up with a similar handler in MetaCard.  If I change the
 openProject handler to an openStack handler for my mainStack then the
 handler is called every time a substack is opened.  Is there a handler that
 will execute only when the mainStack is opened?

You can try something like:
on openStack
if the short name of this stack is your main stack then
do stuff
end if
end openStack



 Larry Huisingh


Andu


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



Re: cut copy paste buttons on the mac

2000-03-15 Thread andu

*This message was transferred with a trial version of CommuniGate(tm) Pro*
Scott Raney wrote:
 
 *This message was transferred with a trial version of CommuniGate(tm) Pro*
 On Wed, 15 Mar 2000, Jeff Reynolds wrote:
 
  Has anyone noticed that the f1, f2, f3, and f4 keys dont work with
  metacard on the mac with os 8.6 and metacard 2.3 in the authoring
  environment? ive tried using a quickkeys alais even to command c etc and
  those wont work. keyboard command c, x, v, z work fine. just hard to stop
  my brain loop of hitting the f keys... any solutions out there???
 
 Never heard of this.  Is this standard on MacOS?  The only standard
 usages I know of those keys is that F1 is Help in most UNIX and
 Windows apps, and F3 is occasionally repeat-command (like control-P
 in the MetaCard Message Box).
 

There are some applications using the f keys for cut-copy-paste, one of
them is Claris works but I was surprised to find this out. I believe
it's an old mac thing on the verge of extinction. Kind of like the
delete key these days.

 You could easily add a frontScript to map these keys to anything you
 want.  See the functionKey message.
   Regards,
 Scott
 
  thanks
 
 
 
  ---   -   
  Jeffrey H. Reynolds   Waveforms   [EMAIL PROTECTED]
  ---   -   

andu

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



Re: Practical example of POST cmd wanted

2000-03-13 Thread andu

This is not strictly a metacard question, but I'm hoping that 
someone might be able to help...

I'm wanting to post some data from a Metacard stack to a web server, 
simulating a web page which normally submits a form.  The form being 
submitted has the following data items:

FORM METHOD="POST"  ENCTYPE="multipart/form-data" 
ACTION='/bin/common/externallinks_add.pl'
input type='hidden' name='course_id' value='CI_Exchange'
input type='hidden' name='area' value='externallinks'
input type='hidden' name='parent_id' value="Top"
input type=hidden name='type' value='D'
input type=hidden name='parent_id' value='Top'
input type='text' name='title' size='50'
input type='text' name='url' size='50' value="http://"
textarea name='description' rows='5' cols='45' wrap='soft'
input type='radio' checked name='available_ind' value='Y'
input type='radio' name='available_ind' value='N'
input type='radio' name='launch_ind' value='Y'
input type='radio' checked name='launch_ind' value='N'

Assume I create some fields and buttons in MC that simulate the form.

Next I would use MC "post" command to send this data to the server.

How should the data be formatted before submission?  If I could find 
out exactly what the web browser was sending (how it formulates the 
data) I could figure this out for myself, if anyone knows of a web 
site/tools that could help here please, fire away! ( I found an echo 
cgi script on my Apple web server, but the formatting of the data 
that this returns looks strange and I'm a bit suspicious the web 
server has reformatted it somehow.)

After posting the data the server would reply and I would read the 
result from the it variable, although this seems to time out very 
quickly returning nothing.  All this makes me wonder if perhaps it 
would be better to use socket commands to post the data?

Any ideas or working examples would be appreciated.

Regards,

Rodney



I only know a Mac tool "OTSessionWatcher" by Stairways 
(stairways.com.au) which might help you. The best way though is to 
modify mchttpd to output in a field a POST request from a browser.
-- 
Regards, Andu

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



Re: Metacard List server anyone?

2000-03-12 Thread andu

On Fri, 10 Mar 2000, David Bovill wrote:

 Thought so, but I gather there is a problem with being able to do this?

Only the amount of work required.  Actually one other problem is that
it might be hard to find an ISP willing to host it: Most of them have
no problem installing MetaCard engines for use with CGI scripts, but
are not so keen on letting you set up continuously running
servers. But it would work fine in an "Intranet" environment, or if
you had a "colocation" server set up someplace (your hardware running
on their local network).

Building something like majordomo (which is written in Perl and works
with sendmail) in MetaCard would be easier because you wouldn't have
to deal with the SMTP part.  But it seems to me that as long as you're
going to do it, you might as well go whole hog ;-)

Just by looking at sendmail configuration made me decide that the "easy"
way is to write the whole thing from scratch (a third of it I did already).
Something like this could run on anyone's computer even with a dynamic IP
address using a static name from DynDNS.
 A level of sophistication could be achieved by incorporating a simple mail
client in MC.

  Regards,
Scott

Regards, Andu



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



just a test

2000-03-12 Thread andu

test

Regards, Andu



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



Re: Metacard List server anyone?

2000-03-12 Thread andu

On Sun, 12 Mar 2000 andu wrote:


  Just by looking at sendmail configuration made me decide that the
  "easy" way is to write the whole thing from scratch (a third of it I
  did already).  Something like this could run on anyone's computer
  even with a dynamic IP address using a static name from DynDNS.

Sendmail is a real pain in the butt to set up right, and now that most
of the development effort is going toward the commercial version
(which reportedly is easier to set up, but still no picnic), it's
unlikely that this will change.  Sounds like a good opportunity to me,
regardless of whether you plan on doing it open-source or as a
commercial product.

As a matter of fact I looked at other mail demons for Linux and they 
aren't any better in terms of configuration. In order for me to 
"watch" some functionality details I'll have to do it on MacOS 
(hopefully more "user friendly").


  A level of sophistication could be achieved by incorporating a
  simple mail client in MC.

Coincidentally, LiangTyan Fui just sent me such a client.  It looks a
little rough and I haven't really tested it, but it looks very
complete and does support both POP and SMTP (although only via a relay
because of the MX record support problem discussed earlier).  You can
get it as: ftp://ftp.metacard.com/MetaCard/mcmail.mc

I'm not sure what MX record is.


He's also got a SMTP server nearly complete, but is stuck on the MX
record problem.  Relaying is an OK strategy for clients (in fact
that's what just about all POP/IMAP clients do), but it just doesn't
fly for servers.

As soon as a few more of these important protocols get implemented,
we're going to have to sit down and organize them, come up with a
common scripting language API (so you can use them easier from your
other stacks), polish them up a little, and document them better.  The
eventual goals being to have them be usable apps in their own rights,
but more importantly make it easier to use as components in larger
projects.

That won't be easy specially due to performance considerations.

  Mean time, use this package, and the FTP package, and
mchttpd whenever you can, see if you can improve them, and at least
send in suggestions and bug reports.
   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%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.

-- 
Regards, Andu

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



Re: Broken records -:)

2000-03-08 Thread andu

On Wed, 08 Mar 2000, you wrote:
 On 8/3/00 10:58 pm, Scott Raney [EMAIL PROTECTED] wrote:
 
  Kevin, would it be possible to add a name to the "Sender:"
  line in addition to that address so that people whose mailers show
  real names at least won't have to see the misleading address?

Maybe a good, flexible MC-list server should be on the to-do list of those 
experts out there ;-)


 
 Unfortunately its not.  The line at the bottom of the posts will have to
 suffice.
 
 Kevin
 
 Kevin Miller [EMAIL PROTECTED] http://www.xworlds.com/
 Cross Worlds Computing, MetaCard Distributors, Custom Development.
 Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.
 
 
 Archives: http://www.mail-archive.com/metacard%40lists.best.com/
 Info: http://www.xworlds.com/metacard/mailinglist.htm
 Please send bug reports to [EMAIL PROTECTED], not this list.
--
Regards, Andu

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



Re: formatting text in a field

2000-03-06 Thread andu

Here's a very basic question for you all...

I have a document with some formatted text that I need to put into a MC
field. How do you get formatted text into an MC field? I've tried copy and
paste, but all I get is the plain text.

I've found that I can change the font face, size, and style manually in
Browse mode using the Text menu. And I guess that I could live with that
if copy and paste is not supported. However, I can't seem to be able to
change the alignment for single lines of text. Is this possible?

I doubt it. The formated text in MC is based on html with not much support
for that either.


TIA

--
Leston Drake
LetterPress Software, Inc.
http://www.lpsoftware.com
--



This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm


Regards, Andu



This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



Re: games anyone?

2000-03-04 Thread andu

David Bovill wrote:
 
 Sure, but in April. Networked game maybe? My son is 6ish...

Anytime, thanks. 


=

Regards, Andu

This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



Re: current card?

2000-02-28 Thread andu

Hi all,

Does anyone know of a property that will tell me which card is being shown
in an open stack? something equivalent to the current card of stack s? If
there is not a property (I haven't been able to find one yet) does anyone
have a good suggestion for finding this?

If you do:

on openCard
put the short name of the current cd
end openCard

will give you the name of the shown card.


TIA

--
Leston Drake
LetterPress Software, Inc.
http://www.lpsoftware.com
--



This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm


Regards, Andu



This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



Re: FastCGI and metacard.mt scripts ?

2000-02-24 Thread andu

Hi Anyone,

On the first side, i have to use Apache (on a Suse Linux 6.3 box) - and
there for can't switch, at this time, to mchttpd_1b.mc - because it's
the extranet's httpd used on the server.

On the second side, i use, on a MacOS server, some acgi.apps (Hypercard,
Metacard) that communicate with WebSTAR via appleevents and those apps
are many more fast running as the metacard.mt scripts are under the
standard cgi module used by Apache :

one hand : the MacOS cgi apps are waiting in the background without to
have to reload the global variables each time a new appleevent request
come in...

second hand : the metacard.mt scripts (and the global variables) are
reloaded each time a new Apache cgi instance is needed.

Is there a solution to get a good speed in serving mc scripts by using
the FastCGI module suitable with Apache ?
If yes, is there anyone here that can explain me how to install and use
FastCGI to serve metacard scripts via Apache (Suse Linux 6.3) ?
Else, is there a best solution to get a good speed in serving mc cgi
scripts on Linux ?

I find it hard to believe that using the AppleEvents path is faster then
direct script execution. Also if you mean by globals what I mean in this
case, they also get reloaded for every request to the server.
I tend to believe that the difference in performance is either due to some
misconfiguration of Apache or some problem with the script in the .mt file.
I'd be curious to take a look at the script if you are willing to email it
to me off the list.


Thank's a lot for any help,
--
Pierre Sahores

This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm


Regards, Andu



This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



  1   2   >