The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 New Feature Request
 Super 'Search and replace Text'

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Miksteele Posted - June 09 2004 : 1:35:06 PM
I use Hurricane's 'Search and replace Text' SCRIPT CREATION WIZARD quite often. I am finding that I also need use the 'Search and replace Mtext' for the same search and replace task or I will end up leaving things behind, (for one reason or another).

I realized that 'Search and replace Text' is a LISP function and 'Search and replace Mtext' is a VBA application. This is why they are separate.

However... Would there be a way to combine the Wizards? Such as... one would run the 'Search and replace Text' wizard, the window pops up, information is typed in, and an additional "tick box" would ask if Mtext shall be changed also. Or... maybe by ticking the box, the Mtext window would pop up with the same search and replace data already typed in. This would then append to the regular text replace script.

This would eliminate a bunch of "work around" tasks...

What do you think?
6   L A T E S T    R E P L I E S    (Newest First)
Miksteele Posted - June 14 2004 : 08:50:20 AM
IT PASSED !!!

This is GREAT !!! Thanks a lot!!!
Admin Posted - June 13 2004 : 1:26:19 PM
Here you go!

If this one gets by your quality control department (you ), I'll release it with full installer.

Thanks again!
Bill

Download Attachment: hurricane6.3.6.zip
163.22 KB
Admin Posted - June 13 2004 : 06:34:24 AM
Excellent idea.... can't say how many times I've wanted to do the same, but I never put 2 and 2 together... I will add that feature to ALL the Wizards...

Thanks,
Bill
Miksteele Posted - June 12 2004 : 11:23:28 AM
Prefect !!! Works Great !!! Thanks

What do you think about offering an option to append? After hitting CREATE, your warning box pops up telling me that I am about to overwrite my user script. This is where probably 8 out of 10 times we would like to click append, but can't. Of course, we just save it and then pull them all together again later. The save is really just a temporary thing though. These never get reused. I know I could script a group of ten changes, (really 20, 1 set of dtext & one set of mtext), save the script and then just edit the script as we need to...but I find I get better results when my users run your wizards. "Better results" = "Less Headaches"

Maybe something to think about...

Thanks for the update!!!
Admin Posted - June 12 2004 : 07:34:22 AM
Hi Miksteel,

Here is the update... fixed a couple of other little things too... like if you press "Create and Run" while AutoCAD is already running a script, Hurricane won't try to launch another AutoCAD session.

Give it a shot!

Regards,
Bill

Download Attachment: hurricane6.3.5.zip
161.78 KB
Admin Posted - June 09 2004 : 10:44:05 PM
Sounds like a good idea... I'll have to work on it... I like your checkbox idea...

In the meantime, why not just append the two scripts together though? I've saved off a script called "SearchMTEXT" and just fill the two lines of text in manually, then append the "SearchTEXT" script to it (maybe save the whole thing as "SearchReplaceAllText", and just manually edit the search/replace lines...

(I find I only really ever use the Wizards once, then I just save the generated code off, and reuse it by changing the respective lines... maybe I'm just crazy though!?)

(LOAD "C:/PROGRAM FILES/HURRICANE/LISP/REPTEXT.LSP")
;-------------
REPTEXT
Search for
Replace with
Y
Y
Y
Y
ALL

;-------------
-VBALOAD "$HUR_PATH$LISP/Mtext.dvb"
-VBARUN MTEXT.SearchAndReplace
Search for
Replace with
VBAUNLOAD "$HUR_PATH$LISP/Mtext.dvb"
;-------------


I bet this is what you meant by "bunch of work around" tasks... either way... I can take a look at it... the source code is already written, it wouldn't take too much effort...


Thanks!
Bill

The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.16 seconds. Snitz Forums 2000