RE: [libreoffice-users] Re: I Would Like to Learn a Macro Language LO 5.0

2015-10-05 Thread Steve
Andreas,
Thank you for your reply. You made some excellent points that make sense. 
JavaScript is one of the options that I was considering because I would then be 
able to use my knowledge for other programs that have adopted JavaScript as 
their macro language of choice (like Google Docs). At the same time, I have no 
desire to jump from macro writing to full programming. I love my profession, 
but I would like to enhance my day to day usage of LibreOffice to save clicks 
of the mouse and pecks on the keyboard. A few basic macros would allow me to 
add functionality that may not be practical features for the LibreOffice 
programmers to code for releases. I thought it might be best to just use 
StarBasic by studying the materials that Andrew Pitonyak has provided and other 
sources that I highlighted in my first message thinking it might be the fastest 
way to accomplish the tasks I wanted to do.

I would be interested in hearing your thoughts on learning JavaScript (also 
what resources you recommend) and using that as my macro language of choice 
with LibreOffice.



From: Andreas Säger
Sent: Monday, October 5, 2015 1:19 PM
To: users@global.libreoffice.org
Subject: [libreoffice-users] Re: I Would Like to Learn a Macro Language LO 5.0


Am 04.10.2015 um 07:25 schrieb mowestusa:

Writing macros will be my first programming experience,

This is a huge problem. Starting with UNO and StarBasic is the worst
entry point I can think of. You will have a very hard learning
exprerience because UNO is far too big and too complex for a beginner.
No matter how far you get with UNO and StarBasic, you will not end up as
a programmer.
UNO makes professional programmers cry and StarBasic does not make
anything easier because this language is out of date, buggy, poorly
documented, does not fit into its UNO surrounding, offers a very poor
set of functionality (compared to JavaScript and Pyhon) and it is
totally useless outside its UNO cage. The old literature on Visual Basic
does not apply very well and the existing literature presumes that you
are a (VBA-)programmer already.
This is like learning how to fly in a 747 cockpit (UNO) sitting on a
garden chair (StarBasic) as pilot seat.
Learning object oriented programming with Java, JavaScript or Python is
easy nowadays. Coming back to UNO with certain concepts and tools will
take you much further with less effort.


-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted




---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-users] Re: I Would Like to Learn a Macro Language LO 5.0

2015-10-05 Thread Nino Novak


Am 05.10.2015 um 09:44 schrieb Stephan Bergmann:
> On 10/04/2015 07:25 AM, mowestusa wrote:
>> | |  Macros created with LibreOffice Basic based on the old
>> programming interface will no longer be supported by the current version. |
> 
> Do you have a link to where you found the above quote? 

e.g. here: https://help.libreoffice.org/Common/Programming

Nino



-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [libreoffice-users] Re: I Would Like to Learn a Macro Language LO 5.0

2015-10-05 Thread Regina Henschel

Hi,

Nino Novak schrieb:



Am 05.10.2015 um 09:44 schrieb Stephan Bergmann:

On 10/04/2015 07:25 AM, mowestusa wrote:

| |  Macros created with LibreOffice Basic based on the old
programming interface will no longer be supported by the current version. |


Do you have a link to where you found the above quote?


e.g. here: https://help.libreoffice.org/Common/Programming



That is helpcontent2/source/text/shared/main0600.xhp
Best would be to remove it. But I don't have looked which bookmarks and 
index entries have to be changed then. At least the section 
'id="basicalt"' has to be removed totally. The current one is in 
helpcontent2/source/text/sbasic/shared/main0601.xhp.


Please write a bug report.

Kind regards
Regina




--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] Re: I Would Like to Learn a Macro Language LO 5.0

2015-10-05 Thread Stephan Bergmann

On 10/05/2015 11:10 AM, Regina Henschel wrote:

Nino Novak schrieb:

Am 05.10.2015 um 09:44 schrieb Stephan Bergmann:

On 10/04/2015 07:25 AM, mowestusa wrote:

| |  Macros created with LibreOffice Basic based on the old
programming interface will no longer be supported by the current
version. |


Do you have a link to where you found the above quote?


e.g. here: https://help.libreoffice.org/Common/Programming



That is helpcontent2/source/text/shared/main0600.xhp


And that line is in there ever since 
 
"#i33146# Initial checkin," which confirms my assumption that it is a 
dead, historic remark.



Best would be to remove it. But I don't have looked which bookmarks and
index entries have to be changed then. At least the section
'id="basicalt"' has to be removed totally. The current one is in
helpcontent2/source/text/sbasic/shared/main0601.xhp.

Please write a bug report.


So I'll leave it to others who are knowledgeable about helpcontent2 to 
get this fixed.


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-users] Re: I Would Like to Learn a Macro Language LO 5.0

2015-10-05 Thread Andreas Säger
Am 04.10.2015 um 07:25 schrieb mowestusa:

Writing macros will be my first programming experience,

This is a huge problem. Starting with UNO and StarBasic is the worst
entry point I can think of. You will have a very hard learning
exprerience because UNO is far too big and too complex for a beginner.
No matter how far you get with UNO and StarBasic, you will not end up as
a programmer.
UNO makes professional programmers cry and StarBasic does not make
anything easier because this language is out of date, buggy, poorly
documented, does not fit into its UNO surrounding, offers a very poor
set of functionality (compared to JavaScript and Pyhon) and it is
totally useless outside its UNO cage. The old literature on Visual Basic
does not apply very well and the existing literature presumes that you
are a (VBA-)programmer already.
This is like learning how to fly in a 747 cockpit (UNO) sitting on a
garden chair (StarBasic) as pilot seat.
Learning object oriented programming with Java, JavaScript or Python is
easy nowadays. Coming back to UNO with certain concepts and tools will
take you much further with less effort.


-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted