Ironworks Gaming Forum

Ironworks Gaming Forum (http://www.ironworksforum.com/forum/index.php)
-   General Conversation Archives (11/2000 - 01/2005) (http://www.ironworksforum.com/forum/forumdisplay.php?f=28)
-   -   Computer Questions (http://www.ironworksforum.com/forum/showthread.php?t=83424)

Attalus 01-05-2003 03:35 PM

First of all what is a macro? I understand that it is a single computer instruction that stands for a sequence of operations, but how can you make one? Could you put a block of text or a picture under, say, F8? And, how do you convert a bitmap image to a jpeg file? Thanks in advance.

Animal 01-05-2003 04:13 PM

Quote:

Originally posted by Attalus:
First of all what is a macro? I understand that it is a single computer instruction that stands for a sequence of operations, but how can you make one? Could you put a block of text or a picture under, say, F8? And, how do you convert a bitmap image to a jpeg file? Thanks in advance.
Macro's are a combination of keys that represent strings of commands, mostly used in Word Processors, spreadsheets etc... I suppose you could consider the Ctrl-Alt-Del as a semi macro. You could set up a macro to paste a certain block of text, or a picture I suppose, though I'm not really up on my macros too much.
To convert a bitmap to JPEG open the bitmap with photo editing software (MS Paint will work as well). Click File->Save As-> and change the document type to JPEG or any other format you wish. Voila!

andrewas 01-05-2003 05:40 PM

I dont suppose your up on Visual Basic programming? No? Then we do this the easy way.

I am terrible at remembering menu options, so these are taken from office XP. Earlier versions will require some experimentation.

Tools->record->new macro

Give it a name, set it to record in only the document your using. You can also set it to record in a template, in which case all documents created with that template will have the macro included.

Now you have to set a trigger for the macro. XP handles this differently from different versions, you get two buttons to select a trigger key or put a button on the toolbar. Both are pretty self explanatory. I dont have an earlier copy to hand to see how they do it, but its not that complicated.

Anyway, once you finish with that dialogue youll see a new tooldbar (with stop and pause buttons on it). Type text into your document, the macro will record every action and translate it to code for you. When your finished, hit the stop button.

Hit the trigger button/key you assigned, and the macro should put the text into your document. This is a good time to check for typos and suchlike.

You can edit the macro directly by going into tools->macros->macros. In this case your macro will probably look something like:

Sub Test()
Selection.TypeText Text:="testtesttest"
End Sub

Attalus 01-05-2003 11:56 PM

Thanks very much to both of you. [img]smile.gif[/img]


All times are GMT -4. The time now is 10:08 AM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved