Copy link to clipboard
Copied
Recently, I wrote a VBScript that can save whatever work is done in Illustrator as an SVG file and then open it up using another program. My script works perfectly well but that's not why I'm here.
I would like the other program that opens up the SVG to be able to install the script from within. That means, this other program should have a button where you just click 'install Illustrator extension' and then it copies over the VBScript to the /Program Files/Adobe/Adobe Illustrator CC 2015/Presets/Scripts folder. Right now, the program is a java executable and in theory it should work. The problem is that I get access denied every time I try to install the script. If I run the program as an administrator it all works fine though, but I would like my users to not have to run the program as administrator.
My question is if there is a way that I can install a script for Illustrator on a path that is not through /Program Files/ since this requires special permissions? Is there another directory on the user's home that Illustrator could check for loading onto the scripts menu? Shouldn't there be, like if different users on the same computer want to have different extensions what do they do?
Copy link to clipboard
Copied
For scripts, you can use \Documents\Adobe Scripts . You can also execute scripts in it without the security dialog box popping up.
Copy link to clipboard
Copied
This bugs me too.
no real programs these days store user info in the program directory.
I wish the ~\Documents\Adobe Scripts folder was actually loaded to the file menu in illustrator.
Copy link to clipboard
Copied
+ 1
Qwertyfly wrote: I wish the ~\Documents\Adobe Scripts folder was actually loaded to the file menu in illustrator.
Yes, and because of this you still have to go "File > Scripts > Other Scripts..." and traverse to the script location. Which is not any different than installing them in any other location that does not require special permissions. Not sure using \Documents\Adobe Scripts really solves the OP requirements because of this? Then again Admin rights are pretty common when installing a good many of things.
Copy link to clipboard
Copied
I am not sure what exactly the OP requires here, as I can sense this is a very brief explanation. If the intent is for users to use the inserted scripts as normally, by clicking the file menu, and the purpose is something like managing multiple scripts inside a department at a business (where the script names don't change, but their contents do), a next best thing would be to distribute a set of caller scripts (or script panel) to the users and have them call script files from Documents\Adobe Scripts\ which get overwritten permission-free by the OP's special program. Any thoughts?
Copy link to clipboard
Copied
Yeah I was gonna suggest using a slug script also but then you run into the same issue, you still cant install that without permissions. But once you do you are off and running to reference things elsewhere where you can. Agreed, not sure what the overall situation of the OP is.
Copy link to clipboard
Copied
It sounds like his 3rd party app wants to be able to add a script to illustrator.
makes me think the best solution would be a plugin or extension.
is well beyond my scope of knowledge.
I wish I could get my head around visual studio.
sadly it is a big learning curve, and as with the rest of adobes documentation the SDK has a poorly written set of docs.
Anyone know of any tutorials or something that can get me started down this path?
Copy link to clipboard
Copied
Anyone know of any tutorials or something that can get me started down this path?
this one is for ThinkingThings, he's the Visual Studio Master
Copy link to clipboard
Copied
Cheers Carlos,
I've not seen him about much of late.
Ill find my sandals and a net and see if I can track him down...
Here TT TT TT....
Copy link to clipboard
Copied
check this thread
http://stackoverflow.com/questions/11534857/vbs-access-denied
Find more inspiration, events, and resources on the new Adobe Community
Explore Now