簡體   English   中英

如何使用 Applescript 在 Mac 上更改 window 標題文本?

[英]How to change the window title text on Mac with Applescript?

我正在嘗試使用 Applescript 在我的 Mac 上更改 window 標題文本。

I followed this post Rename window title in OS X with AppleScript or terminal , but it did not change the text of the Telegram app window title and gives this error: Syntax Error: A property can't go after this identifier.

我使用了這個腳本:

tell application "Telegram"
    set custom title of window 1 to "I want to change this"   
end tell

有人可以找到我的問題的解決方案嗎?

Telegram 甚至不包括最基本的 AppleScript 支持,很抱歉。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM