Colin Posted December 8, 2016 Posted December 8, 2016 I dislike have to manually resize and position Finder windows, so after a little research I came up with this solution This workflow produces two Finder windows side by side, any size any position. Modify the script to suit your needs. Hope someone finds it as useful as I do. http://www.manorts.com/alfred/Dualpane.alfredworkflow mixterdee, llityslife and Shark.Formax 3
thinkfilm Posted December 8, 2016 Posted December 8, 2016 Thanks, Colin. Very nice workflow and a good time saver for me too.
flome Posted January 19, 2017 Posted January 19, 2017 (edited) Skol, Colin. Update: After trying it on my MacOS 10.12.3 Beta (16D30a), the "bounds" property isn't functioning correctly, so the windows do not line up properly, even after playing with the values. Edited January 19, 2017 by flome
Colin Posted January 23, 2017 Author Posted January 23, 2017 On 20/01/2017 at 5:14 AM, flome said: Skol, Colin. Update: After trying it on my MacOS 10.12.3 Beta (16D30a), the "bounds" property isn't functioning correctly, so the windows do not line up properly, even after playing with the values. I have the latest release 10.12.2 and it works okay. I will have to wait until 10.12.3 is not in Beta and is released.
thinkfilm Posted January 24, 2017 Posted January 24, 2017 I am using 10.12.3 on a late 2013 Mac Pro and the Dualpane workflow functions fine for me. Two Finder windows line up correctly as specified by the default "bounds" with my default set to "icon" view. Colin 1
Colin Posted January 24, 2017 Author Posted January 24, 2017 I just updated to 10.12.3 and as thinkfilm mentioned, it works as before. Everthing lines up nicely.
tosbsas Posted May 8, 2020 Posted May 8, 2020 (edited) any information that this is going to work on Catalina, might be my only reason to buy Alfred Edited May 8, 2020 by tosbsas
deanishe Posted May 8, 2020 Posted May 8, 2020 19 hours ago, tosbsas said: any information that this is going to work on Catalina, might be my only reason to buy Alfred It works on Catalina.
tosbsas Posted May 11, 2020 Posted May 11, 2020 (edited) maybe you can help me than - I get only one finder window. And I would like to assign a hotkey to the action. @deanishe Edited May 13, 2020 by tosbsas
deanishe Posted May 13, 2020 Posted May 13, 2020 On 5/11/2020 at 5:12 PM, tosbsas said: maybe you can help me than. If you want help, then please try to provide an actionable description of your problem. Were there any error messages in Alfred's debugger? If it only opens one window, which one?
tosbsas Posted May 13, 2020 Posted May 13, 2020 sorry I am pretty new to this. I opens finder but only one pane. There is no second pane visible. Pane that opens is user/macpro
Bemawr Posted May 13, 2020 Posted May 13, 2020 43 minutes ago, tosbsas said: sorry I am pretty new to this. I opens finder but only one pane. There is no second pane visible. Pane that opens is user/macpro If you have a finder window open and you trigger this workflow a 2nd finder window will/ should pop up
deanishe Posted May 13, 2020 Posted May 13, 2020 8 minutes ago, Bemawr said: If you have a finder window open and you trigger this workflow a 2nd finder window will/ should pop up Going by the code, it closes any open windows, then opens one at your home directory and a second showing your ~/Documents folder. It sounds like it’s the second window failing to open, so it might be because it’s too big for the screen. Hard to say because @tosbsas apparently didn’t check the debugger like I asked.
tosbsas Posted May 13, 2020 Posted May 13, 2020 (edited) oh Mann Deanishe, told you I am new to this. I actually only bought license to be able to use this workflow I found this as log on 2 tries [17:18:39.255] Logging Started... [17:18:46.815] Dualpane[Keyword] Processing complete [17:18:46.817] Dualpane[Keyword] Passing output '' to Run NSAppleScript [17:19:36.198] Dualpane[Keyword] Processing complete [17:19:36.202] Dualpane[Keyword] Passing output '' to Run NSAppleScript This is catalina - I changed documents to downloads and it opens a tab with downloads but no dualpane like you get with forklift or Pathfinder Edited May 13, 2020 by tosbsas
deanishe Posted May 14, 2020 Posted May 14, 2020 8 hours ago, tosbsas said: no dualpane like you get with forklift or Pathfinder It doesn't actually do dualpane: Finder can't do that. It just opens two windows next to each other. There could be a couple of things going wrong here. What's your monitor's resolution?
deanishe Posted May 14, 2020 Posted May 14, 2020 @tosbsas: Can you try the script I posted here: In Alfred, paste it into a Run Script action with Language = /usr/bin/osascript (AS)
tosbsas Posted May 14, 2020 Posted May 14, 2020 7 hours ago, deanishe said: It doesn't actually do dualpane: Finder can't do that. It just opens two windows next to each other. There could be a couple of things going wrong here. What's your monitor's resolution? Its a 13'' MacBook Pro and I use standard there.
tosbsas Posted May 14, 2020 Posted May 14, 2020 7 hours ago, deanishe said: This workflow might also be useful: also get only one window :-(( [09:18:51.916] Logging Started... [09:19:01.461] DualFinder[Hotkey] Processing complete [09:19:01.462] DualFinder[Hotkey] Passing output '' to Run NSAppleScript
tosbsas Posted May 14, 2020 Posted May 14, 2020 (edited) 7 hours ago, deanishe said: @tosbsas: Can you try the script I posted here: In Alfred, paste it into a Run Script action with Language = /usr/bin/osascript (AS) you lost me again - sorry - dunno how to paste that with what? [09:18:51.916] Logging Started... [09:22:47.966] Dualpane[Keyword] Processing complete [09:22:47.970] Dualpane[Keyword] Passing output '' to Run NSAppleScript [09:22:47.975] ERROR: Dualpane[Run NSAppleScript] { NSAppleScriptErrorBriefMessage = "Zeilenende, etc. erwartet, aber Identifier gefunden."; NSAppleScriptErrorMessage = "Zeilenende, etc. erwartet, aber Identifier gefunden."; NSAppleScriptErrorNumber = "-2741"; NSAppleScriptErrorRange = "NSRange: {908, 13}"; } Edited May 14, 2020 by tosbsas
deanishe Posted May 14, 2020 Posted May 14, 2020 24 minutes ago, tosbsas said: Its a 13'' MacBook Pro and I use standard there. I have no idea what the standard resolution on a 13" MBP is. 21 minutes ago, tosbsas said: [09:18:51.916] Logging Started... [09:22:47.966] Dualpane[Keyword] Processing complete [09:22:47.970] Dualpane[Keyword] Passing output '' to Run NSAppleScript [09:22:47.975] ERROR: Dualpane[Run NSAppleScript] { NSAppleScriptErrorBriefMessage = "Zeilenende, etc. erwartet, aber Identifier gefunden."; NSAppleScriptErrorMessage = "Zeilenende, etc. erwartet, aber Identifier gefunden."; NSAppleScriptErrorNumber = "-2741"; NSAppleScriptErrorRange = "NSRange: {908, 13}"; } Not "Run NSAppleScript", "Run Script".
tosbsas Posted May 14, 2020 Posted May 14, 2020 MacBook Pro 13'' Retina display 13.3‑inch (diagonal) LED-backlit display with IPS technology; 2560‑by‑1600 native resolution at 227 pixels per inch with support for millions of colors Supported scaled resolutions: 1680 by 1050 1440 by 900 1024 by 640 500 nits brightness Wide color (P3) True Tone technology [11:32:13.775] Logging Started... [11:32:23.279] Dualpane[Keyword] Processing complete [11:32:23.283] Dualpane[Keyword] Passing output '' to Run Script [11:32:41.182] Dualpane[Keyword] Processing complete [11:32:41.187] Dualpane[Keyword] Passing output '' to Run Script Only one window jumps on the screen form left side and than down
deanishe Posted May 14, 2020 Posted May 14, 2020 Right, so your screen is 1280 x 800. That's too small for the original workflow, but the second window should still be partially on screen. 16 minutes ago, tosbsas said: Only one window jumps on the screen form left side and than down Is it the first window ("/Volumes") or the second window ("/" or "Macintosh HD")?
tosbsas Posted May 14, 2020 Posted May 14, 2020 (edited) second is on the screen - Ruben HD Edited May 14, 2020 by tosbsas
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now