在OS X中,可以使用指向class Enemy:
def __init__(self):
self.life = 3
...
或messages:
的超链接启动消息应用。我可以在URL中添加一个电话号码,它会为该人打开一条新消息。是否可以在OS X中预先填充消息正文?
供参考,在iOS this is accomplished via adding &body的URL中。我在OS X中尝试过& body,& compose,& message,& text等,但没有运气。有关如何预填充信息的任何想法?
答案 0 :(得分:0)
不,您无法预先填写邮件正文的正文。可能是与安全有关的一些原因。
iMessage will take a userid:imessage://your@apple.id.com
和消息打开邮件。 The only parameter is a previous message ID。例如message://<insert-your-message-id-here>
One thing you could do is try a mailto:
URL。就是这样:
mailto:foo@example.com?cc=bar@example.com&subject=Greetings%20from%20San%20Francisco!&body=Wish%20you%20were%20here!
我刚刚在Firefox for MacOS中试过它,效果很好!