Un gestore di finestre che ridimensiona e riordina TUTTE le finestre per una determinata applicazione con una scorciatoia da tastiera?

0

Ho fatto ricerche su Ask Different per vedere se questo è stato pubblicato e, per quanto ne so, nulla di ciò che è specifico. Ho esaminato questo ma quella domanda è più generale.

Quindi immagina di avere 10 (o più) finestre di Evernote e voglio, con una scorciatoia, che tutte possano essere ridimensionate a metà del monitor a sinistra. E poi ho 6 finestre di terminale e le voglio tutte ridimensionate a un quarto di schermo in alto a destra (scorciatoia diversa).

PS: Quello che uso attualmente è SizeUp e funziona alla grande MA, nel caso delle 10 finestre di Evernote, dovrei usare la scorciatoia da tastiera 10 volte.

    
posta sbrown 25.07.2014 - 20:07
fonte

2 risposte

0

Dopo aver provato Stay , penso che faccia quello che vuoi. Basta avviare le app desiderate e archiviare tutte le finestre aperte. Puoi quindi ripristinarli sull'icona della barra dei menu di Stay, con un tasto di scelta rapida o ripristinarli automaticamente, quando avvii ciascuna app in questione o cambia display.

Ho inviato un'email a Matt, Stay's dev e questo è ciò che ha detto sul ripristino automatico all'avvio delle app e della corrispondenza del modello del titolo della finestra:

Stay does indeed have an option to restore windows when launching apps. It’s the checkbox labelled "Restore Windows as applications are launched” in Stay’s preferences window.

Stay does its best to restore windows that it hasn’t seen before, but which are similar to windows that have been stored in Stay. When you store a window in Stay, it actually stores a set of attributes that it can use to identify that window, rather than a reference to the specific window that’s being stored. So if Stay sees another window that has the same identifying attributes, it will restore that window with the same size and position.

There are situations where this approach doesn’t actually work all that well in practice though, and as such, Stay has a feature designed to help with this called window title pattern matching. There’s documentation on this feature available here:

http://cordlessdog.com/stay/documentation/window-title-pattern-matching

The basic gist of it is that you can control how Stay identifies your windows by telling it how to identify windows by their titles. The simplest use case is to set a pattern of .* (period asterisk) on a stored window, which will make that stored window match all of an application’s windows.

    
risposta data 21.10.2014 - 02:56
fonte
0

Potresti anche utilizzare AppleScript come questo:

tell application "Finder"
    set b to bounds of window of desktop
end tell
tell application "System Events" to tell windows of process "Terminal"
    set position to {(item 3 of b) / 2, 0}
    set size to {(item 3 of b) / 2, (item 4 of b) / 2}
end tell

Puoi assegnare scorciatoie agli script con FastScripts , Alfred o Karabiner .

    
risposta data 23.10.2014 - 07:36
fonte

Leggi altre domande sui tag