Re: Creating a ScreenShot HotKey Script

2023-09-28 Thread George N. White III
On Wed, Sep 27, 2023 at 10:09 PM Philip Rhoades via users <
users@lists.fedoraproject.org> wrote:

> wwp,
>
>
> On 2023-09-17 07:19, wwp wrote:
> > Hello Philip,
> >
> >
> > On Sat, 16 Sep 2023 22:12:02 +1000 Philip Rhoades via users
> >  wrote:
> >
> >> I want to scroll through doc pages in a script loop doing a screenshot
> >> for each page eg the procedure would be:
> >>
> >> 1. Display the first page of the doc you want to screenshot.
> >>
> >> 2. Hit CTRL-PrtScrn (say) to start the script loop.
> >>
> >> The script does a screenshot of the current screen.
> >> The Right Arrow or PageDn key is sent from the script to advance
> >> the doc to the next page.
> >> The script continues to loop . .
> >>
> >> 3. The script is stopped by CTRL-C (say).
> >>
> >> Is this possible?  Should I be trying to do this from Sway?
> >
> > What file format is your document?
>
>
> A proprietary one which isn't easily convertible.
>

> > Couldn't you "just" export pages to
> > another (image) format?
>
> No.
>
> > IOW, why do you want to make *screenshots*?
>
> To OCR them to text to create multi-page PDFs.
>

And presumably spend time on font changes, headers, footers,
etc.   Is there an index?

I have used strings to get the text and then added (LaTeX)
markup to produce PDF's.   OCR is much better now, but
still makes mistakes, so careful proofreading is needed.  Are
you planning to correct typos in the original text?   Do you want
to reproduce the contents of each page?   One reason for converting
to LaTeX was to get ligatures and kerning and a more readable and
compact font to reduce the number of pages and hence printing costs.

-- 
George N. White III
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Creating a ScreenShot HotKey Script

2023-09-27 Thread Tim via users
wwp:
>> What file format is your document?


Philip Rhoades:
> A proprietary one which isn't easily convertible.


>> Couldn't you "just" export pages to another (image) format?

> No.


>> IOW, why do you want to make *screenshots*?

> To OCR them to text to create multi-page PDFs.


Stating the obvious, but sometimes it's useful to do so:

Can you "select all" in the document, copy to the clipboard, then paste
into somewhere else?

I've done that many a time to demangle someone's word processor files,
full of masses of overlapping and conflicting formatting.

And sometimes "print to file" is a useful export tool, too.

-- 
 
uname -rsvp
Linux 3.10.0-1160.99.1.el7.x86_64 #1 SMP Wed Sep 13 14:19:20 UTC 2023 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Creating a ScreenShot HotKey Script

2023-09-27 Thread Philip Rhoades via users

Jonathan,


On 2023-09-17 04:44, Jonathan Billings wrote:

On Sep 16, 2023, at 10:28, stan via users
 wrote:






On Sat, 16 Sep 2023 22:12:02 +1000
Philip Rhoades via users  wrote:


Is this possible?  Should I be trying to do this from Sway?


I don't have an answer for you, but isn't sway a microsoft product?
Maybe it would be better to ask on a microsoft forum?


Sway is a tiling window manager/compositor for Wayland.
https://swaywm.org/

Not sure what you’re talking about, it certainly isn’t a Microsoft
product.  Sway is a Wayland-based compositor that is a replacement for
i3 (a tiling WM for X11).

