Skip to main content
Participating Frequently
November 10, 2020
Answered

How to get rid of "relink popup" during script execution

  • November 10, 2020
  • 1 reply
  • 810 views

hi, 

I'm trying to prevent this popup to showup during the execution of my script. Now it shows up every time the script open a file with broken referencies. This is a problem because it prevents my script to be executed as an automatic job, and it requires that the user manually push "ok" or "cancel".

Any thoughts about? I'm getting running out of ideas.

thanks anyone could help.

This topic has been closed for replies.
Correct answer Kukurykus

 

displayDialogs = DialogModes.NO, open(File('~/desktop/BrokenLink.psd'))

 

or

 

sTT = stringIDToTypeID, fle = File('~/desktop/BrokenLink.psd');
(dsc = new ActionDescriptor()).putPath(sTT('null'), fle)
executeAction(sTT('open'), dsc, DialogModes.NO)

 

1 reply

Kukurykus
KukurykusCorrect answer
Legend
November 10, 2020

 

displayDialogs = DialogModes.NO, open(File('~/desktop/BrokenLink.psd'))

 

or

 

sTT = stringIDToTypeID, fle = File('~/desktop/BrokenLink.psd');
(dsc = new ActionDescriptor()).putPath(sTT('null'), fle)
executeAction(sTT('open'), dsc, DialogModes.NO)

 

Participating Frequently
November 10, 2020

WOW, thanks I didn't know about this "comma" thing after 

 DialogModes.NO

It works!