Re: (no subject)

2002-01-05 Thread J. Landman Gay
erik hansen wrote: is there a MC equivalent to HC's: Variable Watcher Message Watcher Script Editor can i step, trace, and set debug checkpoints? There is no variable watcher and no message watcher. I've needed these too. The only time you can see those values is when you are

Re: Integrated Development Environment

2002-01-07 Thread J. Landman Gay
Richard Gaskin wrote: There are a lot of tools floating around, although they're a bit spread out and sometimes hard to find. Most of the good ones can be found at RunRev's site, and on http://www.MCTools.org/ There are a few goodies at my FTP site There's also some more at:

Re: ss (searchScript)

2002-01-08 Thread J. Landman Gay
erik hansen wrote: i can't find anything like the HC ss (searchScript) handler to help find expressions like keyboard focus that are not listed in the index. HyperCard's searchscript handler searches scripts, but it sounds like you just want to find text in the reference. Use the Find

Re: why metacard?

2002-01-09 Thread J. Landman Gay
erik hansen wrote: since all of my HC stacks were carefully pruned of thes except where absolutely needed to execute, i wonder whether others went back and did the restoration work before porting scripts to MetaCard? HyperCard scripts execute faster if the thes are left in, so I always

Re: THE number of...

2002-01-13 Thread J. Landman Gay
erik hansen wrote: put tot(it,l) into tot shorter put (the number of lines in it) into tot clearer only thing is, nobody else does this. maybe clearer is better than shorter? Depends. In this case, the clearer method takes less time to execute too, so it's probably better. MC has to get

Re: THE number of...

2002-01-14 Thread J. Landman Gay
erik hansen wrote: a! i just did all thes. That's okay, you had to in order to import into MC. And it makes your HC scripts faster too. MC will accept either length(thisWord) or the length of thisWord but it will not accept length this word -- which I think is what you had originally.

Re: Saving stacks as

2002-01-19 Thread J. Landman Gay
Shari wrote: I always hated that Revolution saved the current stack and CLOSED it, created a new copy and put me working in the copy. Actually, to be fair, HyperCard's menu item says Save a copy -- which means, save a separate copy to disk and stay where you are. Rev's menu item says Save

Re: Launching a URL in OSX is Cake?

2002-01-24 Thread J. Landman Gay
Geoff Canyon wrote: It _is_ slightly more difficult, since you need to watch out for the / character in the legitimate path, which will have been translated to a : You could either escape the : which always gives me a headache, or do a character-by-character switch. I generally go the

Re: Launching a URL in OSX is Cake?

2002-01-25 Thread J. Landman Gay
Scott Rossi wrote: Recently, Geoff Canyon wrote: I like using the ascii for delete as a placeholder, because it works fine and there's no way a user has typed it. You know, that's a good point about not being able to type delete. formFeed is another useful option. Good idea, I

Re: Exemplar: Analogue Clock

2002-02-04 Thread J. Landman Gay
[EMAIL PROTECTED] wrote: Duh, I don't get it. Maybe the problem is that I have AOL -- these emails come through as complete text. There is nothing clickable or draggable in the email letter. In order to go to a link suggested in the email. I have to copy it and paste it into the field up at

Re: Modal windows

2002-02-07 Thread J. Landman Gay
Richard Gaskin wrote: J. Landman Gay wrote: Richard Gaskin wrote: J. Landman Gay wrote: I'm sure I got this to work before, but now it doesn't. Someone remind me how to set up a stack so that it displays with borders but no title bar -- like your generic modal window on a Mac

Re: Modal windows

2002-02-07 Thread J. Landman Gay
J. Landman Gay wrote: Ah -- my mistake: set the decorations of this stack to empty Right, I caught that the first time around. But I've still got a titlebar. Does this really work for you? What else could be interfering? I tried setting the lookandfeel to both macintosh

Re: Modal windows

2002-02-07 Thread J. Landman Gay
Richard Gaskin wrote: The borders are a function of the ThreeD property of the card. The threeD property of the card is true. Still doesn't work. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com

