• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Permanently hide file extension when saving

Participant ,
Dec 06, 2020 Dec 06, 2020

Copy link to clipboard

Copied

I don't like having ".indd" at the end of the file name when saving since I have to change the number at the end of a filename for revisions etc. I know I can hide it when you click the list icon from the save as dialog box (shown in screenshot attached), however after a while it resets back to having "hide file extension" unticked and "indd" comes back. Is there a fix so it is permanently unticked or another method I'm not aware of?

 

If it makes a difference, I'm on Catalina OS and Indesign 2021. 

 

Thanks.

 

 

TOPICS
How to

Views

786

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Dec 06, 2020 Dec 06, 2020

This is really a Mac question and not an InDesign question, so not sure if this is a more long-lasting result. Give it shot and come back to let us know?

https://support.apple.com/guide/mac-help/show-or-hide-filename-extensions-on-mac-mchlp2304/mac

 

~Barb

Votes

Translate

Translate
Community Expert , Dec 07, 2020 Dec 07, 2020

You hide the extension via the Finder’s File>Get Info dialog, which can be scripted. Save this code as an AppleScript to your InDesign Scripts folder and assign it the Command S or another key command:

 

 

tell application id "com.adobe.indesign"
	tell active document
		save
		set filepath to file path & name as string
	end tell
	tell application "Finder"
		set extension hidden of document file filepath to true
	end tell
end tell

 

 

This version will save converted files (files from earlier ID

...

Votes

Translate

Translate
Community Expert ,
Dec 06, 2020 Dec 06, 2020

Copy link to clipboard

Copied

This is really a Mac question and not an InDesign question, so not sure if this is a more long-lasting result. Give it shot and come back to let us know?

https://support.apple.com/guide/mac-help/show-or-hide-filename-extensions-on-mac-mchlp2304/mac

 

~Barb

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 06, 2020 Dec 06, 2020

Copy link to clipboard

Copied

Thanks for your reply. I just checked and Show filename extensions was already unchecked. 

 

danielw42205661_0-1607304120271.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 07, 2020 Dec 07, 2020

Copy link to clipboard

Copied

You hide the extension via the Finder’s File>Get Info dialog, which can be scripted. Save this code as an AppleScript to your InDesign Scripts folder and assign it the Command S or another key command:

 

 

tell application id "com.adobe.indesign"
	tell active document
		save
		set filepath to file path & name as string
	end tell
	tell application "Finder"
		set extension hidden of document file filepath to true
	end tell
end tell

 

 

This version will save converted files (files from earlier ID versions), without the Save As dialog. Only use this version if you have an incremental backup system because it overwrites files from earlier versions.

 

 

tell application id "com.adobe.indesign"
	tell active document
		try
			set filepath to file path & name as string
		end try
		if converted is true then
			save to filepath
		else
			save
		end if
		set filepath to file path & name as string
	end tell
	--hide the extension
	tell application "Finder"
		set extension hidden of document file filepath to true
	end tell
end tell

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 07, 2020 Dec 07, 2020

Copy link to clipboard

Copied

LATEST

Also, if you hide an extension via the Finder’s Get Info, the extension is still going to show in the Save As dialog, so even when it is hidden the extension might get in your way on the Save As.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines