Re: OSX resource folder
Technically, the "standalone" in MacOS X is a folder full of files, including the engine, resources, etc. It's almost like you've peeled a fruit and gotten a good look inside. When you say "you put your standalone in that folder", you shouldn't need to do that... when you build for OS X, the engine inside the Contents/MacOS folder called "MetaCardCarbonMach-O" *IS* your standalone. No problem in putting your extra stacks in there (or in any folder inside Contents; OS X is pretty forgiving). Ken Ray Not having OSX, only attempting to develop for it (to the consternation of many here), the only file created when I build for OSX is a standalone file of my app. No folders, no Mach file, nada. I am building these things from scratch. Taking pieces from Metacard's own OSX folder, changing what needs to be changed, and inserting into my created OSX folders. No files outside of the app are created anywhere on my hard drive. That's why I had no idea they existed initially. I assumed that the standalone builder would do what needed to be done. The program actually works on OSX without any of these files. But has a few anomolies regarding icons and such. I intend to remedy this. Good news is, I only have to go thru this process once. From here forward, I will have a recipe to follow for future apps, and will add this info to the article for others who have not yet purchased OSX but would like to develop for it. Just wait til I tackle Windoze :-) -- --Shareware Games for the Mac-- http://www.gypsyware.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Hiding the Dock
Is it possible to hide the Dock when launching a MetaCard stack? I don't see a specific command to do this, but you can use the key combination command-option-D, and that works. So is there a way to cheat and issue that key combination without telling the user to do it? -- :) Richard MacLemale Network Administrator J. W. Mitchell High School ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: OSX resource folder
Shari, The engine file in Contents/MacOS is needed (it's the engine for your standalone), but I've sometimes found that there is a full MetaCard app instance just inside the Contents folder that's not needed for OS X. It seems like it shows up when you build another standalone on top of the first one. Interestingly enough, there is the "MetaCardCarbonMach-O" file (note that the last character here is the capital leter "o") in Contents/MacOS that you can change the name of (so long as you change it in the info.pList file as well), and the MetaCardCarbonMach-0.rsrc file (note the last character before the .rsrc is a zero, not a capital "o") - which you should leave alone. Technically, the "standalone" in MacOS X is a folder full of files, including the engine, resources, etc. It's almost like you've peeled a fruit and gotten a good look inside. When you say "you put your standalone in that folder", you shouldn't need to do that... when you build for OS X, the engine inside the Contents/MacOS folder called "MetaCardCarbonMach-O" *IS* your standalone. No problem in putting your extra stacks in there (or in any folder inside Contents; OS X is pretty forgiving). Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ - Original Message - From: "Shari" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 13, 2002 4:31 PM Subject: Re: OSX resource folder > >Don't touch the MetaCard CarbonMach-O.rsrc file! I have found that changing > >its name in any way has unpredictable results (it invalidated a custom > >AppleScript suite I'd developed until I changed the name back). Your app > >will automatically use it, as the MetaCard engine (which you CAN rename, > >which is in the Contents/MacOS folder) uses the resources in the .rsrc file > >automatically. Other than that, everything look OK from here. > > Ooooh, so that MetaCardCarbonMach-O file in the MacOS folder needs to > be there? I thought the Metacard engine was built right into the > standalone itself? This file adds an additional 2.1 MB on top of > saving the app as a standalone. Big overhead! > > The stack was 4.4 MB > The standalone is 6.4 MB > That MetaCardCarbonMach-O file (copied from the Metacard application > MacOS folder) is 2.1 MB > > I had taken it out and put my standalone and associated files in that folder. > > Ouch! > > -- > --Shareware Games for the Mac-- > http://www.gypsyware.com > ___ > metacard mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/metacard > ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
RE: the large file challenge
| Actually, this says more about your specific implementation of the algorithm | and/or the quality of your compiler than it does about the relative speed | merits of any given language. As in your bash example, the bash shell | actually calls functions from libraries of well written highly optimized C | code. So, all things being equal, straight C code could never be slower than | a bash shell script. | | MC, as well, is also coded in C, so in many interpreted languages (bash, | perl, MC) while the script itself is interpreted, much of the real work is | done by compiled code. Yes, I agree. ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: MetaCard 2.5 alpha 8
Dominique wrote: > Anyway, when you set the contents of a field to the rtftext (or the > htmltext) of another field, it is possible to go back, i.e. from the > coded text to the "normal" text? get the text of fld 1 -- Richard Gaskin Fourth World Media Corporation 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.5 alpha 8
> MetaCard 2.5 alpha-test 8 is now available in the directory: > ftp://ftp.metacard.com/MetaCard/2.5/ Got it. Seems unstable on my PM 7600 / Mac OS 8.6 system ;-( (error 2, then error 11) And one freeze. I tried the "rtftext" function. Anyway, when you set the contents of a field to the rtftext (or the htmltext) of another field, it is possible to go back, i.e. from the coded text to the "normal" text? -- Regards, (-8 Dominique ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: OSX resource folder
Don't touch the MetaCard CarbonMach-O.rsrc file! I have found that changing its name in any way has unpredictable results (it invalidated a custom AppleScript suite I'd developed until I changed the name back). Your app will automatically use it, as the MetaCard engine (which you CAN rename, which is in the Contents/MacOS folder) uses the resources in the .rsrc file automatically. Other than that, everything look OK from here. Ooooh, so that MetaCardCarbonMach-O file in the MacOS folder needs to be there? I thought the Metacard engine was built right into the standalone itself? This file adds an additional 2.1 MB on top of saving the app as a standalone. Big overhead! The stack was 4.4 MB The standalone is 6.4 MB That MetaCardCarbonMach-O file (copied from the Metacard application MacOS folder) is 2.1 MB I had taken it out and put my standalone and associated files in that folder. Ouch! -- --Shareware Games for the Mac-- http://www.gypsyware.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: OSX resource folder
Shari, > QUESTION: What is this "MetacardCarbonMach-0.rsrc" file, which has > no resource fork on Mac classic, but which has the resource icon? > And how do I create this file configured to my app? Don't touch the MetaCard CarbonMach-O.rsrc file! I have found that changing its name in any way has unpredictable results (it invalidated a custom AppleScript suite I'd developed until I changed the name back). Your app will automatically use it, as the MetaCard engine (which you CAN rename, which is in the Contents/MacOS folder) uses the resources in the .rsrc file automatically. Other than that, everything look OK from here. Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
OSX resource folder
OSX build: I've created the info.plist file and PkgInfo file (the latter being simply APPL and my creator code). Main folder name: Blackjack Gold OSX Inside main folder: Alias to standalone, Contents folder, Buy Now program Inside Contents folder: Info.plist, PkgInfo, MacOS folder, Resources folder Inside MacOS folder: Blackjack Gold.app, and it's external stack files, data.mc and objects.mc Inside the Resources folder: gold.icns, data.icns (both created with Iconographer for Mac OSX), MetacardCarbonMach-0.rsrc QUESTION: What is this "MetacardCarbonMach-0.rsrc" file, which has no resource fork on Mac classic, but which has the resource icon? And how do I create this file configured to my app? QUESTION: Does anyone find a glitch in this set up? I've dissected several OSX programs to get to the heart of this. If anyone is interested, the info.plist file I created is as follows (much of it came from Metacard's own plist file, which was quite lengthy): CFBundleDevelopmentRegion English CFBundleDocumentTypes CFBundleTypeExtensions mc CFBundleTypeIconFile Data.icns CFBundleTypeName Blackjack Gold File CFBundleTypeOSTypes MSTK CFBundleExecutable Blackjack Gold CFBundleIconFile Gold.icns CFBundleName Blackjack Gold CFBundlePackageType APPL CFBundleSignature bJg3 CFBundleLongVersionString 1.0.0 Blackjack Gold © 2002-2002¬Gypsy King Software/Shari L. Coxford CFBundleShortVersionString 1.0.0 CFBundleVersion 1.0.0 LFPrefersCarbon NSAppleScriptEnabled YES NSHumanReadableCopyright 1.0.0 Blackjack Gold © 2002-2002¬Gypsy King Software/Shari L. Coxford -- --Shareware Games for the Mac-- http://www.gypsyware.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Another round of applause...
I have to mention this again...I am very pleased with the execution speed of the MetaCard engine (on all platforms). And I am soo glad I have this alternative to other languages. I imagine that Scott has to use the 'real' compiling environments that I found to be so inordinate (Code Warrior), so lets have another round of applause... ;-) JR > | >>> So ! MC as far so fast than Pascal ! Is'nt it great ? And, thanks again > | >>> to Scott, for that too ! > | >> > | >> It's enough to make a Java programmer cry. ;) > | > > | > Java ? Help me to remember... Are you speaking, Richard, in about this > | > dead marketed toy that crashes any time he search some more ram to eat ? ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: MetaCard 2.5 alpha 8
On Tuesday, November 12, 2002, at 07:14 PM, Ken Ray wrote: Sorry about that everyone; this was supposed to go to Scott directly. Ok, everyone... Move along... move along... there's nothing to see here... :-) Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ Fine with me. I would like those features as well. :) Best regards, Mark Talluto http://www.canelasoftware.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
MetaCard Control Browser Enhancements
Hi everyone, Im going to start posting enhancements to MC's tools on my web site http://monsieurx.com My first enhancement will be the "Control Browser"... Added features are: - Control filter - find that control in the list by its name - Content and script previews (+ it updates your content or script changes on the fly)... -- Future features: - Colored lines - Editable control properties - Collapsible groups (less mess in the list for stacks with many controls) - Sortable columns (easy... but scripts depend on the position of the control for selections) - Raise and Lower buttons to become less "naive" - will include move to top or bottom too... - bug fix in the control filter -- Please send me your suggestions... Im posting the stack tonite to my website but I can send a preview to people who request it before 16:30 (GMT-2)... Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard