Function overview
Prototype
OpenCFDialWindow (
)
Parameters
No parameters for this function.
Description
Tags:
Window Custom function AppleScript
Opens the custom function dialog window on Mac OSX.
Examples
Sample input
.../Button setup/Perform AppleScript/OpenCFDialWindow ()
Sample output
... "Manage Custom Functions" window opened.
Function code
If (
Mod ( Get ( SystemPlatform ) ; 2 ) and
Position ( Get ( ApplicationVersion ) ; "Advanced" ; 1 ; 1 ) and
Position ( Get ( PrivilegeSetName ) ; "[FULL ACCESS]" ; 1 ; 1 ) and
IsEmpty ( Get ( CustomMenuSetName ) );
"try¶
tell menu 8 of menu ID 2 to tell (menu items)'s item 2 to if its enabled is true then do menu¶
end try"
)
/* Alternative:
"tell menu 8 of menu ID 2 to tell menu item ((count menu items) - 1) to if its enabled is true then do menu"
*/
// ===================================
/*
This function is published on FileMaker Custom Functions
to check for updates and provide feedback and bug reports
please visit http://www.fmfunctions.com/fid/206
Prototype: OpenCFDialWindow( )
Function Author: clem (http://www.fmfunctions.com/mid/89)
Last updated: 01 March 2009
Version: 1.1
*/
// ===================================
If (__LITBR__ Mod ( Get ( SystemPlatform ) ; 2 ) and__LITBR__ Position ( Get ( ApplicationVersion ) ; "Advanced" ; 1 ; 1 ) and__LITBR__ Position ( Get ( PrivilegeSetName ) ; "[FULL ACCESS]" ; 1 ; 1 ) and__LITBR__ IsEmpty ( Get ( CustomMenuSetName ) );__LITBR____LITBR__"try¶__LITBR__ tell menu 8 of menu ID 2 to tell (menu items)'s item 2 to if its enabled is true then do menu¶__LITBR__end try"__LITBR____LITBR__)__LITBR____LITBR____LITBR__/* Alternative:__LITBR__"tell menu 8 of menu ID 2 to tell menu item ((count menu items) - 1) to if its enabled is true then do menu"__LITBR__*/__LITBR____LITBR__// ===================================__LITBR__/*__LITBR____LITBR__ This function is published on FileMaker Custom Functions__LITBR__ to check for updates and provide feedback and bug reports__LITBR__ please visit http://www.fmfunctions.com/fid/206__LITBR____LITBR__ Prototype: OpenCFDialWindow( )__LITBR__ Function Author: clem (http://www.fmfunctions.com/mid/89)__LITBR__ Last updated: 01 March 2009__LITBR__ Version: 1.1__LITBR____LITBR__*/__LITBR__// ===================================
Login or register to comment
Create a new account with fmcustomfunctions.com or login to post a comment.