Your SlideShare is downloading. ×
Giran Sieges - Applescript com @leohackin
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Giran Sieges - Applescript com @leohackin

902

Published on

Apresentação sobre AppleScript para as "Giran Sieges" da Giran Soluções e E-commerce (www.giran.com.br).

Apresentação sobre AppleScript para as "Giran Sieges" da Giran Soluções e E-commerce (www.giran.com.br).

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
902
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. AppleScripting Léo Hackin @leohackin leohackin.com.br :D Giran Siegeshttp://blog.dunkelstern.de/images/blog/programming/applescript-icon.png
    • 2. O QUE É?Linguagem Apple Scriptable + + de script Events Apps + OSA (Open Script Archtecture)
    • 3. OSA
    • 4. APPLE EVENTPode fechar por favor? OK!
    • 5. APPLE EVENTtell application "Adium" to quit true
    • 6. APPLE EVENThttp://www.switchingtomac.com/wp-content/uploads/2008/12/adium_logo.pnghttp://cdn.zath.co.uk/wp-content/uploads/2011/02/ThingsRev01_Logo-242x242.jpg
    • 7. SCRIPTABLE APPset status message of pomodoro to "Ja volto" atributo objeto valor
    • 8. AS PRINCIPAIS APPS DOMERCADO SÃO SCRIPTÁVEIS
    • 9. SCRIPTABLE APP tell application "Adium"Oh go onlineié! go available go offline go away go invisible go to hell end tell
    • 10. O COMANDO TELLtell application "Finder" to close every window
    • 11. O BLOCO TELLtell application "Application" ... ... comandos para a aplicação ... ...end tell
    • 12. COMANDO SETset nome to "Hackin"
    • 13. LINGUAGEM COMPLETAestruturas de estruturas de variáveis controle repetição objetos :D
    • 14. PRA QUE SERVE MESMO?Automatizar tarefasControlar apps via scriptAcessar serviços web o/ } Tudo ao mesmo tempo! :)
    • 15. APPLESCRIPT EDITOR
    • 16. AUTOMATOR Permite criar workflows e tasks poderosas integrando várias aplicações no melhor modo “for dummies”http://whimsplucky.squarespace.com/storage/automator_icon.png?__SQUARESPACE_CACHEVERSION=1300158374379
    • 17. AUTOMATOR ou quase for dummies! hahah :)
    • 18. http://www.xboxkinecthacks.com/wp-content/uploads/2011/03/kid-hack.jpgHacking
    • 19. BAIXAR IMAGENS DO SITE
    • 20. EXPORTADOR DE CONTATOS
    • 21. TROLLANDO O ADIUMtell application "System Events" to if exists process "Adium" then tell application "Adium" set stati to every status where title is "Pomodorando" if (count of stati) is 0 then set pomodoro to make new status with properties{title:"Pomodorando", status type:away} else set pomodoro to item 1 of stati end if set status message of pomodoro to "Vou responder em$duration minutos" set autoreply of pomodoro to "Vou responder em$duration minutos" set the status of every account whose status type isavailable to pomodoro end tellend if
    • 22. FALANDO!say "Hello world" using "Bruce"
    • 23. REFERÊNCIAS

    ×