denny go
Membros
-
Registrou-se em
-
Última visita
Histórico de Reputação
-
denny go recebeu reputação de Fabio Amaral em [Dúvida/Frescura] Deixar o MacBook ligadoE quanto a deixar o MacBook Air ligado a tomada o dia todo? Há algum problema nisso?
-
denny go deu reputação a bughead em App que tira screenshots em um intervals pre determinado de tempo e Atenas de parts da tela?Achei este script ... testa aí. Só tem que ajustar o número total de páginas do documento.
Ele gera um PDF a cada 5 páginas ... depois tu junta tudo (faz um roteiro com o Automator).
Applescript:
set totalPages to 340
set startPage to 0
set authorName to "DMT"
tell application "VitalSource Bookshelf"
activate
repeat with theIncrementValue from startPage to totalPages - 1 by 5
if (theIncrementValue = 0) then
set thisValue to "a"
else
set thisValue to theIncrementValue
end if
tell application "System Events" to keystroke "p" using command down
tell application "System Events" to keystroke thisValue as string
tell application "System Events" to keystroke tab
tell application "System Events" to keystroke theIncrementValue + 5 as string
tell application "System Events" to keystroke tab
tell application "System Events" to keystroke return
tell application "System Events" to keystroke return
tell application "System Events" to keystroke "p" using command down
tell application "System Events" to keystroke theIncrementValue as string
tell application "System Events" to keystroke tab
tell application "System Events" to keystroke tab
tell application "System Events" to keystroke authorName
tell application "System Events" to keystroke return
delay 7
end repeat
end tell
[/CODE]