Page 1 of 1

Opening another stack

Posted: Fri May 15, 2009 5:02 am
by Glenn Boyce
I trying to open another stack that isn't loaded in memory. I thought I could just:
open stack "whatever"
and it would open. Then I tried :
open stack "E:\KP Docs\Hypercard\whatever"
and it still won't open.
Obviously a syntax problem but I haven't run in to it before. Would someone please set me straight.

Thanks
Glenn

Posted: Fri May 15, 2009 6:34 am
by Janschenkel
Hi Glenn,

Revolution works with Unix-style paths, so try replacing the "\" with "/" in your path. To help you figure out the correct path to a file, simply create a button with script

Code: Select all

on mouseUp
  answer file "Please select the file"
  if it is not empty then answer it
end mouseUp
and this will let you select the file and display the filepath according to Revolution standards.

HTH,

Jan Schenkel.

Posted: Sun May 17, 2009 11:22 pm
by Glenn Boyce
Thank you. Figured it would be something really basic.