[[AppleScript>AppleScript]] > ʰץܡɥޥ for Mac OS X 

#title("ʰץܡɥޥ for Mac OS X")

#ref(https://farm3.staticflickr.com/2634/3971523437_03103a985e.jpg)

[[Photo by Doña Tecla via Flickr:https://www.flickr.com/photos/64119933@N00/3972290332]]

Javascript / AppleScriptǺʰץܡɥޥȤʹ֤ؤ˥ϤƸץǤ

礤MacǻŻ򤹤뤳ȤˤʤꡢΤɬפˤʤäɡꤴʤĤʤäΤǺäƤߤޤ

AppleScriptΥץȥǥǤϡJavascriptưΤǡѤƤޤ

褷ơ¿ǽǤϤޤ

äɤˡСҶƤ> [[@ycatch:https://twitter.com/y_catch]]

#contents

*  [#f739524f]

֥饦ΥեˡꤷʣԤΥƥȤưŪϤޤ

ϤͻҤư襭ץ㤹뤿˺ΤǡʸϤƤ褦ˤʤäƤޤ

* оݥץ [#hea0eec7]

оݥץڤؤˤϡbrowserѿͤ򲼵ѹƤ

- Google Chrome(ǥե)
- Safari
- Terminal

 var browser = "Google Chrome"; // Set your browser "Safari"

* ץȥɤ [#o6a799a7]

顢ץȥǥإԥڤŽդƤ

-[[Gist:https://gist.github.com/ycatch/eaef63716906d73b350a]]

* ư [#dd4c6953]

- ֥饦ươե򤷤Ƥޤ
- ץȥǥΩ夲ޤ
- Javascript򤷤Ƥޤ
- ꤷץȥɤ򥹥ץȥǥŽդޤ
- ץȤ¹Ԥޤ

* ޥν [#o408a556]

- Ϥʸϡץȥɤcode_lineѿȤƵҤƤޤ
- ƹԤϥ󥰥륯ȤǰϤߡԤȤ˥ޤǶڤޤ

** ץ [#qadd7cf3]

 var code_lines = [
 	'/* hello world */',
 	'/* |sekainominasann,konnnitiha_^| */',
 	'print("hello world")']

ץȥɤ¹ԤȡΤ褦Ϥޤ

 /* hello world */
 /* γ󡢤ˤ */
 print("hello world")

Ѵꡢܡɥޥư᤹ϡ_=^=פȥȤƤ

** ޥ [#b99e7a0d]

ʸޤƤȡƥϤƸޤ

- | ܸѴON/OFF
- ܸѴONΤȤ
-- _ Ѵ
-- ^ Ѵꤹ
-- $ 
-- > 
--  % delete
--  \ TAB
-- = 

RubyΥ֥åѿǡ|פѤϡ̤ε(\)֤Ƥ

** ưˤĤ [#w50cf5b3]

Ϥʸˤäơ̾ΥܡϤȰۤʤư򤹤礬ޤ
ʾϡΥ򥭡ɤϤ褦ˡɤƤߤƤ

ޤ­Ƥ륭Ȥˤäƥɤ㤦ȤʤƤȤС˲ɤƤ

** ͡MacΥ [#p0223df5]

- 򥭡    49 
- ԥ    76
- ֥    48

- ѿ    102
- ʥ    104

-[[Hys.LOG : Mac Υ 2012 (Full Keyboard):http://hyslog.com/blog/2012/06/25/569]]

* ޥ [#w3c530ef]

** ʸϤΥԡ [#b6733a57]

ñ̤ꤷޤ

 var key_delay = 0.08;

** ԤΥԡ [#o9d667bb]

delayοͤľܽޤ

 	delay(0.5); // 
 	if (j < len -1) {
 		sys.keyCode(76);	// Enter
 		delay(0.8); // Ը
 	}

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