Archive for the ‘AppleScript’ Category
-
Hello, AppleScript World!
Posted on 1月 30th, 2012 by cx20
AppleScript
AppleScript は Mac OS の OSA(Open Scripting Architecture)に準拠したオブジェクト指向スクリプト言語である。
ソースコード
#!/usr/bin/osascript tell application "Finder" "Hello, AppleScript World!" end tell
#!/usr/bin/osascript tell application "Finder" "Hello, AppleScript World!" end tell
実行方法(スクリプトファイルを指定して実行)
$ osascript ./hello.applescript
$ osascript ./hello.applescript
実行方法(実行権限を付与して実行)
$ chmod +x ./hello.applescript $ ./hello.applescript
$ chmod +x ./hello.applescript $ ./hello.applescript
コンパイル&実行方法
$ osacompile -o hello.scpt hello.applescript $ osascript ./hello.scpt
$ osacompile -o hello.scpt hello.applescript $ osascript ./hello.scpt
実行結果
Hello, AppleScript World!
Hello, AppleScript World!
サイト内の検索
カテゴリー
- .NET
- Access
- ACE Database
- Ada
- ADO
- ADO.NET
- AppleScript
- ASP
- ASP.NET
- assembler
- ATL
- AWK
- AWT
- BeanShell
- Berkeley DB
- Boo
- Bourne Shell
- C Shell
- C#
- C++
- C++/CLI
- CASL
- CGI
- Cheetah
- Clojure
- ClojureCLR
- cmd
- CNI
- COBOL
- Cobra
- CoffeeScript
- COM
- Common Lisp
- Connector/NET
- CouchDB
- Curl
- C言語
- DAO
- Dart
- DB2
- DBI
- Delphi
- Derby
- DirectX
- D言語
- EL
- Emscripten
- ERB
- Erlang
- eRuby
- ESQL/C
- F#
- Fantom
- Flash
- Fortran
- GAS
- GCJ
- Go
- Groovy
- H2 Database
- Haskell
- Haxe
- HSQLDB
- HTA
- HTML
- HTML Application
- HTML::Template
- Io
- IronPython
- IronRuby
- IronScheme
- Jacl
- Jasmin
- Java
- Java 2D
- Java 3D
- Java Applet
- Java VM
- JavaFX
- JavaScript
- JDBC
- JDBC Type1
- JDBC Type2
- JDBC Type4
- Jet Database
- JNA
- JNI
- jQuery
- JRuby
- JScript
- JScript.NET
- JSF
- JSP
- JSTL
- JSX
- Jython
- library
- LINQ
- Lisp
- LLVM
- Lua
- MASM
- MFC
- MongoDB
- MSIL
- MySQL
- NASM
- Nemerle
- Node.js
- NoSQL
- NVelocity
- Objective-C
- OCaml
- OCCI
- OCI
- ODBC
- ODP.NET
- OLE DB
- oo4o
- Oracle Database
- Oxygene
- Pascal
- PDO
- Perl
- Phalanger
- PHP
- PL/SQL
- PostgreSQL
- PostScript
- PowerShell
- Pro*C
- prototype.js
- Python
- Quercus
- Razor
- Rhino
- Ruby
- Scala
- Scheme
- Servlet
- Silverlight
- Smalltalk
- SpiderMonkey
- SQL
- SQL Server
- SQL Server Compact
- SQLite
- SQLJ
- StringTemplate.NET
- Swing
- SWT
- T-SQL
- Tcl
- Tcl Shell
- Tcl/CSharp
- Tcl/Java
- Tcl/Tk
- Template Toolkit
- TypeScript
- UWSC
- VB.NET
- VB6
- VBA
- VBScript
- Velocity
- Win32 API
- Win32 GUI
- Windows Forms
- WTL
- XAML
- XHTML
- XML
- XSLT
- 未分類
カテゴリー
.NET
ADO
ADO.NET
assembler
AWT
BeanShell
C#
C++
C++/CLI
Clojure
COM
Connector/NET
C言語
DirectX
Fantom
Groovy
Jasmin
Java
Java 2D
Java 3D
JavaScript
JDBC
JDBC Type1
JDBC Type2
JDBC Type4
JRuby
Jython
library
ODP.NET
Oxygene
Perl
PHP
Python
Rhino
Ruby
Scala
SQL
SQL Server
Swing
SWT
Tcl/Java
VB.NET
Win32 API
Win32 GUI
Windows Forms
最近の投稿
- Hello, Tkinter World!
- Hello, Ruby/Tk World!
- Hello, Perl/Tk World!
- Hello, Tcl/Tk(C言語) World!
- Hello, Tcl/Tk World!
- Hello, Win32 API(Quercus) World!
- Hello, Quercus World!
- Hello, JDBC Type4(Oxygene) World!
- Hello, JDBC Type2(Oxygene) World!
- Hello, JDBC Type1(Oxygene) World!
- Hello, Connector/NET(ClojureCLR) World!
- Hello, Connector/NET(IronScheme) World!
- Hello, Connector/NET(Oxygene) World!
- Hello, Connector/NET(Nemerle) World!
- Hello, Connector/NET(Boo) World!
- Hello, Connector/NET(Cobra) World!
- Hello, Connector/NET(Phalanger) World!
- Hello, Connector/NET(IronRuby) World!
- Hello, Connector/NET(IronPython) World!
- Hello, Connector/NET(PowerShell) World!
- Hello, Connector/NET(F#) World!
- Hello, Connector/NET(JScript.NET) World!
- Hello, Connector/NET(C++/CLI) World!
- Hello, Connector/NET(VB.NET) World!
- Hello, Connector/NET World!
- Hello, Windows Forms(Tcl/CSharp) World!
- Hello, Tcl/CSharp World!
- Hello, Win32 API(CNI) World!
- Hello, GCJ World!
- Hello, Emscripten World!
アーカイブ
月 | 火 | 水 | 木 | 金 | 土 | 日 |
---|---|---|---|---|---|---|
« 5月 | ||||||
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |