Jump to content

Open a random file in a given directory [Random Opener v2.0]


Recommended Posts

Posted (edited)

Random Opener+.

 

 

Open a random file in a given directory.

 

You MUST specify the directory from which the files are gonna be chosen in the script's "DIR" variable.


DIR="/path/to/directory/"

 

 

Screen%20Shot%202013-04-03%20at%2012.09.

 

Update: new "current" command to open random file in current Finder window.

 

Update 2: better setup now.

 

Changelog:

- Using Bash Workflow Handler Library.
- Easy setup by specifying directory.
- Easy setup by current Finder window directory.
- No more code touching ;).

 

More info and download

Edited by jonathanwiesel
Posted

Thank you!

That no file gets opened twice is great. :)

 

I don´t know if this is a stupid question, but

would it be somehow possible to show the count of the remaining files inside alfred?

Posted

Thank you!

That no file gets opened twice is great. :)

 

I don´t know if this is a stupid question, but

would it be somehow possible to show the count of the remaining files inside alfred?

 

Nice idea!

Download the latest version, it should have that functionality now ;)

Posted

Nice :)

Can you take this even a step further and show the remaining files below the open button?

So you don´t need to click on count?

 

I really like your workflow! :)

 

Domenic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...