Folder for stacks

2001-01-05 Thread Signe Marie Sanne

Hello,
Even though I have worked extensively with MetaCard for several 
years, I still have not found the answers to the following. Would 
someone please enlighten me?

1. Is it necessary that the files mchome, mc.exe (or metacard on 
Mac), mc.tools and mchelp always are in the same folder as the 
application you work on? (I usually start an application with 
"toplevel mystack") What about aliases of the engine or mchome, or 
full path for the application?

2. What about the files MC external and MC externalData, what are 
they for? Can they be removed?
---
1. amanuensis Signe Marie Sanne  e-mail: [EMAIL PROTECTED]
Romansk Institutttel:  +47 55 58 21 27
Oysteins gt. 1
5007 Bergen  http://www.hf.uib.no/hfolk/mlab/default.html
Norway
---

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: RTF import and export

2001-01-05 Thread Sjoerd Op 't Land

Bruce Lewis wrote/ schreef:

 How can you import styled text from an MS Word document to a Metacard
 field and vice versa while keeping the styles intact?
 
 I do this in HyperCard using RTF (rich text format). There are
 various XCMD's that people have written for that purpose. I believe
 Hugh Senior, who frequents this list, wrote one (though I don't use
 it.)
 
 Do these XCMD's work in Metacard? Is there some other way of doing it?
I don't know. I do it like this: I save a Word document as HTML, and set the
htmlText of a field to that file:

  on mouseUp
ask "The name of the field:"
put it into mFieldName
answer file "Open HTML doc:"
if the result is "Cancel" then exit mouseUp
set the htmlText of field mFieldName to the htmlText of field mFieldName
 url ("file:"  it) -- so that you keep earlier (formatted) contents of the
field
  end mouseUp
 Thanks.
 
 Bruce
Hope this helps,
Sjoerd


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: RTF import and export

2001-01-05 Thread Bruce Lewis


I wrote:

   How can you import styled text from an MS Word document to a Metacard
   field and vice versa while keeping the styles intact?
   I do this in HyperCard using RTF (rich text format).


Sjoerd Op 't Land wrote:

  I do it like this: I save a Word document as HTML, and set the
htmlText of a field to that file:

   on mouseUp
 ask "The name of the field:"
 put it into mFieldName
 answer file "Open HTML doc:"
 if the result is "Cancel" then exit mouseUp
 set the htmlText of field mFieldName to the htmlText of field mFieldName
 url ("file:"  it) -- so that you keep earlier (formatted) contents of the
field
   end mouseUp

Thanks,

I tried it using an Internet Explorer document saved as html. I can 
see where it would work for me with some tweaking.

However, just as I am still using HyperCard, I am also using Word 5.1 
for the Macintosh. It doesn't recognize html. I got Word 98, but 
discarded it. I will get it out and experiment.

Sigh, the world changes.

Bruce


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Folder for stacks

2001-01-05 Thread Kevin Miller

On 5/1/01 8:54 am, Signe Marie Sanne [EMAIL PROTECTED] wrote:

 Even though I have worked extensively with MetaCard for several
 years, I still have not found the answers to the following. Would
 someone please enlighten me?
 
 1. Is it necessary that the files mchome, mc.exe (or metacard on
 Mac), mc.tools and mchelp always are in the same folder as the
 application you work on? (I usually start an application with
 "toplevel mystack") What about aliases of the engine or mchome, or
 full path for the application?

In order to do development work, mchome, mctools must be in the same folder
as the MC application.  Of course, you can make an alias to the MC
application and put that anywhere.

 2. What about the files MC external and MC externalData, what are
 they for? Can they be removed?

Only useful if you are writing externals.  Otherwise you don't need them.

Regards,

Kevin

Kevin Miller [EMAIL PROTECTED] http://www.runrev.com/
Runtime Revolution Limited (formerly Cross Worlds Computing).
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Opening a tabbed group from within a script

2001-01-05 Thread Geoff Canyon

Hi Everyone,

  I have a stack with two cards, X and Y.  Card Y has a tabbed button
