field behavior

2001-09-01 Thread Rosli Hassan

hello,

i have a field (field name: addList)in a stack with
the script:

on mouseUp
  select the clickline
  put the selectedtext into x
  go to card x 
 put "something" into field 1 of card x
end mouseUp

and in the behavior section of the field property, i
have all these behavior listed below checked (on):

-traversal on
-lock text
-auto hilite
-list behavior

everything works fine, even after i converted it to a
standalone.  The problem is: when i burned in onto a
cd-rom, and running the standalone from the CD, it
stopped working.  nothing happens when a line in the
field "addList" is clicked.  it just selects/hilite
the line, but didn't go to the card it supposes to go.
I then took the cd and went to a different machine,
and copy the standlone onto the hard-disk, and
everything works fine.  it just refuses to work
correctly when running directly from the cd.

Is there anything i miss here or did i not do
something correctly when burning the app to the
cd-rom?
please help.  i am using metacard 2.3.2 on win 98
machine, and a sony 8x12x32 cdrw, and the nero-burning
rom cd-writing software.

thank you. --rosli

p.s. the people i showed the app to were so impressed
with the power of metacard, but i got a call back from
them right away after they reached their office and
start running the app on their machine straight from
the cd.

__
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.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.




boolean search...

2001-06-28 Thread Rosli Hassan

hello,

i m trying to find out if there are people out there
who have worked with the combination of the 'find'
command together with boolean operators such as "and"
"or" & "not"

i m trying to find a way of searching through text in
a bkgnd text field on hundreds of cards.  

ex: 
repeat with i = 1 to x --the total number of cards in 
 this stack

   find "cat" and "lion" in field "theText" of card i
   find "cat" or "lion" in field "theText" of card i
   find "cat" not lion" in field "theText" of card i
   if the result is empty then put the name of card i
   into field "titleText" --where the name of the card

is also the title of 
--same goes for the "or" and "not"
end repeat

is something like this possible...is there anywhere i
can look at as ref.  any help would be much
appreciated... thanks.

--rosli





__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.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.




movie and player

2001-04-15 Thread Rosli Hassan

i recently downloaded mc 2.3.2 and install it on my
pc.
I opened the stack i've been working on, and the movie
and sound (.avi, .mov, and wav.) didn't play at all,
when invoked by the start command. itonly showablack
box in the player. no sound. no movie. it works fine
in the previous ver. of MC. 

Anything that i did wrong? the filename property was
set to the movie file to play.  I also have the always
buffer property ofthe stack on.  Pls. Help.

thank you.

-Rosli

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.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: FromSocketToField

2000-12-14 Thread Rosli Hassan

Hi Xavier,  here is the script i have learned and
modified from a lot of what have been posted
previously on this list.  This is a great list with a
lot of kind, cooperative helpful people.  hope you can
use it somehow.  it works on a one machine(client) to
a server test.  haven't tried with more than that. 
let us/me know if you try it with more.  (can anyone
show how to do this with more than one open socket?)

Here's how it works:
The client send some data/text to the server, and get
the message that the data has been/has not been
received at certain time of the day.  At the same
time, the client will get to see back almost
immediately the latest update of data on the server.

The server reads/accept the the data/text that is sent
by the client.  What you do/process with the data/text
is up to you then.  It sent the latest update back to
the client just to show that the new data has been
added.

Here's the script: 

on the client side:

on mouseUp
  open socket to "1.1.1.1:8080" with message gotcha
  --change 1.1.1.1 to the appropriate server address
end mouseUp

on gotcha s
  put field "a" into var1 
  (--text to be sent to server)
  write var1 & crlf & (the long time) to socket s
  
  (--reading feedback from the server)
  read from socket s until empty 
  put it into field "b"
  
  if last line of field "b"  = "RESULT OK"&&the date
  then
put "Data sent successfully at:."&the long time
after the last line of field "b"
put "Looks like we are online at"&&(the long time)
  else
answer "Looks like the server is not responding."
  end if
  close socket s
end gotcha



On the server side:

on openCard
  accept connections on port 8080 with message
"newconnect"
  if the result is not empty then put the result
  checkData
end openCard

on checkData
  put field 1 into field "b"
  send "checkData" to this card in 1 seconds
end checkData

on newconnect s
  read from socket s until empty
  (--text sent from the client)
  put it into fld 1 
  put field 1 into var2
  write var2&cr&cr&"RESULT OK " && the date to socket
s
  (--to show back to the client the latest update sent
   to the server)  
close socket s
end newconnect

feel free to add/modified and it will be great if it
can be posted back to the list.

cheers.-rosli

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




printing cards (beginners Q?)

2000-12-05 Thread Rosli Hassan

hello everyone,

-I really need some help on how to print 2 cards onto
1 page of an A4 or letter size paper

-The 2 cards I have are with the rect of 0,0,640,460
each.

-I've set the printmargin to 36,36,36,36 from within a
script

-I've even set the margin to all sides 36,36,36,36
(points) from the page setup menu item.

-I've tried open printing but the result was:

both cards got truncated at the right side (at least 1
inch), and the bottom of the second cards got cut off
by an inch or so.

i feel like i m running into something i don't have
any ideas of, or obviously  there's something totally
wrong that i did...Any help is greatly appreciated. 
Thank you.

-RY

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




printing cards (beginners Q?)

2000-12-05 Thread Rosli Hassan

hello everyone,

-I really need some help on how to print 2 cards onto
1 page of an A4 or letter size paper

-The 2 cards I have are with the rect of 0,0,640,460
each.

-I've set the printmargin to 36,36,36,36 from within a
script

-I've even set the margin to all sides 36,36,36,36
(points) from the page setup menu item.

-I've tried open printing but the result was:

both cards got truncated at the right side (at least 1
inch), and the bottom of the second cards got cut off
by an inch or so.

i feel like i m running into something i don't have
any ideas of, or obviously  there's something totally
wrong that i did...Any help is greatly appreciated. 
Thank you.

-RY

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