Adobe 38040334 API Reference - Page 234
dreamweaver.popupCommand deprecated, dreamweaver.runCommand
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 234 highlights
DREAMWEAVER CS3 229 API Reference Arguments None. Returns Nothing. dreamweaver.popupCommand() (deprecated) Availability Dreamweaver 2; deprecated in 3 in favor of "dreamweaver.runCommand()" on page 229. Description This function executes the specified command. To the user, the effect is the same as selecting the command from a menu; if a dialog box is associated with the command, it appears. This function provides the ability to call a command from another extension file. It blocks other edits until the user closes the dialog box. Note: This function can be called within the objectTag() function, from any script in a command file, or from the Property inspector file. Arguments commandFile • The commandFile argument is the name of a command file within the Configuration/Commands folder (for example, "Format Table.htm"). Returns Nothing. dreamweaver.runCommand() Availability Dreamweaver 3. Description Executes the specified command; it works the same as selecting the command from a menu. If a dialog box is associated with the command, it appears and the command script blocks other edits until the user closes the dialog box. This function provides the ability to call a command from another extension file. Note: This function can be called within the objectTag() function, from any script in a command file, or from the Property inspector file. Arguments commandFile, {commandArg1}, {commandArg2},...{commandArgN} • The commandFile argument is a filename in the Configuration/Commands folder. • The remaining arguments, commandArg1, commandArg2, and so on, which are optional, pass to the receiveAr- guments() function in the commandFile argument. Returns Nothing.