Create scan button?

classic Classic list List threaded Threaded
18 messages Options
James Knott James Knott
Reply | Threaded
Open this post in threaded view
|

Create scan button?

I occasionally scan documents into LibreOffice with a single sheet
scanner.  This means for each page I have to click on
Insert>Media>Scan>Request.  Is it possible to create an icon to run
those steps?

tnx jk


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Robert Großkopf Robert Großkopf
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

Hi James,

> I occasionally scan documents into LibreOffice with a single sheet
> scanner.  This means for each page I have to click on
> Insert>Media>Scan>Request.  Is it possible to create an icon to run
> those steps?

Haven't tested, but:
Tools > Customize > Toolbars > Add Command
there:
Category: All categories
Commands: Request

Hasn't any icon, so it would appear with text in the standard toolbar.

You could also add an icon to "Request". Choose the added "Request" and
change the icon. There would appear a dialog with icons.

Regards

Robert
--
Homepage: http://robert.familiegrosskopf.de
LibreOffice Community: http://robert.familiegrosskopf.de/map_3


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
James Knott James Knott
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

On 11/19/2017 01:06 PM, Robert Großkopf wrote:

> Hi James,
>
>> I occasionally scan documents into LibreOffice with a single sheet
>> scanner.  This means for each page I have to click on
>> Insert>Media>Scan>Request.  Is it possible to create an icon to run
>> those steps?
> Haven't tested, but:
> Tools > Customize > Toolbars > Add Command
> there:
> Category: All categories
> Commands: Request
>
> Hasn't any icon, so it would appear with text in the standard toolbar.
>
> You could also add an icon to "Request". Choose the added "Request" and
> change the icon. There would appear a dialog with icons.
>

That appears to work, but it's Insert>Request.  Now to find a scanner icon.

tnx jk


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
James Knott James Knott
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

On 11/19/2017 01:14 PM, James Knott wrote:
>> Hasn't any icon, so it would appear with text in the standard toolbar.
>> >
>> > You could also add an icon to "Request". Choose the added "Request" and
>> > change the icon. There would appear a dialog with icons.
>> >
> That appears to work, but it's Insert>Request.  Now to find a scanner icon.

Curious thing.  I found a scanner icon and it shows up in the customize
panel, on the request item, but not on the tool bar.

--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
James Knott James Knott
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

On 11/19/2017 01:58 PM, James Knott wrote:
> On 11/19/2017 01:14 PM, James Knott wrote:
>>> Hasn't any icon, so it would appear with text in the standard toolbar.
>>>> You could also add an icon to "Request". Choose the added "Request" and
>>>> change the icon. There would appear a dialog with icons.
>>>>
>> That appears to work, but it's Insert>Request.  Now to find a scanner icon.
> Curious thing.  I found a scanner icon and it shows up in the customize
> panel, on the request item, but not on the tool bar.

This is the icon I used.
http://icons.iconarchive.com/icons/custom-icon-design/mono-business-2/16/scanner-icon.png

--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
jorge Rodríguez jorge Rodríguez
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

In reply to this post by James Knott
Hi James and all:

     I suggest to use a Macro. If you don't know what it is, is a
feature that LibreOffice has to automate the process. It usually run
well but sometimes crash. To able you can follow this steps:

1) Menu-Tools-Options-Advanced: There Check box "Enable_Macro Recording"

2) Menu-Tools-Macros-Record Macro: There click and appear a "little box"
that meaning that almost all that you do from this time in LibreOffice
is recording.

3) After step 2), select Menu-Insert-Image-Scan-Request. Until this you
did record those steps to scan. Now click Stop Recording button from
"little box"

4) Now appear a windows dialog where you can record the macro with those
step you were recording: Select My Macros --> Standard --> New Module-->
Named as Scan --> Save --> and click accept to overwrite the main option
there.

5) Now Menu-Tools-Macros-Organize Macros-LibreOffice: Appear a Dialog
Window where you can see the Macros Library: There select My
Macro-Standar and find the macro called "Scan" that you save before.

6) Select Scan Module and then select at right : Assign button
7) Appear new Dialog Window: Here, keep "Standard toolbar", and select
Button Add

8) There appear a new dialog window where you can look again : My Macros
- Standard. Select "Scan" macro and click Add button

9) Now you can see the "main" item in the list at top. With the arrows
you can move to top or down the "main" item (This main item represent
your macro where you record the steps.

10) Select "main" item and select Modify Button. There select Rename and
input Scan. Accept and now in the same place you can select an icon or
let as is with the name "Scan"

11) Close the window dialog and the icon-Scan appear in the tool bar at
top at left if you didn't move with arrow. If you move ... you can find
along tool bar.

I hope this help,

Regards,

Jorge Rodríguez

El 19/11/2017 a las 10:08, James Knott escribió:
> I occasionally scan documents into LibreOffice with a single sheet
> scanner.  This means for each page I have to click on
> Insert>Media>Scan>Request.  Is it possible to create an icon to run
> those steps?
>
> tnx jk
>
>


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
James Knott James Knott
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

On 11/19/2017 02:08 PM, jorge Rodríguez wrote:
> Hi James and all:
>
>     I suggest to use a Macro. If you don't know what it is, is a
> feature that LibreOffice has to automate the process. It usually run
> well but sometimes crash. To able you can follow this steps:
>
> 1) Menu-Tools-Options-Advanced: There Check box "Enable_Macro Recording"

Actually, I found a way to create a functioning button, as describe in
another message.  At the moment, the problem is getting the button to
display a scanner icon.


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Robert Großkopf Robert Großkopf
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

In reply to this post by James Knott
Hi James,

>>> Hasn't any icon, so it would appear with text in the standard toolbar.
>>>>
>>>> You could also add an icon to "Request". Choose the added "Request" and
>>>> change the icon. There would appear a dialog with icons.
>>>>
>> That appears to work, but it's Insert>Request.  Now to find a scanner icon.
>
> Curious thing.  I found a scanner icon and it shows up in the customize
> panel, on the request item, but not on the tool bar.
>
Could be you have to change it in the toolbar, too. I have only tested
this with a macro I added to a toolbar - so the command couldn't be
found anywhere else.

Regars

Robert
--
Homepage: http://robert.familiegrosskopf.de
LibreOffice Community: http://robert.familiegrosskopf.de/map_3


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
James Knott James Knott
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

On 11/19/2017 02:14 PM, Robert Großkopf wrote:
>> Curious thing.  I found a scanner icon and it shows up in the customize
>> > panel, on the request item, but not on the tool bar.
>> >
> Could be you have to change it in the toolbar, too. I have only tested
> this with a macro I added to a toolbar - so the command couldn't be
> found anywhere else.

I tried that.  When I look at "Visible buttons", the icon is shown,
along with the word Request, but still not on the tool bar.


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
steveedmonds steveedmonds
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

Could it be anything to do with the image or size of the image. 16x16 px
seems small.

On 20/11/17 08:38, James Knott wrote:

> On 11/19/2017 02:14 PM, Robert Großkopf wrote:
>>> Curious thing.  I found a scanner icon and it shows up in the customize
>>>> panel, on the request item, but not on the tool bar.
>>>>
>> Could be you have to change it in the toolbar, too. I have only tested
>> this with a macro I added to a toolbar - so the command couldn't be
>> found anywhere else.
> I tried that.  When I look at "Visible buttons", the icon is shown,
> along with the word Request, but still not on the tool bar.
>
>


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
James Knott James Knott
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

On 11/19/2017 02:46 PM, Steve Edmonds wrote:
> Could it be anything to do with the image or size of the image. 16x16
> px seems small.

According to the Change icon panel, 16x16 is the best size to use.

--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
James Knott James Knott
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

On 11/19/2017 02:52 PM, James Knott wrote:
> On 11/19/2017 02:46 PM, Steve Edmonds wrote:
>> Could it be anything to do with the image or size of the image. 16x16
>> px seems small.
> According to the Change icon panel, 16x16 is the best size to use.
>

I even tried one of the included icons, but get the same results.  It
doesn't display on the tool bar.

--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
remygauthier remygauthier
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

Hi,
I tried to insert the button (using the icon you found), but the only
thing I was able to get is text describing the function of the button.
Never was able to get the icon only. Looks like a bug.
I'm on LO 5.4.2.2, on Linux/Fedora 25.
Rémy Gauthier.
Le dimanche 19 novembre 2017 à 14:55 -0500, James Knott a écrit :

> On 11/19/2017 02:52 PM, James Knott wrote:
> > On 11/19/2017 02:46 PM, Steve Edmonds wrote:
> > > Could it be anything to do with the image or size of the image.
> > > 16x16
> > > px seems small.
> >
> > According to the Change icon panel, 16x16 is the best size to use.
> >
>
> I even tried one of the included icons, but get the same results.  It
> doesn't display on the tool bar.
>
--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
James Knott James Knott
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

On 11/19/2017 06:31 PM, Remy Gauthier wrote:
> I tried to insert the button (using the icon you found), but the only
> thing I was able to get is text describing the function of the button.
> Never was able to get the icon only. Looks like a bug.
>

Yep.  I even tried one of the icons that came with LO and same thing.
Just text, no icon on the tool bar.


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Regina Henschel Regina Henschel
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

In reply to this post by James Knott
Hi,

adding icons it a little bit tricky. Please try my answer in
https://ask.libreoffice.org/en/question/130416/toolbar-icon-does-not-change-when-replaced/

Kind regards
Regina

James Knott schrieb am 19.11.2017 um 20:38:

> On 11/19/2017 02:14 PM, Robert Großkopf wrote:
>>> Curious thing.  I found a scanner icon and it shows up in the customize
>>>> panel, on the request item, but not on the tool bar.
>>>>
>> Could be you have to change it in the toolbar, too. I have only tested
>> this with a macro I added to a toolbar - so the command couldn't be
>> found anywhere else.
>
> I tried that.  When I look at "Visible buttons", the icon is shown,
> along with the word Request, but still not on the tool bar.
>
>


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
James Knott James Knott
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

That works, sort of.  I have to leave the size at small to see the
icon.  If I leave it at large or automatic, as originally set, I don't
see it.  I'll have to try a different size icon, to see if that helps.
However, it did say 16x16 was the best size.

tnx jk


On 11/19/2017 07:10 PM, Regina Henschel wrote:

> Hi,
>
> adding icons it a little bit tricky. Please try my answer in
> https://ask.libreoffice.org/en/question/130416/toolbar-icon-does-not-change-when-replaced/
>
>
> Kind regards
> Regina
>
> James Knott schrieb am 19.11.2017 um 20:38:
>> On 11/19/2017 02:14 PM, Robert Großkopf wrote:
>>>> Curious thing.  I found a scanner icon and it shows up in the
>>>> customize
>>>>> panel, on the request item, but not on the tool bar.
>>>>>
>>> Could be you have to change it in the toolbar, too. I have only tested
>>> this with a macro I added to a toolbar - so the command couldn't be
>>> found anywhere else.
>>
>> I tried that.  When I look at "Visible buttons", the icon is shown,
>> along with the word Request, but still not on the tool bar.
>>
>>
>
>


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
James Knott James Knott
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

After a few attemps, I finally got it to work right, with the icon
showing with view set to automatic.

tnx jk


On 11/19/2017 09:22 PM, James Knott wrote:

> That works, sort of.  I have to leave the size at small to see the
> icon.  If I leave it at large or automatic, as originally set, I don't
> see it.  I'll have to try a different size icon, to see if that helps.
> However, it did say 16x16 was the best size.
>
> tnx jk
>
>
> On 11/19/2017 07:10 PM, Regina Henschel wrote:
>> Hi,
>>
>> adding icons it a little bit tricky. Please try my answer in
>> https://ask.libreoffice.org/en/question/130416/toolbar-icon-does-not-change-when-replaced/
>>
>>
>> Kind regards
>> Regina
>>
>> James Knott schrieb am 19.11.2017 um 20:38:
>>> On 11/19/2017 02:14 PM, Robert Großkopf wrote:
>>>>> Curious thing.  I found a scanner icon and it shows up in the
>>>>> customize
>>>>>> panel, on the request item, but not on the tool bar.
>>>>>>
>>>> Could be you have to change it in the toolbar, too. I have only tested
>>>> this with a macro I added to a toolbar - so the command couldn't be
>>>> found anywhere else.
>>> I tried that.  When I look at "Visible buttons", the icon is shown,
>>> along with the word Request, but still not on the tool bar.
>>>
>>>
>>
>


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
James Knott James Knott
Reply | Threaded
Open this post in threaded view
|

Re: Create scan button?

No, the info in the link from Regina did the trick.


On 11/20/2017 08:20 PM, Howard Barr wrote:

> Hi James,
>
> Other than what's been discussed on this list so far was there
> anything else you did to get it to work?
>
> On 21 Nov 2017 01:06, "James Knott" <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     After a few attemps, I finally got it to work right, with the icon
>     showing with view set to automatic.
>
>     tnx jk
>
>
>     On 11/19/2017 09:22 PM, James Knott wrote:
>     > That works, sort of.  I have to leave the size at small to see the
>     > icon.  If I leave it at large or automatic, as originally set, I
>     don't
>     > see it.  I'll have to try a different size icon, to see if that
>     helps.
>     > However, it did say 16x16 was the best size.
>     >
>     > tnx jk
>     >
>     >
>     > On 11/19/2017 07:10 PM, Regina Henschel wrote:
>     >> Hi,
>     >>
>     >> adding icons it a little bit tricky. Please try my answer in
>     >>
>     https://ask.libreoffice.org/en/question/130416/toolbar-icon-does-not-change-when-replaced/
>     <https://ask.libreoffice.org/en/question/130416/toolbar-icon-does-not-change-when-replaced/>
>     >>
>     >>
>     >> Kind regards
>     >> Regina
>     >>
>     >> James Knott schrieb am 19.11.2017 um 20:38:
>     >>> On 11/19/2017 02:14 PM, Robert Großkopf wrote:
>     >>>>> Curious thing.  I found a scanner icon and it shows up in the
>     >>>>> customize
>     >>>>>> panel, on the request item, but not on the tool bar.
>     >>>>>>
>     >>>> Could be you have to change it in the toolbar, too. I have
>     only tested
>     >>>> this with a macro I added to a toolbar - so the command
>     couldn't be
>     >>>> found anywhere else.
>     >>> I tried that.  When I look at "Visible buttons", the icon is
>     shown,
>     >>> along with the word Request, but still not on the tool bar.
>     >>>
>     >>>
>     >>
>     >
>
>
>     --
>     To unsubscribe e-mail to: [hidden email]
>     <mailto:users%[hidden email]>
>     Problems?
>     https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
>     <https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/>
>     Posting guidelines + more:
>     https://wiki.documentfoundation.org/Netiquette
>     <https://wiki.documentfoundation.org/Netiquette>
>     List archive: https://listarchives.libreoffice.org/global/users/
>     <https://listarchives.libreoffice.org/global/users/>
>     All messages sent to this list will be publicly archived and
>     cannot be deleted
>


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