Coder Social home page Coder Social logo

mortennn / fiscript Goto Github PK

View Code? Open in Web Editor NEW
478.0 15.0 35.0 1.14 MB

Execute custom scripts from the MacOS context menu (CTRL+click) in Finder.

License: MIT License

Swift 96.94% Objective-C 0.40% Ruby 2.66%
macos finder extension gui-application customization productivity swift

fiscript's Introduction

download platform systemrequirements code license

πŸš€ FiScript

desktop-image

FiScript is an open source application for MacOS, released under the MIT License. FiScript lets you execute custom scripts on your files/folders from the context menu in Finder.
You might also like Dozer, which lets you hide menubar items to give your Mac a cleaner look.

βš™οΈ Install

Easiest way by using Homebrew Cask:

brew cask install https://raw.githubusercontent.com/Mortennn/FiScript/master/fiscript.rb 

Manual:

  1. Download, open, and drag the app to the Applications folder.
  2. Since FiScript is not signed; go to Preferences > Security & Privacy > General > allow FiScript.
  3. If prompted by allowing "FiScript Helper", please accept, otherwise FiScript won't work properly.

If FiScript does not appear in the Finder menu after installation, you might need to restart Finder (Apple Logo > Force Quit... > Finder > Relaunch)

Requirements

macOS version >= 10.12

License

FiScript is released under the terms of MIT License.

Contributing

Please suggest enhancements as new issue reports on this repository. Also, feel free to share your own scripts, so others can make use of itπŸ˜€

fiscript's People

Contributors

dnicolson avatar eduardoportilho avatar gingerbeardman avatar mortennn avatar yqrashawn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fiscript's Issues

Add functionality to open paths with spaces in iTerm2

I'm currently running into the issue where when Finder is open to a directory with whitespace in the path, such as my local/Users/jaroddeweese/Library/Mobile Documents/com~apple~CloudDocs/, I am unable to open the directory in iTerm2 with FiScript extension. This seems to be because $PATH is not escaped when passed to the script.

My terminal will open but prints the following message out:

cd /Users/jaroddeweese/Library/Mobile Documents/com~apple~CloudDocs/Documents; clear
cd: string not in pwd: /Users/jaroddeweese/Library/Mobile

The following is the relevant portion of my Open iTerm Window AppleScript script, my workaround and what I believe to be the solution:

tell current session
write text "cd " & quoted form of $PATH & "; clear"
end tell

Note how I added quoted form of to the script.

If this is the permanent fix to the problem, any other relevant places will need to be updated also, i.e Open Terminal Window, Open Terminal Tab etc.

FiScriptHelper does not request permission

FiScriptHelper does not appear in "Security & Privacy" (the README contains "Security & Anonymity").

Also, when clicking the "Open System Preferences" button the "Extensions" pane in System Preferences opens.

macOS 10.14.2 Beta (18C38b)
FiScript 1.0.1

Option to view output?

My script is not running, as it should take time but it finishes instantly and I'm finding it difficult to debug.

Is there a way to view script output?

Release zip is outdated

The brew cask install is outdated due to using an old release zip. Please generate a new build as there's a year's worth of updates not included.

Right click for Open In VSCode missing from files

For some reason, almost every file I right-click does NOT have the "Open In VSCode" option in the menu. The "Copy Path" always shows, which correctly demonstrates the behavior I want. Stranger is that very few times when right-clicking a file, it will give me the option... but usually it doesn't.

However, right-clicking on a directory always gives me the VSCode option.

Edit: I should mention I checked and I DO have "use on files" checked in the edit panel for it. The accepted file types box is also empty.

No way to bring window back if I close it using red dot

No way to bring window back if I close it using red dot

I have to quit and relaunch the app.

Suggestions

Either, close app on red dot
Or, add menu item to get window back and open window on app focus if it is not open

Option to not show icons in context menu?

This is great, it addresses the shortcomings with ContextMenu.app that I was using before, allowing items to only appear for certain file types.

But I don't like seeing icons in my context menu so I'd appreciate being able to turn them off.

Thanks!

Multiple selected file Support?

The $PATH variable only support one selected file.
When I choose multiple files in Findler,the program seems has not passed it to shell script

How to add new actions?

This project seems interesting, but I see no mention on how new actions can be added to the context menu, that might be useful for newcomers.

FiScript crashing when setting path

FiScript is not active in external drives by default so I wanted to add a new path. Adding any new path from external drives crashes the application when clicking on "open".

FiScript is no longer maintained?

Hi! πŸ‘‹

FiScript is no longer maintained? An update to support the latest versions of macOS (and their features, such as the dark mode) would be welcome! :)

Thanks for your work!

FiScript can only detect itself when in `/Applications/`

I'm not sure if this is true, but it seems like the path to FiScript is hardcoded to /Applications/FiScript.app/Contents/PlugIns/FiScriptHelper.app.
Here's the error message:

Can't communicate with helper application.

Check if Helper applications exists at /Applications/FiScript.app/Contents/PlugIns/FiScriptHelper.app Helper application has been moved or deleted. Please move the helper application back or reinstall FiScript.

This is a problem, because by default I set Homebrew to install everything in ~/Applications/.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.