change workspace via applescript?


i'm switching between hooking laptop big monitor , working on internal screen in cafe or whatever. , i'm getting tired of having "window->workspace->some workspace" followed "window->workspace->reset workspace" whenever switch contexts.

 

i've got other scripts firing off when hook monitor, or disconenct it, controlplane - can't script working change illustrator's workspace.

 

i've tried simple bit of applescript, based on find in illustrator's dictionary, doesn't work -

 

 

set targetworkspace "megapalette compact!" tell application "adobe illustrator"      switch workspace "megapalette compact!"      reset workspace end tell

 

this looks should work, "required value missing". has gotten script command work?

i able work using javascript actual workspace switching. hooray, never need "window->workspace->workspace big fit on laptop screen" followed "window->workspace->reset workspace big fit on laptop screen" ever again!

 

 

set targetworkspace "megapalette!" tell application "adobe illustrator"      do javascript ("switchworkspace ('" & targetworkspace & "');")      reset workspace end tell 


More discussions in Illustrator


adobe

Comments

Popular posts from this blog

Some mp4 files not displaying correctly (CS6)

Thread: Samba is not authenticating with LDAP