set scptPath to active script
display dialog scptPath as string
its give the output of
/Applications/Adobe InDesign CS2/Presets/Scripts/OH-LA_Reprint_PageDelete/Common/LinksAreMoveToArtFolder.scpt
Actually my requirement is
/Applications/Adobe InDesign CS2/Presets/Scripts/OH-LA_Reprint_PageDelete/Common
what to do...
As far as I know, you must use the Finder for this task:
set myself to (path to me)
tell application "Finder"
container of (myself)