Page 1 of 1

PrimalScript with Photoshop - PrimalScript

Posted: Thu Nov 20, 2014 2:40 pm
by Kaprice
[EDITED: Solved as described, in my follow up post.]

I'm using the current version of PrimalScript.

I've searched the Help and this forum and cannot figure out how to get PrimalSense to work with Photoshop. I'm sure I'm missing something obvious.

Do I have to put in a setting (equivelent to setting a Reference in Visual Basic/VBA/Studio)?

I've opened my script with:
VBScript Code
Double-click the code block to select all.
Dim appRef
Set appRef = CreateObject( "Photoshop.Application" )
Thanks for your help.

Re: PrimalScript with Photoshop - PrimalScript

Posted: Thu Nov 20, 2014 2:49 pm
by Kaprice
It does appear to be Photoshop specific.

This code also produces good PrimalSense:
VBScript Code
Double-click the code block to select all.
Dim objExcel, objWorkbook, objSheet1, objSheet2
Set objExcel = CreateObject("Excel.Application")
Set objWorkbook = objExcel.Workbooks.Add()
Set objSheet1 = objWorkbook

Re: PrimalScript with Photoshop - PrimalScript

Posted: Thu Nov 20, 2014 2:54 pm
by Kaprice
(sigh)

Nevermind. It looks like I failed to select a VBS template.

Doing that works for my photoshop script.

Sorry for the false alarm!

Re: PrimalScript with Photoshop - PrimalScript

Posted: Thu Nov 20, 2014 6:05 pm
by jvierra
Gilda! You're back. How was comedic purgatory?