Hi,
I am using AppleScript with POSIX paths and I am having trouble here. So say if I did this:
set theFile to choose file with prompt "Choose a file" without invisibles
The variable "theFile" would be something like this when I choose the file:
HD:Kexts:mykext.kext
So then I use POSIX to change the colons into slashes:
set theFilePOSIX to POSIX path of theFile
And the value of theFilePOSIX would be like:
HD/Kexts/mykext.kext/
The problem is that POSIX puts a slash at the end of mykext.kext, so it gets messed up, any way to remove this slash?
