Mac-Carbon

 view release on metacpan or  search on metacpan

MoreFiles/MoreFilesSrc/FSpCompat.h  view on Meta::CPAN

211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
         
        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

1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
         
        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

1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
         
        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

2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
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

2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
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

78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
        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.363 second using v1.01-cache-2.11-cpan-2b0bae70ee8 )