Tito,
Would be awesome if you could fork this plugin over to the S2 GitHub org! Good stuff!
Greg
MrMartineau wrote:tito wrote:Can you please answer this:tito wrote:...............
Additional questions! ( unrelated to above )
1) Over a photoshop file, pressing on context menu "Open / Run" opens photoshop?
2) Over a any file/folder, pressing on context menu "Reveal" opens Finder with the file/folder focused?
3) Careful with this one!! When you delete a file via the context menu, the file is sent to the "trash"?
Thanks
In answer to your questions:
1) This does not open Photoshop & with the command log turned on I get this:
- Code: Select all
command: side_bar_open {"paths": ["/Users/MyUser/Dropbox/Work/Web/Clients (Current)/Client1/Logo/Logo.psd"]}
2) Reveal works as expected
3) Delete does not work for me
Open with return this in the console:
- Code: Select all
command: side_bar_files_open_with {"application": "/Applications/Adobe\\ CS5/Adobe\\ Photoshop\\ CS5/Adobe\\ Photoshop\\ CS5.app", "extensions": "psd|png|jpg|jpeg|gif", "paths": ["/Users/MyUser/Dropbox/Work/Web/Clients (Current)/Client1/Logo/Logo.psd"]}
"application": "/Applications/Adobe\\ CS5/Adobe\\ Photoshop\\ CS5/Adobe\\ Photoshop\\ CS5.app",import subprocess; subprocess.Popen(['open', '-a', '/Applications/Adobe\\ CS5/Adobe\\ Photoshop\\ CS5/Adobe\\ Photoshop\\ CS5.app', '/path/to/mypsd.psd'])import subprocess; subprocess.Popen(['open', '-a', '/Applications/Adobe\\ CS5/Adobe\\ Photoshop\\ CS5/Adobe\\ Photoshop\\ CS5.app', 'mypsd.psd'], cwd='/path/to/')import subprocess; subprocess.Popen(['open', '-a', 'Adobe\\ Photoshop\\ CS5.app', '/path/to/mypsd.psd'])import subprocess; subprocess.Popen(['open', '-a', 'Adobe\\ Photoshop\\ CS5.app', '/path/to/mypsd.psd'], cwd='/Applications/Adobe\\ CS5/Adobe\\ Photoshop\\ CS5/')import subprocess; subprocess.Popen(['open', '-a', 'Adobe\\ Photoshop\\ CS5.app', 'mypsd.psd'], cwd='/path/to/')import subprocess; subprocess.Popen(['open', '-a', 'Photoshop', 'mypsd.psd'], cwd='/path/to/')import subprocess; subprocess.Popen(['open', '-a', 'Photoshop', '/path/to/mypsd.psd'])tito wrote:Mr thanks for your answers!
I think I have something.. please update the package
With this as the line of the application in the config file:
- Code: Select all
"application": "/Applications/Adobe\\ CS5/Adobe\\ Photoshop\\ CS5/Adobe\\ Photoshop\\ CS5.app",
Try "open with.."
If still not working...
go to menu "view" -> "show console"
and try some of the following.. until you get the file opened.
1
- Code: Select all
import subprocess; subprocess.Popen(['open', '-a', '/Applications/Adobe\\ CS5/Adobe\\ Photoshop\\ CS5/Adobe\\ Photoshop\\ CS5.app', '/path/to/mypsd.psd'])
2
- Code: Select all
import subprocess; subprocess.Popen(['open', '-a', '/Applications/Adobe\\ CS5/Adobe\\ Photoshop\\ CS5/Adobe\\ Photoshop\\ CS5.app', 'mypsd.psd'], cwd='/path/to/')
3
- Code: Select all
import subprocess; subprocess.Popen(['open', '-a', 'Adobe\\ Photoshop\\ CS5.app', '/path/to/mypsd.psd'])
4
- Code: Select all
import subprocess; subprocess.Popen(['open', '-a', 'Adobe\\ Photoshop\\ CS5.app', '/path/to/mypsd.psd'], cwd='/Applications/Adobe\\ CS5/Adobe\\ Photoshop\\ CS5/')
5
- Code: Select all
import subprocess; subprocess.Popen(['open', '-a', 'Adobe\\ Photoshop\\ CS5.app', 'mypsd.psd'], cwd='/path/to/')
6
- Code: Select all
import subprocess; subprocess.Popen(['open', '-a', 'Photoshop', 'mypsd.psd'], cwd='/path/to/')
7
- Code: Select all
import subprocess; subprocess.Popen(['open', '-a', 'Photoshop', '/path/to/mypsd.psd'])
Hope you can open that file and tell me which command works.
___
I've some questions:
1 ) Can you open a photoshop file via "Open/Run" menuitem now? I think is fixed.
2 ) CAREFUL with this one: Is now a folder or file successfully sent to trash? If not, is there some message into the console?
Thanks in advance.
import subprocess; subprocess.Popen(['open', '-a', '/Applications/Adobe CS5/Adobe Photoshop CS5/Adobe Photoshop CS5.app', 'Logo.psd'], cwd='/Users/mrmartineau/Dropbox/Work/Web/Clients (Current)/Company/Logo/')[
{"id": "side-bar-files-open-with",
"children":
[
//application 1
{
"caption": "Photoshop",
"id": "side-bar-files-open-with-photoshop",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Adobe Photoshop CS5.app",
"extensions":"psd|png|jpg|jpeg|gif" //any file with these extensions
}
},
//separator
{"caption":"-"},
//application 2
{
"caption": "Espresso",
"id": "side-bar-files-open-with-espresso",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Espresso.app",
"extensions":"css" //open all even folders
}
},
//application n
{
"caption": "CSS Edit",
"id": "side-bar-files-open-with-cssedit",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "CSSEdit.app",
"extensions":"css" //any file with extension
}
},
{"caption":"-"}
]
}
]Return to Plugin Announcements
Users browsing this forum: Google [Bot] and 6 guests