Match Destination Formatting in Word 2008

M

MC

When you paste text into a Word document, it retains its original
formatting.

There is an option (in Prefs) to show a Paste Options button, that gives
you the option ³Match Destination Formatting² -- this is perfectly
useful, but you have to do it for every paste you make.

Is there a way to have Word default to ³Match Destination Formatting²?
Or a way to have this option mapped to a keystroke?

In older versions there was a workaround: You could record a macro and
assign it to a keystroke shortcut. But as far as I can determine, you
can no longer record macros at all in Word 2008, and assigning a command
to a keystroke is a PITA.

Because... again, as far as I can determine, you can't do it from within
Word, you have to go to System Preferencs » Keyboard.

I tried that in order to to assign Paste Special » Unformatted Text
(which would do the trick, I think) to a keystroke.

Problem #1:

System Prefs Keyboard couldn't even see Word 2008.

I moved it out of the Office 2008 folder and it could now see it.

I entered "Unformatted Text" as the desired command .

Problem #2:

Word 2008 crashes if you try to launch it from outside the Office 2008
folder.

Once I figured that out, I tried again, and put Word back in the Office
folder.

It launched, but...

Problem #3:

Thye shortcut didn't work.

___

So apart from the inconvenience and stupidity of disabling Recording
Macros, and assigning commands to keystrokes... Grrrrrrrrr!

IS there a way to do what I want?

Thanks in advance for all input.
 
C

CyberTaz

Not sure where you got the idea you had to use the System Prefs for a kybd
shortcut in Word, but that just ain't the case:)

Unfortunately there is no way to change the default or have direct access to
any specific flavor of Paste Special but you can do either or both of these:

In the Customize Menus/Toolbars dialog Commands page select All Commands,
locate EditPastSpecial in the Commands list then:

1- Drag the command to a toolbar for a button to be created

2- Click the Keyboard button at the bottom of the Customize dialog, locate
the command in the same way there & stick whatever keystroke to it you wish.

That command only launches the Paste Special dialog, but makes it a little
faster to get the job done.

HTH |:>)
Bob Jones
[MVP] Office:Mac
 
M

MC

CyberTaz said:
Not sure where you got the idea you had to use the System Prefs for a kybd
shortcut in Word, but that just ain't the case:)

It's where the 2008 Help files pointed me when I entered "assign
keyboard shortcut" -- now I can see it's simply "keyboard" under Tools.
I guess it's both simpler and more complicated than I thought!
Unfortunately there is no way to change the default or have direct access to
any specific flavor of Paste Special

Well I hope someone at Microsoft will add this to the enhancement
request list because it seems like a logical thing to want to do -- and
I've seen it discussed on other boards.

deally what I want to see is:

Cmd-V = Paste

Modifier-Cmd-V = Custom Paste.

The way it is now involves completely unnecessary steps.
 but you can do either or both of these:

In the Customize Menus/Toolbars dialog Commands page select All Commands,
locate EditPastSpecial in the Commands list then:

1- Drag the command to a toolbar for a button to be created

2- Click the Keyboard button at the bottom of the Customize dialog, locate
the command in the same way there & stick whatever keystroke to it you wish.

That command only launches the Paste Special dialog, but makes it a little
faster to get the job done.

Thanks for taking the time to lay this out so clearly.

But it's *still" a 2-step process, when it should be a 1-step option.
 
M

mlewanfr

Is there a way to have Word default to ³Match Destination Formatting²?
Or a way to have this option mapped to a keystroke?

In older versions there was a workaround: You could record a macro and
assign it to a keystroke shortcut. But as far as I can determine, you
can no longer record macros at all in Word 2008, and assigning a command
to a keystroke is a PITA.

Can you not apply a button or keyboard short cut to an AppleScript? If
you can, try

tell application "Microsoft Word"
paste special (text object of selection) data type paste text
end tell

Cheers
Magnus
 
M

MC

mlewanfr said:
Can you not apply a button or keyboard short cut to an AppleScript? If
you can, try

tell application "Microsoft Word"
paste special (text object of selection) data type paste text
end tell

Thanks -- I'll see if I can make thatwork. I'm not wise in the ways of
AppleScript, but this is bugging me enough to get me onto the learning
curve.
 
D

Daiya Mitchell

MC said:
Thanks -- I'll see if I can make thatwork. I'm not wise in the ways of
AppleScript, but this is bugging me enough to get me onto the learning
curve.

It will work. I just tested the instructions on the versions at
Macworld. For the scripts, see here:
http://word.mvps.org/mac/word2008/PasteTextAS.html
(article pretty tested)

I've not totally double tested the "Help! What do I do with this?" link,
but it should work. Still working on how to install a keyboard shortcut,
but it will get the script installed.

Daiya
 
M

MC

Daiya Mitchell said:
I've not totally double tested the "Help! What do I do with this?" link,
but it should work. Still working on how to install a keyboard shortcut,
but it will get the script installed.

Hi... the script below does exactly what I want it to -- THANKS!

However. the keyboard shortcut doesn't seem to work.

Don't know if this might have something to do with it, but I use a
French Canadian physical keyboard, and "Canadian French - CSA" as the
Keyboard Layout. It might mean the "coV" part of the script might need
to be amended. I'll try "ca" since the option key is called the "alt"
key on the French KB...


+++

Paste Text Matching Destination Format
tell application "Microsoft Word"
paste and format (text object of selection) type format surrounding
formatting with emphasis
end tell

+++

Save the script in ~/Documents/Microsoft User Data/Word Script Menu
Items as

“Paste Matching Destination Format.scpt \coVâ€

to run it via control+option+V.
 
M

MC

MC said:
Hi... the script below does exactly what I want it to -- THANKS!

However. the keyboard shortcut doesn't seem to work.

Don't know if this might have something to do with it, but I use a
French Canadian physical keyboard, and "Canadian French - CSA" as the
Keyboard Layout. It might mean the "coV" part of the script might need
to be amended. I'll try "ca" since the option key is called the "alt"
key on the French KB...

Update:

The KB shortcut does work as designed after all. So forget the above.

Just one question:

If I wanted to assign it to Option + Command + V instead of Ctrl +
Option + V what should I change the "coV" to?
 
M

MC

If I wanted to assign it to Option + Command + V instead of Ctrl +
Option + V what should I change the "coV" to?

I think this should work with all Office apps:

http://www.entourage.mvps.org/script/add_shortcuts.html[/QUOTE]

I now have exactly what I was hoping to get, assigned to the keystroke
of my choice.

Many, many thanks to everyone who pitched in and piled on.

That said, I do think the programmers at MS could, and should make this
simpler from the get-go. Maybe in Prefs there could be a category for
Paste, in which you could specify (or not) a preferred mode. Or, make
Match Destination Formatting a command that could be assigned to a
shortcut under Customize Keynoard -- that might be better, in fact,
since you could have the regular Cmd-V for a regular Paste, and a
different shortcut for a different Paste.

Which is what I now havem thanks to all who helped.

Hope I can be as helpful on some other topic when the time comes.
 
J

John McGhie

There are eight people in the world who know how to do this, now you're
here!

So make sure you remember the answer, and hang around, because you WILL be
asked. Just a few thousand times :)

Sorta like "Pay attention now, there will be a test tomorrow..." Isn't it?

Cheers


I think this should work with all Office apps:

http://www.entourage.mvps.org/script/add_shortcuts.html

I now have exactly what I was hoping to get, assigned to the keystroke
of my choice.

Many, many thanks to everyone who pitched in and piled on.

That said, I do think the programmers at MS could, and should make this
simpler from the get-go. Maybe in Prefs there could be a category for
Paste, in which you could specify (or not) a preferred mode. Or, make
Match Destination Formatting a command that could be assigned to a
shortcut under Customize Keynoard -- that might be better, in fact,
since you could have the regular Cmd-V for a regular Paste, and a
different shortcut for a different Paste.

