Joined: 21 Oct 2005 Posts: 5745 Location: In UR base snifin all UR pantys
Posted: Wed Jun 27, 2007 5:10 pm Post subject:
The commands you wanted aren't actually seperate commands, I *could* explain why "All Commands" isn't where you'd think it should be too but it would be showing off and I don't actually think you care.
Anyway, here you go - these instructions should work for Word 97-Word 2003, I don't know about 2007 because of the UI changes...
1. Starting in Word, with a blank document (close all your open documents), hit Alt+F11 (or Tools-Macros-Visual Basic Editor)
2. Right click on Normal (in the list of projects)
3. Click Insert – Module
4. You may want to change the name of the module to something more friendly (in the properties window).
5. Clear out anything that is written in the main window and copy this code in…
Code:
Option Explicit
Public Sub ChangeCase()
Selection.Range.Case = wdTitleWord
End Sub
Public Sub HitEnter()
Selection.TypeParagraph
End Sub
Public Sub PastePlain()
Selection.PasteSpecial DataType:=wdPasteText
End Sub
6. Then hit the disk icon to “save normal” which will update the file which documents are based on
7. Close the visual basic editor.
8. Right click the toolbar & choose customize.
9. Under “macros” you should now find your three new commands, you can drag these and drop them onto the toolbars where you want them, and right-click them to set their properties (change names or give them icons or whatever).
10. Close Word down, saving normal, or normal.dot if asked.
When you reopen it – your toolbar buttons should be there... if not I'll sort it out for you, my rates are reasonable, but you might find the call-out costs a mite prohibitive.
Joined: 15 Nov 2004 Posts: 14311 Location: Boston, MA USA
Posted: Wed Jun 27, 2007 7:12 pm Post subject:
monosodium wrote:
The commands you wanted aren't actually seperate commands, I *could* explain why "All Commands" isn't where you'd think it should be too but it would be showing off and I don't actually think you care.
Anyway, here you go - these instructions should work for Word 97-Word 2003, I don't know about 2007 because of the UI changes...
1. Starting in Word, with a blank document (close all your open documents), hit Alt+F11 (or Tools-Macros-Visual Basic Editor)
2. Right click on Normal (in the list of projects)
3. Click Insert – Module
4. You may want to change the name of the module to something more friendly (in the properties window).
5. Clear out anything that is written in the main window and copy this code in…
Code:
Option Explicit
Public Sub ChangeCase()
Selection.Range.Case = wdTitleWord
End Sub
Public Sub HitEnter()
Selection.TypeParagraph
End Sub
Public Sub PastePlain()
Selection.PasteSpecial DataType:=wdPasteText
End Sub
6. Then hit the disk icon to “save normal” which will update the file which documents are based on
7. Close the visual basic editor.
8. Right click the toolbar & choose customize.
9. Under “macros” you should now find your three new commands, you can drag these and drop them onto the toolbars where you want them, and right-click them to set their properties (change names or give them icons or whatever).
10. Close Word down, saving normal, or normal.dot if asked.
When you reopen it – your toolbar buttons should be there... if not I'll sort it out for you, my rates are reasonable, but you might find the call-out costs a mite prohibitive.
Hey, That Is Great. It works. But-A-Bing!!!! I’m very excited about it. Thanks a ton. it will make renaming porn clips sooooo much easer and for the betterment of other down loaders (I'm a regular "porn cell" in case the moral majority tries to shut down the world. heheheh). As you can see, I use the function a lot. And being a Mac geek, I was happy choosing the “Two Foot Steps” icon for enter.
I would be interested to know about the position of “All Commands” too.
Do you happen to know how to best make icons for tools (i.e. size and format). I generally just cut and past from existing tools, but sometimes I am at a loss for a really good visual cue. Does the Mac clipboard corrupt the internal format so that pasted icons not from word’s own tools will not work well?
Joined: 21 Oct 2005 Posts: 5745 Location: In UR base snifin all UR pantys
Posted: Thu Jun 28, 2007 7:00 pm Post subject:
mostirreverent wrote:
Hey, That Is Great. It works. But-A-Bing!!!! I’m very excited about it. Thanks a ton. it will make renaming porn clips sooooo much easer and for the betterment of other down loaders (I'm a regular "porn cell" in case the moral majority tries to shut down the world. heheheh).
That's good because I think between Drinker (and his aliases) the idiot that is Myron Myron, Marble and Swee are working on it. When they're not faking science that is.
mostirreverent wrote:
As you can see, I use the function a lot. And being a Mac geek, I was happy choosing the “Two Foot Steps” icon for enter.
Love that one - I really should fire my old mac up sometime.
mostirreverent wrote:
I would be interested to know about the position of “All Commands” too.
The commands come from a numbered list, they started at 1 and that was way before they thought they'd need "all commands", the numbers are used in all sorts of places and changing them would have meant either writing "magic code" which would be code to get the list and make the change in the dialogue box or changing the numbers. Magic code would have made the behaviour incosistent for programmers and changing the numbering would have caused some big headaches for people upgrading custom toolbars from old versions of the products... So they never have.
Quite a few idiosyncrasies in many software packages continue to survive due to this very issue. It's all different in Office 2007 though, the UI changes have taken care of just about everything. The new UI really rocks by the way.
mostirreverent wrote:
Do you happen to know how to best make icons for tools (i.e. size and format). I generally just cut and past from existing tools, but sometimes I am at a loss for a really good visual cue. Does the Mac clipboard corrupt the internal format so that pasted icons not from word’s own tools will not work well?
No idea - I think the clipboard shouldn't be a problem, but your mileage may vary. I think the icons are ico files which are 16x16x256 colour windows bitmaps, but it's been a while. I have to do some for a client in a couple of weeks so I should probably go look it up.