• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

1stplugins

FileMaker plug-ins and Reverse Engineering

  • Plugins
    • MediaManager
  • Services
    • Reverse Engineering
    • FileMaker Plug-Ins
  • About
    • About Us
    • Contact Us
    • Terms of Use of the Website and Privacy Policy
  • Store
    • Terms and Conditions
    • Warranty Claim Guidelines
    • Contract Withdrawal Form
    • Warranty Claim Report

Media_GetMouseUp

Media_GetMouseUp

Media_GetMouseUp returns the pointer coordinates. When you set an entire layout or container field as a single button performing a script with a call to this function, you know precisely where the user has clicked.

Parameters

No parameter is used.

The function works only in the “View as Form” layout mode and as of FileMaker 16 is aware of text ruler, scrolling, zoom, and status area.

The response of Media_GetMouseUp contains four values separated by pipe characters “|”. The response might look like “20|45|221|300”. The first two values are the horizontal and vertical coordinates relative to the front window’s upper left corner. The 3rd and 4th values are relative to the bottom right corner.

So, if the response is:

20|45|221|300

The meaning is:


20 = Horizontal, from upper left corner
45 = Vertical, from upper left corner
221 = Horizontal, from bottom right corner
300 = Vertical, from bottom right corner

You can also use Media_ExtractInfo to easily get a specific value from the returned value list.

Note

The coordinates returned by Media_GetMouseUp are the current mouse pointer’s position. In normal usage (when the mouse click triggers the script that contains the Media_GetMouseUp function), the current mouse position is the same or nearly the same as the last clicked position. If you have several script steps before Media_GetMouseUp, however, and if the user is still moving the mouse, then a discrepancy can occur. For this
reason, Media_GetMouseUp should be in the first script step.

Example

Set Table::Response Field to the current mouse cursor coordinates.

Set Field[ Table::Response Field ; Media_GetMouseUp ]

Primary Sidebar

Document Functions

Media_CopyItem
Media_CreateAlias
Media_CreateFolder
Media_DeleteItem
Media_ExportField
Media_ExtractInfo
Media_GetDefaultFolder
Media_GetItemInfo
Media_GetName
Media_GetPath
Media_InsertFile
Media_ListDisks
Media_ListFolder
Media_MoveItem
Media_OpenItem
Media_RenameItem
Media_SetDefaultFolder

General and Registration Functions

Media_Get
Media_GetLastError
Media_GetMouseUp
Media_JSONPath
Media_Register
Media_RegisterLicensedEncoder
Media_Set
Media_Version

Image Functions

Media_TApply
Media_TClear
Media_TCrop
Media_TQuad
Media_TResize
Media_TRotate
Media_TScale
Media_TSkew
Media_EffectApply
Media_EffectDialog
Media_ConvertImage
Media_GetImageInfo
Media_GetMetadata
Media_InsertImage
Media_ListImageOutputTypes
Media_SetImageDefaults

Script Steps

Copy Item
Create Alias
Create Folder
Delete Item
Export Field
Get Default Folder
Get Item Property
Move Item
Open Item
Rename Item
Set Default Folder

Sound Functions

Media_Amplify
Media_AppendSound
Media_ConvertSound
Media_CreateSound
Media_DrawWaveform
Media_ExtractSound
Media_FadeSound
Media_GetMetadata
Media_GetSoundInfo
Media_InsertQuickTime
Media_ListSoundOutputFormats
Media_MixSounds
Media_Normalize
Media_PlayPause
Media_PlaySound
Media_RecordSoundFormatDialog
Media_RecordSoundStart
Media_RecordSoundPause
Media_RecordSoundStop
Media_SetMetadata
Media_SoundFormatDialog
Media_StopSound

Video Functions

Media_GetVideoInfo

Footer

Let’s get started on your project.

Get in touch

  • Plugins
  • Services
  • About
  • Store

Copyright ©2006-2020 by 1stplugins, s.r.o. All rights reserved.