Copy link to clipboard
Copied
Hello all,
Is there a way of resetting and/or switching workspaces through a script in Illustrator CS6? I have tried with the functions shown in the CC Illustrator Adobe documentation and it shows me an error not recognizing the function. And I don't see those functions in the CS6 documentation.
Any help would be truly appreciated.
Thanks a lot.
You can reset workspace like below.
app.executeMenuCommand("Adobe Reset Workspace");
However, There are no way to manipurate workspace in CS6 as W_J_T say.
Copy link to clipboard
Copied
Looking through the documentation all the 'workspace' related methods were introduced in CC, so more than likely the answer is no.
Copy link to clipboard
Copied
i know it's not really what you're asking for.. but you can reset a workspace via an action.. if i recall correctly you can run an action from ESTK in CS6..
Copy link to clipboard
Copied
You can reset workspace like below.
app.executeMenuCommand("Adobe Reset Workspace");
However, There are no way to manipurate workspace in CS6 as W_J_T say.
Copy link to clipboard
Copied
‌Nice info Ten A and CarlosCanto good to know, thanks for sharing.
Copy link to clipboard
Copied
starting with CS6
var result = app.sendScriptMessage("Adobe Custom Workspace" , "Switch Workspace", '<workspace="Automation" >'); // Essentials
alert(result);
Copy link to clipboard
Copied
Thank you Ten A and CarlosCanto! That really helped me out. Sorry about the delay on my response, I was taking finals at school. But now my script is up and running!
Happy Holidays!