Problem with FileXtra4 - FolderSelectDialog

When using FileXtra4  command fx.FolderSelectDialog() on Mac OS 10.4 the address returned ends with a colon(:) When used under OS 10.5 the address is returned without the colon - giving a false address.when added to other info.
How can I get the exact version of the OS operating system and tell the difference???
BuddyAPI  baVersion("OS")  only returns "OS10"
Can't think of any other way
Can anybody help - Please
Regards
AlbumMan
AlbumManAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris-ChambersCommented:
Hi,

Have you tried a simple test to see if the string ends with a colon, and appending one if there isn't?

Hope this helps,

Chris.
strFolder = fx.FolderSelectDialog()
  
if (strFolder.char[strFolder.length] <> ":") then
  strFolder = strFolder & ":"
end if

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AlbumManAuthor Commented:
Many thanks, I sometimes miss the obvious!!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development Software

From novice to tech pro — start learning today.