Image context menu - 'Show in folder'
Support for UI to... Get native OS shell outside Launcher to display folder that contains selected image.
#showNativeFolderCommandString so far only implemented for MS Windows. This needs to be fleshed out for other platforms.
ADD
src/Pharo-Launcher-Core.package/PhLImage.class/instance/showNativeFolder.st
+printing
+showNativeFolder
+ OSProcess command: self showNativeFolderCommandString.
\ No newline at end of file

ADD
src/Pharo-Launcher-Core.package/PhLImage.class/instance/showNativeFolderCommandString.st
+printing
+showNativeFolderCommandString
+ | folderPath |
+ folderPath := Path withAll: file pathSegments allButLast.
+ OSProcess isWindows ifTrue: [ ^ 'cmd.exe /C "start ' , folderPath printString , ' " ' ].
+ ^nil.
+
+ "
+ This method returns a string for OSProcess to execute to display an OS folder outside the image.
+ Other OS platforms need to be fleshed out here. This is not very OO, but is the simplest first pass.
+ "
\ No newline at end of file

https://pharo.fogbugz.com/default.asp?12015
Image context menu - 'Show in folder'

Support for UI to... Get native OS shell outside Launcher to display folder that contains selected image.

#showNativeFolderCommandString so far only implemented for MS Windows. This needs to be fleshed out for other platforms.