Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on run {input, parameters}
- try
- (item 1 of (clipboard info for «class furl»))
- set cbFile to true
- on error
- set cbFile to false
- end try
- if cbFile then
- tell application "System Events" to keystroke "v" using {option down, command down}
- else
- display alert "the clipboard does not contain a file"
- end if
- return input
- end run
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement