Re: searching for a put that opens message box

2010-05-17 Thread Devin Asay

On May 16, 2010, at 1:16 PM, Jim Bufalini wrote:
 
 Here is a small Rev plugin that finds orphaned puts in any open stack you so
 designate. It was written by Eric Chatonet. Offered as is. It will also
 find other lines of code. Please put it in your plugins folder and launch it
 from there. 
 
 www.jimbofhawaii.com/downloads/Smart Search.rev

The link seems to be broken, Jim, although I was able to get it by just listing 
the downloads folder contents.

Thanks for offering this.

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: searching for a put that opens message box

2010-05-17 Thread Jim Bufalini
Devin Asay wrote:
 
 The link seems to be broken, Jim, although I was able to get it by just
 listing the downloads folder contents.
 
 Thanks for offering this.

The link is ok, it just got broken at the space in the send. Hopefully it
won't get broken this time, If it does, just copy the entire link and paste
into your browser. 

www.jimbofhawaii.com/downloads/Smart Search.rev

Aloha from Hawaii,

Jim Bufalini



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-17 Thread Bob Sneidar
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@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-17 Thread Bob Sneidar
BACKWARDS OFFSET! HERE HERE!!! Like the dBase function RAT(). 

Bob


On May 15, 2010, at 10:43 AM, stephen barncard wrote:

 collect the line numbers on the first pass, they ya gotta count backwards if
 you delete lines, Mark. Repeat for each won't work unless the entire script
 is rebuilt.
 
 Do we need a  backwards offset??

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-17 Thread Bob Sneidar
spaces in url's and web files are evil. Link no workie. 

Bob


On May 16, 2010, at 12:16 PM, Jim Bufalini wrote:

 www.jimbofhawaii.com/downloads/Smart Search.rev

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-17 Thread stephen barncard
cmon, gang we're coders!  URLEcode!

 go URL(http://www.jimbofhawaii.com/downloads/Smart%20Search.rev;) in the
msg box


(tested)


this is a fast and versatile search dialog. I like it. Thanks, Jim, thanks
Eric!



On 17 May 2010 15:42, Bob Sneidar b...@twft.com wrote:

 www.jimbofhawaii.com/downloads/Smart Search.rev




-- 
-
Stephen Barncard
Back home in SF
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-17 Thread Bob Sneidar
Oddly I copied the entire text from the email including the space. The browser 
substituted the appropriate %20 but I still got the file not found 404 error. 
By going to the directory, I was able to download it, but only by using Save to 
Downloads in a right click. Just saying. :-)

Looks like a nice little find in any script utility. It could be made into a 
nice tRev plugin too! 

Bob


On May 17, 2010, at 3:58 PM, stephen barncard wrote:

 cmon, gang we're coders!  URLEcode!
 
 go URL(http://www.jimbofhawaii.com/downloads/Smart%20Search.rev;) in the
 msg box
 
 
 (tested)
 
 
 this is a fast and versatile search dialog. I like it. Thanks, Jim, thanks
 Eric!
 
 
 
 On 17 May 2010 15:42, Bob Sneidar b...@twft.com wrote:
 
 www.jimbofhawaii.com/downloads/Smart Search.rev
 
 
 
 
 -- 
 -
 Stephen Barncard
 Back home in SF
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: searching for a put that opens message box

2010-05-17 Thread Jim Bufalini
Bob Sneidar wrote:

 spaces in url's and web files are evil. Link no workie.

Yes they are. Now been switched to have no spaces:
 
www.jimbofhawaii.com/downloads/SmartSearch.rev

Aloha from Hawaii,

Jim Bufalini




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-17 Thread william humphrey
Thanks. That plug-in will always be useful. How hard is it to turn into a
tRev plug in?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-17 Thread Jerry Daniels

William,

There are docs for the tRev plugins on our site. Look on the right  
side of main page.


Those docs have the names of all the tRev fields and some basic built- 
in services. What you want to do, however, can be done by just getting  
the text from the field source, munging it and then selecting the  
first line that has an orphaned put statement. Keep it simple.


Also. when you are in tRev, use the Plugins menu to create a plugin.  
You'll see comments in the base code of a blank plugin that is helpful.



Best,

Jerry Daniels

Use tRev's buy link during your 7 day free trial to get 20% off:
http://reveditor.com/tag/shouldiswitch

On May 17, 2010, at 7:54 PM, william humphrey wrote:

Thanks. That plug-in will always be useful. How hard is it to turn  
into a

tRev plug in?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-17 Thread Mark Wieder
Jim-

Monday, May 17, 2010, 4:33:09 PM, you wrote:

 www.jimbofhawaii.com/downloads/SmartSearch.rev

Nice and fast, but really hasn't kept up with the times. To get it to
work with modern versions of rev (3.5 and up), change the last line of
the mouseup handler in the Edit Script button to

select line tLineNo of fld Script of stack revNewScriptEditor 1

or better yet, switch on the version

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: searching for a put that opens message box

2010-05-16 Thread Jim Bufalini
William,

 
 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

Here is a small Rev plugin that finds orphaned puts in any open stack you so
designate. It was written by Eric Chatonet. Offered as is. It will also
find other lines of code. Please put it in your plugins folder and launch it
from there. 

www.jimbofhawaii.com/downloads/Smart Search.rev


Aloha from Hawaii,

Jim Bufalini

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread Scott Rossi
Try putting the script in variable, and then finding the lineOffset of the line 
that contains put and has only 2 words.

Scott Rossi
Creative Director
Tactile Media, UX Design

On May 15, 2010, at 8:53 AM, william humphrey b...@bluewatermaritime.com 
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@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread william humphrey
I'm not sure it has only two words. I will try your suggestion though. It
could be put variable1  variable2
It sure teaches me to never do this again. Always explicitly call the
message box. I wish RunRev would remove the feature...

On Sat, May 15, 2010 at 12:28 PM, Scott Rossi sc...@tactilemedia.comwrote:

 Try putting the script in variable, and then finding the lineOffset of the
 line that contains put and has only 2 words.

 Scott Rossi
 Creative Director
 Tactile Media, UX Design

 On May 15, 2010, at 8:53 AM, william humphrey b...@bluewatermaritime.com
 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@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




-- 
http://www.bluewatermaritime.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread stephen barncard
Jerry had a function Find Orphaned Puts in GLX2 that would do this and
I've been pestering him to reveal it or make a tRev plugin to use this. It
worked well.

Very useful for this old fashioned basic debugging tool .

I'd make a variation - Delete all orphaned puts if it could be made
foolproof.

On 15 May 2010 09:42, william humphrey b...@bluewatermaritime.com wrote:

 I'm not sure it has only two words. I will try your suggestion though. It
 could be put variable1  variable2
 It sure teaches me to never do this again. Always explicitly call the
 message box. I wish RunRev would remove the feature...

 On Sat, May 15, 2010 at 12:28 PM, Scott Rossi sc...@tactilemedia.com
 wrote:

  Try putting the script in variable, and then finding the lineOffset of
 the
  line that contains put and has only 2 words.
 
  Scott Rossi
  Creative Director
  Tactile Media, UX Design
 
  On May 15, 2010, at 8:53 AM, william humphrey 
 b...@bluewatermaritime.com
  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@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-revolution
  
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 



 --
 http://www.bluewatermaritime.com
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




-- 
-
Stephen Barncard
Back home in SF
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread Scott Rossi
The other thing to do is to make sure the line has no into.

Scott Rossi
Creative Director
Tactile Media, UX Design

On May 15, 2010, at 9:42 AM, william humphrey b...@bluewatermaritime.com 
wrote:

 I'm not sure it has only two words. I will try your suggestion though. It
 could be put variable1  variable2
 It sure teaches me to never do this again. Always explicitly call the
 message box. I wish RunRev would remove the feature...
 
 On Sat, May 15, 2010 at 12:28 PM, Scott Rossi sc...@tactilemedia.comwrote:
 
 Try putting the script in variable, and then finding the lineOffset of the
 line that contains put and has only 2 words.
 
 Scott Rossi
 Creative Director
 Tactile Media, UX Design
 
 On May 15, 2010, at 8:53 AM, william humphrey b...@bluewatermaritime.com
 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@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 
 
 -- 
 http://www.bluewatermaritime.com
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread Jim Ault

On May 15, 2010, at 9:58 AM, Scott Rossi wrote:


The other thing to do is to make sure the line has no into.



  or after, or before

Chipp Walters at Altuit had a utility that did this about 5 years ago.

You could use a RegEx Find in the stack to look at all the scripts.
I don't have time to do the RegEx string that would
  locate all   put
  ignore 'into'  'after'  'before'  on the same line
thus creating a short list of

--
A running detection technique could be -

   if the message box is string I keep seeing but cannot find then  
breakpoint


Moving this further up the processing order should be able to isolate  
it for you.





On May 15, 2010, at 9:42 AM, william humphrey b...@bluewatermaritime.com 
 wrote:


I'm not sure it has only two words. I will try your suggestion  
though. It

could be put variable1  variable2
It sure teaches me to never do this again. Always explicitly call the
message box. I wish RunRev would remove the feature...



Compatibility with Hypercard will mean this feature will likely remain  
for a long time.



Jim Ault
Las Vegas



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread Jerry Daniels
William,

We did at one time in our previous editors have a Find Orphaned Put's menu 
item. tRev is me spare with its extra features, so we created a simple plugin 
architecture for all the extras you'd ever want.

Check out the posts in our site regarding plugs. You go to the site and search, 
or search the site right from tRev's Help menu.

Best,

Jerry Daniels

Create iPad web apps with Rodeo:
http://rodeoapps.com

On May 15, 2010, at 10:53 AM, william humphrey b...@bluewatermaritime.com 
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@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread Jerry Daniels
Excellent ideas for tRev plugins.

Best,

Jerry Daniels

Create iPad web apps with Rodeo:
http://rodeoapps.com

On May 15, 2010, at 11:52 AM, stephen barncard 
stephenrevoluti...@barncard.com wrote:

 Jerry had a function Find Orphaned Puts in GLX2 that would do this and
 I've been pestering him to reveal it or make a tRev plugin to use this. It
 worked well.
 
 Very useful for this old fashioned basic debugging tool .
 
 I'd make a variation - Delete all orphaned puts if it could be made
 foolproof.
 
 On 15 May 2010 09:42, william humphrey b...@bluewatermaritime.com wrote:
 
 I'm not sure it has only two words. I will try your suggestion though. It
 could be put variable1  variable2
 It sure teaches me to never do this again. Always explicitly call the
 message box. I wish RunRev would remove the feature...
 
 On Sat, May 15, 2010 at 12:28 PM, Scott Rossi sc...@tactilemedia.com
 wrote:
 
 Try putting the script in variable, and then finding the lineOffset of
 the
 line that contains put and has only 2 words.
 
 Scott Rossi
 Creative Director
 Tactile Media, UX Design
 
 On May 15, 2010, at 8:53 AM, william humphrey 
 b...@bluewatermaritime.com
 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@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 
 
 --
 http://www.bluewatermaritime.com
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 
 
 -- 
 -
 Stephen Barncard
 Back home in SF
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread Mark Wieder
Scott-

Saturday, May 15, 2010, 9:58:47 AM, you wrote:

 The other thing to do is to make sure the line has no into.

...as in (untested, but you get the idea)

put yourScript into someVariable
filter someVariable with put*
filter someVariable without *into*

repeat for each line tLine in someVariable
  put lineOffset(tLine, yourScript) into tPos
  if tPos is not 0 then
delete line tPos of yourScript
  end if
end repeat

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread stephen barncard
collect the line numbers on the first pass, they ya gotta count backwards if
you delete lines, Mark. Repeat for each won't work unless the entire script
is rebuilt.

Do we need a  backwards offset??

On 15 May 2010 10:33, Mark Wieder mwie...@ahsoftware.net wrote:

 Scott-

 Saturday, May 15, 2010, 9:58:47 AM, you wrote:

  The other thing to do is to make sure the line has no into.

 ...as in (untested, but you get the idea)

 put yourScript into someVariable
 filter someVariable with put*
 filter someVariable without *into*

 repeat for each line tLine in someVariable
  put lineOffset(tLine, yourScript) into tPos
  if tPos is not 0 then
delete line tPos of yourScript
  end if
 end repeat

 --
 -Mark Wieder
  mwie...@ahsoftware.net

 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




-- 
-
Stephen Barncard
Back home in SF
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread william humphrey
I really like the idea of there being a plug-in for tRev that finds
orphaned puts

On Sat, May 15, 2010 at 1:43 PM, stephen barncard 
stephenrevoluti...@barncard.com wrote:

 collect the line numbers on the first pass, they ya gotta count backwards
 if
 you delete lines, Mark. Repeat for each won't work unless the entire script
 is rebuilt.

 Do we need a  backwards offset??

 On 15 May 2010 10:33, Mark Wieder mwie...@ahsoftware.net wrote:

  Scott-
 
  Saturday, May 15, 2010, 9:58:47 AM, you wrote:
 
   The other thing to do is to make sure the line has no into.
 
  ...as in (untested, but you get the idea)
 
  put yourScript into someVariable
  filter someVariable with put*
  filter someVariable without *into*
 
  repeat for each line tLine in someVariable
   put lineOffset(tLine, yourScript) into tPos
   if tPos is not 0 then
 delete line tPos of yourScript
   end if
  end repeat
 
  --
  -Mark Wieder
   mwie...@ahsoftware.net
 
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 



 --
 -
 Stephen Barncard
 Back home in SF
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




-- 
http://www.bluewatermaritime.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread william humphrey
Just went to the tRev site. There are some plug-ins there (ones that put
lists of cards, scripts etc into an email message) but no find orphan puts
plug-in
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread stephen barncard
I never said there was one.

No, Jerry in his wisdom, has left* *it up to us to develop it as an
exercise. So I'll probably do it if someone else doesn't. It's not
*that*much of a brain teaser.

On 15 May 2010 11:06, william humphrey b...@bluewatermaritime.com wrote:

 Just went to the tRev site. There are some plug-ins there (ones that put
 lists of cards, scripts etc into an email message) but no find orphan
 puts
 plug-in
 ___

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread william humphrey
Thanks (I started to say Stephen but I see I should say) everyone -- I
found my orphan put using

put yourScript into someVariable
filter someVariable with put*
filter someVariable without *into*

Except that you have to say

filter someVariable with *put* for it to work as there must be a space or
something before the word put

Bill
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread stephen barncard
Inside the tRev plug environment, perhaps it would be easiest for your plug
script to  'comment out' all the instances of found puts  with a special
comment that could be easily found like  -- * put it. Otherwise you'd need
a dialog or something to do them individually unless it's a mass removal -
(which I would never trust!!)

On 15 May 2010 11:34, william humphrey b...@bluewatermaritime.com wrote:

 Thanks (I started to say Stephen but I see I should say) everyone -- I
 found my orphan put using

 put yourScript into someVariable
 filter someVariable with put*
 filter someVariable without *into*

 Except that you have to say

 filter someVariable with *put* for it to work as there must be a space or
 something before the word put

 Bill
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




-- 
-
Stephen Barncard
Back home in SF
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread Mark Wieder
william-

Saturday, May 15, 2010, 11:34:49 AM, you wrote:

 Except that you have to say

 filter someVariable with *put* for it to work as there must be a space or
 something before the word put

If you're thinking in generic terms, you'd need to do some more work
after that. Your example would also catch and delete

send sputter to card xyz
if tWord is in get,put,send,dispatch
save this stack -- I put this in a comment.

Checking for put as the first word in the line before deleting it
would do the trick, I think.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread Mark Wieder
stephen-

Saturday, May 15, 2010, 10:43:22 AM, you wrote:

 collect the line numbers on the first pass, they ya gotta count backwards if
 you delete lines, Mark. Repeat for each won't work unless the entire script
 is rebuilt.

It's not collecting line numbers, otherwise it would indeed run into
that problem. Just collecting actual text, and finding the lineoffset
in the loop.

 Do we need a  backwards offset??

I'd love it if the third optional parameter for the xOffset commands
could be negative, saying start from the end instead of from the
beginning.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread stephen barncard
makes sense. Should have run the code. Sorry to jump to conclusions.

On 15 May 2010 12:01, Mark Wieder mwie...@ahsoftware.net wrote:

 stephen-

 Saturday, May 15, 2010, 10:43:22 AM, you wrote:

  collect the line numbers on the first pass, they ya gotta count backwards
 if
  you delete lines, Mark. Repeat for each won't work unless the entire
 script
  is rebuilt.

 It's not collecting line numbers, otherwise it would indeed run into
 that problem. Just collecting actual text, and finding the lineoffset
 in the loop.

  Do we need a  backwards offset??

 I'd love it if the third optional parameter for the xOffset commands
 could be negative, saying start from the end instead of from the
 beginning.

 --
 -Mark Wieder
  mwie...@ahsoftware.net

 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




-- 
-
Stephen Barncard
Back home in SF
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: searching for a put that opens message box

2010-05-15 Thread Mark Wieder
stephen-

Saturday, May 15, 2010, 3:44:39 PM, you wrote:

 makes sense. Should have run the code. Sorry to jump to conclusions.

Well, as I pointed out, I didn't actually run it myself. But while I
was writing it I noticed that deleting lines might be a problem,
thought it through and figured that it *probably* wasn't.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution