Re: Span Tags in HTML

2009-02-10 Thread Dave Cragg
On 10 Feb 2009, at 04:40, Ray Horsley wrote: But this doesn't: put htmlpThis is an example./p/html into myHtmlDoc put revBrowserOpen(tWinID, myHtmlDoc) into sBrowserId set the BrowserId of image BrowserImage to sBrowserId Ray, try with revBrowserSet, using the htmltext

Re: whole(string) is in a fld

2007-07-02 Thread Dave Cragg
Sorry. Ignore my first try. It fails already. (-: Dave ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard

Re: The Challenge (was whole(string) is in a fld)

2007-07-02 Thread Dave Cragg
Hi Hugh Usual technique to seek extra time from a client is to ask more questions. :-) I assume the string has to match on the start of a word boundary. e.g. put This is a test. into sourceText (note the punctuation) whole(is is a test,sourceText) = FALSE Case-sensitivity? Dave On

Re: The Challenge (was whole(string) is in a fld)

2007-07-02 Thread Dave Cragg
Hi Hugh I think I wrote those mails a long time ago from the wrong address and they've just been allowed through now. Sorry if they prompted you to respond. Cheers Dave Hi Dave, Case sensitivity is an optional extra (although international should, if possible, be handled for those

Re: The Challenge (was whole(string) is in a fld)

2007-07-02 Thread Dave Cragg
Hi Hugh I think I wrote those mails a long time ago from the wrong address and they've just been allowed through now. Sorry if they prompted you to respond. Cheers Dave PS I think I just mailed again from the wrong address again. Expect to see the same reply in a month or so. :-0 Hi

Re: whole(string) is in a fld

2007-06-12 Thread Dave Cragg
Please ignore my first attempt. It fails horribly. (-: Here's another. Any better? function whole s,t put length(s) into tNumChars put ,.;:?! space tab cr numToChar(13) into tWB put offset(s,t) into tOff if tOff = 0 then return false return length(t) = (tOff + tNumChars - 1) OR

Re: whole(string) is in a fld

2007-06-12 Thread Dave Cragg
This doesn't check that the matched target starts on a word boundary, But a simple check on char (tOff -1) or whether tOff is at the beginning of the target shoud do it. On 12 Jun 2007, at 20:32, Dave Cragg wrote: Please ignore my first attempt. It fails horribly. (-: Here's another. Any

Re: Which port does LibUrl use

2007-01-12 Thread Dave Cragg
On 12 Jan 2007, at 20:36, Ray Horsley wrote: Greetings two days in a row! Many of my clients have a variety of security systems or settings in place which block LibUrl's calls to put and get from our remote server. From time to time I get asked whether my standalone uses port 80 or

Re: Happy Time of Year

2006-12-23 Thread Dave Cragg
On 23 Dec 2006, at 14:27, Shari wrote: As for your neighbors who sent a goat to Malawi, which was a very happy heartfelt gesture, did they truly save enough money on not sending cards to buy a whole goat? Are cards and postage that expensive? Or do they know that many people? Or are

Re: Happy Time of Year

2006-12-22 Thread Dave Cragg
Hi Hugh I sympathise, but don't get yourself ill about it. (Save that for dealing with British Gas.) The nicest card I've received this year had Happy Holiday on it. But it was written in crayon by the little girls next door, and had a nice picture of reindeer on the front (or perhaps it

Re: Text Color on Mac and Windows

2006-11-08 Thread Dave Cragg
On 8 Nov 2006, at 20:54, Ray Horsley wrote: Here's one of those things that's bothered me for some time now. On the Mac I create a list behavior field, leave the default text color as black and set the highlight color as something light, like a light blue, to contrast against the black

Re: Text Color on Mac and Windows

2006-11-08 Thread Dave Cragg
On 8 Nov 2006, at 22:10, Ray Horsley wrote: Thanks, Dave. I'm sure that would work. It just seems like an inconvenience to have to do all the time when writing for both platforms. I wonder why the inconsistency? I was about to answer that it reflected the standard behavior on the

Re: Speed differences between MC and Rev and the origin of the English language

2006-09-22 Thread Dave Cragg
On 22 Sep 2006, at 16:10, Wilhelm Sanke wrote: In case my comments were felt to be offensive, Not in any way. It was only because your comments were so interesting that I felt inspired to reply. It's not often we get a thread on something so close to home. Coincidentally, there was a

Re: Speed differences between MC and Rev and the origin of the English language

2006-09-21 Thread Dave Cragg
On 21 Sep 2006, at 20:40, Wilhelm Sanke wrote: The Roman emperor Hadrian had built his Hadrian's wall across England from Newcastle to Carlisle because he did not like bagpipe music and kilts. When the Roman empire broke down in the 4th century, the revolutionaries from Edinburgh again

Re: Displaying Stacks in Browsers

2006-08-29 Thread Dave Cragg
Just a few comments on the Flash Player. On 29 Aug 2006, at 01:08, Alain Farmer wrote: 3. Consider Flash: It's already pre-installed on most systems, and can be used to make some great UIs. It's a good choice when plugins are an option. Flash can make some pretty *flashy* stuff. :) It is

Re: MC IDE v2.6 posted

2006-07-05 Thread Dave Cragg
On 5 Jul 2006, at 18:52, Klaus Major wrote: I think my first enhancement will be to translate the IDE to Kisuaheli! Not before time. ;-) Thanks for taking over Richard's position. Cheers Dave ___ metacard mailing list

