Re: libURL rocks

2002-07-01 Thread Dave Cragg

At 10:31 pm -0700 1/7/02, Richard Gaskin wrote:

>Dave Cragg: thank you for putting in the time for the error-checking in
>libURL, and the handy MakeDir feature that makes uploading to
>as-yet-non-existent directories a snap.

I love the plaudits, Richard, but it would be wrong to leave the 
impression that this is some kind of selfless endeavor. Work on 
libUrl is sponsored by Runtime Revolution, which means they should 
get the thanks. (When it doesn't work, abuse, etc. should probably 
come in my direction. :))

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



Re: MetaCard 2.4.3 beta 2

2002-07-01 Thread Richard Gaskin

Dave Cragg wrote:

> I was unable to unstuff the MacOSX archive. Anyone else having the
> same problem, or it just at my end?

Yep, me too. :(

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Custom Software and Web Development for All Major Platforms
 Developer of WebMerge 2.0: Publish any Database on Any Site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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



Re: MetaCard 2.4.3 beta 2

2002-07-01 Thread Dave Cragg

I was unable to unstuff the MacOSX archive. Anyone else having the 
same problem, or it just at my end?

Cheers
Dave Cragg
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



libURL rocks

2002-07-01 Thread Richard Gaskin

I started to write my own FTP lib from parts I'd been working on before
libURL existed (with many parts borrowed from some of Andu's old code -
thanks Andu!).  But with all the error-checking it got to be a bear, so I
went back to using libURL. Not sure what the difference is between now and
when I last reported it (too much sleep?  I'm my normal sleep-deprived self
today ), but it works great:  the put command seems to let me work
sequentially as I need for this project.

Dave Cragg: thank you for putting in the time for the error-checking in
libURL, and the handy MakeDir feature that makes uploading to
as-yet-non-existent directories a snap.

Indeed, why re-invent the wheel?  libURL does what it set out to do:  we
focus on making nifty UIs, while Dave and Scott work their butts off on the
underpinnings. :)  Once again the MC package fulfills the goal of a good
4GL. Thanks guys. 

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Custom Software and Web Development for All Major Platforms
 Developer of WebMerge 2.0: Publish any Database on Any Site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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



MetaCard 2.4.3 beta 2

2002-07-01 Thread Scott Raney

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

Primary changes for this release are finishing up the conversion to
UNIX-format paths in the Mac OS X engine, and some UI tweaks.  This is
the last scheduled beta-test release: Last chance to get this engine
and make sure it runs your application before we get to final release!
  Regards,
Scott


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


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



mchttpd Question

2002-07-01 Thread Scott Rossi

The question below was sent by Peter J Bower who seems to be having trouble
getting his posts to appear on the list.  Perhaps some kind folks here can
respond.

Regards,

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: [EMAIL PROTECTED]
Web: www.tactilemedia.com

--

I just downloaded the metacard mchttpd from ftp.metacard.com

to run on my home network and act as a server.

I have a pc running windows 2000.

In the cgi-bin folder there is a little note that  says " Link_MC_here".
 
Well, I'm not sure what this means. I have installed a copy of the mc
program in that folder and I can not get it to recognize any *.mt or *.cgi
programming. What does the "Link MC Here" mean?

another question:  In this situation on a pc what would the first line in
the cgi script look like to
find the mc engine?
 
The actual location of my MC program is C:\Program Files\Metacard\Program\
 
What's a fella to do?

-

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



Re: using variables in file names

2002-07-01 Thread andu



--On Monday, July 1, 2002 3:31 PM -0400 "Lurie, Nicholas" 
<[EMAIL PROTECTED]> wrote:

>
> Is there anyway to create a file using a variable?
>
> Suppose I have a variable called sub and I want to save text to a file
> named sub.txt where sub is a number from 1 to 100.
>
> Normally, I would write
>
> open file "sub.txt"
> put results & cr into file "sub.txt" at eof
> close file "sub.txt"
>
> How can I change the filename based on the current value of sub?

put 5 into sub
open file (sub & ".txt") # or without ()
put the result into file (sub & ".txt") at eof
close file (sub & ".txt")

Alternatively you can do:
put 5 & ".txt" into sub
open file sub

>
> Thanks!



Regards, Andu Novac
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: using variables in file names

2002-07-01 Thread Klaus Major

Hi Nicholas,

> Is there anyway to create a file using a variable?
>
> Suppose I have a variable called sub and I want to save text to a file 
> named sub.txt where sub is a number from 1 to 100.
>
> Normally, I would write
>
> open file "sub.txt"
> put results & cr into file "sub.txt" at eof
> close file "sub.txt"
>
> How can I change the filename based on the current value of sub?
>
> Thanks!

this is an easy one.

You just have to build a string like:

open file (sub & ".txt")
put results & cr into file  (sub & ".txt") at eof
close file (sub & ".txt")


You can have it even shorter:

...
put results & cr into url("file:" & sub & ".txt")
...


That's all, have fun :-)


Regards

Klaus Major
[EMAIL PROTECTED]

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



using variables in file names

2002-07-01 Thread Lurie, Nicholas
Title: using variables in file names





Is there anyway to create a file using a variable?


Suppose I have a variable called sub and I want to save text to a file named sub.txt where sub is a number from 1 to 100.

Normally, I would write


open file "sub.txt"
put results & cr into file "sub.txt" at eof
close file "sub.txt"


How can I change the filename based on the current value of sub?


Thanks!





Re: Keystroke equivalents in MetaCard

2002-07-01 Thread Mark Talluto


On Monday, July 1, 2002, at 09:06 AM, John Kiltinen wrote:

snip

> This behavior is the same on both Mac and Windows, and is the same if I 
> am
> running things from a standalone or from within MetaCard.  It is also
> curious that if one has done a bit of moving around within the problem
> stack, then the keystroke equivalent works as intended.
This tells me that you have another stack (maybe invisible) that has 
focus.  Its menus are not set up properly to handled the command - w.  
Clicking on the stack that you think is causing the problem brings focus 
to that stack and you have set its menus up properly.  My suggestion 
would be to go through all stacks and make sure that the command -w is 
handled the way it should be.

>
> Any ideas as to what is going on here?  In case it is relevant, I am
> working with version 2.3.2 of MetaCard.  I am suspicious that this is a
> subtle problem in MetaCard because I have found while scripting that I 
> get
> a failure of the keystroke "command+V" for pasting when the menu shows 
> that
> it is implemented.
>
> John Kiltinen
>
> PS:  Thanks to all who provided information about generating an e-mail
> message from within MetaCard a couple of weeks ago.

-Mark Talluto

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



Keystroke equivalents in MetaCard

2002-07-01 Thread John Kiltinen

Hello MetaCard Gurus:

I have a question about MetaCard's implementation of
Command-key-plus-letter keystroke equivalents for menu items such as
command+W to close a window and command+V to paste.

I am in the final stages--at long last--of preparing my Permutation Puzzles
Package for publication, and am trying to be sure that absolutely
everything works as intended.  When testing the keystroke equivalents that
I have built into menuPicks by means of the "/W" or "/V" at the ends of the
names of the menu items, I am finding some inconsistent behavior that I
cannot figure out.

My package consists of a standalone called Puzzle Driver which in turn
opens several stacks which present different puzzles.  Because of the way
this needs to work in the Windows version, each puzzle has its own menu
defined, but they are all scripted pretty much the same.  (If I were
implementing this only for the Mac, as far as I can tell, I'd only need one
menu group defined.)

The inconsistent behavior is coming with a "command-plus-W" that I have
associated with the "Close" command of the "File" menu.  My script for
"Close" always asks if the user wants to save changes.  The script for this
menu item sends a closestackRequest message to a handler which also picks
up these messages if the user clicks on the close box at the top of the
window.

For two of my puzzles, this strategy is rock solid.  However for another,
the command+W from the keyboard causes the window to close immediately
without going to my "on closestackRequest" handler.  If one choose "Close"
from the menu, everything works as intended, but not from the keystroke
equivalent.

This behavior is the same on both Mac and Windows, and is the same if I am
running things from a standalone or from within MetaCard.  It is also
curious that if one has done a bit of moving around within the problem
stack, then the keystroke equivalent works as intended.

Any ideas as to what is going on here?  In case it is relevant, I am
working with version 2.3.2 of MetaCard.  I am suspicious that this is a
subtle problem in MetaCard because I have found while scripting that I get
a failure of the keystroke "command+V" for pasting when the menu shows that
it is implemented.

John Kiltinen

PS:  Thanks to all who provided information about generating an e-mail
message from within MetaCard a couple of weeks ago.



 John Kiltinen ([EMAIL PROTECTED])Home  Office
 Professor, Dept. of Math. & CS   Tel.(906) 228-8035 or (906) 227-1600
 Northern Michigan University Fax (906) 228-4667 or (906) 2272010
 Marquette, MI 49855 USA



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