Hi, i wrote one applescript to automate labels for document files in
the "Finder"-app:
--Qs Label
set x to (the clipboard as text)
tell application "Finder"
set y to front window
repeat with i from 1 to number of document files in y
set this_item to document file i of y
set nx to the name of this_item
try
set g to (characters 1 thru 3 of nx) as text
end try
if g is in x then
set the label index of this_item to 1
end if
end repeat
end tell
I have one problem:
to label documents, i have to select and then to copy every time the
imput (writed initals [3] of interested document files in the text-
window of Qs) to the clipboard, before the activating of this
applescript, via Qs-trigger.
My idea is to write only the initials in the Qs- text window and then
to push the trigger-combination.
(i write from Italy)