Which is what I now havem thanks to all who helped.

Hope I can be as helpful on some other topic when the time comes.[/QUOTE]

--
Don't wait for your answer, click here: http://www.word.mvps.org/

Please reply in the group. Please do NOT email me unless I ask you to.

John McGhie, Consultant Technical Writer
McGhie Information Engineering Pty Ltd
http://jgmcghie.fastmail.com.au/
Sydney, Australia. S33°53'34.20 E151°14'54.50
+61 4 1209 1410, mailto:[email protected]
 
P

Phillip Jones

Maybe Office should Have what Mozilla products a configuration editor ;-)
I think this should work with all Office apps:

http://www.entourage.mvps.org/script/add_shortcuts.html

I now have exactly what I was hoping to get, assigned to the keystroke
of my choice.

Many, many thanks to everyone who pitched in and piled on.

That said, I do think the programmers at MS could, and should make this
simpler from the get-go. Maybe in Prefs there could be a category for
Paste, in which you could specify (or not) a preferred mode. Or, make
Match Destination Formatting a command that could be assigned to a
shortcut under Customize Keynoard -- that might be better, in fact,
since you could have the regular Cmd-V for a regular Paste, and a
different shortcut for a different Paste.

Which is what I now havem thanks to all who helped.

Hope I can be as helpful on some other topic when the time comes.
[/QUOTE]

--
------------------------------------------------------------------------
Phillip M. Jones, CET |LIFE MEMBER: VPEA ETA-I, NESDA, ISCET, Sterling
616 Liberty Street |Who's Who. PHONE:276-632-5045, FAX:276-632-0868
Martinsville Va 24112 |[email protected], ICQ11269732, AIM pjonescet
------------------------------------------------------------------------

If it's "fixed", don't "break it"!

mailto:p[email protected]

<http://www.kimbanet.com/~pjones/default.htm>
<http://www.kimbanet.com/~pjones/90th_Birthday/index.htm>
<http://www.kimbanet.com/~pjones/Fulcher/default.html>
<http://www.kimbanet.com/~pjones/Harris/default.htm>
<http://www.kimbanet.com/~pjones/Jones/default.htm>

<http://www.vpea.org>
 
J

John McGhie

Yes. It SHOULD :) The one in the Office 2007 VBA Editor (Visual Studio
Team Office) would work very nicely... :)

Maybe Office should Have what Mozilla products a configuration editor ;-)

--
Don't wait for your answer, click here: http://www.word.mvps.org/

Please reply in the group. Please do NOT email me unless I ask you to.

John McGhie, Consultant Technical Writer
McGhie Information Engineering Pty Ltd
http://jgmcghie.fastmail.com.au/
Sydney, Australia. S33°53'34.20 E151°14'54.50
+61 4 1209 1410, mailto:[email protected]
 
D

Daiya Mitchell

And also thanks to all for pitching in--MC, thanks for testing my
drafts. Updated articles posted:

AppleScripts for Pasting Text
http://word.mvps.org/mac/PasteTextAS.html

Install an AppleScript in MacWord
http://word.mvps.org/Mac/InstallApplescript.html
(with links to keyboard assigning)

MC, total agreement that these ought to be built-in commands available
in Tools | Customize. All we can do is use Help | Send Feedback in Word.

Daiya
I think this should work with all Office apps:

http://www.entourage.mvps.org/script/add_shortcuts.html

I now have exactly what I was hoping to get, assigned to the keystroke
of my choice.

Many, many thanks to everyone who pitched in and piled on.

That said, I do think the programmers at MS could, and should make this
simpler from the get-go. Maybe in Prefs there could be a category for
Paste, in which you could specify (or not) a preferred mode. Or, make
Match Destination Formatting a command that could be assigned to a
shortcut under Customize Keynoard -- that might be better, in fact,
since you could have the regular Cmd-V for a regular Paste, and a
different shortcut for a different Paste.

Which is what I now havem thanks to all who helped.

Hope I can be as helpful on some other topic when the time comes.
[/QUOTE]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top