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

Add comand Context Menu on image.

Explorer ,
Nov 10, 2018 Nov 10, 2018

Copy link to clipboard

Copied

Hi!

My english is in progress, so I will try make a question about my problem.

I use Indesign CS5 - Windows 7 64bits.

I need a script or plugin to right click button on image, it appears the file name info in context menu.

I know there is a link panel. But I need this in context menu.

Is it possible?

Thanks, anyway!

TOPICS
Scripting

Views

268

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 ,
Nov 10, 2018 Nov 10, 2018

Copy link to clipboard

Copied

Hi Cris,

yes. The context menu is scriptable. That needs a startup script.

And a selected image or the selected frame where the image is placed can be asked for the file name.

But why do you think you'd need a script for this?

Have the Links panel open and you get the information right away.

Regards,
Uwe

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 ,
Nov 10, 2018 Nov 10, 2018

Copy link to clipboard

Copied

Another way to get the file name would be to use a function that is already in the context menu:
Create Static Caption *

The default would be the creation of a text frame holding the name.

* Hm. That's a new function with InDesign CS6, I think. You are talking about CS5.

Sorry.

Regards,
Uwe

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 ,
Nov 10, 2018 Nov 10, 2018

Copy link to clipboard

Copied

LATEST

Another idea:

Without using a startup script with an event listening mechanism one could get the name of a selected image by invoking the Script Label panel. Before invoking the Script Label panel a script that you can start from the Scripts panel or by doing a keyboard shortcut would write the name as label to the selected object.

You would have immediate access to the name and could copy it from the Script Label panel.

I am accessing this script through the keyboard shortcut Strg + # on my German keyboard.

For that I did a special keyboard shortcut set.

GraphicPlaced-NameWouldAppear-in-ScriptLabelPanel-2.png

I think, that's more useful than showing the name in the context menu.

Regards,
Uwe

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