searching for a put that opens message box

Bob Sneidar bobs at
Mon May 17 18:36:14 EDT 2010

Couldn't you search for "put <variable> " & return?

on findit
  put the script of <whateverobjectcontainsthescript> into theScript
  put Offset("put <yourvariable> " & return, theScript) into found1 -- can't use lineoffset with return?? not sure
  put Offset("put <yourvariable>" & return, theScript) into found2 -- no space after variable just in case

  if found1 + found2 > 0 then -- youfoundit
    -- whatever code you like here
  end if
end findit

On May 15, 2010, at 8:53 AM, william humphrey wrote:

> Jerry
> I'm asking this question on the RunRev forum because I want to announce here
> how much I love tRev. Anyway how do you search for a "put" that is like
> "put variable"
> and doesn't have an "into" so it opens the message box. I realize that I
> should have marked my code there or put message box because it is so hard to
> find a "put" that doesn't have an "into"
> Thanks
> _______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list