pxt-calliope/olddocs/js/scriptid.md

32 lines
886 B
Markdown
Raw Permalink Normal View History

2016-03-26 00:47:20 +01:00
# script id
What is the script id? #docs
### @parent js/contents
2016-04-13 17:27:45 +02:00
the *script id* is a unique identifier that is given to each [published](/js/publishing) script. This way you can share your scripts with other people.
2016-03-26 00:47:20 +01:00
### where can I find the script id?
when your looking at your list of scripts (**My Scripts** area), the *script id* is displayed under the author name (it begins with a forward slash: /).
TODO Diagram
the script id in the example above is `/tuxi`.
### search by script id
you can type the script id directly into the search in the hub to find it.
### sharing your scripts
2016-04-13 17:27:45 +02:00
when you [publish a script](/js/publishing), you can copy the url (which includes the script id) and send it to people.
2016-03-26 00:47:20 +01:00
2016-04-13 17:27:45 +02:00
if you forget to copy the url when you publish, there's also a `share` button in [script options](/js/editor).
2016-03-26 00:47:20 +01:00
### see also
2016-04-13 17:27:45 +02:00
[publish a script](/js/publishing)
2016-03-26 00:47:20 +01:00