Find a file that’s the type you want to change. In this example, we want to set Photoshop to open any time a JPEG file is double-clicked.
Right click on your file, and then select Get Info (or click on the file once, then go to File -> Get Info, or select the file and press Command-I on your keyboard). This will open the Get Info window.