Home Download Buy Blog Forum Support

SideBar Enhanc.. (Clipboard, Open With., Reload renamed)

Re: SideBar Enhancements (Files, Folder, Cut, Copy, Duplicate)

Postby MrMartineau on Thu Oct 13, 2011 10:07 pm

Using this opens Photoshop:
Code: Select all
open -a /Applications/Adobe\ CS5/Adobe\ Photoshop\ CS5/Adobe\ Photoshop\ CS5.app
but adding a filename as you suggested did not work. Instead I got an error:
Code: Select all
The file *** does not exist.

This one gave an error:
Code: Select all
/Applications/Adobe CS5/Adobe Photoshop CS5/Adobe Photoshop CS5.app: is a directory

Thanks for you help so far... nearly there!

P.S. I think I need to edit my forum signature once I have this sorted.. http://cl.ly/AwEr
@MrMartineau || Setup Sublime Text quickly: Find out all you need at https://github.com/mrmartineau/SublimeTextSetup
MrMartineau
 
Posts: 78
Joined: Thu Jul 28, 2011 8:35 am

Re: SideBar Enhancements (Files, Folder, Cut, Copy, Duplicate)

Postby tito on Thu Oct 13, 2011 10:41 pm

: D Almost

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",

And downloading the new version I uploaded five minutes ago, can you please test.

Crossing fingers :mrgreen:

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
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 855
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: SideBar Enhancements (Files, Folder, Cut, Copy, Duplicate)

Postby MrMartineau on Fri Oct 14, 2011 8:15 am

tito wrote:: D Almost

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",

And downloading the new version I uploaded five minutes ago, can you please test.

Crossing fingers :mrgreen:


It still does not work for me I'm afraid.. :( I uninstalled the plugin, then reintalled it with Package Control. Where am going wrong? Should the app be open already? I even tried without the new backslashes you added, to no avail.
@MrMartineau || Setup Sublime Text quickly: Find out all you need at https://github.com/mrmartineau/SublimeTextSetup
MrMartineau
 
Posts: 78
Joined: Thu Jul 28, 2011 8:35 am

Re: SideBar Enhancements (Files, Folder, Cut, Copy, Duplicate)

Postby tito on Fri Oct 14, 2011 7:23 pm

Hey Mr, try to open a psd file from the cmd, once you get the file opened let me know which command works for you. Please come back with the complete line without encryption ; )

I want to suggest you to try the following
Code: Select all
  open -a /Applications/Adobe\ CS5/Adobe\ Photoshop\ CS5/Adobe\ Photoshop\ CS5.app /User/path/to/some/psd/file/this.psd

With quotes:
Code: Select all
  open -a /Applications/Adobe\ CS5/Adobe\ Photoshop\ CS5/Adobe\ Photoshop\ CS5.app "/User/path/to/some/psd/file/this.psd"


What about my other questions?
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 855
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: SideBar Enhancements (Clipboard, Move to Trash, Open With..)

Postby xavi on Sun Oct 16, 2011 11:54 pm

In Linux I can open files using "Open/Run" but "Open with" doesn't work

I've tried evince, eog and gnome-font-viewer.eog and evince open but with a blank window. gnome-font-viewer never opened. I think "Open with" never receives selected filename.
xavi
 
Posts: 24
Joined: Sat Jul 30, 2011 12:00 am

Re: SideBar Enhancements (Clipboard, Move to Trash, Open With..)

Postby tito on Mon Oct 17, 2011 1:34 am

Hi xavi, I think is fixed now~, It works for me when using just the application name, I think it should be on PATH,
for example:
Code: Select all
{
   "caption": "Firefox",
   "id": "side-bar-files-open-with-firefox",   
      
   "command": "side_bar_files_open_with",     
   "args": {
         "paths": [],
         "application": "firefox",
         "extensions":".*" //any file with extension
   }
},


Let me know if that works for you.
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 855
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: SideBar Enhancements (Clipboard, Move to Trash, Open With..)

Postby xavi on Mon Oct 17, 2011 6:39 pm

tito wrote:Hi xavi, I think is fixed now~, It works for me when using just the application name, I think it should be on PATH,
for example:
Code: Select all
{
   "caption": "Firefox",
   "id": "side-bar-files-open-with-firefox",   
      
   "command": "side_bar_files_open_with",     
   "args": {
         "paths": [],
         "application": "firefox",
         "extensions":".*" //any file with extension
   }
},


Let me know if that works for you.


After this upgrade it works like a charm. Great job!!!
xavi
 
Posts: 24
Joined: Sat Jul 30, 2011 12:00 am

Re: SideBar Enhancements (Files, Folder, Cut, Copy, Duplicate)

Postby MrMartineau on Mon Oct 17, 2011 11:31 pm

tito wrote:Hey Mr, try to open a psd file from the cmd, once you get the file opened let me know which command works for you. Please come back with the complete line without encryption ; )

I want to suggest you to try the following
Code: Select all
  open -a /Applications/Adobe\ CS5/Adobe\ Photoshop\ CS5/Adobe\ Photoshop\ CS5.app /User/path/to/some/psd/file/this.psd

With quotes:
Code: Select all
  open -a /Applications/Adobe\ CS5/Adobe\ Photoshop\ CS5/Adobe\ Photoshop\ CS5.app "/User/path/to/some/psd/file/this.psd"


What about my other questions?

Both examples open Photoshop but neither open the file.. but when PS is already open, both examples successfully open the file...

P.s. Apologies for the delayed response, I didn't know that anyone replied to me... when can we get an improved forum?
@MrMartineau || Setup Sublime Text quickly: Find out all you need at https://github.com/mrmartineau/SublimeTextSetup
MrMartineau
 
Posts: 78
Joined: Thu Jul 28, 2011 8:35 am

Re: SideBar Enhancements (Files, Folder, Cut, Copy, Duplicate)

Postby tito on Tue Oct 18, 2011 2:23 pm

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
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 855
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: SideBar Enhancements (Files, Folder, Cut, Copy, Duplicate)

Postby MrMartineau on Wed Oct 19, 2011 8:12 am

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"]}
@MrMartineau || Setup Sublime Text quickly: Find out all you need at https://github.com/mrmartineau/SublimeTextSetup
MrMartineau
 
Posts: 78
Joined: Thu Jul 28, 2011 8:35 am

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 4 guests