Welcome to NeoOffice Forums
NeoOffice
 
Official online support site for NeoOffice and NeoOffice Mobile

Trinity
· Home
· News
· Private Messages
· Stories Archive
· Your Account


RSS Feeds
· Headlines
· Forum Posts
· NeoOffice Releases
· Beta Releases
· NeoOffice Mobile


Twitter Feeds
· @NeoOffice


Download NeoOffice
· Get NeoOffice
· Get the Latest Patch
· Language Packs
· User Guide
· User Guide Volume 2


Other Websites
· NeoOffice.org
· NeoWiki


Who's Online
There are currently, 135 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here


Languages
Select Interface Language:



  
trinity.neooffice.org :: View topic - How do I assign a keystroke to a recorded macro
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Private MessagesPrivate Messages   Log inLog in 

How do I assign a keystroke to a recorded macro
Users who have paid US$100.00 within the last year can post

 
Post new topic   Reply to topic    trinity.neooffice.org Forum Index -> NeoOffice Support
View previous topic :: View next topic  
Author Message
PCUK
Sentinel


Joined: Mar 22, 2010
Posts: 20
Location: Devon, England

PostPosted: Tue Jun 01, 2010 5:48 am    Post subject: How do I assign a keystroke to a recorded macro Reply with quote

How do I assign a keystroke to a recorded macro?
I have recorded a simple macro and now want to assign a keystroke to it but haven't been able to work out how to do it.
Thanks,
Peter
Back to top
View user's profile Send private message
Jim
Councilperson


Joined: Jun 21, 2003
Posts: 173
Location: Selmer, Tennessee

PostPosted: Tue Jun 01, 2010 7:18 am    Post subject: Reply with quote

You need to save the macro and give it a name. I assume you've already done that, and that by invoking the macro with Tools->Macros->Run you get the desired results. Let's call the macro "BigMac" for the purpose of this discussion.

Go to Tools->Customize... and select the Keyboard tab if it's not already selected. The resulting window is divided horizontally into two sections. Make sure the correct component is selected with the radio buttons on the right side, i.e., NeoOffice or Writer. Go to the bottom section, called Functions--------

In that section, scroll the category panel down to NeoOffice Macros and click on the disclosure triangle to the left of "NeoOffice Macros". Your macro probably got stored in the "user" folder, so click its disclosure triangle. Another folder named "Standard" will be revealed. Click on its disclosure triangle, and you'll see "Module1". Click on Module1. You should see "Main" and "BigMac" displayed under the Function column (the middle column.) Select "BigMac".

Now go the upper part of the window labeled Shortcut keys--------

Select an open key (one that has no text to the right of it.) Click on it. Go to the right side of the window and click the "Modify" button. Go to the bottom of the window and click "OK".

Use and enjoy.

_________________
Jim Plante
MacOS X 10.6.34, MacBook 2GHz C2Duo, 2gb, Neo 3.1.1 p 1
Back to top
View user's profile Send private message Yahoo Messenger
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4574

PostPosted: Tue Jun 01, 2010 8:54 am    Post subject: Reply with quote

For reference, you can find the instructions that Jim provided, plus other Macros tips, on the Using Macros page in the wiki.

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
View user's profile Send private message Visit poster's website
PCUK
Sentinel


Joined: Mar 22, 2010
Posts: 20
Location: Devon, England

PostPosted: Wed Jun 02, 2010 10:26 am    Post subject: Reply with quote

Back to square one!
The macro doesn't actually work.
"Basic Syntax error"
What now?

Peter
Back to top
View user's profile Send private message
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Wed Jun 02, 2010 11:09 am    Post subject: Reply with quote

Paste it here and someone might be able to help you - depends what it's meant to be doing (so tell us what it's meant to be doing as well Smile ). Also, what version of NeoOffice/OpenOffice it's written in/for.
Back to top
View user's profile Send private message
Jim
Councilperson


Joined: Jun 21, 2003
Posts: 173
Location: Selmer, Tennessee

PostPosted: Wed Jun 02, 2010 11:09 am    Post subject: Reply with quote

What now? Why, fix the macro, of course. You said that you had recorded it. Did you make any changes to it manually (i.e., through the macro editor?)

I warn you fair and square: OpenOffice's BASIC has a steep learning curve. If you're doing anything complex with it, you'll rapidly exhaust the resources of this support base. What are you trying to get it to do?

_________________
Jim Plante
MacOS X 10.6.34, MacBook 2GHz C2Duo, 2gb, Neo 3.1.1 p 1
Back to top
View user's profile Send private message Yahoo Messenger
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10950
Location: California, USA

PostPosted: Wed Jun 02, 2010 3:59 pm    Post subject: Reply with quote

yoxi wrote:
Paste it here and someone might be able to help you - depends what it's meant to be doing (so tell us what it's meant to be doing as well Smile ). Also, what version of NeoOffice/OpenOffice it's written in/for.


Please don't post your macro. While we provide support for NeoOffice in these forums, we do not provide macro writing or debugging services at this site.

The reason that we do not provide macro writing or debugging services is because macros are custom code that you have written and, since it is your code, it is your responsibility to debug and fix it.

Patrick
Back to top
View user's profile Send private message Visit poster's website
PCUK
Sentinel


Joined: Mar 22, 2010
Posts: 20
Location: Devon, England

PostPosted: Thu Jun 03, 2010 12:13 am    Post subject: Reply with quote

I won't post the macro, it's not that important.
Basically I want to automatically draw a line across a page in the latest version of Neo using tabs as I did with Word (spit!). I can do it manually so thought a macro would be easy to set up using the recorder. Not so apparently and I don't have the time to learn about macro programming!?!
It's something I'd like to do but it won't ruin my life if I can't.
Cheers,
Peter
Back to top
View user's profile Send private message
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Thu Jun 03, 2010 12:40 am    Post subject: Reply with quote

Sorry if I crossed a line, there Confused - yes, the macro recorder doesn't record everything you'd want or expect it to, especially anything involving dialogues - I've recorded long actions working through screen dialogues, only to find there's nothing at all in the macro file except "open the first dialogue".
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    trinity.neooffice.org Forum Index -> NeoOffice Support All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.03 Seconds