Topic: Copying from .chm files (1 of 11), Read 20 times
Conf: Other (Not related to VEDIT)
From: Peter Rejto
Date: Saturday, July 16, 2011 01:51 PM

Hi,

In the good old days when the Vedit On-Line-Help file was an almost ASCII file, I could copy examples of macros to my current buffer in Vedit and execute them. That is to say execute them via another macro.

Now that the new Vedit 6.21.1 has the "Execute current buffer" command built into the {Misc} menu command, I would like to do the same with the new On-Line-Help file, which is a .chm file.

My problem is that I do not know how to copy from a .chm file to a Vedit edit buffer. Most of the time I can highlight a block in the On-Line-Help file and copy it via the usual Ctr-C and Ctr-V key combinations. However if a block is already highlighted in blue, I can not "highlight it again."

Possibly the problem is similar to the problem of copying from a .pdf file. There Adobe supplies a "Copy Utility" .
So, may be there is a supplied "Copy Utility" for ..chm files as well ?


Anyway, I am an enthusiastic user of the new "Execute current buffer" Vedit command.


Thanks to all who made this possible.


-peter

 


Topic: Copying from .chm files (2 of 11), Read 15 times
Conf: Other (Not related to VEDIT)
From: Scott Lambert
Date: Sunday, July 17, 2011 09:25 AM

On 7/16/2011 1:51:53 PM, peter rejto wrote:
>
>My problem is that I do not
>know how to copy from a .chm
>file to a Vedit edit buffer.
>Most of the time I can
>highlight a block in the
>On-Line-Help file and copy it
>via the usual Ctr-C and Ctr-V
>key combinations. However if a
>block is already highlighted
>in blue, I can not "highlight
>it again."
>

Could you give an example in the help file, where you have trouble copying text?

Scott

 


Topic: Copying from .chm files (3 of 11), Read 19 times
Conf: Other (Not related to VEDIT)
From: Pauli Lindgren
Date: Sunday, July 17, 2011 09:38 AM

On 7/16/2011 1:51:53 PM, peter rejto wrote:
>
>My problem is that I do not
>know how to copy from a .chm
>file to a Vedit edit buffer.
>Most of the time I can
>highlight a block in the
>On-Line-Help file and copy it
>via the usual Ctr-C and Ctr-V
>key combinations. However if a
>block is already highlighted
>in blue, I can not "highlight
>it again."

What is the problem? On my computer, copying from .chm file works just fine.
In fact it works better than with the old Windows Help files.
On Vedit 6.15, when you copy text from the help file, you have to manually delete the additional "VEDIT 6.15 Help" that is appended to the copied text. On Vedit 6.21, that is not necessary.

What do you mean by "block is already highlighted in blue"?
Do you mean the links?

If you want to copy a link text, you simply have to start painting it from somewhere outside the link. If you choose the starting point carefully, there may not even be any additional characters included in the copied block.

--
Pauli

 


Topic: Copying from .chm files (4 of 11), Read 15 times
Conf: Other (Not related to VEDIT)
From: Peter Rejto
Date: Sunday, July 17, 2011 06:08 PM

On 7/17/2011 9:38:58 AM, Pauli Lindgren wrote:
>On 7/16/2011 1:51:53 PM, peter rejto
>wrote:
>>
>>My problem is that I do not
>>know how to copy from a .chm
>>file to a Vedit edit buffer.
>>Most of the time I can
>>highlight a block in the
>>On-Line-Help file and copy it
>>via the usual Ctr-C and Ctr-V
>>key combinations. However if a
>>block is already highlighted
>>in blue, I can not "highlight
>>it again."
>
>What is the problem? On my computer,
>copying from .chm file works just fine.
>In fact it works better than with the
>old Windows Help files.
>On Vedit 6.15, when you copy text from
>the help file, you have to manually
>delete the additional "VEDIT 6.15 Help"
>that is appended to the copied text. On
>Vedit 6.21, that is not necessary.
>
>What do you mean by "block is already
>highlighted in blue"?
>Do you mean the links?
>
>If you want to copy a link text, you
>simply have to start painting it from
>somewhere outside the link. If you
>choose the starting point carefully,
>there may not even be any additional
>characters included in the copied block.
>
>--
>Pauli
>

Great,
so I am missing something simple.

I wanted to copy the command Reg_Set(10,HOME) from the On-Line Help, but could not.

Incidentally, I have no problem copying that command from here to a Vedit buffer and execute it via the new Execute current buffer command. In fact, this new command generated my interest in the Copy from a .chm file.

Could you specialize your answer to this situation.

I also have a hunch that I have been spoiled by Vedit and did not have to study MS paint.



If you
>choose the starting point carefully,
>there may not even be any additional
>characters included in the copied block.

In other words, I could execute macros from the On-LineHelp
by copying them to any open Vedit buffer, highlighting them
and invoking the new Execute current buffer command.



Thanks again,


-peter

 


Topic: Copying from .chm files (5 of 11), Read 13 times
Conf: Other (Not related to VEDIT)
From: Peter Rejto
Date: Monday, July 18, 2011 11:58 AM

On 7/17/2011 9:38:58 AM, Pauli Lindgren wrote:

>
>If you want to copy a link text, you
>simply have to start painting it from
>somewhere outside the link. If you
>choose the starting point carefully,
>there may not even be any additional
>characters included in the copied block.
>--
>Pauli

