koletutor Posted January 12, 2012 Posted January 12, 2012 Hello, I'm trying to create button with macro to edit existing text in place, with predefined text with macro .... For example, existing text is "Old text", and I want this text (or whatever I select) to edit in place with click on macro button to change it to "New text". Thank you in advance ... Quote
ReMark Posted January 12, 2012 Posted January 12, 2012 Couldn't that be handled with Find & Replace just as well? Quote
koletutor Posted January 12, 2012 Author Posted January 12, 2012 Yes it can, but if you have buttons with predefined text it would be much faster ... Quote
ReMark Posted January 12, 2012 Posted January 12, 2012 Give us a real world example. Old text = New text = Are you doing this to correct text in a large number of drawings? Quote
koletutor Posted January 12, 2012 Author Posted January 12, 2012 OK, Old text = Any text New text = Hello If created like button macro (^C^C_CommandToEditTextWithReplacingTextWithHello ) it would be nice to work for opened drawing and single picked text. Quote
ReMark Posted January 12, 2012 Posted January 12, 2012 You're a funny guy. Are you doing this to correct text in a large number of drawings? How many of these change text macro buttons are you going to need? Quote
ReMark Posted January 12, 2012 Posted January 12, 2012 Alright. I see you don't want to answer the question I put to you twice so I'm moving on. One of the programmers will help you out. Bye. Quote
ReMark Posted January 12, 2012 Posted January 12, 2012 Replace text elements using a lisp routine. http://cadtips.cadalyst.com/notestext/replace-text-elements Search and replace text. http://cadtips.cadalyst.com/notestext/search-and-replace Replace text string. http://cadtips.cadalyst.com/notestext/replace-text-strings Quote
designerstuart Posted January 12, 2012 Posted January 12, 2012 i knew you couldn't stay away long remark Quote
ReMark Posted January 12, 2012 Posted January 12, 2012 Drawn to the flame like a moth. My singed wings prove it. Quote
designerstuart Posted January 12, 2012 Posted January 12, 2012 also, the link in this thread might help Quote
koletutor Posted January 12, 2012 Author Posted January 12, 2012 Thank you for helping me out, ReMark and designerstuart Quote
designerstuart Posted January 12, 2012 Posted January 12, 2012 You're welcome. a while back i had to find out exactly the same thing as you! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.