Aymon Fournier

Results 18 comments of Aymon Fournier

How about using this [Ruby Giphy Alfred Workflow](https://github.com/invious/giphyPaste.alfredworkflow) and porting it to Python? (this is my fork, which includes a swift script to put the giphy on the pasteboard, which...

How? I am holding CMD before pressing enter and the gif is not copying to the pasteboard?

I saw you changed the filter variable check from {var:copy} to {var:giphy_copy}, that's what i was going to try to see if you had made a mistake. but even with...

the binary didn't work but using the swift interpreter did ``` ./imgpbcopy icon.png dyld: Library not loaded: @rpath/libswiftAppKit.dylib Referenced from: /Users/aymon/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C4B633AD-6EC5-4616-A71C-E9AD1E8D4EAE/./imgpbcopy Reason: image not found Abort trap: 6...

Yeah, dunno. I didn't compile it I just changed it to run the script with the interpreter

when I got it to work the script was only copying the image to the NSPasteBoard as PNG, (not animated GIF) so yeah

@kejadlen it used to work! some update must have broken my code. the date of those releases, the code was working. I remember looking far and wide for pasting gif...

@kejadlen I think I fixed it! Takes the url as an argument. ``` import Cocoa var url_arg = CommandLine.arguments[1] var pb = NSPasteboard(name: NSGeneralPboard) if let url = NSURL(string: url_arg)...

Xcode 8, Swift 3.0.1 I don't know but the code I pasted works. Here is my working workflow: https://cl.ly/2T2m1E0m3l0y