Adobe 12040118 Using Help - Page 24
confirm() global function, fileGetDialog() global function, Description, Parameters, Returns, Example
![]() |
UPC - 718659361808
View all Adobe 12040118 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 24 highlights
Help Using Help Reference Back 24 confirm() global function confirm(text) Description The Confirm global function prompts the user with a modal dialog and yes/no buttons that clear the dialog. These return a boolean; true if yes, false if no. Parameters text text string; Mac OS user interface can display 256 characters, Windows, 30 characters Returns Boolean. Example var shouldAdd = confirm("Add to Render Queue?"); if (shouldAdd == "true"){ proj.renderQueue.items.add(myCompItem); } fileGetDialog() global function fileGetDialog(prompt,typeList) Description The fileGetDialog global function presents the Open dialog box that is standard for the platform on which After Effects is running. The typeList is a semicolon-separated list of four-character Mac OS file types followed by Windows file extensions. For example, a value of "EggP aep" for this argument specifies that the Open dialog box is to display After Effects project items only; other file types will be grayed out. Parameters prompt typeList message that displays on the title bar of the dialog; truncated if too long a platform-specific value indicating a list of file types to display Returns File object, or null if the user cancels the dialog. filePutDialog() global function filePutDialog(prompt,default,type) Description The filePutDialog global function presents the Save dialog box that is standard for the platform on which After Effects is running. Using Help Back 24
![](/manual_guide/products/adobe-12040118-using-help-afc463d/24.png)