For what it’s worth, it does appear that there is an automation tool
for wlroot-based compositors (such as sway): wrlctl (
https://git.sr.ht/~brocellous/wlrctl ). It’s not packaged for fedora
yet, though.



Hmm . . interesting - I usually try to stick to RPMs but will build / 
compile stuff if I have to . . I will have a look at wrlctl .


Thanks!

Phil.



___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue


--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Creating a ScreenShot HotKey Script

2023-09-27 Thread Philip Rhoades via users

wwp,


On 2023-09-17 07:19, wwp wrote:

Hello Philip,


On Sat, 16 Sep 2023 22:12:02 +1000 Philip Rhoades via users
 wrote:

I want to scroll through doc pages in a script loop doing a screenshot 
for each page eg the procedure would be:


1. Display the first page of the doc you want to screenshot.

2. Hit CTRL-PrtScrn (say) to start the script loop.

The script does a screenshot of the current screen.
The Right Arrow or PageDn key is sent from the script to advance 
the doc to the next page.

The script continues to loop . .

3. The script is stopped by CTRL-C (say).

Is this possible?  Should I be trying to do this from Sway?


What file format is your document?



A proprietary one which isn't easily convertible.



Couldn't you "just" export pages to
another (image) format?



No.



IOW, why do you want to make *screenshots*?



To OCR them to text to create multi-page PDFs.

Thanks,

Phil.



___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue


--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Creating a ScreenShot HotKey Script

2023-09-17 Thread stan via users
On Sat, 16 Sep 2023 14:44:00 -0400
Jonathan Billings  wrote:

> On Sep 16, 2023, at 10:28, stan via users
>  wrote:
> > 
> > On Sat, 16 Sep 2023 22:12:02 +1000
> > Philip Rhoades via users  wrote:
> >   
> >> Is this possible?  Should I be trying to do this from Sway?  
> > 
> > I don't have an answer for you, but isn't sway a microsoft product?
> > Maybe it would be better to ask on a microsoft forum?  
> 
> Sway is a tiling window manager/compositor for Wayland.  
> https://swaywm.org/
> Not sure what you’re talking about, it certainly isn’t a Microsoft
> product.  Sway is a Wayland-based compositor that is a replacement
> for i3 (a tiling WM for X11).

https://support.microsoft.com/en-us/office/getting-started-with-sway-2076c468-63f4-4a89-ae5f-424796714a8a

Sway is a new app from Microsoft Office that makes it easy to create
and share interactive reports, personal stories, presentations, and
more. Start by adding your own text and pictures, search for and import
relevant content from other sources, and then watch Sway do the rest.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Creating a ScreenShot HotKey Script

2023-09-16 Thread wwp
Hello Philip,


On Sat, 16 Sep 2023 22:12:02 +1000 Philip Rhoades via users 
 wrote:

> I want to scroll through doc pages in a script loop doing a screenshot for 
> each page eg the procedure would be:
> 
> 1. Display the first page of the doc you want to screenshot.
> 
> 2. Hit CTRL-PrtScrn (say) to start the script loop.
> 
> The script does a screenshot of the current screen.
> The Right Arrow or PageDn key is sent from the script to advance the doc 
> to the next page.
> The script continues to loop . .
> 
> 3. The script is stopped by CTRL-C (say).
> 
> Is this possible?  Should I be trying to do this from Sway?

What file format is your document? Couldn't you "just" export pages to
another (image) format? IOW, why do you want to make *screenshots*?


Regards,

-- 
wwp
https://useplaintext.email/


pgpnd56IPIw0s.pgp
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Creating a ScreenShot HotKey Script

2023-09-16 Thread Jonathan Billings
On Sep 16, 2023, at 10:28, stan via users  wrote:
> 
> On Sat, 16 Sep 2023 22:12:02 +1000
> Philip Rhoades via users  wrote:
> 
>> Is this possible?  Should I be trying to do this from Sway?
> 
> I don't have an answer for you, but isn't sway a microsoft product?
> Maybe it would be better to ask on a microsoft forum?

Sway is a tiling window manager/compositor for Wayland.  
https://swaywm.org/

Not sure what you’re talking about, it certainly isn’t a Microsoft product.  
Sway is a Wayland-based compositor that is a replacement for i3 (a tiling WM 
for X11).

For what it’s worth, it does appear that there is an automation tool for 
wlroot-based compositors (such as sway): wrlctl ( 
https://git.sr.ht/~brocellous/wlrctl ). It’s not packaged for fedora yet, 
though.

-- 
Jonathan Billings___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Creating a ScreenShot HotKey Script

2023-09-16 Thread George N. White III
On Sat, Sep 16, 2023 at 9:12 AM Philip Rhoades via users <
users@lists.fedoraproject.org> wrote:

> People,
>
> I want to scroll through doc pages in a script loop doing a screenshot
> for each page eg the procedure would be:
>
> 1. Display the first page of the doc you want to screenshot.
>
> 2. Hit CTRL-PrtScrn (say) to start the script loop.
>
> The script does a screenshot of the current screen.
> The Right Arrow or PageDn key is sent from the script to advance the
> doc to the next page.
> The script continues to loop . .
>
> 3. The script is stopped by CTRL-C (say).
>
> Is this possible?  Should I be trying to do this from Sway?
>

I used to make images for pages of PostScript documents back when
few system could view PostScript.  Ghostscrpt had a way to do this that
generated image names from a filename template with something like
%d for page number.   Just checked "man gs" and the capability seems
to remain.


>
> Thanks,
>
> Phil.
>
> --
> Philip Rhoades
>
> PO Box 896
> Cowra  NSW  2794
> Australia
> E-mail:  p...@pricom.com.au
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>


-- 
George N. White III
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Creating a ScreenShot HotKey Script

2023-09-16 Thread stan via users
On Sat, 16 Sep 2023 22:12:02 +1000
Philip Rhoades via users  wrote:

> I want to scroll through doc pages in a script loop doing a
> screenshot for each page eg the procedure would be:
> 
> 1. Display the first page of the doc you want to screenshot.
> 
> 2. Hit CTRL-PrtScrn (say) to start the script loop.
> 
> The script does a screenshot of the current screen.
> The Right Arrow or PageDn key is sent from the script to advance
> the doc to the next page.
> The script continues to loop . .
> 
> 3. The script is stopped by CTRL-C (say).
> 
> Is this possible?  Should I be trying to do this from Sway?

I don't have an answer for you, but isn't sway a microsoft product?
Maybe it would be better to ask on a microsoft forum?

If you want to do it in linux, you would probably open the doc in
libre-office.  The tricky part is how to send the commands to the
libre-office instance from a script.  And a separate screen shot
utility that can send the screenshot to a chosen directory.  Is there
a linux desktop that has a macro capability?  That would be useful for
this, as it could record you doing the first one, and then you could
just repeat that by firing off the macro with a hot key.

It becomes really easy if libre-office has macro capability, and can
also take screenshots.  I don't know if that is true.

There might also be interface modules for libre-office and a screenshot
utility for one of the scripting languages, python, perl, ruby, lua,
etc. They can also send commands to the OS if you wanted to use the
system print screen.  Then you just open the applications from the
scripting language and send the commands you want from the scripting
language in a loop.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Creating a ScreenShot HotKey Script

2023-09-16 Thread Peter Boy


> Am 16.09.2023 um 14:12 schrieb Philip Rhoades via users 
> :
> 
> People,
> 
> I want to scroll through doc pages in a script loop doing a screenshot for 
> each page eg the procedure would be:
> 
> 1. Display the first page of the doc you want to screenshot.
> 
> 2. Hit CTRL-PrtScrn (say) to start the script loop.
> 
>   The script does a screenshot of the current screen.
>   The Right Arrow or PageDn key is sent from the script to advance the doc to 
> the next page.
>   The script continues to loop . .
> 
> 3. The script is stopped by CTRL-C (say).
> 
> Is this possible?  Should I be trying to do this from Sway?
> 
> Thanks,
> 
> Phil.

I suppose, a script (bash) won’t work. But most GUIs have a kind of ‚keyboard 
macro recorder‘ which records your keystrokes, enables you to edit it and to 
replay it as often as you like.

But I don’t know anything about Sway.


A question OT (sorry for that)

I found a post by you on Podman.io regarding installation of Jitsi on Fedora 
(https://lists.podman.io/archives/list/pod...@lists.podman.io/thread/PBW4SEEDHNAC7V5C53IRHJMITLK7XIZA/)

Did you made progress with that?

I’m on my way to install Jitsi on Fedora Server using container and write 
documentation about it.

Thanks in advance.


Peter  



--
Peter Boy
https://fedoraproject.org/wiki/User:Pboy
p...@fedoraproject.org

Timezone: CET (UTC+1) / CEST /UTC+2)

Fedora Server Edition Working Group member
Fedora Docs team contributor and board member
Java developer and enthusiast


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Creating a ScreenShot HotKey Script

2023-09-16 Thread Philip Rhoades via users

People,

I want to scroll through doc pages in a script loop doing a screenshot 
for each page eg the procedure would be:


1. Display the first page of the doc you want to screenshot.

2. Hit CTRL-PrtScrn (say) to start the script loop.

   The script does a screenshot of the current screen.
   The Right Arrow or PageDn key is sent from the script to advance the 
doc to the next page.

   The script continues to loop . .

3. The script is stopped by CTRL-C (say).

Is this possible?  Should I be trying to do this from Sway?

Thanks,

Phil.

--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue