Feb 25, 2020 12:42 PM
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?
Feb 25, 2020 04:55 PM
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](https://expedia.com)`)
Jul 11, 2020 10:46 AM
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?