[[FrontPage]] > [[Desktop Movie Mac]] > AppleScript

#title(AppleScript)

#contents

* Ϥ [#sf67f868]

+ Macǡ֥ץȥǥפư
+ Υɤ

 display dialog "γ󡢤ˤ"

ץȥǥμ¹ԥܥ򥯥åȡɽ롣

ɤϡեȤ¸Ƥ

** եեޥå [#a3a77131]

ե¸ˤϡĤμब롣ΥեեޥåȤ򤹤롣

- ץȡ٤ԽǤ롣
- ץȥХɥ롧ĤΥץȤޤȤ
- ץꥱ󡧥֥륯åפǼ¹ԤǤ褦ˤʤ롣

* äƤߤ [#wb748b05]

** եɤ߹ǡե˽񤭹 [#v55a78e4]

餫ƥȥեѰդƤơChromedzƤեˤƤϤ롣

եϡܤΥ֤dzƤGoogle ChromeפؤˡSafariפǤ⡢ԤϤ

 -- read file
 set myFile to choose file
 open for access myFile without write permission
 set myCode to read myFile
 close access myFile
 
 -- write to form
 tell application "Google Chrome"
 	activate
 	tell application "System Events"
 		tell application process "Google Chrome"
 			delay 0.2
 			keystroke myCode
 		end tell
 	end tell
 end tell

** ¾ [#p6557dde]

-[[AppleScriptSafariΥեϤưƤߤ:http://kurukurupapa.hatenablog.com/entry/20120304/1330832778]]

* AppleScriptλͻ [#i007fa14]

**  [#of79081e]

-[[AppleScript - Wikipedia:https://ja.wikipedia.org/wiki/AppleScript]]
-[[蹩˼ / AppleScript / (Introduction):http://tonbi.jp/AppleScript/Introduction/]]
-[[Macץˤ - AppleScript - NAVER ޤȤ:http://matome.naver.jp/odai/2131712329928749801]]

** ե [#jda0243f]

-[[life log: AppleScript ®ʸˡޥ:http://mc909j.blogspot.jp/p/document.html]]
-[[AS HoleAppleScriptη By Piyomaru Software » BEGINNERS:http://piyocast.com/as/master/]]
-[[Introduction to AppleScript Language Guide:https://developer.apple.com/library/mac/documentation/AppleScript/Conceptual/AppleScriptLangGuide/introduction/ASLR_intro.html]]

** ץ [#hecee816]

-[[ڽ鿴ԤǤ狼䤹AppleScriptΥץ륳 - NAVER ޤȤ:http://matome.naver.jp/odai/2137299978823368101]]
-[[Applescriptץ:http://www.asahi-net.or.jp/~va5n-okmt/factory/applescript/sample_code/]]
-[[蹩˼ / AppleScript / Tips:http://tonbi.jp/AppleScript/Tips/]]

* AppleScriptĶJavaScriptưʤ [#l0ab4a46]

ʤäơ

**  [#nb24db5e]

-[[ΤʤMacƥɸJavaScriptǤ褦ˤʤäƤ (JXA):http://qiita.com/zakuroishikuro/items/1b02378bf9e940602d87]]
-[[AppleScript JavaScriptǥϥ:http://takuya-1st.hatenablog.jp/entry/2014/12/01/130000]]
-[[YosemiteοǽJavaScriptǥץꥱݤʺȤưƤߤ:http://memo.goodpatch.co/2014/07/javascript-in-yosemite/]]

** äƤߤ [#n54ebe72]

-[[AppleScriptˤMac OS X Ѵʰץܡɥޥ:https://gist.github.com/anonymous/82393f89962d7b9004f6]]
-[[AppleScriptˤMac OS X Ѵʰץܡɥޥ:https://gist.github.com/ycatch/eaef63716906d73b350a]]
-[[Ȥ>keymacro4Mac]]

** ץ륳 [#gb2330d2]

-[[Mac : JavaScript for Automation (JXA) ʸŵ:http://www.openspc2.org/reibun/JXA/Yosemite/]]
-[[JavaScript for OSX Automation AppleScriptؤJavaScriptǤ륵ץ Advent Calendar 2014:http://qiita.com/advent-calendar/2014/jxa2013]]

** Tips [#a280a824]

-[[MacΥܡϡޥåJavaScript (JXA):http://qiita.com/zakuroishikuro/items/afab0e33ad2030ba2f92]]

ȥå   ʬ Хåå   ñ측 ǽ   إ   ǽRSS