~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to release/scripts/help_getting_started.py

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!BPY
 
2
"""
 
3
Name: 'Getting Started'
 
4
Blender: 234
 
5
Group: 'Help'
 
6
Tooltip: 'Help for new users'
 
7
"""
 
8
 
 
9
__author__ = "Matt Ebb"
 
10
__url__ = ("blender", "elysiun")
 
11
__version__ = "1.0"
 
12
__bpydoc__ = """\
 
13
This script opens the user's default web browser at www.blender3d.org's
 
14
"Getting Started" page.
 
15
"""
 
16
 
 
17
# $Id: help_getting_started.py,v 1.2 2004/11/07 16:31:13 ianwill Exp $
 
18
#
 
19
# --------------------------------------------------------------------------
 
20
# Getting Started Help Menu Item
 
21
# --------------------------------------------------------------------------
 
22
# ***** BEGIN GPL LICENSE BLOCK *****
 
23
#
 
24
# This program is free software; you can redistribute it and/or
 
25
# modify it under the terms of the GNU General Public License
 
26
# as published by the Free Software Foundation; either version 2
 
27
# of the License, or (at your option) any later version.
 
28
#
 
29
# This program is distributed in the hope that it will be useful,
 
30
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
31
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
32
# GNU General Public License for more details.
 
33
#
 
34
# You should have received a copy of the GNU General Public License
 
35
# along with this program; if not, write to the Free Software Foundation,
 
36
# Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
37
#
 
38
# ***** END GPL LICENCE BLOCK *****
 
39
# --------------------------------------------------------------------------
 
40
 
 
41
import Blender, webbrowser
 
42
version = str(Blender.Get('version'))
 
43
webbrowser.open('http://www.blender3d.org/Help/?pg=GettingStarted&ver=' + version)