トップ | バージョン2 最新版 | バージョン3 β版

バージョン 1 から バージョン 2 における更新: チケット #1075

差分発生行の前後
無視リスト:
更新日時:
2014/10/26 15:44:40 (9 年 前)
更新者:
daisuke
コメント:

凡例:

変更なし
追加
削除
変更
  • チケット #1075

    • マイルストーン 属性が 3.0.0b7 から 3.0.0b8 に 変更されました。
  • チケット #1075 – 説明

    v1 v2  
    11ファイルを開いた後、delay 1などを入れると開ける 
     2 
     3-- 
     4下記のように"as alias"をつけて、openの引数をalias型にすると、 
     5delay無しでも、open後の処理が必ずシーケンシャルに実行されます。 
     6("as alias"が無い場合、openがFinderで実行され、処理が前後します) 
     7 
     8tell application "Finder" 
     9set testfile to (file "test.txt" in desktop) as alias 
     10end tell 
     11tell application “mi” 
     12open testfile as "UTF-8" 
     13get character code of document 1 
     14end tell 
     15 
     16-- 
     17 
     18下記の文法ができるようにしたほうが良いので、対応検討 
     19set theNewDoc to make document with properties: {path:thePath} 
     20 
     21