mjolnirapp / mjolnir

Lightweight automation and productivity app for OS X
5.2k stars 128 forks source link

Open a file #541

Closed andrewmc2 closed 4 years ago

andrewmc2 commented 9 years ago

I have looking through the documentation on Dash, and I couldn't seem to find a way to open a particular file. For example, I'd like to open a .html file in Sublime (which is the default application to open this type of file). Is there a way to open particular files in an application with any module in Mjolnir/Lua?

cmsj commented 9 years ago

indirectly, you can use os.execute() to call out to /usr/bin/open, which has suitable arguments for opening a file with a particular application.

github-actions[bot] commented 4 years ago

Stale issue message