Created
October 21, 2015 09:13
-
-
Save bomberstudios/9a2df820f2422537d5be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function copy_text(txt){ | |
var pasteBoard = [NSPasteboard generalPasteboard] | |
[pasteBoard declareTypes:[NSArray arrayWithObject:NSPasteboardTypeString] owner:nil] | |
[pasteBoard setString:txt forType:NSPasteboardTypeString] | |
} | |
var s = context.selection[0] | |
var css = s.CSSAttributeString() | |
var framerCSS = css.replace("border-radius", "borderRadius") | |
copy_text(framerCSS) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment