[Solved] How do I learn Starbasic?

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
CeilingCat
Posts: 4
Joined: Wed Dec 10, 2008 3:02 am

[Solved] How do I learn Starbasic?

Post by CeilingCat »

My question is how do I create the scripts, where do I store them, and how do I invoke them?

Ok, that is three questions, but you get the picture.

And a "Hello, World" example would help, too.

cheers

Moderation (Villeroy): Moved from the Calc forum
Last edited by CeilingCat on Thu Dec 11, 2008 7:16 am, edited 1 time in total.
Just because it never happened doesn't mean it isn't true.
OOo 3.0.X on Ms Windows XP
FJCC
Moderator
Posts: 9278
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: How do I learn Starbasic?

Post by FJCC »

You are mixing two things in your question. To learn Starbasic you can use the Basic help section included in the help section of OpenOffice.org software or the link to the Basic Guide in the Macros and UNO API section of this web site. To learn about writing Macros using the API, you might start with Andrew Pitonyak's macro document at http://www.pitonyak.org/oo.php. The Documentation Project under "I Need Help With My OpenOffice.org" at http://www.openoffice.org/ also has a lot of useful information. OpenOffice.org code snippets are available on various web sites and can be very helpful. Getting XRay (http://ooomacros.org/dev.php#101416) will help keep you sane. It would really be helpful if you gave some idea of what you want to do. Learning about the whole API is a huge task.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
CeilingCat
Posts: 4
Joined: Wed Dec 10, 2008 3:02 am

Re: How do I learn Starbasic?

Post by CeilingCat »

Thanks FJCC
At http://www.pitonyak.org/oo.php I found
http://documentation.openoffice.org/HOW ... macros.sxw which contains what I want to know.
The last time I wrote a macro was back in the `80s using Quattro Pro.

I am a little rusty
Just because it never happened doesn't mean it isn't true.
OOo 3.0.X on Ms Windows XP
User avatar
r4zoli
Volunteer
Posts: 2882
Joined: Mon Nov 19, 2007 8:23 pm
Location: Budapest, Hungary

Re: [Solved] How do I learn Starbasic?

Post by r4zoli »

OOo wiki about OOo Basic programming.
StarOffice Programming Guide.
AOO 4.0 and LibO 4 on Win 8
Hungarian forum co-admin
Post Reply