By typing this in ruby console, it works perfectly in both the PC and Mac. It copies and pastes the selected component. However, implementing this directly in the extension (ex. in a extensionx.rb), only works on the PC, even returning “true” for both sentences.