Saturday, November 18, 2017

#1 2015-03-26 09:51:05 am

nithinj3
Member
Registered: 2015-03-26
Posts: 1

file version

Hi guys,

I am new to applescript and i need to write a code to find the image file version. example below.

if i have a .eps or .ai file, so i need to find the version of this art like cs4 or cs6 etc..


if anybody got the answer pls mail me…

mr.nidhinjoseph@gmail.com


Thanks,
Nidhin Josep:cool:

Model: imac late 2012
Browser: Safari 537.78.2
Operating System: Mac OS X (10.8)

Offline

 

#2 2015-04-14 02:28:08 pm

jasoncoats
Member
Registered: 2012-09-07
Posts: 1

Re: file version

Is this what you are looking for?

Applescript:

tell application "Finder"
   set these_items to the selection
end tell
repeat with i from 1 to the count of these_items
   set this_item to (item i of these_items) as alias
   set this_info to info for this_item
   
   -- insert actions here for: this_item
   set theversion to kind of this_info
   
   set longVersion to long version of this_info
end repeat

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)