Back

GetSpecialFolder

JS Py
Hello World

Returns the full path to a special folder commonly used for images, videos, music etc.

app.GetSpecialFolder( name ) → String: path to file or folder ( “/absolute/...” or “relative/...” )

See Also: GetPath, GetAppPath, WriteFile

Example - Get Pictures folder

function OnStart()
{
    var fld = app.GetSpecialFolder( "Pictures" );
    app.Alert( fld );
}
def OnStart():
    fld = app.GetSpecialFolder( "Pictures" )
    app.Alert( fld )
Copy All       Run      
String: “DCIM” or “Pictures” or “Movies” or “Downloads” or “Documents” or “Music”