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 ther

Testing for existence of a file

2000-07-24 Thread Sivakatirswami
OK now that we are learning to write preferences files. . . how to test for their existence? exists url "file://mcPrefs/proxyPrefs.txt" 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

Preferences--Where to Locate

2000-07-24 Thread Sivakatirswami
on 7/24/00 2:46 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: > On a Mac, you should be writing preference files to the "Preferences" > folder in the system folder. You may need to use an external command to > have a bullet-proof method of getting the name of the system folder, > because hard

Re: Re a little mention...

2000-07-24 Thread andu
>Peter Reid at wrote: > >> 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 dev

Re: Re a little mention...

2000-07-24 Thread Richard Gaskin
Peter Reid at wrote: > 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. A $10k facelift to MC would save more than

Re: Writing Files to Disk

2000-07-24 Thread Sivakatirswami
on 7/23/00 8:10 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: > I don't understand how the above can work: don't you need a "/" before the > "proxyPrefs.txt"? Yes you are right. . ."/proxyPrefs.txt" is needed. >> on mouseUp >> put the directory & "/data/proxyPrefs.txt" into tPath >> put tPath

Re: a little mention...

2000-07-24 Thread Kevin Miller
On 25/7/00 12:31 am, Peter Reid <[EMAIL PROTECTED]> wrote: >> (BTW, I did briefly mention Revolution, after checking public >> disclosure dates with Kevin from CrossWorlds, in a sidebar in a >> recent authoring tool review. The times they are a-changin'!) > > > I now stand back and await the re

Re: Writing Files to Disk

2000-07-24 Thread Steven D'Aprano
Sivakatirswami wrote: > on mouseUp > put the directory & "proxyPrefs.txt" into tPath > put tPath into msg > put "204.148.111.2" & ":"& "8080" into url ("file:"&tPath) > end mouseUp > > The above works It shouldn't. The url should be ("file://" & tPath) - note the double slashes. But even

Re: Re a little mention...

2000-07-24 Thread Peter Reid
>Just thought that list members (and maybe Kevin Miller, particularly) might >like to know that in a marginal note within a review of Katabounga, under >"Authoring alternatives", MacUser (do you get that in the US?) said: > >"(Director blah blah, Supercard blah blah, RealBASIC blah...Alternatively

Re: Re a little mention...

2000-07-24 Thread andu
>Just thought that list members (and maybe Kevin Miller, particularly) might >like to know that in a marginal note within a review of Katabounga, under >"Authoring alternatives", MacUser (do you get that in the US?) said: >"(Director blah blah, Supercard blah blah, RealBASIC blah...Alternati

Re a little mention...

2000-07-24 Thread DVGlasgow
Just thought that list members (and maybe Kevin Miller, particularly) might like to know that in a marginal note within a review of Katabounga, under "Authoring alternatives", MacUser (do you get that in the US?) said: "(Director blah blah, Supercard blah blah, RealBASIC blah...Alternatively,

Re: There is no background script: card script come first...

2000-07-24 Thread Jacqueline Landman Gay
David Bovill wrote: > > Thanks Jacqueline, I missed this in the docs... Don't feel bad -- I had to search for a long time just to find the quote in order to post it. It is buried in the Concepts stack. I knew I'd seen it somewhere, but couldn't recall where. It took me a while to finally locate

Re: There is no background script: card script come first...

2000-07-24 Thread David Bovill
Thanks Jacqueline, I missed this in the docs... So it seems the position of the card script in the hierarchy depends on how the card script is called. I guess this is how it needs to be, if not conceptually a little confusing. I'll check it out. > From: Jacqueline Landman Gay <[EMAIL PROTECTED]>

Binary files/data

2000-07-24 Thread James Parker
What is the trick to working with binary data in MetaCard? It's easy enough to open a binary file and read in the data and then open another binary file for write to write out the data but how do you manipulate the data once you've read it in? Let's say I want to bitAnd every byte with 254 or

RE: putting a stack on a homepage

2000-07-24 Thread Blair Moxon
Wow...this is news to me. Couldn't this kind of information be included in the help file? I poked around with MC as a helper app some time ago but gave up as I couldn't get it configured properly. Could someone (Kevin or Scott) please provide a response to Nicolas's question below. I hate to so