AppleScript
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
#contents
&tag(macOS);
* 情報 [#w64c0110]
** Finder [#re56bcfa]
- [[AppleScriptをメニューバーから実行するための設定>https...
メニューバーに表示する設定は AppleScript Editor.app (ス...
** ウインドウ [#yd0a48ef]
- [[【macOS】07 AppleScriptによるウィンドウサイズの変更 |...
ターミナルにコマンド入力
--------------------------------------------------
osascript \
-e 'tell application "ソフト名"' \
-e 'set bounds of front window to {0, 0, 1200, 900}' \
-e 'end tell'
-- コメント:期待通りに動作した。下記は一例。([[2022]]/02...
osascript -e 'tell application "Chrome"' -e 'set bounds ...
- [[AppleScript: Beginner's Tutorial>https://macosxautoma...
As a matter of fact, the value of the index property of ...
tell application "Finder" to get the index of the 1st Fi...
** パス [#n7d1810e]
- [[AppleScriptのファイル参照、パス、などについて: 2008/6...
要はUnix的なパスの指定はPOSIXパス。それをMac的に書くとテ...
- [[macos - How to make an AppleScript app locate itself?...
If you want the path up to the script or app set to a va...
set thePath to POSIX path of ((path to me as text) & ":")
- [[Get path of parent folder of script location : Apples...
set UnixPath to POSIX path of ((path to me as text) & ":...
- [[[AppleSript] スクリプト自身のパスを得る | コピペで使...
スクリプト自身が保存されているパスを取得します。UNIXシェ...
** ファイル [#s0399ea6]
- [[Applescript: read text from file - Stack Overflow>htt...
set sharesFileName to (the POSIX path of (path to home f...
set sharesLines to read sharesFileName
- [[鳶嶋工房 / AppleScript / Tips / テキストの読み込み>ht...
最初は、テキストファイル全体を文字列に読み込む方法を紹介...
** [[Safari]] [#a83eb83f]
- [[AppleScript : Safari で URL を開き、テキストをクリッ...
AppleScript を使って、Safari を操作します。ここでは、Saf...
- [[Safariを自由自在に操作するためのAppleScript集 | Macの...
URLを現在のタブで読み込む
現在のタブで読み込むようにすると、新しいタブがどんどん開...
- [[AppleScript : Safari で URL を開き、テキストをクリッ...
ここでは、Safari で URL を開き、テキストをクリップボード...
* 関連 [#cfb36f27]
#related
#taglist(tag=AppleScript)
終了行:
#contents
&tag(macOS);
* 情報 [#w64c0110]
** Finder [#re56bcfa]
- [[AppleScriptをメニューバーから実行するための設定>https...
メニューバーに表示する設定は AppleScript Editor.app (ス...
** ウインドウ [#yd0a48ef]
- [[【macOS】07 AppleScriptによるウィンドウサイズの変更 |...
ターミナルにコマンド入力
--------------------------------------------------
osascript \
-e 'tell application "ソフト名"' \
-e 'set bounds of front window to {0, 0, 1200, 900}' \
-e 'end tell'
-- コメント:期待通りに動作した。下記は一例。([[2022]]/02...
osascript -e 'tell application "Chrome"' -e 'set bounds ...
- [[AppleScript: Beginner's Tutorial>https://macosxautoma...
As a matter of fact, the value of the index property of ...
tell application "Finder" to get the index of the 1st Fi...
** パス [#n7d1810e]
- [[AppleScriptのファイル参照、パス、などについて: 2008/6...
要はUnix的なパスの指定はPOSIXパス。それをMac的に書くとテ...
- [[macos - How to make an AppleScript app locate itself?...
If you want the path up to the script or app set to a va...
set thePath to POSIX path of ((path to me as text) & ":")
- [[Get path of parent folder of script location : Apples...
set UnixPath to POSIX path of ((path to me as text) & ":...
- [[[AppleSript] スクリプト自身のパスを得る | コピペで使...
スクリプト自身が保存されているパスを取得します。UNIXシェ...
** ファイル [#s0399ea6]
- [[Applescript: read text from file - Stack Overflow>htt...
set sharesFileName to (the POSIX path of (path to home f...
set sharesLines to read sharesFileName
- [[鳶嶋工房 / AppleScript / Tips / テキストの読み込み>ht...
最初は、テキストファイル全体を文字列に読み込む方法を紹介...
** [[Safari]] [#a83eb83f]
- [[AppleScript : Safari で URL を開き、テキストをクリッ...
AppleScript を使って、Safari を操作します。ここでは、Saf...
- [[Safariを自由自在に操作するためのAppleScript集 | Macの...
URLを現在のタブで読み込む
現在のタブで読み込むようにすると、新しいタブがどんどん開...
- [[AppleScript : Safari で URL を開き、テキストをクリッ...
ここでは、Safari で URL を開き、テキストをクリップボード...
* 関連 [#cfb36f27]
#related
#taglist(tag=AppleScript)
ページ名: