Multiple Platform Release info

Klaus Major kmajor at metascape.org
Tue Mar 26 08:47:00 EST 2002


Hi Shari and all,

>> You can get the path to these folders using the  specialfolderpath 
>> function. Tuv Snyder revealed on the list some time back how this 
>> function can be extended beyond the default "special folders" by 
>> passing an integer that corresponds to the Windows API 
>> SHGetFolderPath  value/constant. The values for the "Applications 
>> Data" folders are:
>>
>> get specialFolderPath(35) -- common Application Data folder
>>
>> get specialFolderpath(26) -- user's Application Data folder
>
> What about the folder "Program Files"?
>
> There is a folder "Program Files".  The path to the folder "Program 
> Files", what would be the code number for this?
>
> Shari C

why don't you store all available folders for later use ? ;-)

on mouseup
   repeat with i = 1 to 100  ## should be enough
     put specialfolderpath(i) & cr after fld "your special folders"
   end repeat
end mouseup

You can then frame that field and put it on the wall,
right over your computer :-)


Regards


Klaus Major
kmajor at metascape.org




More information about the metacard mailing list