|
Bill Newbie
Joined: 04 Aug 2002 Posts: 2
|
Posted: Wed Aug 14, 2002 3:29 am
#type |
Hi,
I have an alias to search a file for information and return it to me. The problem is that when I search the file for more than one word, a trigger is created that gags the second word.
the alias is
#file 1 nf.txt
#ga
#type 1 "%1"
#cl 1
#ga
I realize that I could put quotes around the search string to avoid this problem, but I always forget. I could also remove the #ga, but I hate being told that a file was opened or closed.
Any help is appreciated and thanks in advance
B |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Wed Aug 14, 2002 3:51 am |
That behavior is odd, but a solution might be simple. Try changing #type 1 "%1" to #type 1 "%-1".
|
|
|
|
Bill Newbie
Joined: 04 Aug 2002 Posts: 2
|
Posted: Wed Aug 14, 2002 4:07 am |
works great. Thanks again
B |
|
|
|
|
|