tereza at attainmentcompany.com
Thu Nov 6 12:58:57 CST 2003
on 11.06.03 12:40 PM, Roger Guay wrote:
> I've got a file "Gen.html" on my desktop (OS X) along with my RunRev
> application. The following script will open "Gen.html" while in
> Runtime but the Standalone does not work:
> on mouseUp
> set the itemDelimiter to "/"
> put (item 1 to -2 of the effective fileName of this stack)&"/" into
> get "file:"&myFolderName&"gen.html"
> revGoURL it --- This works in Runtime but not in standalone
> end mouseUp
You might try:
if last item of myFolderName is "contents" then -- in a bundle format
put item 1 to -2 of myFolderName into myFolderName
+ Tereza Snyder
+ Senior Software Developer
+ Attainment Company, Inc.
More information about the use-livecode