Unfortunately, as the saying goes, in theory there should be no difference between theory and practice, but in practice there is. That is, you would expect that if you paste in the RTF, and then remove styles, you would get the same result as if you used the plain text. Generally, these different pieces of information should all be logically the same. So Pages or Numbers might use the iWork representation of the text, another word processor might use the RTF version, a plain text application like BBEdit might use the UTF8 text, an image application like Acorn might use the image, and so on. When an application pastes anything from the clipboard, it tries to choose the best representation. These different forms of the information on the clipboard are called “flavors”. There are four possible solutions to ensure robustness in these sorts of cases:Ī reference to the location in the document A similar affect can happen if you actively delete the pasted clipboard using the Delete Clipboard action - the old clipboard may be restored before the Command-V is processed. If the application / system is slow, then the pause will not be long enough, and what will actually happen on the application end is: Post a Command V to the keyboard event queue Keyboard Maestro includes an automatic delay after posting a command key to allow the application to process it, but it's possible for the system / application to be slow in processing it and thus resulting in the wrong order of execution. Sometimes Typing results in Characters Missing or out of OrderĬopy or Paste is done via a Command-C or Command-V, and this is an asynchronous action - the keystroke is posted to the event queue and the system/application will process it at some unknown future time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |