mirror of
https://github.com/sbrow/ps.git
synced 2026-02-28 03:01:43 -05:00
Updates, Improvements, and Fixes
* Moved scripts / runner to separate package
allows future replacement with PS Plugin.
* Fixed issues with Refresh and removed "layer" function.
* Added github documentation via godocdown.
* Reduced number of calls to Panic.
* Updated Tests
* Updated documentation.
* Fixed warnings.
* .gitignore now ignores .test and .out files.
This commit is contained in:
9
runner/scripts/open.vbs
Normal file
9
runner/scripts/open.vbs
Normal file
@@ -0,0 +1,9 @@
|
||||
' Open photoshop.
|
||||
Set app = CreateObject("Photoshop.Application")
|
||||
if WScript.Arguments.Count = 0 then
|
||||
WScript.Echo "Missing parameters"
|
||||
else
|
||||
path = wScript.Arguments(0)
|
||||
Set doc = app.Open(path)
|
||||
wScript.echo doc.Name
|
||||
end if
|
||||
Reference in New Issue
Block a user