OpenCFDialWindow ( )

Function stats

Average user rating
5.0000
89
206
9999
Support
FileMaker 7.0 +
Date posted
19 February 2009
Last updated
01 March 2009
Version
Recursive function
No

Author Info
 clem

1 functions

Average Rating None

author_avatar



 

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

*/
// ===================================

 

 

 

 


Login or register to comment

Create a new account with fmcustomfunctions.com or login to post a comment.

 

 

 

Top Tags

Text Parsing  (24)
List  (19)
XML  (15)
Format  (14)
Date  (14)
Debug  (12)
Layout  (11)
Variables  (10)
Filter  (9)
ValueIterator  (6)
Layout Objects  (6)
Number  (5)
Recursive  (5)
Dev  (5)
Interface  (5)
Text  (5)