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 go to a card in a different window, the current window will be sent a closeWindow
message, and the new window an openWindow
message.
If you go to a card in a different project, and the current window is the only window from that project, the current project will be sent a closeProject
message, and the new project an openProject
message, if this is the first window of it that you’re opening.
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 are navigating to a different
window and want to leave the original window open.
Messages
When you