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

What is the correct file association for jsxbin?

Community Expert ,
Apr 06, 2017 Apr 06, 2017

Copy link to clipboard

Copied

FoF (Friends of FrameMaker)!

Tying to execute a script from a menu (or a tool bar button) leads to the following problem
Things work correctly if calling a jsx script:

<Command ETBnudge

  <Label Nudge object info>

  <Hypertext message openfile C:/Users/Klaus/Documents/Adobe Scripts/ETBnudge.jsx>>

But using the binary form of the script, opens the script in NotePad (seems to be a default). Even after changing the file assocition for Open jsxbin to the same as it is for jsx (namely the ESTK) the binary script is opened as text in ESTK!

Of course opening a jsxbin file by any FM version just tries to open it as text.

=> So what is the correct file association for jsxbin ?

Klaus Daube

TOPICS
Scripting

Views

531

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 1 Correct answer

Enthusiast , Apr 06, 2017 Apr 06, 2017

Klaus,

I don't think there can be a useful file association for JSXBIN because there is no external way to know the target application. If you have TCS installed it could be a script for FrameMaker or RoboHelp. With CC installed that could also be PhotoShop, Illustrator or several others...

Ian

Votes

Translate

Translate
Community Expert ,
Apr 06, 2017 Apr 06, 2017

Copy link to clipboard

Copied

Runnign the script via File > Scripts > Run works correctly also for the jsxbin version.

BTW, the script is quite simple:

  1. // ETBnudge.jsx 
  2. // to be placed in C:/Users/Klaus/Documents/Adobe Scripts/ 
  3. #target framemaker 
  4.  
  5. var msgtitle = "Nudging objects"
  6. var msg =  "At zoom 100% unit is 1pt; at zoom 353% unit is 0.1mm" 
  7.          + "\n• Use ALT+arrow to nudge 1 unit" 
  8.          + "\n• Use SHIFT+ALT+arrow to nudge 6 units" 
  9.          + "\n\nATTENTION: SHIFT+ALT (without arrow) changes the system locale. Check your system tray, if keyboard behaves strangly!"
  10.  
  11. alert(msg, msgtitle); 

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
Enthusiast ,
Apr 06, 2017 Apr 06, 2017

Copy link to clipboard

Copied

LATEST

Klaus,

I don't think there can be a useful file association for JSXBIN because there is no external way to know the target application. If you have TCS installed it could be a script for FrameMaker or RoboHelp. With CC installed that could also be PhotoShop, Illustrator or several others...

Ian

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