def execute(self, context):
#self.link = self.link.replace(" ","%")
#webbrowser.open("https://twitter.com/intent/tweet?text=Check%out%#2DAnimTools%by%@ndee85")
url = "https://twitter.com/intent/tweet?"
if self.link != "":
url += "&url="+self.link
if self.text != "":
url += "&text="+self.text.replace(" ","+")
if self.hashtags != "":
url += "&hashtags="+self.hashtags
if self.via != "":
url += "&via="+self.via
#"https://twitter.com/intent/tweet?url=https://www.youtube.com/ndee85&text=Hello+World&hashtags=coatools,test&via=ndee85"
webbrowser.open(url)
return {"FINISHED"}
评论列表
文章目录