Migrate docs from the other repo
This commit is contained in:
31
docs/reference/js/scriptid.md
Normal file
31
docs/reference/js/scriptid.md
Normal file
@ -0,0 +1,31 @@
|
||||
# script id
|
||||
|
||||
What is the script id? #docs
|
||||
|
||||
### @parent js/contents
|
||||
|
||||
|
||||
the *script id* is a unique identifier that is given to each [published](/microbit/js/publishing) script. This way you can share your scripts with other people.
|
||||
|
||||
### 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
|
||||
|
||||
when you [publish a script](/microbit/js/publishing), you can copy the url (which includes the script id) and send it to people.
|
||||
|
||||
if you forget to copy the url when you publish, there's also a `share` button in [script options](/microbit/js/editor).
|
||||
|
||||
### see also
|
||||
|
||||
[publish a script](/microbit/js/publishing)
|
||||
|
Reference in New Issue
Block a user