Hi,


I am re-reading your message.

Your suggestion of "starting outside the link" did work like a charm.

Here are the details:
I searched for the topic String Arguments in the Vedit 6.21.1 On-Line-Help I could copy the entire topic to my vedit.tpl file. Indeed, I was lucky, I could run the macro,
Reg_Set(10,HOME), without any additional editing.


Now an open ended question for future reference:
I friend told me that I can save my screen with the MS paint program. He showed it to me how, but I have forgotten it. Do other Vedit users use MS paint for this purpose ?


Thank for everything.


-peter

 


Topic: Copying from .chm files (6 of 11), Read 12 times
Conf: Other (Not related to VEDIT)
From: Peter Rejto
Date: Wednesday, July 20, 2011 12:22 AM

On 7/18/2011 11:58:24 AM, peter rejto wrote:
>On 7/17/2011 9:38:58 AM, Pauli Lindgren
>wrote:
>
>>
>>If you want to copy a link text, you
>>simply have to start painting it from
>>somewhere outside the link. If you
>>choose the starting point carefully,
>>there may not even be any additional
>>characters included in the copied block.
>>--
>>Pauli
>

Hi,

I have another question about the "link" issue:

I have seen some references in the on-Line_Help to Chapter 4 of the manual. Would it be possible to make an actual link to Chapter 4 of the Macro Language Manual. I certainly can open it via the {Help, Macro Language Manual} menu command. Then I can go to Chapter 4.

It would just save couple of keystrokes.

Thanks,

-peter

 


Topic: Copying from .chm files (7 of 11), Read 12 times
Conf: Other (Not related to VEDIT)
From: Scott Lambert
Date: Wednesday, July 20, 2011 01:59 PM

On 7/18/2011 11:58:24 AM, peter rejto wrote:

>Now an open ended question for future
>reference:
>I friend told me that I can save my
>screen with the MS paint program. He
>showed it to me how, but I have
>forgotten it. Do other Vedit users use
>MS paint for this purpose ?

Hi Peter,

The way to to this is:

1. get the screen you wish to capture up on your monitor screen

2. press shift and prtscn keys both at the same time. (prtscn is usually next to scroll lock)

3. open paint or other graphics software and select paste.

4. then use the crop tool to get rid of any portion of the image you don't want.

Scott

 


Topic: Copying from .chm files (8 of 11), Read 14 times
Conf: Other (Not related to VEDIT)
From: Peter Rejto
Date: Wednesday, July 20, 2011 03:51 PM

On 7/20/2011 1:59:02 PM, Scott Lambert wrote:
>On 7/18/2011 11:58:24 AM, peter rejto
>wrote:
>
>>Now an open ended question for future
>>reference:
>>I friend told me that I can save my
>>screen with the MS paint program. He
>>showed it to me how, but I have
>>forgotten it. Do other Vedit users use
>>MS paint for this purpose ?
>
>Hi Peter,
>
>The way to to this is:
>
>1. get the screen you wish to capture up
>on your monitor screen
>
>2. press shift and prtscn keys both at
>the same time. (prtscn is usually next
>to scroll lock)
>
>3. open paint or other graphics software
>and select paste.
>
>4. then use the crop tool to get rid of
>any portion of the image you don't want.
>
>Scott

Thanks Scott,

So now I can copy pictures from the Vedit 6.21.1 On-Line-Help. That is to say, pictures, in addition to macros.


-peter

 


Topic: Copying from .chm files (9 of 11), Read 14 times
Conf: Other (Not related to VEDIT)
From: Pauli Lindgren
Date: Thursday, July 21, 2011 06:58 AM

On 7/20/2011 1:59:02 PM, Scott Lambert wrote:
>
> 2. press shift and prtscn keys both at
> the same time. (prtscn is usually next
> to scroll lock)

Shift-PrintScreen copies the whole screen to clipboard
This is usually not what you want.

In most cases, it is better to use Alt-PrintScreen.
This only copies the current window.

It is good idea to reduce the window size to as small as possible before taking the screen-shot, to reduce the image size.

>
> 3. open paint or other graphics software
> and select paste.
>
> 4. then use the crop tool to get rid of
> any portion of the image you don't want.

I don't think Paint has a crop tool.
But you can copy a part of image to clipboard, create New image and paste it there again.

When you save the image into a file, I recommend using PNG file format.
It creates a small image without losing image quality.

--
Pauli

 


Topic: Copying from .chm files (10 of 11), Read 17 times
Conf: Other (Not related to VEDIT)
From: Fritz Heberlein
Date: Thursday, July 21, 2011 07:26 AM

>> 4. then use the crop tool to get rid of
>> any portion of the image you don't want.
>
>I don't think Paint has a crop tool.


You could download a copy of the well known Irfanview graphics viewer, which has a crop tool.

Fritz

 


Topic: Copying from .chm files (11 of 11), Read 10 times
Conf: Other (Not related to VEDIT)
From: Scott Lambert
Date: Thursday, July 21, 2011 09:23 AM

On 7/21/2011 6:58:04 AM, Pauli Lindgren wrote:
>On 7/20/2011 1:59:02 PM, Scott Lambert
>wrote:
>
>I don't think Paint has a crop tool.
>But you can copy a part of image to
>clipboard, create New image and paste it
>there again.
>

The paint program with windows 7 does. Not sure about XP or Vista. Scott