-
Posts
16 -
Joined
-
Last visited
-
Days Won
4
Reputation Activity
-
pawelgrzybek got a reaction from AntonioRuiz in Div — simple windows manager
Div — simple windows manager
This is simple Alfred workflow to help you manage opened windows. It is simple (50 lines of applescript) but powerful tool. It allows you to create your own layouts, custom sizes and custom proportion.
Requirements
Some of the mac OS apps are non-scriptable which means they are not working very well with applescript. Fortunately "SystemEvents" can handle them really well. Few simple steps are required to enable Alfred's access to Accessibility tools.
1. Open System Preferences
2. Go to Security & Privacy
3. Go to last Privacy tab
4. On the left panel choose Accessibility
5. Unlock access to preferences by clicking lock in bottom left corner and pass your password
5. Click small `+` icon and add Alfred from the list.
6. Done
Other windows managers requires similar procedure. It is not related with Div only. If you use older operating system than El Capitan, have a look at great instruction on [Mizage website](http://mizage.com/help/accessibility.html).
Download
Download Div from Packal
How to use
I published a detailed instruction on my personal website. Have a look if you are keen to understand a full potential of Div.
Choose predefined layout
Simply type `div` in Alfred window and choose layout from predefined list.
Custom bounds
Choose custom bounds by passing 4 space separated values. For example `div 20 20 80 80` will place top left corner of an app 20% from top and 20% from left edge of a screen, and bottom right corner 80% from top and 80% from left edge of a screen.
Custom size
Choose custom size by passing 2 space separated values. For example `div 800 600` will resize your window to 800px width and 600px height and place the window on the middle of a screen.
Hotkeys
Use predefined settings and bind custom hotkeys to them to place window in common locations:
- ⌃ ⌥ 1 Full
- ⌃ ⌥ 2 Medium
- ⌃ ⌥ 3 Small
- ⌃ ⌥ ← Left
- ⌃ ⌥ → Right
- ⌃ ⌥ ↑ Top
- ⌃ ⌥ ↓ Bottom
-
pawelgrzybek reacted to Andrew in Translate websearch
I'll get this fixed up for a pre-release build today
-
pawelgrzybek reacted to marlun in Translate websearch
I agree, except using the UK domain by default Changing to a translate subdomin and removing /translate_t seem to work.
-
pawelgrzybek got a reaction from bivalvegruff in Div — simple windows manager
Multiple screen support just landed.
https://github.com/pawelgrzybek/div
http://www.packal.org/workflow/div
-
pawelgrzybek got a reaction from bivalvegruff in Div — simple windows manager
Quick update on multiple monitors support.
I finally find a way to make this workflow speak to ObjC NSScreen class. It means that the support for multiple monitors is coming very shortly. I am currently on a business trip, but you can expect it before end of this week.
👌
-
pawelgrzybek got a reaction from Vijay in Div — simple windows manager
Div — simple windows manager
This is simple Alfred workflow to help you manage opened windows. It is simple (50 lines of applescript) but powerful tool. It allows you to create your own layouts, custom sizes and custom proportion.
Requirements
Some of the mac OS apps are non-scriptable which means they are not working very well with applescript. Fortunately "SystemEvents" can handle them really well. Few simple steps are required to enable Alfred's access to Accessibility tools.
1. Open System Preferences
2. Go to Security & Privacy
3. Go to last Privacy tab
4. On the left panel choose Accessibility
5. Unlock access to preferences by clicking lock in bottom left corner and pass your password
5. Click small `+` icon and add Alfred from the list.
6. Done
Other windows managers requires similar procedure. It is not related with Div only. If you use older operating system than El Capitan, have a look at great instruction on [Mizage website](http://mizage.com/help/accessibility.html).
Download
Download Div from Packal
How to use
I published a detailed instruction on my personal website. Have a look if you are keen to understand a full potential of Div.
Choose predefined layout
Simply type `div` in Alfred window and choose layout from predefined list.
Custom bounds
Choose custom bounds by passing 4 space separated values. For example `div 20 20 80 80` will place top left corner of an app 20% from top and 20% from left edge of a screen, and bottom right corner 80% from top and 80% from left edge of a screen.
Custom size
Choose custom size by passing 2 space separated values. For example `div 800 600` will resize your window to 800px width and 600px height and place the window on the middle of a screen.
Hotkeys
Use predefined settings and bind custom hotkeys to them to place window in common locations:
- ⌃ ⌥ 1 Full
- ⌃ ⌥ 2 Medium
- ⌃ ⌥ 3 Small
- ⌃ ⌥ ← Left
- ⌃ ⌥ → Right
- ⌃ ⌥ ↑ Top
- ⌃ ⌥ ↓ Bottom
-
pawelgrzybek got a reaction from Vijay in Div — simple windows manager
Ps. I am still working on support for multiple screens. It turns out it is harder than I thought to do it via AppleScript only.
-
pawelgrzybek got a reaction from shmulvad in Div — simple windows manager
Ps. I am still working on support for multiple screens. It turns out it is harder than I thought to do it via AppleScript only.
-
pawelgrzybek got a reaction from cfchou in Div — simple windows manager
Div — simple windows manager
This is simple Alfred workflow to help you manage opened windows. It is simple (50 lines of applescript) but powerful tool. It allows you to create your own layouts, custom sizes and custom proportion.
Requirements
Some of the mac OS apps are non-scriptable which means they are not working very well with applescript. Fortunately "SystemEvents" can handle them really well. Few simple steps are required to enable Alfred's access to Accessibility tools.
1. Open System Preferences
2. Go to Security & Privacy
3. Go to last Privacy tab
4. On the left panel choose Accessibility
5. Unlock access to preferences by clicking lock in bottom left corner and pass your password
5. Click small `+` icon and add Alfred from the list.
6. Done
Other windows managers requires similar procedure. It is not related with Div only. If you use older operating system than El Capitan, have a look at great instruction on [Mizage website](http://mizage.com/help/accessibility.html).
Download
Download Div from Packal
How to use
I published a detailed instruction on my personal website. Have a look if you are keen to understand a full potential of Div.
Choose predefined layout
Simply type `div` in Alfred window and choose layout from predefined list.
Custom bounds
Choose custom bounds by passing 4 space separated values. For example `div 20 20 80 80` will place top left corner of an app 20% from top and 20% from left edge of a screen, and bottom right corner 80% from top and 80% from left edge of a screen.
Custom size
Choose custom size by passing 2 space separated values. For example `div 800 600` will resize your window to 800px width and 600px height and place the window on the middle of a screen.
Hotkeys
Use predefined settings and bind custom hotkeys to them to place window in common locations:
- ⌃ ⌥ 1 Full
- ⌃ ⌥ 2 Medium
- ⌃ ⌥ 3 Small
- ⌃ ⌥ ← Left
- ⌃ ⌥ → Right
- ⌃ ⌥ ↑ Top
- ⌃ ⌥ ↓ Bottom
-
pawelgrzybek got a reaction from cands in Div — simple windows manager
Ps. I am still working on support for multiple screens. It turns out it is harder than I thought to do it via AppleScript only.
-
pawelgrzybek got a reaction from geberl in Div — simple windows manager
Div — simple windows manager
This is simple Alfred workflow to help you manage opened windows. It is simple (50 lines of applescript) but powerful tool. It allows you to create your own layouts, custom sizes and custom proportion.
Requirements
Some of the mac OS apps are non-scriptable which means they are not working very well with applescript. Fortunately "SystemEvents" can handle them really well. Few simple steps are required to enable Alfred's access to Accessibility tools.
1. Open System Preferences
2. Go to Security & Privacy
3. Go to last Privacy tab
4. On the left panel choose Accessibility
5. Unlock access to preferences by clicking lock in bottom left corner and pass your password
5. Click small `+` icon and add Alfred from the list.
6. Done
Other windows managers requires similar procedure. It is not related with Div only. If you use older operating system than El Capitan, have a look at great instruction on [Mizage website](http://mizage.com/help/accessibility.html).
Download
Download Div from Packal
How to use
I published a detailed instruction on my personal website. Have a look if you are keen to understand a full potential of Div.
Choose predefined layout
Simply type `div` in Alfred window and choose layout from predefined list.
Custom bounds
Choose custom bounds by passing 4 space separated values. For example `div 20 20 80 80` will place top left corner of an app 20% from top and 20% from left edge of a screen, and bottom right corner 80% from top and 80% from left edge of a screen.
Custom size
Choose custom size by passing 2 space separated values. For example `div 800 600` will resize your window to 800px width and 600px height and place the window on the middle of a screen.
Hotkeys
Use predefined settings and bind custom hotkeys to them to place window in common locations:
- ⌃ ⌥ 1 Full
- ⌃ ⌥ 2 Medium
- ⌃ ⌥ 3 Small
- ⌃ ⌥ ← Left
- ⌃ ⌥ → Right
- ⌃ ⌥ ↑ Top
- ⌃ ⌥ ↓ Bottom
-
pawelgrzybek got a reaction from 40-02 in Div — simple windows manager
Div — simple windows manager
This is simple Alfred workflow to help you manage opened windows. It is simple (50 lines of applescript) but powerful tool. It allows you to create your own layouts, custom sizes and custom proportion.
Requirements
Some of the mac OS apps are non-scriptable which means they are not working very well with applescript. Fortunately "SystemEvents" can handle them really well. Few simple steps are required to enable Alfred's access to Accessibility tools.
1. Open System Preferences
2. Go to Security & Privacy
3. Go to last Privacy tab
4. On the left panel choose Accessibility
5. Unlock access to preferences by clicking lock in bottom left corner and pass your password
5. Click small `+` icon and add Alfred from the list.
6. Done
Other windows managers requires similar procedure. It is not related with Div only. If you use older operating system than El Capitan, have a look at great instruction on [Mizage website](http://mizage.com/help/accessibility.html).
Download
Download Div from Packal
How to use
I published a detailed instruction on my personal website. Have a look if you are keen to understand a full potential of Div.
Choose predefined layout
Simply type `div` in Alfred window and choose layout from predefined list.
Custom bounds
Choose custom bounds by passing 4 space separated values. For example `div 20 20 80 80` will place top left corner of an app 20% from top and 20% from left edge of a screen, and bottom right corner 80% from top and 80% from left edge of a screen.
Custom size
Choose custom size by passing 2 space separated values. For example `div 800 600` will resize your window to 800px width and 600px height and place the window on the middle of a screen.
Hotkeys
Use predefined settings and bind custom hotkeys to them to place window in common locations:
- ⌃ ⌥ 1 Full
- ⌃ ⌥ 2 Medium
- ⌃ ⌥ 3 Small
- ⌃ ⌥ ← Left
- ⌃ ⌥ → Right
- ⌃ ⌥ ↑ Top
- ⌃ ⌥ ↓ Bottom