Re: Modal windows

2002-02-07 Thread J. Landman Gay
Ken Ray wrote: OK, Jacque... try this: 1) Set the decorations of the stack to empty 2) Set the showBorders of the card to true 3) set the 3D of the card to false 4) Set the borderWidth of the card to 1 Thanks Ken. If anything would do it, that would. But it doesn't. I started with a new

Re: Modal windows

2002-02-07 Thread J. Landman Gay
Richard Gaskin wrote: J. Landman Gay wrote: Ken Ray wrote: OK, Jacque... try this: 1) Set the decorations of the stack to empty 2) Set the showBorders of the card to true 3) set the 3D of the card to false 4) Set the borderWidth of the card to 1 Thanks Ken. If anything

Re: Modal windows

2002-02-07 Thread J. Landman Gay
Richard Gaskin wrote: Ahmaybe it's a question of what one means by border. In my experience MC only does the Platinum dialogs. Yeah. I guess I'm just an old-style kinda person. :) Actually, I wanted a border to visually set the dialog off from the stack underneath, which is the same

AppleEvents on Windows

2002-02-12 Thread J. Landman Gay
What does one use in place of apple events on Windows machines? -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ metacard mailing list [EMAIL PROTECTED]

Re: AppleEvents on Windows

2002-02-12 Thread J. Landman Gay
andu wrote: J. Landman Gay wrote: What does one use in place of apple events on Windows machines? Orange events ;-). So this is the single exception to the rule that you can't compare apples and oranges? -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software

Re: MC 2.4.2 Feature Wish

2002-02-15 Thread J. Landman Gay
Monte Goulding wrote: Anyone else think it's time to differentiate fld styles like what has been done with buttons? It sounds like what is being discussed isn't exactly a field any more, but more of a table object. I'd like to see that: a new object with its own properties and

Re: MetaCard 2.4.2 beta 3

2002-03-16 Thread J. Landman Gay
Scott Rossi wrote: Excuse me while I do cartwheels down the hallway. You don't have to. Now that we've got angle you can have images do cartwheels down the hallway instead. :) -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software |

Re: MetaCard 2.4.2 beta 3

2002-03-16 Thread J. Landman Gay
From the new Read Me file: This release uses a new Perl-compatible regular expression library. This library includes new support for Perl pattern characters and non-greedy matches. What's this do? How would we use Perl in our scripts? Can anyone give an example of when this feature would be

Re: bad token: theID, iconNum, theVis, etc.

2002-03-18 Thread J. Landman Gay
Richard Gaskin wrote: The jumping script editor scroll is a known bug, addressed in 2.4.2. I was hoping. But I just downloaded 2.4.2b3 the other day and it is still there. Drives me nuts. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software |

Go stack

2002-03-19 Thread J. Landman Gay
I have successfully installed darwin mc in OS X and have the echo.mt script working. Now I'm trying to get an mt script to go to a stack and find some information in it. The script fails at the go command. If I change the script to say there is a stack 'mystack.mc' it returns true, so it knows

Re: Go stack

2002-03-19 Thread J. Landman Gay
andu wrote: J. Landman Gay wrote: But I still can't get a stack to search its own fields. Are field searches a GUI thing that is impossible in an mt script? yes. I see. I would have thought that MC would recognize where the fields were and their text, even if it wasn't bothering

Re: Temporary picts

2002-03-19 Thread J. Landman Gay
Shari wrote: The goal was to play a succession of sounds, while a simple information dialog box opened. This was actually called by a menu choice, so it needed to run on every card. I tried putting a player on just one card and calling to it, but it didn't play unless that card was open.

Re: Go stack

2002-03-19 Thread J. Landman Gay
Phil Davis wrote: BUT: a script CAN use a stack! It can also get stuff from a stack that has not been opened. Thanks. What kind of stuff can it get? -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com

Re: Go Stack

2002-03-19 Thread J. Landman Gay
Richard MacLemale wrote: But I still can't get a stack to search its own fields. Are field searches a GUI thing that is impossible in an mt script? I think that IS the case. So you probably have to work around that by using offset or something else. It would probably be too hard to

Re: Go Stack

2002-03-19 Thread J. Landman Gay
I wrote: I think I went astray because I've done the stack-on-the-web thing in HC and I was looking for similar behavior in MC, but I guess it isn't going to work. Whoa. I accidentally did it -- it does work. :) Very cool. I didn't have all the pieces together exactly right at any given

Re: Go Stack

2002-03-19 Thread J. Landman Gay
Phil Davis wrote: It looks like every reference to an object has to be a long reference. I was incorrectly using short references before. You might be able to set the defaultStack to the target stack and then use short references - but I don't know for sure. Whaddya know. You can. :)

Re: Temporary picts

2002-03-20 Thread J. Landman Gay
Shari wrote: If so, you could try using send in commands to trigger the handler repeatedly. The handler could check to see if the sound was done and if so, start the next one. After an hour of playing with various forms of the send command, I gave up and went back to the long, klutzy

Re: Temporary picts

2002-03-20 Thread J. Landman Gay
Shari wrote: Though I'm wondering how other projects will fare. Remembering a piece of code in Pork Barrel, where I have several soundchannels playing at the same time, each in a repeat loop, while a whole series of visuals and images do things on the screen, while at the same time other

Re: WindowShape

2002-03-20 Thread J. Landman Gay
Scott Rossi wrote: When setting the windowShape of a stack on Windows I tried to do that too, but I don't think I had the right kind of image. How do you make a masked image? I'm not entirely straight on what an alpha mask is. -- Jacqueline Landman Gay | [EMAIL PROTECTED]

Re: WindowShape

2002-03-20 Thread J. Landman Gay
Scott Rossi wrote: Recently, J. Landman Gay wrote: I tried to do that too, but I don't think I had the right kind of image. How do you make a masked image? I'm not entirely straight on what an alpha mask is. Ever create a transparent GIF? That image has a mask that determines which

Re: Temporary picts

2002-03-21 Thread J. Landman Gay
Yates, Glen wrote: Wow, your long version looks like a pain to implement. I came into this thread late so forgive me if this has already been suggested, but have you tried using 'on playStopped' to string your sounds together. I forgot all about playstopped. I think I like your suggestion

Windowshape

2002-03-21 Thread J. Landman Gay
The new windowshape property is really, really super cool. I'm impressed. I did run into a problem though and would like verification before I bug report it. I imported an image, set the windowshape, added a card script, and saved the stack. No problem. Tinkered some more, saved repeatedly. No

Re: Building standalones

2002-03-21 Thread J. Landman Gay
Shari wrote: As this is for compiling on Mac, OSX and Windows, a resource fork is out. You'll need three different standalones, one for each platform. Since the Mac versions will only run on Macs, having a resource fork is not a problem. MetaCard will always create a resource fork for a Mac

More mt stuff

2002-03-22 Thread J. Landman Gay
I put a copy of MetaCard/Linnux in my web site cgi-bin directory along with the echo.mt script (server is running Red Hat.) I am getting this error: Premature end of script headers: /usr/local/apache/cgi-bin/echo.mt mc: error in loading shared libraries: libXext.so.6: cannot open shared object

Re: More mt stuff

2002-03-22 Thread J. Landman Gay
andu wrote: There are only 2 things you can do: ask the provider to create 2 dummy files in /usr/lib - libXext.so.6and libX11.so.6 since MC only checks for their presence, or try an other provider. Thanks Andu, you've saved me a lot of headache. I'll check with my provider. They are usually

Re: Dumb Question About Variables

2002-03-22 Thread J. Landman Gay
Gregory Lypny wrote: Hi again everyone, I can't seem to create a series of variables whose names are identical except for a numerical prefix, such as H1, H2, H3, ... (and this is not an associate array). I tried repeat with i=1 to 10 Put

Re: Multiple Platform Release info

