Re: Changing the contents of a custom property

2005-01-21 Thread Klaus Major
Hi Glen,
I have a custom property called connectorName that currently has the
following contents
darpa
nrl
hsecurity
I am trying to figure out how I can delete one or more than one of the
contents via script.
No need for an extra stack ;-)
on mouseup
   put the connectorName of xyz into tempCP
   delete line 1 of tempCP
   ## delete whatever you want...
   set the connectorName of xyz to tempCP
end mouseup
Also, how to add new content via script.
No need for an extra stack ;-)
on mouseup
   put the connectorName of xyz into tempCP
   if tempCP = empty then
   put "New line" into tempCP
   else
  put CR & "New line" after tempCP
  end if
   set the connectorName of xyz to tempCP
end mouseup
Is there an example stack available?
See above.
thanks,
You're welcome.
Glen
Best
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Changing the contents of a custom property

2005-01-21 Thread Chipp Walters
Hi Glen,
put the connectorName of fld "myFld" into tList
delete line 2 of tList
put cr & "darpa2" after tList
set the connectorName of fld "myFld" to tList
Glen Bojsza wrote:
I have a custom property called connectorName that currently has the
following contents
darpa
nrl
hsecurity
I am trying to figure out how I can delete one or more than one of the
contents via script.
Also, how to add new content via script.

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 1/17/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Changing the contents of a custom property

2005-01-21 Thread Glen Bojsza
I have a custom property called connectorName that currently has the
following contents

darpa
nrl
hsecurity

I am trying to figure out how I can delete one or more than one of the
contents via script.

Also, how to add new content via script.

Is there an example stack available?

thanks,

Glen
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution