AnsweredAssumed Answered

Script Steps Copy and Paste fail

Question asked by hamrichards on May 2, 2013
Latest reply on May 3, 2013 by hamrichards

Summary

Script Steps Copy and Paste fail

Product

FileMaker Pro

Version

FMP Advanced v.12.4

Operating system version

Mac OS X 10.8.3

Description of the issue

The two script steps Copy and Paste are not working in FMPA 12.0v4. The failure of Paste is revealed by running the script shown in "Steps to reproduce the problem" after using Copy in another application to load the clipboard. The failure of Copy is revealed by pasting into a text file after running the script.

When the same script is run in FMP Advanced 11.0v4, it shows that Copy and Paste work correctly.

Steps to reproduce the problem

Run this script:

Show Custom Dialog ["Copy-Paste Test"; Global::CopyPasteTest1]
Copy [Select; Global::CopyPasteTest1]
Set Field [Global::CopyPasteTest2; "PASTE FAILED"]
Paste [Select; No style; Global::CopyPasteTest2]
Show Custom Dialog ["Copy-Paste Test Result"; Global::CopyPasteTest2]

Expected result

Second dialog shows the text input into first dialog.

Actual result

Second dialog shows "PASTE FAILED".

Exact text of any error message(s) that appear

No error messages.

Configuration information

I can't think of anything else.

Workaround

None.

Outcomes