Utility scripts to open with 4D for macOS from Terminal and other apps.
The current version of 4D do not allow to open the project folder or a source file not in current opened project.
This script will find associated project file to open it.
Download using terminal
sudo curl -L https://raw.githubusercontent.com/mesopelagique/OpenWith4D/master/macos/4d -o /usr/local/bin/4d && chmod +x /usr/local/bin/4d
💡 Your password will be prompted to install in
/usr/local/bin
or If you need only quick action section
Open with 4D folder, project or source file using the command line.
4d
same as open -a "4D"
4d $HOME/Kaluza # open the project inside $HOME/Kaluza/Project/
4d
or
4d .
4d $HOME/Kaluza/Project/Kaluza.4DProject
4d $HOME/Kaluza/Project/Sources/Methods/install_github.4dm
SourceTree allow you to use custom action.
So using a shortcut, you can open your 4d project in 4D.
Paletro allow to add extension
Download this project source file and open folder openin4d.pext
, it will install the extension if you have Paletro
App available also using Setapp (the Netflix of Mac Apps).
💡 You can achieve this with other tools. (You can Pull Request this project to explain how)
MacOs allow you to create with automator some quick action that could be avaiable in Finder, and oher app
You can download a zipped version in release or download this project sources
Open the workflow to install it.