go
Syntax
go [to] <cardWindowOrProject> [in new window]
go to first card
go to previous card
go to next card
go to last card
go to card "Home"
go to card 5 of window "SixCards"
go to project "MyProject.xstk"
go to card "Ordering Soup" of window "Help" in new window
Explanation
The go
command lets you navigate between cards in a window. The current card will be sent a closeCard
message, and
then it will be unloaded, and the specified card will be loaded in instead, and will be sent an openCard
message.
If you specify a window instead, that window will be shown on screen instead. If the window wasn’t already open, it will automatically open to its first card, and the previous window will close. Otherwise, whatever card was already open will be shown instead.
If you specify a project instead, that project will be loaded from disk if it wasn’t already open, and the first window in it will be shown on screen.
Specify the in new window
option when you want to open a second window