This content has been marked as final.
Show 2 replies
-
1. Re: Is There a Syntax Error in Adobe's ResizeCanvas Method for PS5 VBScript?
Michael L Hale Nov 16, 2011 6:02 AM (in response to scripternovice)Can someone please explain this?
If the VBScript guide is anything like the javascript guide there are quite a few errors in the guide. Some are just typos. Others go beyond what can be explained by typos.
I don't use VBScript that often but it seems clear that the guide is wrong in this example and the line should be
docRef.ResizeCanvas docWidth-7,docHeight-3 ' in VBScript you don't wrap Sub/Method/Function arguments in parentheses
-
2. Re: Is There a Syntax Error in Adobe's ResizeCanvas Method for PS5 VBScript?
scripternovice Nov 16, 2011 1:17 PM (in response to Michael L Hale)Thanks, Michael, for the confirmation! Thought the line without parentheses
must be correct, since it worked, but still tend to think of reference
material as 'gospel'. Will probably make much better progress if I shake
that notion. Finding this forum has been a great help.

