> When verifying a bundle on the Mac with "if there is a file" I get false -
> which is comprehensible, but same with "if there is a folder". So there must
> be another way. How do I ask for a bundle?
"There is a folder" should work, but you need to make sure you pass the
extension (.app, .bundle, etc.), even if it's not displayed. Here's an
example (I picked TextEdit, but pick what you like):
on mouseUp
answer file "Select a bundle or app:"
if it <> "" then
put (there is a folder it)
end if
end mouseUp
As you can see, you need to use "answer file" to pick a bundle, but after
that, it should be treated as a folder.
HTH,
Ken Ray
Sons of Thunder Software, Inc.
Email: [email protected]
Web Site: http://www.sonsothunder.com/
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution