root/platform/illustrator/applescript/AI Version Checker/Application.applescript @ 32825

Revision 32825, 0.7 kB (checked in by CL, 5 years ago)

ファーストポスト。Illustratorファイルのバージョンを調べます。

  • Property svn:executable set to *
Line 
1-- AI Version Checker.applescript
2-- AI Version Checker
3
4--  Created by cl on 09/04/26.
5--  Copyright 2009 __MyCompanyName__. All rights reserved.
6
7on idle
8        (* Add any idle time processing here. *)
9end idle
10
11on open names
12        (* Add your script to process the names here. *)
13        set thisFldr to "'" & resource path of main bundle & "'" as string
14        set myScript to thisFldr & "/ai_version_checker.pl"
15        repeat with thisObj in names
16                set thisObjPath to POSIX path of thisObj
17                set shellCommand to "perl " & myScript & " " & thisObjPath
18                set result to do shell script shellCommand
19                display alert result
20        end repeat
21        -- Remove the following line if you want the application to stay open.
22        -- quit
23end open
24
Note: See TracBrowser for help on using the browser.