Click here to Skip to main content
Licence 
First Posted 21 Feb 2006
Views 10,318
Bookmarked 4 times

Scripted tutorials

By | 21 Feb 2006 | Article
Interactive tutorials through a simple script

Introduction

This piece of code demonstrates how to easily create scripted tutorials in C#

Background

I initially designed this because I found making tutorials other ways to be not as good

Using the code

There really isn't much to the code. The function Message takes in a file and calls the appropriate function for the text that calls it. MoveMouse moves the mouse, etc.

Though it isnt a totally generic script. You will need to have all of the forms you want to use in it in OverallForm.formList and set your own filepath.



Example Script


Message-The menus form is the list of menus that you want to print out. Just go in and type in any extra menus you might want.
Message-For example if you want a 1500 calorie menu and a 1800 calorie menu for diabetic you could add in something like "Diabetic 1800" or simply put "1800" on the next line after diabetic.
MoveMouse-Menus-richTextBox1
Type-Menus-richTextBox1-blah
If you are not using the full version you will also see a form displaying information on that.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

sterra



United States United States

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralRubbish PinmemberMark Focas10:21 21 Feb '06  
GeneralRe: Rubbish Pinmembersterra16:21 21 Feb '06  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.5.120517.1 | Last Updated 21 Feb 2006
Article Copyright 2006 by sterra
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid