total ram

2002-07-28 Thread Richard Gaskin

Is there a way to query the total RAM installed from within MC?

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Custom Software and Web Development for All Major Platforms
 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: Feature idea: auto-complete typing in scripts

2002-07-28 Thread Ernst M. Reicher

Hi Karl,
first I love MetaCard
but the scriptingEditor is really a little outdated
obviously is Scott working hard to keep pace with other featurewishes and
gave the fancy UI-part to revolution

I tried to familiarize with revolution several times - but its too funky -
to overloaded
there are a lot of good features but.:-(((
and they have something like you are looking for!
probably you are thinking of something like in VB??

what about things like -
- oups what OS are you working on??? -
typeIt4Me or quicKeys on Mac
shortHand on Windows??
but somebody has to write the library

Regards,
  Ernst



- Original Message -
 Date: Sat, 27 Jul 2002 11:19:39 -0500
 Subject: Feature idea: auto-complete typing in scripts
 From: Karl Becker [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]

 I'm not sure if this is possible to write a script that would do this
 (it's definitely not possible very easily, I don't think), but wouldn't
 it be great if, while editing an object's script, you could simply type
 in the first couple characters of a variable name and the entire word
 would be automatically filled out for you, just as URLs are
 auto-completed in web browsers now?

 If a script could somehow keep track of the unrecognized words in a
 script (those that aren't reserved by MetaCard) and then figure out when
 you've typed in the first letter or two of a variable name, then
 autocomplete the rest of the word (while keeping it highlighted so you
 could easily change the auto-completed part, just like in a web
 browser)... boy, would that be useful!

 Has anyone ever done anything like this?  Ever attempted to?  I'd
 imagine a script could simply be put in the script editor stack
 somehow... but I'm a bit chicken to attempt this all by myself  :-)
 --
 Karl Becker, KB Productions
 http://www.karlbecker.com



 --__--__--

 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard


 End of metacard Digest



___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Numeric sort with negative numbers

2002-07-28 Thread Shari

Hi there!

It sounds like you might have forgotten to add the tag numeric to your
sort command.

Good Luck

I had numeric, but I need to check to see if I had descending, as 
Richard Gaskin's handler demonstrated.

-- 
--Shareware Games for the Mac--
http://www.gypsyware.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Practical Maximum number of fields on a card

2002-07-28 Thread Richard MacLemale

On 7/28/02 12:07 PM, Richard Gaskin wrote:

 2000?  It's hard to imagine a UI that needs that many editable text regions.
 What are you making?
 The downsides to high object counts are RAM and hit testing. And of course
 depending on what's in those fields it may take a while to redraw.   Can't
 say I've ever put 2000 fields on a card, so I can't say for sure how
 gracefully MC would handle it.  It seems easy enough to test with a repeat
 loop creating new fields in a test stack.  Please let us know how that comes
 out.
 
 Offhand my first hunch would be to think of a solution which would allow a
 lower object count if possible

I'm making a gradebook.

Figure it this way - with a maximum of 50 students in a class, and a maximum
number of 50 assignments per quarter, that's 2,500 possible individual
grades.  My idea is to have those fields grouped and then add scrollbars to
scroll the group.  I've done a prototype and this approach works fine - even
with a grade entered in all 2,500 fields, and with 2,500 fields on each of
50 cards!  Scroll speed is good and it seems stable.  This is under OS X.
Essentially what I'm doing is an imitation spreadsheet with each cell being
a field.

I agree that this is an extreme number of fields for a card, which is why I
wanted to see if there were some magical number of fields per card that
should not be exceeded.

I looked at other approaches to this and I haven't thought of anything
better.  You can simulate a spreadsheet with a locked field with the lines
showing, but I wanted users to be able to easily and instantly click on any
cell and edit the info there.  That feature is mandatory.

Another approach would be to only show 5 or 10 columns of the spreadsheet,
and have the user view the assignments that way, using the page metaphor
(this page has 10 columns, turn the page, the next page has 10 columns,
etc.)  The data could then be stored on separate cards, or in a separate
stack, or in a text file, or even right there in the fields, but then the
user has to page through their gradebook.  I really wanted to stick to the
idea of being able to see and scroll through a whole quarter in one
scrollable field.  Other gradebooks can do it and it is expected.

Like I said, the prototype is working fine under OS X.  I have launched it
under Classic, and it runs fine there, too, but I can't tell how much RAM
it's using until I try it out on an actual OS 9 Mac.

If MetaCard had a spreadsheet object, I'd just use that.  But using a field
to pretend it's a spreadsheet is not the same because you can't interact
with it in the exact same way.  This prototype is working fine, but I wanted
to know if there were theoretical maximums I was ignoring...


-- 
:)
Richard MacLemale
Network Administrator
J. W. Mitchell High School

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Open or ask file, or other?

2002-07-28 Thread Simon Lord

I'd like to get the user to select any file they wish via the 
file browser on their default OS.  In this case I'm talking 
about the Mac OSX OS.  I'd like a dialog box to open which 
allows them to click a file and select ok etc.  Problem is I 
can only seem to initiate the dialog box to do 1 thing, (1) they 
pick a name and location to save a file.  I briefly thought of 
the Open command but you need to know the path for that.

I seem to be suffering another brain fart, if someone can point 
me to the proper method to allow a user to pick a file  on their 
own via a file browser then it would go a long way to closing 
off this otherwise great weekend.

Sincerely,
Simon

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Open or ask file, or other?

2002-07-28 Thread Richard Gaskin

Simon Lord wrote:

 I'd like to get the user to select any file they wish via the
 file browser on their default OS.  In this case I'm talking
 about the Mac OSX OS.  I'd like a dialog box to open which
 allows them to click a file and select ok etc.  Problem is I
 can only seem to initiate the dialog box to do 1 thing, (1) they
 pick a name and location to save a file.  I briefly thought of
 the Open command but you need to know the path for that.
 
 I seem to be suffering another brain fart, if someone can point
 me to the proper method to allow a user to pick a file  on their
 own via a file browser then it would go a long way to closing
 off this otherwise great weekend.

   answer file Select a file:

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Custom Software and Web Development for All Major Platforms
 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: Open or ask file, or other?

2002-07-28 Thread Simon Lord

Hehe, yeah that's the one.

Simon

On Sunday, July 28, 2002, at 09:28 PM, Richard Gaskin wrote:

 Simon Lord wrote:

 I'd like to get the user to select any file they wish via the
 file browser on their default OS.  In this case I'm talking
 about the Mac OSX OS.  I'd like a dialog box to open which
 allows them to click a file and select ok etc.  Problem is I
 can only seem to initiate the dialog box to do 1 thing, (1) they
 pick a name and location to save a file.  I briefly thought of
 the Open command but you need to know the path for that.

 I seem to be suffering another brain fart, if someone can point
 me to the proper method to allow a user to pick a file  on their
 own via a file browser then it would go a long way to closing
 off this otherwise great weekend.

answer file Select a file:

 --
  Richard Gaskin
  Fourth World Media Corporation
  Custom Software and Web Development for All Major Platforms
  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


Sincerely,
Simon

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: total ram

2002-07-28 Thread Michael Kann

Richard Gaskin asked: Is there a way to query the
total RAM installed from within MC?

On Win98 you can use

on mouseUp
set hideconsolewindows to true
put shell(mem) into fld 1
-- parse out what you need
end mouseUp



__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard