First Tutorial (Calendar): where's the script?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 87
- Joined: Thu Jul 17, 2008 8:42 pm
First Tutorial (Calendar): where's the script?
Hi,
Just getting started by doing the first tutorial, the Calendar, and can't find the script to auto-populate the days of the month. Hopefully, soon enough, I'll know where to find things, but would appreciate a lead for now.
Thanks for your help.
Kind Regards,
Just getting started by doing the first tutorial, the Calendar, and can't find the script to auto-populate the days of the month. Hopefully, soon enough, I'll know where to find things, but would appreciate a lead for now.
Thanks for your help.
Kind Regards,
saratogacoach
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
-
- Posts: 87
- Joined: Thu Jul 17, 2008 8:42 pm
Hi Bernd,
Thanks for your reply.
In the tutorial, under "Populating the Calendar," is the following (bold added):
Is there another place to look for the sample stack for the Calendar tutorial?
Thanks for your help.
Kind Regards,
Thanks for your reply.
In the tutorial, under "Populating the Calendar," is the following (bold added):
Having downloaded RunRev, I can't find the stack that is referred to (see quote above). I've searched in the program install folder and online in the resources, but can't locate the sample stack which I suspect contains the sample code.This will open a script editor in which you write your
code.
For this example your script should loop through each
of the cells in the table and insert an appropriate date
into each. An example of how to do this can be found
in the script of the stack attached to this tutorial. Once
you have written your script you should hit the apply
button at the bottom of the script editor. This will
compile and save your script, allowing you to run it.
Is there another place to look for the sample stack for the Calendar tutorial?
Thanks for your help.
Kind Regards,
saratogacoach
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
-
- Posts: 87
- Joined: Thu Jul 17, 2008 8:42 pm
Hi Duncan,
Thanks for your reply.
I'm sorry I have not been clearer. What I am looking for is the actual sample script that I would add in the script editor (which I can locate) for this Calendar project to get it to work (populate the fields I've created).
I suspect the essence of developing projects is learning how to script, understanding the syntax, operators, etc. So, I am eager to see what a sample script looks like, how its constructed, especially one that I can use in this tutorial. Unfortunately, I can't locate the sample of script that I think is referred to in the tutorial.
Kind Regards,
Thanks for your reply.
I'm sorry I have not been clearer. What I am looking for is the actual sample script that I would add in the script editor (which I can locate) for this Calendar project to get it to work (populate the fields I've created).
I suspect the essence of developing projects is learning how to script, understanding the syntax, operators, etc. So, I am eager to see what a sample script looks like, how its constructed, especially one that I can use in this tutorial. Unfortunately, I can't locate the sample of script that I think is referred to in the tutorial.
Kind Regards,
saratogacoach
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770
Hi Saratogacoach,
the stack is in the Revolution Resource center. At the bottom right there is "Launch Stack". If you click this it loads the example stack. Then as Duncan said, you inspect the script of the stack. You can either choose from the Object Menu->Stack Script, or you click on the inspector in the lower menu bar and then you can choose to edit script of stack. You can also open the inspector by choosing from the Object Menu->Stack inspector.
If this does not work out just give a sign.
regards
Bernd
the stack is in the Revolution Resource center. At the bottom right there is "Launch Stack". If you click this it loads the example stack. Then as Duncan said, you inspect the script of the stack. You can either choose from the Object Menu->Stack Script, or you click on the inspector in the lower menu bar and then you can choose to edit script of stack. You can also open the inspector by choosing from the Object Menu->Stack inspector.
If this does not work out just give a sign.
regards
Bernd
-
- Posts: 87
- Joined: Thu Jul 17, 2008 8:42 pm
-
- Posts: 2
- Joined: Sat Jun 12, 2010 8:34 pm
Re: First Tutorial (Calendar): where's the script?
I am a trial user and I was working my way through the calendar tutorial. Obviously, I overlooked searching for the script (which I expect that I will be able to find), however shouldn't or couldn't the script be placed into the tutorial. Why have,
in a tutorial for a new user? What is the harm in placing the script into the tutorial itself? The tutorial is not overly lengthy anyway.Tutorial pdf wrote:An example of how to do this can be found in the script of the stack attached to this tutorial.
Re: First Tutorial (Calendar): where's the script?
Don't overlook the tutorials here, which are all very well conceived, and accessible to beginners!