Thank you both! Unfortunately it still is not working.

Eva

On 2011-01-28 04:14, Tariel Gogoberidze wrote:
On Jan 27, 2011, at 1:00 PM, Ken Ray wrote:

Change that portion of the handler to read:

   if cword is not among the lines of the commandNames then
     if cword is "the" or cword is a number or token 2 of cword is "("
     then put value(command, this card)
     else send command to this card
   else
     if debugging then
       debugdo command&  return&  "if the result is not empty then put the
result"
     else
       put the globals into tGlobs
       replace "$ProgramFiles(x86)" with "" in tGlobs
       replace "$CommonProgramFiles(x86)" with "" in tGlobs
       do "global"&&  the globals&  return&  command \
          &  return&  "if the result is not empty then put the result"
     end if
   end if
   unlock error dialogs
end returnInField


Ken Ray

I guess the line ..

   do "global"&&  the globals&  return&  command \
          &  return&  "if the result is not empty then put the result"
should be changed to ..

   do "global"&&  tGlobs&  return&  command \
          &  return&  "if the result is not empty then put the result"

as well.

regards
Tariel

_______________________________________________
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard
_______________________________________________
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to