Re: Relative Paths/Default Directory
I guess an obvious feature request for future upgrades would be to allow you to set another property that would be "constrict to relative paths" that, if set to true, would force all file calls to look down from the current document level exactly like HTML. Or maybe that is already doable with existing syntax? If I understand you correctly, it is already doable with existing syntax. To open a file in a folder "myFolder" located in the same directory as your stack (even if your stack is not in the same directory as mc)... if there is a file "./myFolder/"tFile then -- do something end if the "./" simply sets the path to the stack's directory. This is a shorter version of... set the itemDel to "/" put the effective fileName of this stack into tDir delete last item of tDir if there is a file tDir"/myFolder/"tFile then -- do something end if Willing to stand corrected but it works for me, at least. /H Hugh Senior The Flexible Learning Company Consultant Programming Software Solutions Fax/Voice: +44 (0)1483.27 87 27 Email: [EMAIL PROTECTED] Web: www.flexibleLearning.com Archives: http://www.mail-archive.com/metacard%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?
Sivakatirswami wrote: 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? 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? 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. -- Pierre Sahores CRDP de l'academie de Creteil WEB, DB, ASP, VPN, B2B design 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?
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.
Re: Download Self-bootable stacks?
Sivakatirswami wrote: 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? Interesting question! Auto-starting would require either (1) that the stack be aware of its own state upon completion of download, or (2) an external process that detects the new stack's existence and acts upon it. You can do option #2 now, probably in different ways depending on the platform; one way is to have a MC stack that always watches a given directory, and opens whatever appears in there when it sees that it is completely downloaded. Option #1 would require extra magic, I believe. 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? If you don't want a file dialog to appear, you would need to "save this stack as filename" 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. -- Phil Davis days: (503) 986-1215 eves: (503) 557-5656 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.
Sound Memory
When I played sounds of thirty seconds or more on HyperCard I would routinely break them up into many individual files that played one after the other in order to keep from getting out of memory errors. 1. Is this necessary with MetaCard? Is it to safe to play .au files of a minute? several minutes? 2. For Mac/Windows, dos Quicktime audio only tracks make more efficient use of memory than .au files? Thanks, Brian 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: Sound Memory
On Mon, 17 Apr 2000, Brian Thomas wrote: When I played sounds of thirty seconds or more on HyperCard I would routinely break them up into many individual files that played one after the other in order to keep from getting out of memory errors. 1. Is this necessary with MetaCard? Is it to safe to play .au files of a minute? several minutes? Safer than in HyperCard, but still not really safe unless you use a player object instead of the "play" command. 2. For Mac/Windows, dos Quicktime audio only tracks make more efficient use of memory than .au files? No: .au file are almost always going to be smaller than any other format. Then again, that's mostly because they're of pretty poor quality. If you want something better, using one of the audio compression codecs QuickTime supports could give you much better quality with only a modest increase in file size. 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.