that displays a different group of fields under each tab.  I have a
script in card X that opens card Y, but I'd like card Y to display a
particular tabbed group by default regardless of which tab had been
clicked on previous visits to card Y.  How can I do this?


in the card script for card Y:

on preOpenCard
 select line 2 of button "Tabs"
 --or whatever, haven't checked syntax
end preOpenCard


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Folder for stacks

2001-01-05 Thread andu


Hello,
Even though I have worked extensively with MetaCard for several 
years, I still have not found the answers to the following. Would 
someone please enlighten me?

1. Is it necessary that the files mchome, mc.exe (or metacard on 
Mac), mc.tools and mchelp always are in the same folder as the 
application you work on? (I usually start an application with 
"toplevel mystack") What about aliases of the engine or mchome, or 
full path for the application?

2. What about the files MC external and MC externalData, what are 
they for? Can they be removed?

I find it hard to believe you didn't experiment to see what happens if...;-)

---
1. amanuensis Signe Marie Sanne  e-mail: [EMAIL PROTECTED]
Romansk Institutttel:  +47 55 58 21 27
Oysteins gt. 1
5007 Bergen  http://www.hf.uib.no/hfolk/mlab/default.html
Norway
---


Regards, Andu 
___
[EMAIL PROTECTED]

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Players in Windows

2001-01-05 Thread Jacqueline Landman Gay

If the dontUseQT property is set to true in Windows 95 (haven't tested
98 yet) I cannot get a controller to show when playing an aiff file
inside a player object, regardless of the setting of the showController
property. Is it possible to have a controller without QuickTime?

Also, without QuickTime, the width of the player seems to be random. I
have a line of script that sets the preferred width but it doesn't work.
The width of the player is fairly random with each instance I create
(one player showed up as 938 pixels wide. The script asks for 132.) How
much can be done with player objects if QuickTime is not available?
Playing audio is about all I can get it to do, and only then if the file
has an ".aiff" extension. Without the extension, the audio won't load at all.

Can someone provide some guidelines?

-- 
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | 612-724-1596
Custom hypermedia solutions| http://www.hyperactivesw.com


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Answer File and window ghost

2001-01-05 Thread Gregory Lypny

Hi Everyone,

 I have a stack with the following standard "answer file" handler.

   answer file  "Show me the data."
  put it into dataFile
  open file dataFile for read

 The handler works fine, but when the file is selected from the "open 
file" dialog window on my Mac, it leaves a white ghost image obscuring 
the topmost card while the rest of the handler is executing.  
Interesting, it didn't do this initially.  Any suggestions?

 Regards,

  Greg




_
Gregory Lypny
Associate Professor of Finance
Concordia University

_
"Take chances, make mistakes!"
   - Ms Frizzle, The Magic School Bus



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Players in Windows

2001-01-05 Thread Scott Rossi

Recently, Jacqueline Landman Gay wrote:

 If the dontUseQT property is set to true in Windows 95 (haven't tested
 98 yet) I cannot get a controller to show when playing an aiff file
 inside a player object, regardless of the setting of the showController
 property. Is it possible to have a controller without QuickTime?

The controller is provided by QuickTime so if you set dontUseQT to true, you
won't get any controller.

Regards,

Scott

_
Scott Rossi   Tactile Media - Multimedia  Design
Creative Director Email: [EMAIL PROTECTED]
  Web: www.tactilemedia.com


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




win2k

2001-01-05 Thread andu

Somebody gave me a win2k Professional (as opposed to hobby?) cd, do I have any reason 
to replace my
NT4Server besides curiosity and considering I only use windows for testing mc stacks?

Regards, Andu 
___
[EMAIL PROTECTED]

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




RE: Opening a tabbed group from within a script

2001-01-05 Thread Monte Goulding

try sending a click at the loc of the correct tab then that will run all
your scripts for changing tabs

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gregory Lypny
Sent: Friday, 5 January 2001 2:59 PM
To: [EMAIL PROTECTED]
Subject: Opening a tabbed group from within a script


Hi Everyone,

 I have a stack with two cards, X and Y.  Card Y has a tabbed button
