Clear Slices
Hello,
How to call the "Clear Slices" function of the View menu in an AppleScript?
Thomas
Hello,
How to call the "Clear Slices" function of the View menu in an AppleScript?
Thomas
Mike, I can neither play back a recorded action via the GUI pallet or use Applescripts do action "X" from "Z" both create and app dialog about not being available.
Strangely enough it works fine using system events GUI scripting but thats a very low level way about the problem.
tell application "Adobe Photoshop CS2"
activate
if exists current document then
my Clear_Slices()
end if
end tell
on Clear_Slices()
tell application "System Events"
tell application process "Adobe Photoshop CS2"
tell menu bar 1
tell menu bar item "View"
tell menu 1
click menu item "Clear Slices"
end tell
end tell
end tell
end tell
end tell
end Clear_Slices
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.