[更新:实际上,我更喜欢这个:http: //360percents.com/posts/command-line-twitter-status-update-for-linux-and-mac/——一个简单的 bash 脚本,也可以与AppleScript 如果你真的知道你在做什么。下面的方法也可以。]
另一种方法(如果您所追求的只是自动化推文过程)是下载 titchi,这是一个用于 twitter 的命令行工具,并使用do shell script编写 AppleScript 。你仍然可以打开你的 twitter 客户端。
诚然,我还没有尝试过,但我有点想尝试。如果您对它的工作原理感兴趣,我将对其进行测试。这是描述用法的输出:
usage: twitchi
-af,--addFriend Add friend.
-au,--auth Authenticate twitchi to post to your Twitter
account.
-bu,--blockUser Block user.
-dm,--directMsg Send direct message.
-h,--help Show usage information
-m,--msg <arg> Message/Status text/Search query. To be used in
conjunction with other options.
-p,--page <arg> Page number. To be used in conjunction with other
options.
-ph,--proxyHost <arg> Proxy host. To be used in conjunction with -sp.
-pp,--proxyPort <arg> Proxy port. To be used in conjunction with -sp.
-rf,--removeFriend Remove friend.
-rp,--removeProxy Remove proxy.
-s,--search Search.
-sd,--showDM Show direct messages.
-sf,--showFolls Show followers.
-sp,--setProxy Set proxy.
-sr,--showFrnds Show friends.
-st,--showTimeline Show timeline.
-u,--user <arg> Username. To be used in conjunction with other
options.
-ui,--userInfo Show user info.
-us,--updateStatus Update status.
-ut,--userTimeline Show user timeline.
-uu,--unblockUser Unblock user.