[Bug 159402] Writer should offer a working macro immediately user-available, to encourage new macro users
https://bugs.documentfoundation.org/show_bug.cgi?id=159402 --- Comment #6 from Jean-Pierre Ledure --- (In reply to Rafael Lima from comment #4) > Maybe we could consider reviving this library, fixing its issues and adding > new macros with lots of comments for new LO macro programmers. After a brief analysis, it seems that: - the code of the Tutorials library is present - the library itself is not visible because Tutorials is not mentioned in the dialog.xlc and script.xlc files - the library requires one or more files in /instdir/share/template/common/tutorials/. This directory is absent. - initialization code like createUNOService("com.sun.star.wizards.tutorial.executer.CallTutorialFramework") returns a Null object - the text present by default in the myText control of the TutorialsDialog dialog makes me think that the functionality was designed to guide new LO users, not new LO Basic users. (*) see below. ** My conclusion is that the functionality was once dropped but incompletely.** (*) This text explains all the action items that the user can do to follow the current step highlighted in the road map at the left side of the tutorial window. 1. Open the Format menu 2. Choose the Paragraph command 3. Click the Numbering tab The first step will always explain what the current tutorial is about. The last step - it is highlighted currently in the road map - will summarize what the user now has seen or learned. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159402] Writer should offer a working macro immediately user-available, to encourage new macro users
https://bugs.documentfoundation.org/show_bug.cgi?id=159402 Heiko Tietze changed: What|Removed |Added CC||alain.romedenne@libreoffice ||.org, ||hoss...@libreoffice.org, ||ilmari.lauhakangas@libreoff ||ice.org, j...@ledure.be --- Comment #5 from Heiko Tietze --- Those tutorials belong to the user space, ie. the wiki. And IIRC we have a group of people supporting the macro development... https://blog.documentfoundation.org/blog/2021/04/28/libreoffice-macro-team-progress-report-3/ -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159402] Writer should offer a working macro immediately user-available, to encourage new macro users
https://bugs.documentfoundation.org/show_bug.cgi?id=159402 Rafael Lima changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=12 ||3540 -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159402] Writer should offer a working macro immediately user-available, to encourage new macro users
https://bugs.documentfoundation.org/show_bug.cgi?id=159402 --- Comment #4 from Rafael Lima --- I understand there is a steep learning curve for writing LibreOffice scripts (either Basic or Python), and we should consider strategies to make it easier to learn the basics of macro programming in LO. I'm not sure the proposed solution by the OP is the way to go, but let's take this opportunity to discuss the issue. It took me a very long time to get my head around all the things needed to write LO macros, so I can imagine many people struggle to get started. I believe we should have a Tutorials library with simple and useful scripts for all LO apps (Writer, Calc, Impress and Draw), which could serve as templates for those getting started with LO macros. In fact, bug 123540 points out that we already have a Tutorials library (in instdir/share/basic/Tutorials), but it is hidden from users because over time some of these macros stopped working. Maybe we could consider reviving this library, fixing its issues and adding new macros with lots of comments for new LO macro programmers. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159402] Writer should offer a working macro immediately user-available, to encourage new macro users
https://bugs.documentfoundation.org/show_bug.cgi?id=159402 --- Comment #3 from Heiko Tietze --- (In reply to Heiko Tietze from comment #2) > Gimmicks > AutoText... Learning the JARL autotext, quite cynical to have this as four character solution - installed by default. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159402] Writer should offer a working macro immediately user-available, to encourage new macro users
https://bugs.documentfoundation.org/show_bug.cgi?id=159402 --- Comment #2 from Heiko Tietze --- We have plenty of examples, see Tools > Macros > Edit Macros: Application Macros & Dialogs, eg. Gimmicks > AutoText... run per F5. I don't think that we should make it easier to run/edit since using macros is rather an expert feature and bear some security issue. => WF -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159402] Writer should offer a working macro immediately user-available, to encourage new macro users
https://bugs.documentfoundation.org/show_bug.cgi?id=159402 Stéphane Guillou (stragu) changed: What|Removed |Added CC||heiko.tietze@documentfounda ||tion.org, ||jean-francois.nifenecker@la ||poste.net, ||olivier.hallot@libreoffice. ||org, ||rafael.palma.l...@gmail.com ||, ||stephane.guillou@libreoffic ||e.org --- Comment #1 from Stéphane Guillou (stragu) --- Heiko, Rafael, Olivier, Jean-François, what do you think? I like the idea of a simple, sample macro that's easy to find, with enough comments so it is self-explanatory, to see what scripting makes possible. Curious beginners going to Tools > Macros > Edit Macros won't know where to start with the IDE that's presented to them and the default empty macro. If they open the "Application Macros & Dialogs" collection, they won't easily find a sample module directed at beginners. Could there be, for each component, a "Macro demo - start here" module? (In reply to carrt7 from comment #0) > We need a simple macro available on the task-bar, which can be run simply by > clicking the icon, and does no damage. I wouldn't clutter the UI with that. I'd prefer e.g. a direct link from a Tip of the Day. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159402] Writer should offer a working macro immediately user-available, to encourage new macro users
https://bugs.documentfoundation.org/show_bug.cgi?id=159402 carrt7 changed: What|Removed |Added Keywords||difficultyBeginner, ||skillLibreOfficeBASIC CC||car...@gmail.com -- You are receiving this mail because: You are the assignee for the bug.