cancel
Showing results for 
Search instead for 
Did you mean: 

Can a script have parameters/arguments?

catquas
Community Member

Can a script have parameters/arguments? I made a script which allows me to skip ahead X number of songs in the playlist/album on my Home speaker. If I want to be able to skip ahead any amount from 2 to 200, would I have to make a separate automation for each number? Ideally I could just say "skip 17" and the 17 can be used as the number of loops of skipping. It could work if google prompts me for the number too.

1 REPLY 1

juanjosedag
Community Member

Having parameters would really make this useful. Specially after IFTT Google Assistant V2