Search the web
Sign In
New User? Sign Up
SuperCard
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
external problems   Message List  
Reply | Forward Message #45108 of 45159 |
I am externally challenged . . I am trying to duplicate a project with a
different name.

I found this this external script . . but when I run it it get an error.

"Never heard of that handler" . . . when it gets to the "CopyFile" line.

Any help would be appreciated. .

on itemSelect
put value(word 2 of long name of this proj) into tSourcePath
ask file "Save project as:"
if it <> "" then
put it into tDestPath
-- Check to make sure there is enough room on disk
put the size of this proj into tSize
put the diskSpace of this proj into tAvail
if tSize < tAvail then
-- Go ahead and make the copy
save
-- Close the last window of this project:
close this window
-- Makes duplicate with CopyFile XCMD:
CopyFile tSourcePath,tDestPath
open proj tDestPath -- Opens the duplicate
else
answer "Sorry, not enough space to save project."
end if
end if
end itemSelect





Sat Jul 4, 2009 8:51 pm

krjprint89
Offline Offline
Send Email Send Email

Forward
Message #45108 of 45159 |
Expand Messages Author Sort by Date

I am externally challenged . . I am trying to duplicate a project with a different name. I found this this external script . . but when I run it it get an...
krjprint89
Offline Send Email
Jul 4, 2009
8:51 pm

First, if copyFile is an external, make sure it is is stored in your projects dataFork. Go to the Utilities menu and select the resource manager, from there...
Bruce Martin
the1ripper2001
Offline Send Email
Jul 4, 2009
9:26 pm

... What version of SuperCard are you using? CopyFile looks like it's an XCMD probably from HyperCard, right? If so, SC will not recognize that. SC has a...
Kenneth Norris
pixelbird2000
Offline Send Email
Jul 6, 2009
3:31 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help