Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

one button for zoom level?

Featured Replies

  • Newbies

Hi,

I wanted to create a single button that toggles between the 75% and 100% zoom level values (I'm working on a Mac w/ FMP 5.0). I know that in both the Specify Button function and Scriptmaker, you can select the "Set Zoom Level" command and specify what zoom level you want the button or script to give you. But I couldn't find anything that would let you click the button once to reduce the document and then click it again to enlarge it back to 100%. I tried making up a script but up till now I've only done very basic scripts. Any suggestions?

Thanks,

Lee

To get a little technical, what you are describing is a simple state machine. A mechanism where the output depends upon the input and the present state. To know the present state...

Create a field:

gZoomLevel (global, number)

Create a script:

If ( IsEmpty(gZoomLevel) or gZoomLevel = 75)

Set Zoom Level (100%)

SetField(gZoomLevel, 100)

Else

Set Zoom Level (75%)

SetField(gZoomLevel, 75)

End If

-bd

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.