Re: ColorizeScript challenge

2006-04-27 Thread Dave Cragg
On 27 Apr 2006, at 01:49, wouter wrote: On Apr 26, 2006, at 4:34 AM, Dave Cragg wrote: -snip- I see a problem with using htmlText. Say a script contains html entities such as gt;, for example in a script that builds some html strings. Under my script, these would get converted

Re: ColorizeScript challenge

2006-04-27 Thread Dave Cragg
On 27 Apr 2006, at 12:31, Geoff Canyon wrote: Attempting to take back the beer (I don't drink, so I'm not sure why I'm bothering...) And I don't colorize my scripts. How pathetic are we? Make sure Richard buys you a nice meal. put (oh no, #this will be a comment) Everything after

Re: ColorizeScript challenge

2006-04-27 Thread Dave Cragg
On 27 Apr 2006, at 16:31, Richard Gaskin wrote: Here's a tough one: Your script works great in MC (I've had to modify it to use it there, and changed some color assignments while I was at it -- see below), but it doesn't set the color of function names when the function is used in the

Re: ColorizeScript challenge

2006-04-26 Thread Dave Cragg
On 26 Apr 2006, at 00:27, Ray Horsley wrote: Hi Richard, I've found the 'repeat for each' structure, the first one below, to be incredibly faster than the second and third ones below since it doesn't have to count returns or spaces to get to lines and words. For example, in the second

Re: ColorizeScript challenge

2006-04-26 Thread Dave Cragg
On 26 Apr 2006, at 08:06, Richard Gaskin wrote: Geoff Canyon wrote: On Apr 25, 2006, at 4:00 PM, Richard Gaskin wrote: Anyone have ideas on how to speed up MC's script colorizing? Funny you should ask. I did this once as a thought experiment, with an eye to never storing the colorized

Re: ColorizeScript challenge

2006-04-26 Thread Dave Cragg
On 26 Apr 2006, at 15:03, Geoff Canyon wrote: On Apr 26, 2006, at 4:34 AM, Dave Cragg wrote: In a bid to steal Geoff's beer, I took a look at using the htmlText to do this. It's certainly much faster. (A first attempt below.) Well, I'll see your colorization and raise you

Re: ColorizeScript challenge

2006-04-26 Thread Dave Cragg
On 26 Apr 2006, at 20:06, J. Landman Gay wrote: I played with this for about an hour last night. I was using the same technique, converting the script to htmltext using the replace command. I had it mostly working but got stuck on exactly the issue you mention. So let's let Geoff do it.

Re: How to sort cards by two sort criterions?

2006-03-05 Thread Dave Cragg
On 4 Mar 2006, at 17:02, Mathewson wrote: The plural of CRITERION is CRITERIA. According to who? (or is that WHOM?) http://www.thefreedictionary.com/criterions I'm glad to hear about Shari's dog. But, unless I'm much mistaken, Shari's dog is not a contributor to the Metacard Use List

Re: MC IDE v2.6b12 posted

2005-12-30 Thread Dave Cragg
On 30 Dec 2005, at 19:17, Richard Gaskin wrote: I just added this line to the preOpenStack handler of mctools: set the mcversion of stack MetaCard Menu Bar to the version This will remove an ongoing annoyance for most users, but will fail to notify anyone using engine versions more than

Re: Running Jaqueline's CGI tutorial in JaguarPC

2005-12-03 Thread Dave Cragg
On 3 Dec 2005, at 15:53, Alejandro Tejada wrote: Trying to load a reference of the file like this produces an error: -- start of example from CGI tutorial http://www.hyperactivesw.com/cgitutorial/scripts2.html put tipTemplate.txt into theTemplateFile if there is no file theTemplateFile then

Re: Running Jaqueline's CGI tutorial in JaguarPC

2005-12-03 Thread Dave Cragg
On 3 Dec 2005, at 18:36, J. Landman Gay wrote: By the way, there is no file is valid syntax, so I don't think that is the problem. I never knew that. Thanks. And sorry, Al, for any confusion I caused. Cheers Dave ___ metacard mailing list

Re: chmod osx 777?

2005-10-17 Thread Dave Cragg
On 17 Oct 2005, at 18:36, J. Landman Gay wrote: Robert Brenstein wrote: I am trying to figure out how to do cgis in metacard. I am using OS X with web sharing to serve the pages. I've set the file permissions to read/write (apple cmd key I, 3 popup buttons) Yet the server says no

Re: Need help on proxy with username and password

2005-09-14 Thread Dave Cragg
On 14 Sep 2005, at 03:59, Tariel Gogoberidze wrote: Hi, I'm posting in hope that Dave Gragg may read this and give me a tip. We received the following letter from one of our potential clients (CyberaRat is one of our products) -- We have received a copy of Cyberrat for

Re: How to export the images of a stack

2005-08-18 Thread Dave Cragg
On 18 Aug 2005, at 11:23, Klaus Major wrote: Hi Reinhold. Hello Dave! repeat with i = 1 to num of lines in ImagePath put line i of ImagePath into ImageName repeat with k = 1 to 6 delete char 1 of ImageName end repeat put url (binfile: ImagePath) into url

Re: How to create a folder?

2005-08-17 Thread Dave Cragg
On 17 Aug 2005, at 08:01, Reinhold Venzl-Schubert wrote: Hi! I try to create a new folder with this buttonscript on mouseUp ask file Create Folder for Export with Export put it into NewFold # NewFold contains: /Users/rvs/Documents/ PCDATEN/metacard/Export create NewFold # create

Re: How to export the images of a stack

2005-08-17 Thread Dave Cragg
On 17 Aug 2005, at 07:29, Reinhold Venzl-Schubert wrote: Hi Klaus! I had been happy too early :-( Asche über mein Haupt I had a blackout yesterday evening :-( repeat with i = 1 to num of lines in ImagePath put line i of ImagePath into ImageName repeat with k = 1 to 6

Re: Revolution debugger issues

2005-08-04 Thread Dave Cragg
On 4 Aug 2005, at 05:07, J. Landman Gay wrote: I'm writing to the MC list because I don't want to start a flame fest on the main Rev list. Is anyone here using the Revolution debugger? There is a problem with it that has had me going around the bend for the last week and I'd like some

Re: embedding objects in scrolling fields adolescents

2005-07-07 Thread Dave Cragg
On 7 Jul 2005, at 10:16, Mathewson wrote: While a large part of the world is hooked on the I want it now idea, and the servicing of the minimal attention span. I want to SLOW PUPILS DOWN so that they absorb information, see multimedia in a meaningful CONTEXT, and are forced to pay attention

Re: Program won't open

2005-02-27 Thread Dave Cragg
On 26 Feb 2005, at 21:23, Shari wrote: Every so often I get a bug report that someone tried to launch the program, and it wouldn't launch. More of a blink while it flashed on the dock or something, but never actually opened. I finally took a moment to follow up on one of these reports, after

Re: Handling one MC message blocks another

2004-12-26 Thread Dave Cragg
On 26 Dec 2004, at 04:30, [EMAIL PROTECTED] wrote: Trying to understand how a mouseDown handler and a linkClicked handler coexisted or interacted, I conducted this test: In a field script, write on linkClicked put c after msg end linkClicked With the field unlocked, click with the command key

libUrl 1.1.2

2004-12-11 Thread Dave Cragg
Hi all A libUrl update (version 1.1.2) is available. You can get it here. http://www.lacscentre.co.uk/liburl/releases.html or do this in the message box go url http://www.lacscentre.co.uk/liburl/updaters/liburl_1_1_2.rev; No new features over 1.1.1. Just a couple of bug fixes. Cheers Dave

libUrl documentation and download

2004-10-26 Thread Dave Cragg
Hi Until the RunRev site has the libUrl documentation back up again, you can view it here: http://www.lacscentre.co.uk/liburl/ You can also get an updater for the latest version (1.1.1 or 1.0.16) there as well. (Note that the previously announced betas of these versions introduced a bug that

Re: libURL error 10053?

2004-10-20 Thread Dave Cragg
On 20 Oct 2004, at 22:21, Richard Gaskin wrote: I have a WebMerge customer whose reporting that he's getting an error 10053 when he tries to FTP. WebMerge uses libURL v1.0.13. I can't reproduce the error here, and the user claims that the same settings as he's using in WebMerge work well when

Re: Bizarre 2: On XP answer file command sometimes hangs

2004-10-04 Thread Dave Cragg
On 4 Oct 2004, at 16:38, Huisingh, Larry R wrote: I believe this is just a slight clarification but what is probably happening as far as the Task Manager is concerned is that when you click Switch To Windows is giving control to the program in question. Normally, when a program comes to the

Bizarre 2: On XP answer file command sometimes hangs

2004-10-01 Thread Dave Cragg
I've no answer for David Epstein's problem, but I've encountered a weird one of my own. Om XP (SP1), I have a simple utility tool made from the 2.5 engine named makeConfig_2.exe. There is a button on the screen whose script has an answer file command in the first line of the mouseUp handler.

Re: Bizarre 2: On XP answer file command sometimes hangs

2004-10-01 Thread Dave Cragg
On 1 Oct 2004, at 18:58, Huisingh, Larry R wrote: What happens if you turn off your anti-virus software? Perhaps that name is somehow triggering something in Norton that hangs your system. I have heard about performance problems of many types in many apps when the anti-virus program is

Re: IDE and libUrl

2004-09-08 Thread Dave Cragg
On 8 Sep 2004, at 03:17, Richard Gaskin wrote: Some time ago Dave Cragg wrote: The version of libUrl (1.1a3) currently being distributed with the Rev 2.5 beta (engine 2.6.1) is not backwards compatible with earlier engines. This is because of syntax added to support secure sockets in https

Re: Avoiding recursion with a setProp handler

2004-08-23 Thread Dave Cragg
On 22 Aug 2004, at 18:53, [EMAIL PROTECTED] wrote: MC 2.5's help stack says that when you set an object's property from within a setprop handler, setprop messages are not sent. Is this true? Here's my handler: setProp beenChanged whether put the short date into fld 3 set the beenChanged

Re: IDE and libUrl

2004-07-27 Thread Dave Cragg
On 26 Jul 2004, at 20:42, Brian Yennie wrote: This reminds me of the warning the tools stack used to always give me when I got new beta releases of Metacard- that the version of the tools stack didn't match the version of the engine. Could we use this same sort of logic, and maybe add an extra

Re: IDE and libUrl

2004-07-27 Thread Dave Cragg
On 27 Jul 2004, at 21:15, Richard Gaskin wrote: Dave Cragg wrote: On 26 Jul 2004, at 20:42, Brian Yennie wrote: This reminds me of the warning the tools stack used to always give me when I got new beta releases of Metacard- that the version of the tools stack didn't match the version

IDE and libUrl

2004-07-26 Thread Dave Cragg
Hi all First, apologies for not making a bigger contribution to the IDE. (weak excuses about other commitments, new dog ate my e-mail, etc.) As an almost full-time user of the IDE, I'm grateful to everyone involved, and especially the great poohbah. Of course, there have been times when it

Re: proposal: revAppVersion = 0

2004-07-21 Thread Dave Cragg
At 8:53 pm -0700 20/7/04, Richard Gaskin wrote: But you raise a good point: would there be any harm in having libURL automatically loaded? I can't think of any. Unless someone tells me not to I'm inclined to have it do so I'm not so sure. (There has to be someone. :)) If the IDE

Re: Old MC Engines

2004-03-23 Thread Dave Cragg
At 12:07 pm -1000 22/3/04, Sannyasin Sivakatirswami wrote: I'm trying to boot up an older licensed version of Metacard: MetaCard 2.4.3X but it seems to be a badly broken, buggy version... put 109 is a number in the msg box and I get a script error saying some a literal is missing a quote in

[ANN] libUrl 1.0.15 beta

2004-03-03 Thread Dave Cragg
Hi All A beta of the latest version of libUrl is available at the following url: http://www.runrev.com/revolution/developers/interimreleases/liburl/releases.shtml In addition to some bug fixes, it has a number of new features: It provides support for emulating htmls forms of types

Re: Compression and Encryption

2004-01-08 Thread Dave Cragg
At 8:36 am -0500 8/1/04, Ray Horsley wrote: Thanks for your reply, Brian. I, too, found the mcEncrypt to be undocumented. The way I learned of it is through studying Metacard's Ask Dialog stack. If you specify ask password it encrypts the user's data. Short of writing my own

Re: Message passing in the IDE

2003-12-13 Thread Dave Cragg
At 1:15 pm -0800 13/12/03, Richard Gaskin wrote: In working on my own tools I've found cases where the MC IDE's habit of not passing system messages annoys. For example, the newTool message is not passed, but after modifying MC to pass the message it allows me to have my own tools that update

Re: FTP Requests

2003-12-11 Thread Dave Cragg
At 2:11 pm -0500 11/12/03, Ray Horsley wrote: Hi Listers, I'm currently working on a project using Metacard's ability to move files between my local computer and an FTP site. I'm using the following syntax: Put url ftp://userName:[EMAIL PROTECTED]/myFolder/myFile/ into myLocalFilePath Can

Re: Touchy selection business

2003-12-04 Thread Dave Cragg
At 6:50 am +0100 4/12/03, MisterX wrote: hi everyone, Im making a long overdue tool that's just too fruity! But i came across a limitation... on mouseenter put the selection into s1 -- bla bla bla put the selectedchunk into s2 -- char x to y of field 1 put the selectedfield into s3 -- field

Re: mc-cgi and a database -- ideas, please

2003-11-13 Thread Dave Cragg
At 11:13 pm +0900 13/11/03, kweto wrote: Hello List, Sorry for the off-topic'ness -- and vagueness! -- of this bit of self-indulgence but since this is the best and gentlest group to ask, I'll fire away anyway. I'm looking to put together a language-learning website that my students -- and my

Re: URL exists?

2003-11-07 Thread Dave Cragg
At 1:23 am -0500 7/11/03, Shari wrote: What's the fastest way to check if an URL exists? I tried: if URL http://www.whatever.com/something/else.html; is empty then blah blah blah end if Very very slow. Is there a faster way? You'll get different results, depending on whether the host server

Re: Getting drag and drop to copy (not cut) dragged text

2003-10-26 Thread Dave Cragg
At 6:57 pm + 25/10/03, [EMAIL PROTECTED] wrote: I am trying to override this behavior when text is dropped to a locked field, i.e., I want the dragged text to be displayed in the locked field but remain, still selected, where it was in the original field. The following procedure does not

RE: Getting MC CGI to work on OS X with Web Sharing turned on

2003-10-18 Thread Dave Cragg
At 12:39 am -0500 18/10/03, Ken Ray wrote: 3) I created a cgi-bin directory in the Sites folder to hold my CGI. I think this is where you went off track. The Darwin mc app and your cgi mt files should be in /Library/WebServer/CGI-Executables/ at the system level, not the user level. Then

Re: Is-a-stack test

2003-09-27 Thread Dave Cragg
At 8:13 am -0400 27/9/03, [EMAIL PROTECTED] wrote: Does anyone have a one-line test for whether a file is a mc or rr stack on a Mac? switch the platform caseWin32 return (char -3 to -1 of tFilePath is .mc) or (char -4 to -1 of tFilePath is .rev) break case MacOS return

Re: Unlock Screen Visual Effect Broken?

2003-09-25 Thread Dave Cragg
At 11:42 am -0700 25/9/03, Scott Rossi wrote: Hey Folks: I was curious if anyone else can confirm that unlock screen + visual effects is broken on Windows MC2.5. I have two machines here on which I tried: on mouseUp lock screen if the vis of btn 1 then hide btn 1 else show

Re: Open Source Licence (LGPL or GPL)

2003-09-11 Thread Dave Cragg
At 1:03 am -0700 10/9/03, Richard Gaskin wrote: Scott Raney wrote: A couple of points on the license-type debate: 1) We don't really care what license you use: anything from public domain (least restrictive) to Artistic License (what PERL uses) to GPL (most restrictive) would be fine. 2) A

Re: Open Source Licence (LGPL or GPL)

2003-09-11 Thread Dave Cragg
At 10:22 am +0100 11/9/03, David Bovill wrote: (By the way, I'll continue to make any updates for libUrl available for the MC IDE. I guess these will continue to be posted on the RunRev site, but when a site is finally settled for the MC IDE, I suppose that would be a more appropriate location.)

Re: HTTPProxy - authenticated proxy servers supported?

2003-08-21 Thread Dave Cragg
At 1:29 pm +1200 21/8/03, Rodney Tamblyn wrote: It appears that authenticated proxy servers are not supported in Metacard/Revolution. Please tell me I am wrong. You're kind of wrong. :) If you know in advance that proxy authentication is required, you need to set the httpHeaders appropriately.

Windows Task Scheduler

2003-08-10 Thread Dave Cragg
Hi Slightly off topic. I've been experimenting with the Windows task scheduler (on XP and 2000). I've been using it to periodically run mt scripts with the Windows cgi engine (cmc.exe). It's working fine so far, but one minor annoyance is that the Windows console window (or whatever it's

Re: Script Limits

2003-08-09 Thread Dave Cragg
At 9:54 am -0700 7/8/03, Mark Talluto wrote: On Thursday, August 7, 2003, at 09:36 AM, Richard Gaskin wrote: I just did a test with MC 2.5: I made a stack with one field, and put This is field data into it. Then I added a custom prop and put This is prop data into it. Then I put --this is

Re: Windows Task Scheduler

2003-08-07 Thread Dave Cragg
At 1:13 pm +0200 6/8/03, [EMAIL PROTECTED] wrote: Dave, Use the start command to run a batch without an interactive window. In the old AT command this was a /i to add interactivity but it's deprecated. Using the start command has quite a few more advantages. Type Start /? in a cmd.exe to see the

Re: Buggy post url cmd - socket stays open

2003-07-24 Thread Dave Cragg
At 8:19 pm -0700 23/7/03, Alain Farmer wrote: Hello Scott and y'all, I have a persistant problem with the post url syntax of MetaCard 2.5, as I did with 2.4 as well. The client is a MetaCard 2.5 stack with the following handler in a button : on mouseUp put http://www.giguere.uqam.ca/; into

Re: Put URL Progress?

2003-07-09 Thread Dave Cragg
On Thursday, June 26, 2003, at 09:29 pm, Scott Rossi wrote: Is there a way to get/monitor the K downloaded when using the method put url DATA1 into url DATA2? I know this possible using libURL and libUrlFtpUpload, but how about put url? Sorry for the delay. I'm out of the country, and I'm

Re: Queuing woes

2003-06-20 Thread Dave Cragg
At 4:37 pm -0400 19/6/03, LK Hagen wrote: I am running MC 2.4, and working on an app that sends off multiple url requests to search engine in succession. If I interrupt the process and start over, I inevitably get a queued message back from urlStatus(). the urlStatus() function currently resides

Re: Players, playing data from RAM

2003-06-12 Thread Dave Cragg
At 2:25 pm +0200 12/6/03, Scott Rossi wrote: On 6/12/03 1:39 PM, Dave Cragg [EMAIL PROTECTED] wrote: My main question is whether there is a way to play audio data through a Player object without linking the Player to an external file or url. I think the answer is no, but I'm really hoping I've

Re: Players, playing data from RAM

2003-06-12 Thread Dave Cragg
At 3:16 pm +0200 12/6/03, Scott Rossi wrote: Come on, Scott. Where are these questions leading? Do you know something? :) Probably into a brick wall. If you're not using QT, I can only guess that whatever player is being used may be taking time to decompress or otherwise decode the MP3 file. I

Re: Players, playing data from RAM

2003-06-12 Thread Dave Cragg
At 10:48 am -0700 12/6/03, Mark Talluto wrote: On Thursday, June 12, 2003, at 05:51 AM, Dave Cragg wrote: It has to be MP3 for the following reasons: File size (weighting = 2) Sound Quality vs compressed au (weighting = 1) Buzzword compliance (weighting = 3) Client says so (weighting = out

Re: FTP File Access Trouble

2003-06-11 Thread Dave Cragg
At 1:27 pm +0200 11/6/03, Scott Rossi wrote: I'm trying to use MC to save a stack to a password protected directory on a server. I created a designated username/password for the directory and I am using the past-offered convention for assembling the destination filepath: put the fileName of the

Re: Checking drives on XP

2003-03-12 Thread Dave Cragg
an earlier post. At 1:05 am + 24/12/02, Dave Cragg wrote: No great help, but a little more information. The system error message you describe doesn't always occur in XP, and it can occur in other Windows versions. I've seen it in NT 4.0, and have had reports of it happening with Win 2000. I first

Re: mc as cgi -- ftp'ing .txt file

2003-03-07 Thread Dave Cragg
At 3:37 pm +0900 7/3/03, kweto wrote: Hello, Odd thing. Something seems to get lost/added to my mc-cgi scripts that are first typed as .txt on Windows and then ftp'ed/emailed to my Apache-Linux server (as .txt) , because I'm finding myself having to retype the whole thing (with gnu emacs) on the

Re: Memory Problems

2003-02-20 Thread Dave Cragg
At 12:14 pm -0800 20/2/03, Ray Horsley wrote: Thank you xbury and Pierre, I appreciate the suggestions, however, I've opened all 36 stacks I'm using for testing, set the Destroy Stack on Close and the Destroy Window on Close to true, and I also set the Always Buffer to false for all of them.

Re: Manage a Download

2003-02-06 Thread Dave Cragg
At 11:56 am -0800 5/2/03, Scott Rossi wrote: How can one pause and resume a file download? For example: put http://www.server.com/special_file.jpg; into tFile put url (binfile: tFile) into url MyDrive/Folder/MyJpeg.jpg I understand you need to keep track of what's been downloaded, but how do

Re: Norton Internet Security (NIS) and Post failure

2003-02-06 Thread Dave Cragg
At 12:06 am -0500 7/2/03, Tariel Gogoberidze wrote: This problem was already mentioned either on this or Rev list by Rich Herz There are problems with MC access to internet with Norton Internet Security (NIS) installed on Win XP. NIS must be uninstalled, not merely turned off. -- NIS on Win

Re: POST Command

2003-01-31 Thread Dave Cragg
At 11:42 am -0500 31/1/03, Gregory Lypny wrote: Hi Dave, Thanks for responding. Yes, I have checked the result function after the post, and it is always empty. If I omit the CDML tag -Max=All from my post, I immediately get the default 25 records returned. And curiously, when I transfer the

Re: re. AOL FTP

2003-01-24 Thread Dave Cragg
At 1:58 pm -0800 21/1/03, Richard Gaskin wrote: Ian Gordon wrote: put ftp://; urlEncode(tUsername) : tPass @ tadd tpath into ftpPath put url (binfile: SrcFilename) into tData libUrlFtpUpload tData, ftpPath The specs I found online suggested encoding the user name and/or password,

RE: Chinese puzzle

2003-01-09 Thread Dave Cragg
At 1:02 pm +0100 8/1/03, [EMAIL PROTECTED] wrote: not that Im chinese or use such a system but... have you tried setting the text of the field as htmltext or rtf? Ultimately there's also the unicodetext, unidecode/uniencode functions that might help... At the moment, the problem is in 2.4.3,

Re: darwin mc?

2003-01-09 Thread Dave Cragg
At 11:09 am -0500 8/1/03, Richard MacLemale wrote: It's the metacard engine for Darwin. You can slap it into your CGI-EXECUTABLES folder and then write MetaTalk scripts to do cool CGI stuff. Changing topic slightly... I've seen a number of recommendations recently to put the mc cgi engine

Chinese puzzle

2003-01-08 Thread Dave Cragg
Hi My problem is not how to render Chinese text, but how not to. I received the report from a user of Chinese Windows, but can reproduce it here on Win XP by setting Language for non-Unicode programs to Chinese (under the Advanced tab on Regional and Language Options Control Panel). This is

Re: Moving Resources (LibURL)

2002-12-23 Thread Dave Cragg
At 9:30 pm -0500 22/12/02, John Kiltinen wrote: snip The problem is that in the conversion to the new version of MetaCard, as I understand it, is that the handling of Internet functionality has been taken over by the libURL system. In order to incorporate this funcionality into my program, I

Re: Checking for media in drives

2002-12-23 Thread Dave Cragg
At 7:40 pm -0500 23/12/02, Braintree Athletics wrote: Putting the drives or the volumes will give you a list of available drives with media in MacOS. In win95, 98 and XP you get a list of all mechanically attached equipment. If you then do a If there is a:/mydisk/myfolder then ... line of

Re: getting into the url cache

2002-12-12 Thread Dave Cragg
At 10:21 am -0800 12/12/02, Richard Gaskin wrote: We can download stacks easily using the load command, followed by a go url command once the file is cached. However, if we want to transfer gzipped stacks we need some way to run the url cache through the decompress function. How can we accss

Re: getting into the url cache

2002-12-12 Thread Dave Cragg
At 10:53 am -0800 12/12/02, Richard Gaskin wrote: Dave Cragg wrote: How can we accss the cache to alter it before using the go url command? go stack decompress(url http://whatever.com/whatever.gz;) How can that be used with the load command? First: load url http://whatever.com

Re: getting into the url cache

2002-12-12 Thread Dave Cragg
At 3:47 pm -0800 12/12/02, Richard Gaskin wrote: First: load url http://whatever.com/whatever.gz; ##now in cache then later: go stack decompress(url http://whatever.com/whatever.gz;) ##will take it from the cache I don't think so. Here I get a not a stack error, which seems logical

Re: Buttons tool creates instead of selects/keyboard shortcuts

2002-11-25 Thread Dave Cragg
At 9:59 am +1100 25/11/02, Emery Schubert wrote: In MC 2.4 when I select the button tool to edit a button my first click seems to create a new button instead of selecting the button I clicked. I have tried first clicking at different regions of the button, and sometimes the problem doesn't

Re: Weird URL thing

2002-10-31 Thread Dave Cragg
At 12:01 pm -0500 30/10/02, Gregory Lypny wrote: It works fine when I test it on localhost using the MC post command as username:password@localhost/path/FMPro?-db=dbName.fp5-lay=layoutName-format=fileName.txt-findAll and the container it returns all of the records I want. But when I test it

Re: Weird URL thing

2002-10-31 Thread Dave Cragg
At 4:05 pm -0500 31/10/02, Gregory Lypny wrote: Hi Dave, Thanks for responding. The result is always empty and so is the container it. All of the information about the local host is identical to the remote host, even the port number. I have a guess about the source of the problem which I'm

Re: socketTimeoutInterval is NOT for connecting

2002-10-29 Thread Dave Cragg
At 5:19 pm -0800 28/10/02, RCS wrote: I use 'socketTimeoutInterval' quite often...but that is for reading and writing to a socket that is already open. I am looking for a timeout setting for 'connecting' to a socket. If I use 'open socket' to connect to a device that is either offline (or

Re: newGraphic problem

2002-09-10 Thread Dave Cragg
On Tuesday, September 10, 2002, at 12:08 AM, Karl Becker wrote: I'm using 2.4.3. Maybe I explained this wrong. I want it to work only on the graphic, not on the rect of the graphic. I'm calling the function: within( grc id drawnID, bufLoc ) --actual syntax and it is returning true,

Re: More CGI Stuff

2002-09-01 Thread Dave Cragg
At 12:15 am +0300 31/8/02, Ruslan Zasukhin wrote: on 8/31/02 0:04, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: Correct. 2.4.2 is the last version with a CFM-based Carbon version. Okay, I ask because for MC Classic we have use XFCN MC Carbon have use CODE resource MC Mach-o

Re: Progress During Downloads

2002-08-28 Thread Dave Cragg
downloads/uploads. More information is at the following url: http://www.runrev.com/revolution/developers/interimreleases/liburl/releases.shtml Cheers Dave Cragg ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo

Re: Mixed results with CGI

2002-08-25 Thread Dave Cragg
At 10:56 pm -0700 24/8/02, Richard Gaskin wrote: With this script on the server: #!mc on startup if $REQUEST_METHOD is POST then read from stdin until empty put it into buffer put Content-Type: text/plain cr put Content-Length: the length of buffer cr cr put

Re: Mixed results with CGI

2002-08-25 Thread Dave Cragg
At 2:33 am -0700 25/8/02, Richard Gaskin wrote: To check if the problem is at the client or server end, you should check the result of the post statement. post tData to url http://www.fourthworld.net/cgi-bin/t.mt; if the result is empty then put it into fld r else answer the result

Re: A few questions on multi-platform MetaCarding

2002-08-22 Thread Dave Cragg
At 5:17 pm -0700 21/8/02, Richard Gaskin wrote: LiangTyan Fui wrote: Based on what I've observed from the list, the following is what I am using now for browser handling: on launchBrowser theURL switch the platform case MacOS put open

libUrl updates

2002-08-13 Thread Dave Cragg
libUrl use the conventional LIST command (the default) which for most servers returns the conventional Unix-style directory listings. Or you can switch to the NLST comand which returns a list of file names only. Details of these features are on the website. Cheers Dave Cragg

Re: Directory listing off server

2002-08-02 Thread Dave Cragg
At 12:25 am -0400 2/8/02, Simon Lord wrote: Andu seemed to have this figured out in his FTP sample stack. But I'm trying to stick to libUrl seeing as it's working out for me nicely thanks mostly to the help I've been receiving here. Currently I'm trying to get a listing of filenames in a

  1   2   >