Are there any target directives in the script?
#target "indesign5" ?
That was what we did to get scripts to work again in CS3, we added it after Application: ("InDesign.Application.CS3")
Adding CS5 there did not help with version 7.
What we wound up doing was moving scripts from the server Version 7.0 folder, which scripts appear in ID under the User folder in the scripts panel, to our hard drive Version 7.0 folder, so now scripts appear under the Application folder in the scripts panel, and they are working okay.
Also, why do all scripts in the Version 5.0 on the server for CS3 still work?
At this point, we're just glad to be using our daily scripts again.
Maybe this is a bug that should be reported to be fixed?
I can only download a zip file, no zxp file present
Our IT java guy said the exaclty same thing, but there might be a problem
using the FileSystemObject
Your browser (probably Internet Explorer) might be adding the zip extension. Try removing the zip extension or downloading with FireFox or Chrome...
Well, that was easy.:-) I'm not sure why I didn't think of it earlier, but this fixed the problem on my Windows 7 laptop:
1. Open your InDesign application folder and select InDesign.exe.
2. Select Properties from the context menu.
3. Turn on the Run This Program As An Administrator option in Compatibility tab.
4. Click OK to close the Properties panel.
Now all of my VBScripts run from the Scripts panel. (I don't know if this will have any effect on the file system object problem reported above--I haven't had any trouble using the file system object.)
Hope this helps!
I did the same this morning and it works. Also the FileSystemObject.
We were not able to use the solution of Run this Program as an Administrator, because when you run a program as an adminstrator, you lose the mapped drives on the workstation. We use the mapped drives extensively on our network for our workgroup. For example, drive S:\ is our regular drive for production that goes to the dfs PROD, so we remap S:\ to PROD.NEW when we are testing, and all of our scripts reference the mapped drive letter, so we can use them for testing purposes.
What our IT administrator found was the BEST solution for us as multiple users on a network was to add Modify rights to the user accounts. He logged into the machine as administrator, and did the following:
- Open your InDesign application folder and select InDesign.exe.
- Select Properties from the context menu.
- Go to the SECURITY tab
- Under the "Group or user names:" section, select USERS
- To change permissions, click the EDIT button
- Under the "Permissions for Users", in the row “Modify,” in the column "Allow" check YES to allow users to modify
- Click OK
This will do the same thing as the above suggestion (run VBScripts under Windows 7) AND keep the mapped network drives visible for those who use them.