2002-03-26 Thread J. Landman Gay
Shari wrote: Saving as... into a separate file. I don't use this option. I want to save as as a new, separate file, not close my current file and end up working in the new file. Put this script somewhere in the hierarchy (your Home stack, or a script you have inserted, or in a stack put in

Re: calling function in msg

2002-03-26 Thread J. Landman Gay
Scott Rossi wrote: MetaCard won't evaluate any custom functions from the message box, only the built-in functions. It took me a while to figure that out too. Actually, it can. Entering the name of the function in the message box will return any values within the message box itself;

Re: Multiple Platform Release info

2002-03-26 Thread J. Landman Gay
Shari wrote: Very nice! I will use this well :-) Can I be a dream-something too now? ;) -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ metacard mailing list [EMAIL

Re: calling function in msg

2002-04-01 Thread J. Landman Gay
Richard Herz wrote: You can access functions normally from the message box if you first start using the stack containing the function definitions. Even if they are in the topstack you are working on? That's usually the case when I try to test a function I've just written. -- Jacqueline

Re: Convert T/F

2002-04-02 Thread J. Landman Gay
Scott Rossi wrote: Can true and false be converted into their numeric equivalents (1/0)? The perfect chance to post one of my favorite handlers. Wish I'd written it: function whichOne var,fld1,fld2 -- from a handler by Tony Root -- Handles a case where you need to return one value if your

Re: QT Effects

2002-04-03 Thread J. Landman Gay
Klaus Major wrote: One has to check all the available effects, choose one or more, store it/them (see below) and use it later in a script... Hm. That's what I did yesterday and it didn't work. I did it again today and it does work. So I must have done something stupid late at night. Wouldn't

Re: QT Effects

2002-04-03 Thread J. Landman Gay
[EMAIL PROTECTED] wrote: Try this (which knowledge of one or two already helped me find): answer effect answer (base64Decode(char 82 to 89 of it)) You 'bout one smart cookie. :) I can see a couple of hundred people pasting this into their script libraries -- it works great. In the two

Re: QT Effects

2002-04-03 Thread J. Landman Gay
[EMAIL PROTECTED] wrote: This one will find the difference areas between two effect descriptions- this nails down about where you can find the actual parameter values. This is useful if you choose the same effect twice with the same parameters, but choose two different values. Presumably you

Re: Great day!

2002-04-05 Thread J. Landman Gay
Shari wrote: Just wanted to take the time to say that I've really fallen in love with Metacard. The many features that take it way beyond Hypercard... and allow me to do things in a wondrous new way. I think that's pretty much the case with everyone who gives it a fair shot. The same thing

Re: Memory usage

2002-04-05 Thread J. Landman Gay
Shari wrote: I set the memory lower than I knew the stack normally used, and lo and behold, the visual effects were fixed. Can someone explain this one logically? I am utterly baffled. MetaCard doesn't use memory the way most MacOS 9 apps do, it uses memory the way other operating systems

Re: Saving stacks

2002-04-05 Thread J. Landman Gay
Shari wrote: Can an embedded stack in a standalone save to itself? Or does the stack need to be OUTSIDE of the main stack... ie, not embedded? The stack needs to be outside in its own file on disk, independent of the main stack. All substacks are saved into the same file on disk, and so

Re: Quit

2002-04-07 Thread J. Landman Gay
Shari wrote: The quit command is hanging in my standalones. I have a menu item Quit and a button Quit. Both have the same script: case Quit global saveMe save stack saveMe # an external stack, not embedded, used to save the data changes in the standalone quit break It just

mt echo errors

2002-04-07 Thread J. Landman Gay
I'm back to playing with mt scripts. I am now getting a premature end of script headers error when I try to run the echo.mt script. I also see (8)Exec format error at the same time. Any ideas what would cause that? I made sure line endings were Unix style and permissions were 755. -- Jacqueline

Embedding mt scripts

2002-04-20 Thread J. Landman Gay
Is there a way to embed an mt script into a web page the way JavaScript does it? I'd like to include the output from an mt scipt as an insertion into an html document, without having to rebuild the entire document in the mt script -- in other words, have the browser handle it. Can that be

Re: Embedding mt scripts

2002-04-20 Thread J. Landman Gay
On 4/20/02 6:12 PM, Pierre Sahores wrote: You will just have to declare the .mt extention in the httpd config file and to rename the .html files you want to have server-side parsed by mc as .mt. This way will allow you to do in using mc far all what can be done in using

Re: Embedding mt scripts

2002-04-21 Thread J. Landman Gay
On 4/21/02 3:39 AM, Pierre Sahores wrote: Is MC available and running on your ISP's server ? If no, just switch to PHP4 : it's a very usefull and elegant web-dedicaced scripting language. If yes, it must be a way to have .mt html files fine parsable without modifiing the httpd.conf file,

Re: Reading files backwards

2002-04-22 Thread J. Landman Gay
open file blabla for reading Should be: open file blabla for read -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ metacard mailing list [EMAIL PROTECTED]

Re: Dragging Lines in a Field

2002-04-23 Thread J. Landman Gay
Tariel Gogoberidze [EMAIL PROTECTED] wrote: If I would use MouseMove I still need to put condition if the mouse is Down and we are back to square one. I am writing a web page that explains how to avoid that, and how to use the moveMove message instead of a repeat loop. It isn't linked

Re: Dragging Lines in a Field

2002-04-23 Thread J. Landman Gay
On 4/23/02 4:40 PM, erik hansen wrote: this is very useful. if your tutotials were on a shareware basis, it would let you put more time into filling the need for more documentation. You know, I have released only one shareware product ever, maybe 12-14 years ago. It received about a thousand

Re: Dragging Lines in a Field

2002-04-24 Thread J. Landman Gay
On 4/24/02 1:48 PM, [EMAIL PROTECTED] wrote: Thank you very much for your script sample. I implemented it with one minor change I needed. When I tried your code whenever I tried dragging a button on my card a different object (part of a group) would move instead. I had to change your code

Embedded mt scripts [WAS Re: Text editors]

2002-04-29 Thread J. Landman Gay
On 4/28/02 10:52 PM, Scott Rossi wrote: So far, MC REV do not run within Web browsers. You can build Web enabled stacks and use MC/REV as a helper application for a browser, but you can't run MC/REV embedded within a browser. I have (maybe) discovered a work-around for this problem. Some

Re: Embedded mt scripts [WAS Re: Text editors]

2002-04-29 Thread J. Landman Gay
On 4/29/02 2:10 PM, andu wrote: I'm a little confused about the use of embedded and would be nice if you could do a demo web page with the above. From what I understand, the display doesn't go beyond the html possibilities unlike a java implementation which would allow for custom

Re: start/play

2002-04-30 Thread J. Landman Gay
erik hansen [EMAIL PROTECTED] wrote: is there a way to program individual musical notes in MC? You must have missed the discussion with Scott about this on the HyperCard list -- the short answer is, no. The long answer is: it could be done if someone were willing to learn the MIDI file

Re: Embedded mt scripts [WAS Re: Text editors]

2002-05-01 Thread J. Landman Gay
On 5/1/02 1:39 PM, jbv wrote: IMHO turning Javascript off is not a really good idea, because it also turns off a wide range of possibilities for dynamic content in HTML pages. Yes, but turning it off prevents popup and popunder ad windows from displaying. I hate those. Now that I have

Re: Synchronous FTP upload?

2002-06-25 Thread J. Landman Gay
On 6/25/02 5:30 AM, Richard Gaskin wrote: My understanding of wait for messages was the opposite, that it was designed to allow asynchronous behavior. Is there a way to use it to suspend script execution and event messages while waiting for an upload to complete? Would this work: repeat

Re: Saving a standalone

2002-06-27 Thread J. Landman Gay
On 6/27/02 7:02 PM, Shari wrote: But if you are creating a standalone to distribute, a password is a bad thing. The objective is to create a program, to distribute, but have whatever data you want hidden to remain that way even if someone tries to get into it. It is easier to break

Re: WinXP file paths

2002-07-07 Thread J. Landman Gay
On 7/7/02 3:33 PM, Ken Ray wrote: Jacque, I'm running XP, and the file paths don't seem to be any different than Win2K (my previous OS). What are you trying to locate on disk? Unfortunately, I'm trying to do long-distance debugging on a stack I haven't seen yet. The script just opens a

OS X and PPC MC

2002-07-18 Thread J. Landman Gay
I'm unable to get the PPC versions of MC 2.4.2 and 2.4.3g to run in the Classic layer in MacOS 10.1.5. Can anyone else, or is it just me? MC 2.3.2 runs okay in Classic. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com

Re: Darwin question

2002-07-24 Thread J. Landman Gay
On 7/24/02 8:28 PM, Richard MacLemale wrote: I'm trying to write a darwin mt script that will write info to a field in a stack. Only it's not working. I can read info from a stack, but can't write to it. I was trying to do something similar a while back -- use find to search stack fields

Re: Spell Checker

2002-08-02 Thread J. Landman Gay
On 8/2/02 4:38 PM, Ray Horsley wrote: I've written a spell checker with all the things one would expect to find. It has just one problem: I can't highlight a misspelled word while bringing up a second stack as a modal You could set the backcolor of the text chunk. It looks like hiliting

Re: hide/show menu buttons

2002-08-30 Thread J. Landman Gay
On 8/30/02 3:12 PM, Shari wrote: I want to hide/show menu buttons when entering a card. Is this just so that you can change the menus on the fly? I haven't tested either one, but I can think of a couple of things to try. First you could try just re-naming the button rather than hiding it,

Re: Hide/Show menu buttons

2002-08-31 Thread J. Landman Gay
On 8/31/02 9:57 AM, Shari wrote: Hi Shari: Try making different manubar sets and select the one you want on preOpenCard. Very high maintenance. Actually, after I posted, I noticed you only need to change the menus when a card opens. In that case, I think the alternate menu groups idea

Re: Hide/Show menu buttons

2002-08-31 Thread J. Landman Gay
On 8/31/02 9:57 AM, Shari wrote: I had considered having a menubar for each card for this project, but as several of the same menu buttons are on each card, one change would mean many changes. I forgot to address this point. The buttons in each menu group which are duplicated across

Re: Update Mac menubar

2002-08-31 Thread J. Landman Gay
On 8/31/02 3:18 PM, Shari wrote: I put a handler in called updateMenus to run when moving to a card that changes the menubar. The gist of it is to suspend the stack, and then resume it. And it does work. The menubar does update. No need to do it that way though. I just set up a test:

Re: Update Mac menubar

2002-08-31 Thread J. Landman Gay
On 8/31/02 3:18 PM, Shari wrote: I put a handler in called updateMenus to run when moving to a card that changes the menubar. I spoke too soon again. A better way is set the menubar of this stack to blah instead of using defaultmenubar. While setting the default menubar does work, it

Re: Mices scrollwheel

2002-09-04 Thread J. Landman Gay
On 9/4/02 2:26 PM, Ray G. Miller wrote: Doesn't do it. Not in MOS 9.2. Is this a feature of MOS X? The scrollWheel works fine in all other apps under 9.2 tho. Yeah, OS X only. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software |

Re: OT - Hypercard snd resources...

2002-09-05 Thread J. Landman Gay
On 9/5/02 9:05 PM, [EMAIL PROTECTED] wrote: I'm trying to access snd files (installed into stacks with ResEdit on a Mac) randomly. I tried accessing them using the snd id numbers but it doesn't seem to like that. Is there any way to access snd files other than to refer to them by the

Re: Un-American characters (was: Accented Characters on PlAtf0rMs?)

2002-09-10 Thread J. Landman Gay
On 9/10/02 3:56 PM, Wilhelm Sanke wrote: The special German characters for a, o, and u with dots on top of them - the so-called Umlaute - are preserved in texts and as names of objects when the stacks are transferred from the Mac platform to Windows (of course we have learned that you should

Re: Stack Directory?

2002-09-12 Thread J. Landman Gay
On 9/11/02 8:19 PM, Chipp Walters wrote: Why do you use effective filename instead of just filename?? If the stack is a substack, it doesn't have a filename of its own and the filename returns empty. The effective filename returns the path of any stack, even a substack, where the name

Re: Option buttons

2002-09-19 Thread J. Landman Gay
On 9/19/02 9:40 AM, Shari wrote: These are supposed to be simple, white, Option style buttons. This shouldn't be a big hairy thing! You may need to set the colors of this stack to the colors of stack home. You only need to do this once during development. When you save a stack for the

Re: What makes a good programmer?

2002-09-19 Thread J. Landman Gay
On 9/19/02 1:20 PM, Shari wrote: LOTS of testing. I tested this program extensively, every single link, every menu item, every button, every combination of options, before compiling. Then, I compiled it. And started testing ALL OVER AGAIN. You can usually skip the compiling part and

Re: Update Mac menubar fails in standalone

2002-09-20 Thread J. Landman Gay
Shari wrote: The update mac menubar handler I posted here recently fails in a standalone. You cannot do anything in a standalone that tampers with a script. Standalones are just stacks with embedded starter kits, and so are limited to 10-line scripts. Pre-existing longer scripts are fine,

Re: Compiling for Windows

2002-09-28 Thread J. Landman Gay
On 9/28/02 12:24 PM, Ray Horsley wrote: I've encountered two issues in making my Windows App. The first one is doing something about Window's propensity to open a second copy of my App if it's double-clicked again after a first copy is already running (instead of the Mac's more reasonable

Re: Converting Hypercard language

2002-09-29 Thread J. Landman Gay
On 9/29/02 3:19 PM, Wilhelm Sanke wrote: Is there a possibility to convert the pasted card to get rid of the Hypertalk terminology (apart from rebuilding the card from scratch by creating a new card with new controls and new scripts)? Set the hcaddressing of this stack to false --

Re: Compiling for Windows

2002-09-29 Thread J. Landman Gay
On 9/29/02 3:07 PM, Scott Raney wrote: I think what is required here is an attitude adjustment rather than some sort of engineering change. Repeat after me: Windows is not MacOS. Starting up multiple copies of an app is the the way it's *supposed* to work if that's what the user wants. If

Re: Window decorations in OSX

2002-10-25 Thread J. Landman Gay
On 10/25/02 10:07 AM, Shari wrote: I've checked things out with the different lookAndFeel preferences settings in general, to see how things look on other platforms, and I've not seen these colored jelly bean buttons. Do they exist in Metacard? And if not, is there any way to create them?

Re: can't find object

2002-10-25 Thread J. Landman Gay
On 10/25/02 5:37 PM, erik hansen wrote: stack metacard menu bar contains substacks like control browser script debugger. exists(stack script debugger) returns true put the rect of (stack script debugger) returns can't find object is there a way to position open these substacks in a startup

Aliases in cgis

2002-10-26 Thread J. Landman Gay
I have a MetaCard cgi script on my local network (OS X) that puts a stack in use. It works fine as long as the stack is in the CGI-Executables folder. What I want to do is keep the stack outside the cgi folder but still readable by the cgi script, so that the data returned by the script is

Re: Aliases in cgis

2002-10-26 Thread J. Landman Gay
On 10/26/02 4:55 PM, andu wrote: Not sure what server you are using but for Apache there is a config file directive: Yes, Apache. ScriptAlias /cgi-bin/ /my-directory/cgi-bin/ Directory /my-directory/cgi-bin AllowOverride None Options None Order allow,deny Allow

Re: Aliases in cgis

2002-10-26 Thread J. Landman Gay
On 10/26/02 4:57 PM, Pierre Sahores wrote: Did you try in inverting the problem, by letting the stack in the cgi folder and putting an alias of it in your user folder ? I didn't try it, though I thought of it. But I usually only back up my user folder, so I like to keep all my files in there

Re: Aliases in cgis

2002-10-26 Thread J. Landman Gay
On 10/26/02 6:09 PM, andu wrote: So you want to have the stack at hand not the cgi script? Make sure you have the correct path to the stack and it should work. The only other thing that comes to mind is, you might need an engine where the stack is... Right, I want the script in the cgi folder

Re: Aliases in cgis

2002-10-26 Thread J. Landman Gay
On 10/26/02 6:29 PM, J. Landman Gay wrote: On 10/26/02 6:09 PM, andu wrote: So you want to have the stack at hand not the cgi script? Make sure you have the correct path to the stack and it should work. Wait -- it works. I found a stupid mistake in the file path. Funny how using the right

Copying OS X apps

2002-10-29 Thread J. Landman Gay
Has anyone figured out how to copy a Mac OS X application? The usual way, copying the data fork and the resource fork, doesn't seem to work. Actually, they don't even have resource forks. The bundle structure seems to be the culprit. I tried copying each of these:

Re: Copying OS X apps

2002-10-29 Thread J. Landman Gay
On 10/29/02 4:51 PM, Pierre Sahores wrote: Did you try this in a terminal ? cp -R /theselectedpath/Ressources/ /thedestinationpath/Ressources/ -R is the recursive option. Sorry, I should have been more clear. I need to copy the application in a script. For most files, I can use: put url

Re: Copying OS X apps

2002-10-29 Thread J. Landman Gay
you need to use applescript (and don't forget about use colon-delimited paths). Thanks Ken, that helps a lot -- and I would have forgotten about the colons if you hadn't mentioned it. Just knowing I need to use AppleScript saved me hours. I haven't tried it in MetaCard yet, but in the Script

Cursor in popup stack

2002-11-03 Thread J. Landman Gay
I'm popping up a stack under the cursor to simulate a contextual menu. The stack pops up over an editable field, so the cursor is initially an I-beam when the stack appears. I can't get the cursor to change to an arrow while it is over the menu stack. I've tried setting the cursor when the

Re: Cursor in popup stack

2002-11-04 Thread J. Landman Gay
On 11/4/02 11:56 AM, Bill Burman wrote: I had this same persistent I-beam cursor problem if I was opening a substack over a mainstack - above a card with an unlocked field. The only thing I could come up with was temporarily locking the text of all fields in the main stack before topleveling the

Re: Topstack and resumeStack

2002-11-07 Thread J. Landman Gay
On 11/7/02 6:33 PM, Shari wrote: Something presumably in Metacard unsets the front and back scripts if you leave the stack or program. That seems unlikely to me, though there may really be a bug. But the entire MetaCard UI itself is all frontscripts and backscripts, and it doesn't act that

Re: Metacard menu?

2002-11-08 Thread J. Landman Gay
On 11/8/02 3:54 PM, Shari wrote: I still wonder if it's just another menu btn, why not just insert code to change it or hide it, as I would any other menu btn? It isn't a button. It's set by the OS, and is part of the system menus. I haven't tried it, but it seems to me that an OS X

Re: Metacard menu?

2002-11-09 Thread J. Landman Gay
On 11/9/02 8:45 PM, Shari wrote: Does OSX match Windows now, in needing filename extensions? I'm guessing not, as my beta testers had no trouble accessing the program and associated files. But I wonder... is it moving in that direction? It isn't moving, it is a done deal. Extensions are

Re: MC 2.5A8 problems

2002-11-16 Thread J. Landman Gay
On 11/16/02 12:00 PM, [EMAIL PROTECTED] wrote: I just tried out MC 2.5A8, and the debugging is great! However, my machine has crashed twice. Also Cmd-O often tries to open a stack rather Step Over in the debugging process. I'm seeing the same thing, I reported it. The problem happens when

  1   2   3   4   5   6   >