相关疑难解决方法(0)

从Mac OS X粘贴板(剪贴板)中获取RTF数据

根据man页面pbpaste,

   -Prefer {txt | rtf | ps}
          tells pbpaste what type of data to look for  in  the  pasteboard
          first.   As stated above, pbpaste normally looks first for plain
          text data; however,  by  specifying  -Prefer  ps  you  can  tell
          pbpaste to look first for Encapsulated PostScript.  If you spec-
          ify -Prefer rtf, pbpaste looks first for Rich Text  format.   In
          any  case,  pbpaste looks for the other formats if the preferred
          one is not found.  The …
Run Code Online (Sandbox Code Playgroud)

macos applescript rtf pasteboard

15
推荐指数
2
解决办法
4357
查看次数

标签 统计

applescript ×1

macos ×1

pasteboard ×1

rtf ×1