Hi everybody,
I wrote the script to find any Shortcut key used in the document. It only show the shortcut key names, but i want to remove all the shortcut keys which is used in the document or better it show the Pop-up Alert only if the document having any shortcut keys. Please help me if anybody aware of this!
My script are as below:
tell application "Finder"
choose file of type {"XPRJ"} with prompt "Choose the Quark"
set theFiles to result
open file theFiles
tell document 1 of application "QuarkXPress"
set StylehotKey1 to key modifiers of every style spec as text
set StylehotKey2 to key character of every style spec as text
set CharacterhotKey1 to key modifiers of every character spec as text
set CharacterhotKey2 to key character of every character spec as text
display dialog StylehotKey1 & " " & StylehotKey2 & " " & "in Paragraph StyleSheets & " & CharacterhotKey1 & " " & CharacterhotKey2 & " in Character StyleSheets"
end tell
end tell
==================
please help me to sort of this issue as soon as possible.