that displays a different group of fields under each tab.  I have a
script in card X that opens card Y, but I'd like card Y to display a
particular tabbed group by default regardless of which tab had been
clicked on previous visits to card Y.  How can I do this?

 Regards,

  Greg



_
Gregory Lypny
Associate Professor of Finance
Concordia University

_
"Take chances, make mistakes!"
   - Ms Frizzle, The Magic School Bus



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




RE: Opening a tabbed group from within a script

2001-01-05 Thread Monte Goulding

I don't think this would actualy run any scripts ie send the menuPick
message

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Sjoerd Op 't Land
Sent: Friday, 5 January 2001 11:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Opening a tabbed group from within a script


Gregory Lypny wrote/ schreef:

 Hi Everyone,

 I have a stack with two cards, X and Y.  Card Y has a tabbed button
 that displays a different group of fields under each tab.  I have a
 script in card X that opens card Y, but I'd like card Y to display a
 particular tabbed group by default regardless of which tab had been
 clicked on previous visits to card Y.  How can I do this?
Case the three tabs are "Une", "Deux" and "Trois", and you want to select
tab "Deux", the script would be:

  on mouseUp
lock screen
go to card "Y"
select line 2 of button "Tabs"
  end mouseUp

 Regards,

 Greg
Hope this helps,
Sjoerd


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




RE: Answer File and window ghost

2001-01-05 Thread Monte Goulding

I have had simmilar problems like this on Windows. The answer to this
problem may be (as suggested on this list) to put a wait 6 ticks message
after the answer file commannd. This lets the screen refresh if you have
lots of script after showing a modal dialog.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gregory Lypny
Sent: Saturday, 6 January 2001 9:32 AM
To: [EMAIL PROTECTED]
Subject: Answer File and window ghost


Hi Everyone,

 I have a stack with the following standard "answer file" handler.

   answer file  "Show me the data."
  put it into dataFile
  open file dataFile for read

 The handler works fine, but when the file is selected from the "open
file" dialog window on my Mac, it leaves a white ghost image obscuring
the topmost card while the rest of the handler is executing.
Interesting, it didn't do this initially.  Any suggestions?

 Regards,

  Greg




_
Gregory Lypny
Associate Professor of Finance
Concordia University

_
"Take chances, make mistakes!"
   - Ms Frizzle, The Magic School Bus



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




RE: Folder for stacks

2001-01-05 Thread Monte Goulding

This is not quite the full case. You can do development work on a stack that
is saved anywhere but to open it you will need to use the file selecter not
a toplevel command. I think a good feature would be to enable the user to
set up folders of stacks that could be read into the stackfiles somewhere
and then opened with toplevel commands. This means we don't need to clutter
up one folder full of developing stacks.

Regards

Monte

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Miller
Sent: Saturday, 6 January 2001 12:45 AM
To: [EMAIL PROTECTED]
Subject: Re: Folder for stacks


On 5/1/01 8:54 am, Signe Marie Sanne [EMAIL PROTECTED] wrote:

 Even though I have worked extensively with MetaCard for several
 years, I still have not found the answers to the following. Would
 someone please enlighten me?

 1. Is it necessary that the files mchome, mc.exe (or metacard on
 Mac), mc.tools and mchelp always are in the same folder as the
 application you work on? (I usually start an application with
 "toplevel mystack") What about aliases of the engine or mchome, or
 full path for the application?

In order to do development work, mchome, mctools must be in the same folder
as the MC application.  Of course, you can make an alias to the MC
application and put that anywhere.

 2. What about the files MC external and MC externalData, what are
 they for? Can they be removed?

Only useful if you are writing externals.  Otherwise you don't need them.

Regards,

Kevin

Kevin Miller [EMAIL PROTECTED] http://www.runrev.com/
Runtime Revolution Limited (formerly Cross Worlds Computing).
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Cursor in Field

2001-01-05 Thread Mark Talluto

Hi to all.  I am trying to track the loc of the cursor in a field that is
not locked.  I need to know at a minimum what line it is on while the user
is typing.  Would someone please tell me how to do this?  Thanks a bunch.

-Mark


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.