Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Is there another directory to install scripts in Illustrator?

New Here ,
Jul 28, 2015 Jul 28, 2015

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?

TOPICS
Scripting
3.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Valorous Hero ,
Jul 28, 2015 Jul 28, 2015

For scripts, you can use \Documents\Adobe Scripts . You can also execute scripts in it without the security dialog box popping up.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jul 28, 2015 Jul 28, 2015

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Jul 29, 2015 Jul 29, 2015

+ 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jul 29, 2015 Jul 29, 2015

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Jul 29, 2015 Jul 29, 2015

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jul 29, 2015 Jul 29, 2015

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 29, 2015 Jul 29, 2015
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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jul 29, 2015 Jul 29, 2015

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....

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 30, 2015 Jul 30, 2015
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines