Re: Choosing colors from a modal

2002-04-18 Thread Hugh Senior

  answer color with 255,0,0

MC never ceases to amaze.

How do we decode the returned value of 'answer effect'? base64Decode seems 
to contain actual text, but not in any form that appears usable.

/H 



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.338 / Virus Database: 189 - Release Date: 14/03/2002



Re: Choosing colors from a modal

2002-04-18 Thread andu

Hugh Senior wrote:
 
   answer color with 255,0,0
 
 MC never ceases to amaze.
 
 How do we decode the returned value of 'answer effect'? base64Decode seems
 to contain actual text, but not in any form that appears usable.

Use it as is without any decoding.

 
 /H
 
   
 
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.338 / Virus Database: 189 - Release Date: 14/03/2002

-- 

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



Re: Interarchy for PC?

2002-04-18 Thread Mark Luetzelschwab

Thanks Andu, Chipp, Michael,

I'm really not sure what a radio lan is..I asked for more 
clarification on that point to see if it was the actual company or 
just a wireless ethernet.

Chipp, I'd be interested in chasing down that satellite issue - we 
can talk off list about it.  I'm going to try a standard wireless 
ethernet connection some point next week to make sure that those work 
(can't really see why not).

Andu - I'm still looking...www.atomiclog.com looks promising..does 
this ring a bell?

Thanks again..I'll post if I find anything.

-ml



Message: 1
Date: Wed, 17 Apr 2002 12:50:24 -0500
To: [EMAIL PROTECTED]
From: Mark Luetzelschwab [EMAIL PROTECTED]
Subject: Interarchy for PC?
Reply-To: [EMAIL PROTECTED]

Hi,

I have a user in England for one of my MC products who is using a
radio lan and a PC to connect to the internet. The first call of the
MC program is to download a web page into memory. This call fails,
but the user can view the same page using a web browser.

Is there a tool like Interarchy for the PC that I could have this
person use to monitor the difference between the browser's request
and MC's request?

Or, does anyone know how a radio lan might be affecting this?

Thanks.

-ml

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



Inconsistent behavior...

2002-04-18 Thread xbury . cs

Here's an extremely fast search function.
The function filters lines from a variable (olist) containing a string...

function FilterLines olist,str
 set the wholematches to false
 put 1 into thisline
  put  into nulist
  repeat while thisline  0
set cursor to busy

put LineOffset(str,olist) into thisline
put line thisline of olist  return after nulist
delete line 1 to thisline of olist
if olist is empty then exit repeat

  end repeat
  return nulist
end FilterLines

my olist looks contains 
4/16/02,11:15 AM,BUFFET,F,543923,15571
4/16/02,11:15 AM,BUFFET,E,475933,53211
4/16/02,11:15 AM,BUFFET,D,441937,31518
4/16/02,11:15 AM,BUFFET,C,15,14
4/12/02,12:51 PM,BUFFET,F,543923,40982
4/12/02,12:51 PM,BUFFET,E,475933,56361
4/12/02,12:51 PM,BUFFET,D,441937,27808
4/12/02,12:51 PM,BUFFET,C,15,14

The string im searching for is ,F ,

When I do the search, with wholematches = true (first line in FilterLines)
only the first line is found... If I set wholematches to false, it finds all
the lines...
Of course, I tried to change the searchstring to BUFFET,F, but there is no
change.

Can anyone see the problem? I can't search for F alone...
Changing the comma in the lists would mean too much programming changes in
my application...

Why can't this work???

Thanks for any help...
Xavier



Visit us at http://www.clearstream.com/_focus1.htm
  
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



RE: Inconsistent behavior...

2002-04-18 Thread xbury . cs

Because the filter command only works with files... (get the files)
I just tried again to check reality (2.4build4) with filter but it returned
empty...

did it work for you?

 -Original Message-
 From: LiangTyan Fui [mailto:[EMAIL PROTECTED]]
 Sent: 18 April 2002 13:47
 To: [EMAIL PROTECTED]
 Subject: Re: Inconsistent behavior...
 
 
 On 4/18/02 6:07 PM, [EMAIL PROTECTED] wrote:
 
  my mistake. The script calling this function had a bug!
  Sorry!
 
 Why don't you just use:
 filter olist with (* str *)
 
 Regards,
 LiangTyan Fui
 
 
  Xavier
  
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: 18 April 2002 11:33
  To: [EMAIL PROTECTED]
  Subject: Inconsistent behavior...
  
  
  Here's an extremely fast search function.
  The function filters lines from a variable (olist) containing
  a string...
  
  function FilterLines olist,str
   set the wholematches to false
   put 1 into thisline
put  into nulist
repeat while thisline  0
  set cursor to busy
  
  put LineOffset(str,olist) into thisline
  put line thisline of olist  return after nulist
  delete line 1 to thisline of olist
  if olist is empty then exit repeat
  
end repeat
return nulist
  end FilterLines
  
  my olist looks contains
  4/16/02,11:15 AM,BUFFET,F,543923,15571
  4/16/02,11:15 AM,BUFFET,E,475933,53211
  4/16/02,11:15 AM,BUFFET,D,441937,31518
  4/16/02,11:15 AM,BUFFET,C,15,14
  4/12/02,12:51 PM,BUFFET,F,543923,40982
  4/12/02,12:51 PM,BUFFET,E,475933,56361
  4/12/02,12:51 PM,BUFFET,D,441937,27808
  4/12/02,12:51 PM,BUFFET,C,15,14
  
  The string im searching for is ,F ,
  
  When I do the search, with wholematches = true (first line in
  FilterLines)
  only the first line is found... If I set wholematches to
  false, it finds all
  the lines...
  Of course, I tried to change the searchstring to BUFFET,F,
  but there is no
  change.
  
  Can anyone see the problem? I can't search for F alone...
  Changing the comma in the lists would mean too much
  programming changes in
  my application...
  
  Why can't this work???
  
  Thanks for any help...
  Xavier
  
  
  
  Visit us at http://www.clearstream.com/_focus1.htm
  
  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
  
  ___
  metacard mailing list
  [EMAIL PROTECTED]
  http://lists.runrev.com/mailman/listinfo/metacard
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard
 
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



metacard and language tools

2002-04-18 Thread sbancher


I was wondering if it is possible with Metacard to open in the background 
another application, paste in a new document the content of a specific field, 
do a spellcheck or word count and import the results in metacard.

To be more specific,  I have created a language testing program which also 
include a composition. Once the student write the composition, my program will 
analyze it and report some features of that composition in a .txt files.

I would like to combine my program with another commercially available software 
(Errata Corrige, an Italian language tool).  The idea is to have metacard paste 
the composition in a new document in Errata Corrige and ask it to choose the 
menu item statistics. When asked for statistics, Errata Corrige would produce 
a graph (image), which I would like to import in metacard or directly in 
the .txt file or .rtf file.

Is something like this at all possible?  If so, does anyone have any 
suggestions?

Many thanks,

Salvatore

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



RE: metacard and language tools

2002-04-18 Thread xbury . cs

everything is possible!
though you forgot to mention Mac or PC...

Since you mention a .txt, i assume PC...

Use the Open Process (mybatchfilename.bat) (also works for WSH)

and read the result from your batch in an output file (use the  cmd
redirection command  filetooutputto.txt)
Read the result from MC... This will give you the best multitasking
capabilities... 

Shell(mybatcommands) will block your MC GUI until the shell returns 
its answer...(if it returns - which is just what im battling against right
now!) 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: 18 April 2002 14:00
 To: [EMAIL PROTECTED]
 Subject: metacard and language tools
 
 
 
 I was wondering if it is possible with Metacard to open in 
 the background 
 another application, paste in a new document the content of a 
 specific field, 
 do a spellcheck or word count and import the results in metacard.
 
 To be more specific,  I have created a language testing 
 program which also 
 include a composition. Once the student write the 
 composition, my program will 
 analyze it and report some features of that composition in a 
 .txt files.
 
 I would like to combine my program with another commercially 
 available software 
 (Errata Corrige, an Italian language tool).  The idea is to 
 have metacard paste 
 the composition in a new document in Errata Corrige and ask 
 it to choose the 
 menu item statistics. When asked for statistics, Errata 
 Corrige would produce 
 a graph (image), which I would like to import in metacard or 
 directly in 
 the .txt file or .rtf file.
 
 Is something like this at all possible?  If so, does anyone have any 
 suggestions?
 
 Many thanks,
 
 Salvatore
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard
 


Visit us at http://www.clearstream.com/_focus1.htm
  
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



Dragging Lines in a Field

2002-04-18 Thread Ray Horsley

Does anybody have a solution for dragging lines up and down in a field to
resort them?

Thanks,


Ray Horsley
Developer, LinkIt! Software

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



Re: Dragging Lines in a Field

2002-04-18 Thread shop

This code is located in the field you want to rearrange.  If you click on a
line in the field while holding down the shift key, the text in that line is
removed from the field and placed in the label of a btn (btn id 2713) which
is normally hidden.  That btn is made visible and it follows the mouse as
long as the shift key is down.  This script was carried over from an old
Hypercard stack and I haven't had time to see if I can accomplish this more
efficiently with some new MetaCard fns or handlers.  Since it works quite
well, I haven't really seen the need.  You night need to play around with
the fld  properties to get it just the way you want it.

on MouseDown
  select the ClickLine
  # if the optionKey is down then
  # delete the ClickLine
  # end if
  pass MouseDown
end MouseDown

on MouseStillDown
  if the ShiftKey is down and the OptionKey is up then
put the ClickLine into CkLn
put value(the ClickLine) into moveTxt
if moveTxt is empty then exit MouseStillDown
delete line (word 2 of CkLn) of me
set the name of btn id 2713 to MoveTxt
put item 2 of the topLeft of me into VPos
put item 1 of the topLeft of me into HPos
put the textHeight of me into linHt
set the width of cd btn id 2713 to (the width of me) - 17
set the height of cd btn id 2713 to LinHt
set the topLeft of cd btn id 2713 to HPos,VPos
repeat until the mouse is up
  put the MouseV into CurMouse
  if CurMouse  VPos then
put VPos into CurMouse
put the scroll of me into temp
subtract LinHt from temp
set the scroll of me to temp
  end if
  if CurMouse  (VPos + the height of me) then
put the scroll of me into temp
add LinHt to temp
set the scroll of me to temp
  end if
  put ((CurMouse - VPos) div linHt) into CurLinPtr
  # set the topLeft of cd btn id 2713 to HPos,VPos+(13*CurLinPtr)
  set the topLeft of cd btn id 2713 to HPos,the mouseV-LinHt/2
  set the visible of cd btn id 2713 to true
end repeat
if the scroll of me  ­ 0 then
end if
set the visible of cd btn id 2713 to false
put ((CurMouse - VPos) div linHt)+1 into CurLinPtr
if the scroll of me  ­ 0 then
  add (the scroll of me / LinHt) div 1 to CurLinPtr
end if
put the number of lines in me into ListLen
if CurLinPtr  ListLen then
  put returnmoveTxt after the last line of me
  select the last line of me
else
  put MoveTxt  return before line CurLinPtr of me
  select line CurLinPtr of me
end if
  end if
end MouseStillDown

Rich
Payne Sparkman Mfg.
[EMAIL PROTECTED]

- Original Message -
From: Ray Horsley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 18, 2002 12:31 PM
Subject: Dragging Lines in a Field


 Does anybody have a solution for dragging lines up and down in a field to
 resort them?

 Thanks,


 Ray Horsley
 Developer, LinkIt! Software

 ___
 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: database and MC

2002-04-18 Thread Leston Drake

At 04:55 PM 4/17/2002, you wrote:
Leston Drake wrote:

  At 01:11 PM 4/17/2002, you wrote:
  How many megabytes of data and how often will it be
  accessed?
 
   1 Mb of data
  No control over how often it will be accessed, but based on the specialized
  nature of the program, demand for it won't be high. So I would say
  definitely on the not very often side of the scale.

For a data set that small why not just use property arrays in a stackfile?

Multiple (simultaneous) users. Keeping the data set valid is the tricky 
part. That's what a DBMS does for you.


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

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



Re: Question to Scott (was : MC openGL)

2002-04-18 Thread Mark Talluto


On Wednesday, April 17, 2002, at 04:43  PM, jbv wrote:

 Hi,

 After the enthusiasm triggered by my suggestion to have
 built-in access to openGL, I am wondering :
 is there any chance to see that feature added to MC in a
 near future, or is it wiser to start working on a DLL /
 external ?

 Thanks.
 JB



As much as I would love to see this implemented sooner than later, I 
don't think we will see it any time soon.

-Mark Talluto

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



Re: Dragging Lines in a Field

2002-04-18 Thread shop

Ray, I just noticed that you'll probably want to put moveTxt into the label
of the sliding btn and give the btn a permanent name (couldn't do this in
Hypercard).  If you decide to keep it exactly as written, you'll need to get
the id of your btn and put it in place of 2713.

Rich
Payne Sparkman Mfg.
[EMAIL PROTECTED]

- Original Message -
From: Ray Horsley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 18, 2002 5:00 PM
Subject: Re: Dragging Lines in a Field


 Thanks Rich!  I'll let you know how this works out.


 Ray Horsley
 Developer, LinkIt! Software


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