Question
Controlling the 'Rotate View Tool'
Hi there,
I'm a Flash/Flex developer working with PatchPanel and SwitchBoard to build AIR apps that can communicate with Creative Suite tools.
I was hoping to write a PatchPanel plug-in that would be able to control the 'Rotate View Tool' in Photoshop CS4 however, when I looked through the DOM there was no mention of it within the JavaScript Reference. My next tactic was to use the ScriptListener plug-in to record the action but alas, the resulting log did not contain the 'amount of rotation' as a variable :-(
Can anyone verify whether it is possible to dynamically control the 'Rotate View Tool'? If so, how would I go about passing the desired rotation value from my PatchPanel plug-in to Photoshop?
I should also say that I do not have access to the Photoshop SDK and have no experience of C++ but am willing to invest some time into solving this problem because I have something REALLY sweet planned. I'll keep it a surprise for now but if I can find a solution then I'd be more than happy to share it freely.
Many thanks in advance...
Cheers,
------------------------
Andy McDonald
Centre for Advanced Textiles
Glasgow School of Art
------------------------
I'm a Flash/Flex developer working with PatchPanel and SwitchBoard to build AIR apps that can communicate with Creative Suite tools.
I was hoping to write a PatchPanel plug-in that would be able to control the 'Rotate View Tool' in Photoshop CS4 however, when I looked through the DOM there was no mention of it within the JavaScript Reference. My next tactic was to use the ScriptListener plug-in to record the action but alas, the resulting log did not contain the 'amount of rotation' as a variable :-(
Can anyone verify whether it is possible to dynamically control the 'Rotate View Tool'? If so, how would I go about passing the desired rotation value from my PatchPanel plug-in to Photoshop?
I should also say that I do not have access to the Photoshop SDK and have no experience of C++ but am willing to invest some time into solving this problem because I have something REALLY sweet planned. I'll keep it a surprise for now but if I can find a solution then I'd be more than happy to share it freely.
Many thanks in advance...
Cheers,
------------------------
Andy McDonald
Centre for Advanced Textiles
Glasgow School of Art
------------------------