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

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? 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 #45110 of 45159 |
Re: external problems


On Jul 5, 2009, at 7:14 AM, SuperCard@yahoogroups.com wrote:

> external problems
> Posted by: "krjprint89" krjgraphic@... krjprint89
> Date: Sat Jul 4, 2009 1:51 pm ((PDT))
>
> 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

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 similar external named
'fileCopy which you must install into your project's Data Fork, as
Bruce has said. It's in the Xtend portion of the Help System.

1) Open the Help system and click on Library.

2) Choose fileCopy from the lefthand scrolling field and read the
syntax and notes.

3) Click the Install button in the window header and choose the
project into which you want to install it.

4) You can re-check the installation by opening the Resource Manager
from the Utilities Menu of the RTE.

Externals are usually called like a function. IOW in your case:

get fileCopy(tSourcePath,tDestPath)


Ken Norris
pixelbird@...
www.sonicbridge.us






[Non-text portions of this message have been removed]




Mon Jul 6, 2009 3:30 am

pixelbird2000
Offline Offline
Send Email Send Email

Forward
Message #45110 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