revGoURL help
Tereza Snyder
tereza at attainmentcompany.com
Thu Nov 6 13:58:57 EST 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
> myFolderName
> 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
end if
+ Tereza Snyder
+ Senior Software Developer
+ Attainment Company, Inc.
+ <www.attainmentcompany.com>
+ 800.327.4269
More information about the use-livecode
mailing list