Timeline for In the Save As dialogue, how can I save to the top (or another active) Finder window
Current License: CC BY-SA 4.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 9, 2023 at 4:18 | history | bounty ended | Alex Roberts | ||
Jan 9, 2023 at 4:18 | vote | accept | Alex Roberts | ||
Jan 9, 2023 at 4:18 | comment | added | Alex Roberts | you're right, it now seems to select the active tab, not the first tab. I'm not sure if I was doing something wrong or if the original script you wrote behaves differently somehow. In any case, on the larger point, I haven't managed to get this solution to work exactly as you describe, but that's no surprise since I'm on an outdated system. And your original solution was already much better than what I was doing. So I'm marking this as the answer, and maybe I'll get your more sophisticated solution to work one day if I ever update. Thank you. | |
Jan 9, 2023 at 1:26 | comment | added | Ezekiel | @AlexRoberts So I just tested it and on my computer (macOS 13 Ventura), the script I provided uses the active tab, not the first tab. | |
Jan 9, 2023 at 1:23 | comment | added | Ezekiel | @AlexRoberts Try selecting it to receive selected text | |
Jan 8, 2023 at 23:53 | comment | added | Alex Roberts | I am also having trouble implementing the updated Applescript you provided; please see the update to my question. | |
Jan 8, 2023 at 23:36 | comment | added | Alex Roberts |
This Stackoverflow page seems the most promising. One step in the answer's Applescript is supposed to -- get the target of the front tab . The key line reads tell window 1 to set t to target . Maybe that would do the trick?
|
|
Jan 8, 2023 at 23:33 | comment | added | Alex Roberts | This page also seems to strive to refer to separate tabs of a Finder window, though it doesn't seem to query which one is active -- and it may be a bit out of date. | |
Jan 8, 2023 at 23:30 | comment | added | Alex Roberts | Does this Stackoverflow answer help, @Ezekiel? I don't really understand what the radio button is that it refers to, but maybe that is the key to referencing tabs somehow? | |
Jan 8, 2023 at 22:44 | comment | added | Ezekiel | @AlexRoberts I am unsure how to resolve the tab issue, I've done some googling and have not found anything. For the second question, I have amended my answer to provide it as output. You can disable "Copy to Clipboard" if you'd like to avoid editing the clipboard. | |
Jan 8, 2023 at 22:43 | history | edited | Ezekiel | CC BY-SA 4.0 |
added 78 characters in body
|
Jan 8, 2023 at 21:12 | comment | added | Alex Roberts | As a bonus, it would be great if the solution could avoid modifying the clipboard. | |
Jan 8, 2023 at 20:30 | comment | added | Alex Roberts | Thank you, this is very close. I just tested it and found that the path that it copies is the first tab from the top Finder window, but I would like it to select the active tab in the top Finder window. Is there a way to tweak the script to do so? Also, is there a way to fold the "Go To" and paste operations into the script, so that I don't have to type three separate commands (run the Services script, shift+command+G, command+V) and then press Return to perform this single operation? | |
Jan 7, 2023 at 21:19 | history | answered | Ezekiel | CC BY-SA 4.0 |