Re: Option menu question

2000-12-12 Thread Hugh Senior

What about setting the menuHistory to the line number of the option 
you want as the default, does this do the trick?

   e.g.
   set the menuHistory of button theOptions to thePreset
   set the label of button theOptions \
   to line thePreset of the text of button theOptions


Sorry, Peter... This does not seem to work.

Does anyone else have any insights?

/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@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: scroll

2000-12-12 Thread Scott Rossi

Recently, Monte Goulding wrote:

 I didn't say I don't use groups. I just don't
 refer to them as backgrounds (I don't see the point - Could someone
 enlighten me on different properties if there are any).

Backgrounds and groups are the same -- I believe the use of "background" is
provided for Hypercard compatibility.

Regards,

Scott

__
Scott RossiTactile 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.




Re: Option menu question

2000-12-12 Thread Kevin Miller

On 12/12/00 8:51 am, Hugh Senior [EMAIL PROTECTED] wrote:

 What about setting the menuHistory to the line number of the option
 you want as the default, does this do the trick?
 
 e.g.
 set the menuHistory of button theOptions to thePreset
 set the label of button theOptions \
 to line thePreset of the text of button theOptions
 
 
 Sorry, Peter... This does not seem to work.
 
 Does anyone else have any insights?

It works here.  This is definately an option menu, and you are setting the
menuHistory to a number?

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.




FromSocketToField

2000-12-12 Thread michael kann

I have the following script in a btn:
---
read from socket "127.0.0.1:9980" for 1024 with
message "dataHasArrived"

I click on the btn, then send some data from another
stack to the recieving stack. How do I make the data
appear in a fld in the receiving stack?

From the reference:

The "read from socket" command is used to read data
from a socket. Sockets are always opened in binary
mode and so any required data conversion must be done
in scripts.  

Could anyone kindly supply one of the "scripts" that
the reference mentions?

Thank you, Michael Kann, [EMAIL PROTECTED]



__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.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.




Re: central repository for web related metacard examples

2000-12-12 Thread Kevin Miller

On 10/12/00 9:34 pm, michael kann [EMAIL PROTECTED] wrote:

 I would really like to see a list of commands that can
 be used with the DDE external found in the wonderful
 set of externals by Tuviah Snyder. I have searched on
 the Internet for commands and syntax that I might use
 with this external, but haven't had any luck. This one
 external would sell the whole package if people knew
 how to use it.

What are you trying to do?  Perhaps someone on this list can help point you
to instructions for whatever it is?

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: central repository for web related metacard examples

2000-12-12 Thread Kevin Miller

On 11/12/00 1:02 pm, michael kann [EMAIL PROTECTED] wrote:

 I've found the Metaclass tutorials at Kevin's site to
 be very helpful. Would it be possible to put one
 together on Sockets and the Use of Metacard as a
 Browser? Within the tutorial there might be links to
 working scripts. I agree heartily with Kevin that they
 are doing a good job of organizing contributions. More
 explanations for the contributions would be valuable.

We do plan an article on sockets, but currently we're too busy finishing of
that other product and moving our web site, so it will be a short while yet.
Thanks for the suggestion!

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: FromSocketToField

2000-12-12 Thread michael kann

Thanks Andu, I appreciate it.

---Michael Kann wrote:

I have the following script in a btn:

read from socket "127.0.0.1:9980" for 1024 with
message "dataHasArrived"

I click on the btn, then send some data from
another stack to the recieving stack. How do I make
the data appear in a fld in the receiving stack?

---Andu answered almost immediately:

 on dataHasArrived socketOpen, tData
 put tData into fld 1
 end dataHasArrived
 
 Also you can just do: 
 read from socket "127.0.0.1:9980" for 1024
 put it into fld 1
 
 Remember to open the socket before reading from it
 and to close it when you are done
 reading.
 
 


__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.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.




RE: central repository for web related metacard examples

2000-12-12 Thread Monte Goulding

This would be good. I didn't even know these things could be done. I'm very
interested particularly in the excel spreadsheet munching scenario. I need a
solver like there is as an add-in in excel but don't know where to start to
script it. Being able to actually use the excel solver would solve heaps of
problems.

Best regards

Monte

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of michael kann
Sent: Wednesday, 13 December 2000 3:15 AM
To: [EMAIL PROTECTED]
Subject: Re: central repository for web related metacard examples


The one function I've been able to perform with the
DDE external is to make a specific web page appear in
my browser. I know that it is possible to use DDE to
learn what URL is currently in the browser because I
can do that with webSpy and that program uses DDE. But
I can't find the commands to do that with the
external.

Just a few other items on the wish list:

1. send some data to an Excel spreadsheet, have Excel
munch on it, retrieve the data to display in Metacard

2. send an SQL string to an ACCESS database to gather
some data for display in Metacard

But for now I'd like to learn how to do anything at
all or be pointed to some reference where I could look
up the commands.

Thanks, Michael Kann, [EMAIL PROTECTED]


---Kevin Miller promptly replied:

What are you trying to do?  Perhaps someone on this
list can help point you to instructions for whatever
it is?

---Michael Kann originally wrote:

I would really like to see a list of commands that
can be used with the DDE external found in the
wonderful set of externals by Tuviah Snyder. I have
searched on the Internet for commands and syntax that
I might use with this external, but haven't had any
luck. This one external would sell the whole package
if people knew how to use it.

__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.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.


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: scroll

2000-12-12 Thread Jacqueline Landman Gay

Monte Goulding wrote:
 
 Yes and as I feel HyperCard is redundant then I don't use the term
 background because all it does is confuse the situation. 

Backgrounds and groups are functionally the same in MetaCard, but
syntactically different. When you ask for "the number of groups" you
will get back the number of groups on the card. When you ask for "the
number of backgrounds" you will get back the number of groups
(backgrounds) in the stack as a whole. This is a nice touch for those of
us who port HyperCard stacks to MetaCard. In HyperCard, "the number of
backgrounds" always refers to the number in the stack.

 One thing that
 annoys me is that there are some things that are put in for HyperCard
 compatabilty that actualy do their job and some that don't. As far as I'm
 concerned take all the HyperCard stuff out unless it actually is functional.

Allowing x-talk compatibility makes it much less work to perform a
HyperCard port -- and I'm doing a lot of those lately. I appreciate the
flexible syntax, and I hope the functionality is retained.

-- 
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.