Inconsistent results when copying from Numbers

I have a macro designed to select a short row of text from a Numbers spreadsheet (5 columns, 37 characters), copy it, “remove styles,” and then parse it with a regular expression.

KM seems to perform the “remove styles” step inconsistently:

  • Sometimes it converts the copied text to tab-delimited strings.
  • Sometimes it converts the copied text to newline-delimited strings.
  • Sometimes it returns “no text in clipboard.”

Results are inconsistent with the exact same row of text over and over.

I have inched through the macro with the debugger to ensure it’s not a timing/speed issue. What’s up?

Hey Jack,

We've established that iWorks apps can have clipboard problems.

-Chris

1 Like

Curse you, Tim Cook!!!

@ccstone Thanks for your help.