Tutorials

Introduction to Authoring with Atomic Microscope

Atomic Microscope has the capability of reading commands in a text file that guide the mouse around the screen. This feature is used in the "Quick Tour" on the Home page.

The standard way of creating a tour is to first create a starting point for your experiment, and then to create a script file which contains commands that will guide the mouse through a presentation. Read on to follow this tutorial.

If you would like more information on this topic, please contact us at service@starkdesign.com

Create a Starting Point

Load your favorite module, and add atoms to your liking. When the system is at the desired state, use the disk icon to save the experiment state. Remember whether you used the first, second, or third disk icon.

Create a Script File

Create a new text file, and fill it with commands that load your initial state, display a message box to the user, and drive the mouse around the screen.

Use elements from the example tour file below to perform your desired actions.

Example Tour file (Norwegian)

// Controls on Experiment Page

// Load a
custom (renamed) Saved State
loadstate html/Diffusion_Tour01.dat

// Show a Message Box in the Experiment Area
//
Each line begins with a "msg" command
msgstart
msgaddline Viser sammenheng mellom målbare størrelser på
msgaddline makronivå som trykk og temperatur og ikke direkte
msgaddline målbare størrelser på mikronivå som antall molekyler,
msgaddline molekylfart og molekylmasse.
msgaddline
msgaddline Trykk <Enter> for &aring;
fortsete.
msgshow

// Wait (30 secs.) for User to Hit Enter
wait 30.0

// Hide the Message Box
msghide

// Wait 2 seconds
wait 2.0

// Toggle Interatomic Potentials
move 465,318,1.3
wait 0.2
click 465,318
wait 0.5

// Toggle Classical Vector Notation
move 496,318,1.3
wait 0.2
click 496,318
wait 0.5

// Clear Experiment
move 524,318,1.3
wait 0.2
click 524,318
wait 0.5

// Save/Restore State 1
move 562,318,1.3
wait 0.2
click 562,318
wait 0.5

// Save/Restore State 2
move 592,318,1.3
wait 0.2
click 592,318
wait 0.5

// Save/Restore State 3
move 620,318,1.3
wait 0.2
click 620,318
wait 0.5

// Clear Graph 1
move 624,140,1.3
wait 0.2
click 624,140
wait 0.5

// Clear Graph 2
move 624,272,1.3
wait 0.2
click 624,272
wait 0.5

// Set Temperature to Lowest Value
move 475,346,1.3
wait 0.2
click 475,346
wait 0.5

// Set Temperature to Highest Value
move 624,346,1.3
wait 0.2
click 624,346
wait 0.5

// Slide Temperature Slowly (2 secs) from Lowest to Highest Value
move 475,346,1.3
wait 0.2
buttondown 475,346
move 624,346,2.0
buttonup 624,346
wait 0.5

// Add One Helium Atom
move 470,394,1.3
wait 0.2
click 470,394
wait 0.5

// Remove One Helium Atom
move 470,436,1.3
wait 0.2
click 470,436
wait 0.5

// Add One Neon Atom
move 520,394,1.3
wait 0.2
click 520,394
wait 0.5

// Remove One Neon Atom
move 520,436,1.3
wait 0.2
click 520,436
wait 0.5

// Add One Argon Atom
move 568,394,1.3
wait 0.2
click 568,394
wait 0.5

// Remove One Argon Atom
move 568,436,1.3
wait 0.2
click 568,436
wait 0.5

// Add One Krypton Atom
move 616,394,1.3
wait 0.2
click 616,394
wait 0.5

// Remove One Krypton Atom
move 616,436,1.3
wait 0.2
click 616,436
wait 0.5

// Toggle Pause Experiment
move 466,460,1.3
wait 0.2
click 466,460
wait 0.5

// Set Time Periods per Update to Lowest Value
move 495,460,1.3
wait 0.2
click 495,460
wait 0.5

// Set Time Periods per Update to Highest Value
move 624,460,1.3
wait 0.2
click 624,460
wait 0.5

// Shrink Volume Slowly (2 secs) from Largest to Smallest Size
move 445,247,1.3
wait 0.2
buttondown 445,247
move 280,247,2.0
buttonup 280,247
wait 0.5

// Grow Volume Slowly (2 secs) from Smallest to Largest Size
move 280,247,1.3
wait 0.2
buttondown 280,247
move 445,247,2.0
buttonup 445,247
wait 0.5

// Click on Services Icon
move 105,12,1.3
wait 0.2
click 105,12
wait 0.5

// Click on Information Icon
move 76,12,1.3
wait 0.2
click 76,12
wait 0.5

// Click on Experiment Icon
move 47,12,1.3
wait 0.2
click 47,12
wait 0.5

// Click on Home Icon
move 14,12,1.3
wait 0.2
click 14,12
wait 0.5

// Controls on Home Page

// Select Introductory Topics Module Group
move 13,95,1.3
wait 0.2
click 13,95
wait 0.5

// Select Gas Behavior Module Group
move 13,115,1.3
wait 0.2
click 13,115
wait 0.5

// Select Condensed Phases Module Group
move 247,95,1.3
wait 0.2
click 247,95
wait 0.5

// Select Advanced Topics Module Group
move 247,115,1.3
wait 0.2
click 247,115
wait 0.5

// Select Free Play Module Group
move 481,95,1.3
wait 0.2
click 481,95
wait 0.5

// Select All Module Group
move 481,115,1.3
wait 0.2
click 481,115
wait 0.5

// Scroll to the Bottom of the List
move 625,420,1.3
wait 0.2
click 625,420
wait 0.5

// Select First Module
move 16,190,1.3
wait 0.2
click 16,190
wait 0.5

// For next module, add 20 to y component (190 above).
// So the 2nd module is at 16,210, the 3rd is at 16,230, etc.

// The maximium number of modules displayed is 13.



Support Links

> FAQ
> Installation Guide
> Activation Guide
> Tutorials
> Resources

Newsletter  |  Members  |  Search  |  Site Map  |  Contact Us
 
Home Products Support Company Store Terms of Use Security Privacy