Agreed the Rev Find and Replace stack is not the same animal as the HC
Find...
however, it allows you to choose to search only fld text, and combine it
with the power of regular expressions. For me the real power of this tool
is to use "script only" chkbox, then a regular expression and get a list of
all the script containers that match (even in multiple stacks), then dbl
click to open that script.
(or use the replace feature to do repair work without opening it, but I find
that rather dangerous)
This is much more of a developer tool for scripting and design, than a user
tool.
Remember the "ss" or searchscript command in HC? Rev Find and Replace is
really much better and far faster, and more intuitive.
Jim Ault
Las Vegas
On 10/14/05 3:44 PM, "Timothy Miller" <[EMAIL PROTECTED]>
wrote:
I have complained here before that the find stack is absurdly slow,
in many instances. In HyperCard, command-f got you the find command.
In Rev, command-f gets you the find stack.
To get the equivalent of hyperCard's command-f in Rev, type command-m
to get the message box. Type 'find "whatever"' or 'find string
> "whatever"' or 'find whole "whatever'' and so on. Then hit return.
It's cumbersome, typing the quotation marks and stuff yourself.
Sarah suggested an improvement, which I use constantly.
put the following script in a button:
on mouseUp
go to cd "Single Line" of stack "Message Box"
put "find " & quote & quote into fld "Message Field" \
of cd "Single Line" of stack "Message Box"
put " select char 7 to 6 of fld " & quote & "Message Field" \
& quote & " of cd " & quote & "Single Line" & quote & "
of stack " \
& quote & "Message Box" & quote into tCmd
send tCmd to me in 30 ticks
end mouseUp
It would make sense to label the button "Find". Put copies of this
button wherever you might want a hyperCard-like find. Instead of
command-f, just click the button. The script types the command in the
message box, including quotation marks, and places the cursor between
them, so it's just type and go.
It searches all fields in the top stack, until it gets to the last
card. You can keep hitting return to search for the next instance,
until you find what you want. It starts with the current card, and
stops when it gets to the last card in the stack. If you want to
search all fields in the stack, type command-1 first, to go to the
first card. It doesn't search button contents, scripts, etc., as far
as I know.
The other possibility is to write your own "find" stack. The "find"
command in a script is fast enough. The native Rev find stack is
probably so slow because it tries to do too many things with one
script. Several separate find scripts with more specialized purposes
> would likely be much faster. I keep meaning to write a stack like
that, but never find the time. No doubt someone else already has, but
I don't know who.
HTH
Tim
What you describe there is the find stack.
The find command simply takes you directly to the card that contains the
information and hilites it with a rectangle...
cheers
Xavier
[EMAIL PROTECTED] wrote on 13/10/2005 09:39:10:
How does the find function works? Does it only list the cards where the
word
searched is found?
Thank you very much in advance for your cooperation.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
-----------------------------------------
Visit us at http://www.clearstream.com
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
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution