| 動作バージョン |
2.0 |
|---|---|
| Windows | ○ |
| Macintosh | ○ |
| 解 説 | コンポジションの背景色は「application.currentComposition.backgroundColor」のred,green,blueプロパティに格納されているので、これを読み出します。 |
|---|---|
| コード | Comp = application.currentComposition; bg = Comp.backgroundColor; r = bg.red; g = bg.green; b = bg.blue; Console.write("R = ",r,"\n"); Console.write("G = ",g,"\n"); Console.write("B = ",b,"\n"); |
| ■サンプルスクリプトをダウンロードする >>.zip |