Mac-Carbon
view release on metacpan or search on metacpan
MoreFiles/MoreFilesSrc/FSpCompat.h view on Meta::CPAN
Result Codes
noErr 0 No error
nsvErr -35 No such volume
ioErr -36 I/O error
bdNamErr -37 Bad filename
fnfErr -43 File not found
wPrErr -44 Hardware volume lock
fLckdErr -45 File is locked
vLckdErr -46 Software volume lock
fBsyErr -47 File busy, directory not empty, or
working directory control block open
dirNFErrdirNFErr -120 Directory not found or incomplete pathname
afpAccessDenied -5000 User does not have the correct access
*/
/*****************************************************************************/
pascal OSErr FSpGetFInfoCompat(const FSSpec *spec,
FInfo *fndrInfo);
/* ¦ Get the finder information for a file.
MoreFiles/MoreFilesSrc/MoreFilesExtras.h view on Meta::CPAN
Result Codes
noErr 0 No error
nsvErr -35 No such volume
ioErr -36 I/O error
bdNamErr -37 Bad filename
fnfErr -43 File not found
wPrErr -44 Hardware volume lock
fLckdErr -45 File is locked
vLckdErr -46 Software volume lock
fBsyErr -47 File busy, directory not empty, or working directory control block open
paramErr -50 No default volume
dirNFErr -120 Directory not found or incomplete pathname
afpAccessDenied -5000 User does not have the correct access
afpObjectTypeErr -5025 Directory not found or incomplete pathname
__________
Also see: DeleteDirectory
*/
MoreFiles/MoreFilesSrc/MoreFilesExtras.h view on Meta::CPAN
Result Codes
noErr 0 No error
nsvErr -35 No such volume
ioErr -36 I/O error
bdNamErr -37 Bad filename
fnfErr -43 File not found
wPrErr -44 Hardware volume lock
fLckdErr -45 File is locked
vLckdErr -46 Software volume lock
fBsyErr -47 File busy, directory not empty, or working directory control block open
paramErr -50 No default volume
dirNFErr -120 Directory not found or incomplete pathname
afpAccessDenied -5000 User does not have the correct access
afpObjectTypeErr -5025 Directory not found or incomplete pathname
__________
Also see: DeleteDirectoryContents
*/
MoreFiles/MoreFilesSrc/MoreFilesExtras.h view on Meta::CPAN
dirFulErr -33 File directory full
dskFulErr -34 Disk is full
nsvErr -35 Volume not found
ioErr -36 I/O error
bdNamErr -37 Bad filename or attempt to move into
a file
fnfErr -43 Source file or directory not found
wPrErr -44 Hardware volume lock
fLckdErr -45 File is locked
vLckdErr -46 Destination volume is read-only
fBsyErr -47 File busy, directory not empty, or
working directory control block open
dupFNErr -48 Destination already exists
paramErr -50 Volume doesn't support this function,
no default volume, or source and
volOfflinErr -53 Volume is offline
fsRnErr -59 Problem during rename
dirNFErr -120 Directory not found or incomplete pathname
badMovErr -122 Attempted to move directory into
offspring
wrgVolTypErr -123 Not an HFS volume (it's a MFS volume)
MoreFiles/MoreFilesSrc/MoreFilesExtras.h view on Meta::CPAN
dirFulErr -33 File directory full
dskFulErr -34 Disk is full
nsvErr -35 Volume not found
ioErr -36 I/O error
bdNamErr -37 Bad filename or attempt to move into
a file
fnfErr -43 Source file or directory not found
wPrErr -44 Hardware volume lock
fLckdErr -45 File is locked
vLckdErr -46 Destination volume is read-only
fBsyErr -47 File busy, directory not empty, or
working directory control block open
dupFNErr -48 Destination already exists
paramErr -50 Volume doesn't support this function,
no default volume, or source and
volOfflinErr -53 Volume is offline
fsRnErr -59 Problem during rename
dirNFErr -120 Directory not found or incomplete pathname
badMovErr -122 Attempted to move directory into
offspring
wrgVolTypErr -123 Not an HFS volume (it's a MFS volume)
Speech/t/Speech.t view on Meta::CPAN
speak($channel, 'Como?', kPreflightThenPause, 'SpeakBuffer (shhhh)');
{
local $PAUSE = 1;
speak($channel, <<EOS, 'speak some long text');
$ENV{USER}, welcome, it is very good to see you using Mac Carbon.
Antidisestablishmentarianism is a long word you won't get to the end of.
Trust me, we'll never get here!
EOS
ok(SpeechBusy(), 'busy');
sleep 1;
ok(PauseSpeechAt($channel, kEndOfSentence),
'pause end of sentence');
sleep 6;
ok(ContinueSpeech($channel), 'continue');
sleep 1;
ok(PauseSpeechAt($channel, kEndOfWord), 'pause end of word');
( run in 0.309 second using v1.01-cache-2.11-cpan-496ff517765 )