Get Application parent folder path

Hi,

is possible with a variant of command:

set myPathPosix to current application’s NSBundle’s mainBundle()'s bundlePath()

to get the path of folder where the app reside?

Ame

Hi,

cut off the last path component

set myPathPosix to current application's NSBundle's mainBundle()'s bundlePath()'s stringByDeletingLastPathComponent()

Thanks Stefan,
I just added the & “/” at the end because stringByDeletingLastPathComponent delete it and I need the conversion as HFS path.

Thansk again. All works.

Ame