cum utilizati applescript si automator?
  [ Ignoră ]
Avatar
Rank
Newbie
Din: Bucharest
Macuser din: 11.03.07

Cred ca abia acum imi descoper Mac-ul smile.
Aseara am facut un script care sa imi deschida o fereastra de Firefox cu 10 taburi pe care face rand pe rand stumble (sunt deja dependent de StumbleUpon). Sunt foarte mandru de aceasta mica realizare si de minunatul OS care face asta posibil si simplu de facut smile.

La ce fel de lucruri ati folosit applescript si automator ?

Profil
 
  [ Ignoră ]   [ # 1 ]
Avatar
Rank
Newbie
Din: Bucharest
Macuser din: 11.03.07

si uite si codul:

tell application "Firefox"
        
activate
        tell application 
"System Events" to keystroke "n" using {command down}
        tell application 
"System Events" to keystroke "s" using {control downshift down}
        repeat 9 times
            delay 1
            tell application 
"System Events" to keystroke "t" using {command down}
            tell application 
"System Events" to keystroke "s" using {control downshift down}
        end repeat
    end tell 

“Stumble” e pus pe shortcut-ul control-shift-s la mine.

Profil
 
  [ Ignoră ]   [ # 2 ]
Avatar
RankRankRankRank
Sr. Member
Din: London, UK
Macuser din: 31.05.07

eu folosesc automator pentru rename si resize in masa. am un meniu in finder si e foarte folositor. cu un click mi-am facut ordine la poze, cu un click am dat resize la orice imagine. cu putine cunostiinte de apple script faci orice dintr-un click!

 Semnătură 

Suzuki SV650S
One joint a day, keeps the doctor away! cheese

Profil