Maurizio Tecli ha scritto:
Boh, non sono esperto, ma ho scritto questo, che mi pare fuzioni, credo
che ti basti scrivere TextEdit al posto di TextWrangler ("prova uno due
tre quattro" diventa "prova uno ":
tell application "TextWrangler"
activate
tell application "System Events" to keystroke "a" using {command down}
tell application "System Events" to keystroke "c" using {command down}
end tell
set mantieni to characters 1 through 10 of (the clipboard)
set the clipboard to mantieni as text
activate application "TextWrangler"
tell application "System Events"
tell process "textwrangler"
keystroke "v" using {command down}
end tell
end tell
--
Flavio
www.flapane.com