Estou criando algumas transmissões de tela e queria centralizar exatamente minhas janelas na tela. Alguma boa maneira de fazer isso no Mac? Encontrei um exemplo do Apple Script (e algumas telas vinculadas), mas nenhuma delas suporta centralizar o 'Terminal' verticalmente (embora suporte a centralização vertical de outros aplicativos).
2
Respostas:
Gosto de usar o SizeUp para gerenciar janelas, uma das quais é uma opção central na tela. Boa sorte.
fonte
Não tenho certeza se isso também pode fazer o que você está procurando, mas o Divvy também é um excelente software para organizar janelas.
Eu sugiro que você assista ao screencast no site deles para ver se ele faz o que você está procurando, mas basicamente ele possui uma grade na qual você pode alterar o tamanho e a posição da janela mais à frente.
Você também pode alterar a grade exibida para ter um controle mais fino sobre o tamanho das janelas com as quais está trabalhando.
Espero que isto ajude.
fonte
Kevin. Eu sou o autor do post ao qual você vinculou no incrementalism.net.
A razão pela qual a janela do Terminal se move para o topo é apenas um bug no suporte AppleScript do Terminal.
Esta versão faz a centralização vertical e contorna o bug do Terminal:
Espero que ajude, se você ainda não pagou por uma das outras opções. Também adicionei um comentário com esta solução alternativa à postagem original.
fonte
Correções para:
Observações:
rounding as taught in school
não é realmente necessáriorounding to nearest
, que arredonda 0,5 para o número par mais próximo (por exemplo, 22,5 a 22)Ainda assim, há uma dúzia de coisas que podem dar errado. A parte Dock não é realmente necessária se você estiver oculto sempre ativado. (Mas, por exemplo, orientação = parte inferior, convém definir dth para dth - 4.)
fonte
Se você quiser centralizá-las exatamente (de maneira horizontal e vertical), poderá usar o exemplo dado nos comentários no site ao qual você vinculou e adaptar a resposta postada a esta pergunta sobre o stackoverflow .
Eu acabei com isso:
Lembre-se de que isso será centralizado
window 1
; portanto, se você usar ferramentas como o Visor , precisará usá-lowindow 2
.fonte
Uma alternativa é o MercuryMover. 'Janela central' é um dos atalhos internos.
Você pode mover as janelas com atalhos, definir posições personalizadas - e fazer um pouco mais. Dica: tente o arquivo de preferências para definir números de pixels personalizados diferentes de 1, 10, 100.
É caro com US $ 20, mas paga com o tempo. Enfim, há um julgamento à moda antiga… MacUpdate: MercuryMover
fonte