Page 1 of 1

Can the wordwrap state be detected when writing a macro?

Posted: Fri Jan 27, 2012 5:54 am
by ineuw
I often toggle the wordwrap but in some macros, I need it to be off. Can a macro detect the on/off state? If yes, how? Thanks.

Posted: Fri Jan 27, 2012 8:37 am
by ak47wong
I don't think it's possible. The word wrap command is always a toggle. There's no way to set it explicitly on or off.

Posted: Wed Feb 01, 2012 3:52 am
by kengrubb
What ak47 said, and I'm curious what it is you are trying to do?

Posted: Wed Feb 01, 2012 4:44 am
by ineuw
kengrubb wrote:What ak47 said, and I'm curious what it is you are trying to do?
Some text formatting I need to perform for Wikipedia requires a straight line to prevent errors. In case I forget to t toggle the wrap manually (looking at the button state on the toolbar), I wanted the macro to toggle off the wrap.