Using "prompt" with Bridge

General Discussion of Scripting for Adobe Bridge

Moderators: Tom, Kukurykus

nsklobovsky

Using "prompt" with Bridge

Post by nsklobovsky »

Another newbie question:

I want to ask my user and save the answer in ScriptStore.

For some reason, the function prompt works perfectly in a generic script, but if I specify: #target bridge I get
" is not a function"
error (yes, with a single space in front).

What is the correct way to interact with the user from the Bridge script?
Create a brand new dialog?

Thanks!
nsklobovsky

Using "prompt" with Bridge

Post by nsklobovsky »

Figured it out: it has to be used as
Window.prompt
not just as
prompt
...