Launch new browser window or popup from a script?

Topic Labels: Scripting extentions
2579 2
Showing results for 
Search instead for 
Did you mean: 
6 - Interface Innovator
6 - Interface Innovator

Part of the workflow I’m trying to build is to book hotel accommodation. Ideally, once the script reaches a certain point, I would like to launch a new browser window or popup - passing url parameters to a hotel booking site. The user will then select the accommodation within the booking site, which will show them a booking reference number. The user will copy this to the clipboard, close the window and return to the script, pasting the booking reference into the field waiting for input.

Hoping this can be done easily?

2 Replies 2

Interesting use case! It’s not currently possible to automatically open a new browser window, but you could show a link that the user can click, e.g.

output.markdown(`[Click here to book a trip](`)
5 - Automation Enthusiast
5 - Automation Enthusiast

Hello Kasra, I had a similar question as Bruce where I want to open a window or redirect the user to a url when a button is clicked in the scripting block. Is the markdown still the only way to do this?