Add finder-helpers extension
Description
This extension adds a set of helper actions for the finder in macOS. For now this consists of opening the context menu from raycast but will be adding more over time.
Screencast
Checklist
- [x] I read the extension guidelines
- [x] I read the documentation about publishing
- [x] I ran
npm run buildand tested this distribution build in Raycast - [x] I checked that files in the
assetsfolder are used by the extension itself - [x] I checked that assets used by the
READMEare placed outside of themetadatafolder
Congratulations on your new Raycast extension! :rocket:
We will aim to make the initial review within five working days. Once the PR is approved and merged, the extension will be available on our Store.
@pernielsentikaer sorry about the delay - got sidetracked with some other things. Not sure why you're seeing that - AXShowMenu should be available for Finder normally. Can you try running this in Script Editor:
tell application "Finder"
activate
tell window 1
set oldView to current view
if oldView is icon view then set current view to list view
end tell
end tell
tell application "System Events" to tell application process "Finder"
set theSelection to value of attribute "AXFocusedUIElement"
tell theSelection to perform action "AXShowMenu"
end tell
tell application "Finder"
activate
tell window 1
if oldView is icon view then set current view to icon view
end tell
end tell
I'm getting this error
@pernielsentikaer the first line was removed for some reason 🤦 try again now?
Still getting an error, it runs for 20+ seconds and give me this error
@pernielsentikaer I added some additional checks to make sure the finder is open.
Let me know if it's working now.
I'm still getting random errors, it worked once but then I ended up in this error
It might be something in macOS that doesn't work as expected, do you have a clue about that?
This pull request has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊
This issue has been automatically closed due to inactivity.
Feel free to comment in the thread when you're ready to continue working on it 🙂
You can also catch us in Slack if you want to discuss this.