Jump 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.

querying Mac os's "show/hide filename extensions" status

Featured Replies

Sorry if it is the wrong thread...

I would like to use "show/hide filename extensions" status in a calculation.

Can FMPro do it? v18. 

Thanks, Asu

3 hours ago, Asu said:

I would like to use "show/hide filename extensions" status in a calculation.

Not possible in a calculation, but you might be able to get it via the Perfom AppleScript script step.

It's not clear which setting you are referring to, though. Each file has its own extension hidden state. In addition, there is a Show all filename extensions setting in Finder preferences. To get the former, you need to tell the Finder to select some file, then do:

get extension hidden of some_file

 To get the latter, you can use:

tell application "Finder"
	get all name extensions showing of Finder preferences
end tell


Are you sure you really need this? It sounds like you're looking for a solution to a problem which shouldn't exist in the first place...

 

  • Author

X: IF "shows filename extensions" is not clicked in Finder Prefs THEN add [characters] to [string] ELSE don't.

There AS worked, thanks. 

 

Create an account or sign in to comment

Important Information

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

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.