On Mar 8, 2019, at 9:08 AM, Ioannis Valasakis <c...@wizofe.uk> wrote: > > ... > Currently, that this is the error I am getting and I can't seem to understand > why, as I've seen online examples using the exact same code and it works. > > >>> desc.putReference(cTID("null"), ref) > >>> desc.putBoolean(cTID("MkVs"), False) > >>> app.executeAction(cTID("slct"), desc, 3) > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 516, > in __getattr__ > ret = self._oleobj_.Invoke(retEntry.dispid,0,invoke_type,1) > pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, u'Adobe > Photoshop', u'Illegal argument - argument 1\n- Required value is missing', > None, 0, -2147220262), None)
Different versions of Photoshop? Could the “slct” action refer to a plugin that isn’t present on your Windows 10 system? The key point is that this is almost certainly going to end up being a Photoshop issue, not a Python issue. — Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32