Re: Frescobaldi LilyPond Log

2019-11-26 Thread Steve Cummings
(Apologies for any duplication--I didn't see this alternative mentioned 
in the thread.)


Nothing wrong with the Autohotkey solution but it's pretty easy to 
unstick the stuck font size setting in the log, a known problem in the 
Windows version of Frescobaldi.


The issue has been fixed in the source 
(https://github.com/frescobaldi/frescobaldi/pull/1115, 
https://github.com/frescobaldi/frescobaldi/issues/1066#issuecomment-388319437) 
but as of a few days ago the binary available for download didn't 
include that change. You can apply the fix yourself just by commenting 
out or deleting one line of python code. Stepwise, for us blockheads, it's:


1. Open the file log.py (located in the ..\Frescobaldi\frescobaldi_app\ 
folder) in a text editor -- Frescobaldi will do.


2. Find the line (line number 124 in the current Windows version) that 
reads

    output.setProperty(QTextFormat.FontSizeAdjustment, 0)

3. Comment out that line (put a # at the beginning of the line).

4. Save the file.

When you close and restart Frescobaldi the font setting for the log 
should work--did for me.


You can delete the line instead of commenting it out. Either way, with 
that change the mousewheel/Autohotkey zoom no longer works.





Re: Frescobaldi LilyPond Log

2019-11-03 Thread Freeman Gilmore
Problem solved for LilyPond log font size using AutoHotkey.   Thanke for
the help from Ben (sounds from sound).

Thank you all,
fg


On Sat, Nov 2, 2019 at 11:10 PM Ben  wrote:

> On 11/2/2019 10:57 PM, Freeman Gilmore wrote:
>
>
>
> On Sat, Nov 2, 2019 at 10:51 PM Ben  wrote:
>
>> On 11/2/2019 10:16 PM, Freeman Gilmore wrote:
>>
>>
>>
>> On Sat, Nov 2, 2019 at 9:59 PM Ben  wrote:
>>
>>> On 11/2/2019 9:31 PM, Freeman Gilmore wrote:
>>>
>>>
>>>
>>> On Sat, Nov 2, 2019 at 9:26 PM Ben  wrote:
>>>
 On 11/2/2019 8:16 PM, Freeman Gilmore wrote:

 Is there a way to make the font larger in the Frescobaldi, LilyPond
 Log?
 Thank you,
 ƒg

 Yes, you can hover the mouse over the log and use the mouse wheel +
 control key to change font size. :)

>>> Is there a way to simulate the Wheel? I use a touchpad.
>>> Thank you,
>>> ƒg
>>>
>>>
>>> There can be yes, but it depends. What hardware are you using? Laptop
>>> brand/model? What OS?
>>>
>> I have a Dell that has a Simulated Wheel, touchpad is designed for it
>> but i do not use that for Frescobaldi.   The touchpad keyboard i am
>> using does not know how many fingers i am using on the pad.   Just thinking
>> there could be so way to set the keys to simulate a wheel.   Probably not.
>> Thank you,
>> ƒg
>>
>> Hi,
>>
>> Right. But are you running Windows on that Dell or a Linux flavor? I'm
>> just going to guess and assume Windows.
>>
>> If so, it's pretty easy to setup an AutoHotKey script to simulate a mouse
>> scroll wheel up/down so that's what I would do if you don't have/can't get
>> access to a mouse.
>>
> Windows but i would not have a clue.   I will try to find how.
> Thanks you.
> ƒg
>
> No problem, I got you.  :)
>
> Here's what you do:
>
> *First, download AutoHotKey.*
>
> https://www.autohotkey.com/download/ahk-install.exe
>
> Install it, defaults are fine.
>
> *Then, download this script to your desktop (it's an .AHK file) - a script
> that maps the entire NUMPAD to mouse controls.*
>
> https://www.autohotkey.com/docs/scripts/NumpadMouse.ahk
>
> (you only need to worry about the scroll options which is NUM add / NUM
> sub ( + -)
>
> *Then, double click the AHK file to "run it". You should see the icon in
> your tray now.*
>
> That's it! :)
>
> *Now, if you hold CONTROL + the NUMPAD minus or plus, you can scroll the
> font size in Frescobaldi log files.*
>
> Just tested it, works beautifully.
>
> Just make sure you have SCROLL LOCK for this to work.
>
> When you're finished and the log is the right size, you can always close
> the script from your tray and go back to whatever you had.
>
> Hope this helps!
>
>
> 
>
> */*
> oo
> |Using Keyboard Numpad as a Mouse|
> ()
> | By deguix   / A Script file for AutoHotkey 1.0.22+ |
> ||
> ||
> |This script is an example of use of AutoHotkey. It uses |
> | the remapping of numpad keys of a keyboard to transform it |
> | into a mouse. Some features are the acceleration which |
> | enables you to increase the mouse movement when holding|
> | a key for a long time, and the rotation which makes the|
> | numpad mouse to "turn". I.e. NumpadDown as NumpadUp|
> | and vice-versa. See the list of keys used below:   |
> ||
> ||
> | Keys  | Description|
> ||
> | ScrollLock (toggle on)| Activates numpad mouse mode.   |
> |---||
> | Numpad0   | Left mouse button click.   |
> | Numpad5   | Middle mouse button click. |
> | NumpadDot | Right mouse button click.  |
> | NumpadDiv/NumpadMult  | X1/X2 mouse button click. (Win 2k+)|
> | NumpadSub/NumpadAdd   | Moves up/down the mouse wheel. |
> |   ||
> |---||
> | NumLock (toggled off) | Activates mouse movement mode. |
> |---||
> | NumpadEnd/Down/PgDn/  | Mouse movement.|
> | /Left/Right/Home/Up/  ||
> | /PgUp ||
> |   ||
> |---||
> | NumLock (toggled on)  | Activates mouse speed adj. mode.   |
> |---||
> | Numpad7/Numpad1   | Inc./dec. acceleration 

Re: Frescobaldi LilyPond Log

2019-11-02 Thread Ben

On 11/2/2019 10:57 PM, Freeman Gilmore wrote:



On Sat, Nov 2, 2019 at 10:51 PM Ben > wrote:


On 11/2/2019 10:16 PM, Freeman Gilmore wrote:



On Sat, Nov 2, 2019 at 9:59 PM Ben mailto:soundsfromso...@gmail.com>> wrote:

On 11/2/2019 9:31 PM, Freeman Gilmore wrote:



On Sat, Nov 2, 2019 at 9:26 PM Ben
mailto:soundsfromso...@gmail.com>> wrote:

On 11/2/2019 8:16 PM, Freeman Gilmore wrote:

Is there a way to make the font larger in the
Frescobaldi, LilyPond Log?
Thank you,
ƒg


Yes, you can hover the mouse over the log and use the
mouse wheel + control key to change font size. :)

Is there a way to simulate the Wheel?     I use a touchpad.
Thank you,
ƒg



There can be yes, but it depends. What hardware are you
using? Laptop brand/model? What OS?

I have a Dell that has a Simulated Wheel, touchpad is designed
for it  but i do not use that for Frescobaldi.  The touchpad
keyboard i am using does not know how many fingers i am using on
the pad.  Just thinking there could be so way to set the keys to
simulate a wheel.   Probably not.
Thank you,
ƒg


Hi,

Right. But are you running Windows on that Dell or a Linux flavor?
I'm just going to guess and assume Windows.

If so, it's pretty easy to setup an AutoHotKey script to simulate
a mouse scroll wheel up/down so that's what I would do if you
don't have/can't get access to a mouse.

Windows but i would not have a clue.   I will try to find how.
Thanks you.
ƒg


No problem, I got you.  :)

Here's what you do:

*First, download AutoHotKey.*

https://www.autohotkey.com/download/ahk-install.exe

Install it, defaults are fine.

*Then, download this script to your desktop (it's an .AHK file) - a 
script that maps the entire NUMPAD to mouse controls.*


https://www.autohotkey.com/docs/scripts/NumpadMouse.ahk

(you only need to worry about the scroll options which is NUM add / NUM 
sub ( + -)


*Then, double click the AHK file to "run it". You should see the icon in 
your tray now.*


That's it! :)

*Now, if you hold CONTROL + the NUMPAD minus or plus, you can scroll the 
font size in Frescobaldi log files.*


Just tested it, works beautifully.

Just make sure you have SCROLL LOCK for this to work.

When you're finished and the log is the right size, you can always close 
the script from your tray and go back to whatever you had.


Hope this helps!




//* oo 
|Using Keyboard Numpad as a Mouse | 
() | By 
deguix / A Script file for AutoHotkey 1.0.22+ | | 
| | | | This script is an 
example of use of AutoHotkey. It uses | | the remapping of numpad keys 
of a keyboard to transform it | | into a mouse. Some features are the 
acceleration which | | enables you to increase the mouse movement when 
holding | | a key for a long time, and the rotation which makes the | | 
numpad mouse to "turn". I.e. NumpadDown as NumpadUp | | and vice-versa. 
See the list of keys used below: | | | 
|| | Keys | 
Description | 
|| | 
ScrollLock (toggle on)| Activates numpad mouse mode. | 
|---|| | Numpad0 
| Left mouse button click. | | Numpad5 | Middle mouse button click. | | 
NumpadDot | Right mouse button click. | | NumpadDiv/NumpadMult | X1/X2 
mouse button click. (Win 2k+)| | NumpadSub/NumpadAdd | Moves up/down the 
mouse wheel. | | | | 
|---|| | NumLock 
(toggled off) | Activates mouse movement mode. | 
|---|| | 
NumpadEnd/Down/PgDn/ | Mouse movement. | | /Left/Right/Home/Up/ | | | 
/PgUp | | | | | 
|---|| | NumLock 
(toggled on) | Activates mouse speed adj. mode. | 
|---|| | 
Numpad7/Numpad1 | Inc./dec. acceleration per | | | button press. | | 
Numpad8/Numpad2 | Inc./dec. initial speed per | | | button press. | | 
Numpad9/Numpad3 | Inc./dec. maximum speed per | | | button press. | | 
^Numpad7/^Numpad1 | Inc./dec. wheel acceleration per | | | button 
press*. | | ^Numpad8/^Numpad2 | Inc./dec. wheel initial speed per | | | 
button press*. | | ^Numpad9/^Numpad3 | Inc./dec. wheel maximum speed per 
| | | button press*. | | Numpad4/Numpad6 | Inc./dec. rotation angle to | 
| | right in degrees. (i.e. 180° = | | | = inversed controls). | 
|| | * = 
These options are affected by the mouse wheel speed | | adjusted on 
Control Panel. If you 

Re: Frescobaldi LilyPond Log

2019-11-02 Thread Freeman Gilmore
On Sat, Nov 2, 2019 at 10:51 PM Ben  wrote:

> On 11/2/2019 10:16 PM, Freeman Gilmore wrote:
>
>
>
> On Sat, Nov 2, 2019 at 9:59 PM Ben  wrote:
>
>> On 11/2/2019 9:31 PM, Freeman Gilmore wrote:
>>
>>
>>
>> On Sat, Nov 2, 2019 at 9:26 PM Ben  wrote:
>>
>>> On 11/2/2019 8:16 PM, Freeman Gilmore wrote:
>>>
>>> Is there a way to make the font larger in the Frescobaldi, LilyPond Log?
>>> Thank you,
>>> ƒg
>>>
>>> Yes, you can hover the mouse over the log and use the mouse wheel +
>>> control key to change font size. :)
>>>
>> Is there a way to simulate the Wheel? I use a touchpad.
>> Thank you,
>> ƒg
>>
>>
>> There can be yes, but it depends. What hardware are you using? Laptop
>> brand/model? What OS?
>>
> I have a Dell that has a Simulated Wheel, touchpad is designed for it  but
> i do not use that for Frescobaldi.   The touchpad keyboard i am using
> does not know how many fingers i am using on the pad.   Just thinking there
> could be so way to set the keys to simulate a wheel.   Probably not.
> Thank you,
> ƒg
>
> Hi,
>
> Right. But are you running Windows on that Dell or a Linux flavor? I'm
> just going to guess and assume Windows.
>
> If so, it's pretty easy to setup an AutoHotKey script to simulate a mouse
> scroll wheel up/down so that's what I would do if you don't have/can't get
> access to a mouse.
>
Windows but i would not have a clue.   I will try to find how.
Thanks you.
ƒg


Re: Frescobaldi LilyPond Log

2019-11-02 Thread Ben

On 11/2/2019 10:16 PM, Freeman Gilmore wrote:



On Sat, Nov 2, 2019 at 9:59 PM Ben > wrote:


On 11/2/2019 9:31 PM, Freeman Gilmore wrote:



On Sat, Nov 2, 2019 at 9:26 PM Ben mailto:soundsfromso...@gmail.com>> wrote:

On 11/2/2019 8:16 PM, Freeman Gilmore wrote:

Is there a way to make the font larger in the Frescobaldi,
LilyPond Log?
Thank you,
ƒg


Yes, you can hover the mouse over the log and use the mouse
wheel + control key to change font size. :)

Is there a way to simulate the Wheel?     I use a touchpad.
Thank you,
ƒg



There can be yes, but it depends. What hardware are you using?
Laptop brand/model? What OS?

I have a Dell that has a Simulated Wheel, touchpad is designed for it  
but i do not use that for Frescobaldi.  The touchpad keyboard i am 
using does not know how many fingers i am using on the pad.   Just 
thinking there could be so way to set the keys to simulate a wheel. 
 Probably not.

Thank you,
ƒg


Hi,

Right. But are you running Windows on that Dell or a Linux flavor? I'm 
just going to guess and assume Windows.


If so, it's pretty easy to setup an AutoHotKey script to simulate a 
mouse scroll wheel up/down so that's what I would do if you don't 
have/can't get access to a mouse.





Re: Frescobaldi LilyPond Log

2019-11-02 Thread Freeman Gilmore
On Sat, Nov 2, 2019 at 9:59 PM Ben  wrote:

> On 11/2/2019 9:31 PM, Freeman Gilmore wrote:
>
>
>
> On Sat, Nov 2, 2019 at 9:26 PM Ben  wrote:
>
>> On 11/2/2019 8:16 PM, Freeman Gilmore wrote:
>>
>> Is there a way to make the font larger in the Frescobaldi, LilyPond Log?
>> Thank you,
>> ƒg
>>
>> Yes, you can hover the mouse over the log and use the mouse wheel +
>> control key to change font size. :)
>>
> Is there a way to simulate the Wheel? I use a touchpad.
> Thank you,
> ƒg
>
>
> There can be yes, but it depends. What hardware are you using? Laptop
> brand/model? What OS?
>
I have a Dell that has a Simulated Wheel, touchpad is designed for it  but
i do not use that for Frescobaldi.   The touchpad keyboard i am using does
not know how many fingers i am using on the pad.   Just thinking there
could be so way to set the keys to simulate a wheel.   Probably not.
Thank you,
ƒg


Re: Frescobaldi LilyPond Log

2019-11-02 Thread Ben

On 11/2/2019 9:31 PM, Freeman Gilmore wrote:



On Sat, Nov 2, 2019 at 9:26 PM Ben > wrote:


On 11/2/2019 8:16 PM, Freeman Gilmore wrote:

Is there a way to make the font larger in the Frescobaldi,
LilyPond Log?
Thank you,
ƒg


Yes, you can hover the mouse over the log and use the mouse wheel
+ control key to change font size. :)

Is there a way to simulate the Wheel?     I use a touchpad.
Thank you,
ƒg



There can be yes, but it depends. What hardware are you using? Laptop 
brand/model? What OS?




Re: Frescobaldi LilyPond Log

2019-11-02 Thread Andrew Bernard
Well thanks Colin, I never knew this. Most appreciated!

Andrew


On Sun, 3 Nov 2019 at 11:41, Colin Campbell  wrote:

>
> Here's an odd one: on my Fedora desktop, running Frescobaldi 3.0.0 I can
> change the type face of the log in Edit|Preferences|Tools. There is also
> a dropdown which looks as though it should change the size, but has no
> effect. However, I can click in the log pane, hold Ctrl and roll the
> mouse wheel to change size. Ctrl - and Ctrl + only change the zoom in
> the music pane.
>
>


Re: Frescobaldi LilyPond Log

2019-11-02 Thread Freeman Gilmore
On Sat, Nov 2, 2019 at 9:26 PM Ben  wrote:

> On 11/2/2019 8:16 PM, Freeman Gilmore wrote:
>
> Is there a way to make the font larger in the Frescobaldi, LilyPond Log?
> Thank you,
> ƒg
>
> Yes, you can hover the mouse over the log and use the mouse wheel +
> control key to change font size. :)
>
Is there a way to simulate the Wheel? I use a touchpad.
Thank you,
ƒg


Re: Frescobaldi LilyPond Log

2019-11-02 Thread Ben

On 11/2/2019 8:16 PM, Freeman Gilmore wrote:

Is there a way to make the font larger in the Frescobaldi, LilyPond Log?
Thank you,
ƒg


Yes, you can hover the mouse over the log and use the mouse wheel + 
control key to change font size. :)




Re: Frescobaldi LilyPond Log

2019-11-02 Thread Colin Campbell

On 2019-11-02 6:19 p.m., Andrew Bernard wrote:

Good question. I have been wanting to make it smaller for a long time.

Andrew

On Sun, 3 Nov 2019 at 11:17, Freeman Gilmore 
mailto:freeman.gilm...@gmail.com>> wrote:


Is there a way to make the font larger in the Frescobaldi,
LilyPond Log?

Here's an odd one: on my Fedora desktop, running Frescobaldi 3.0.0 I can 
change the type face of the log in Edit|Preferences|Tools. There is also 
a dropdown which looks as though it should change the size, but has no 
effect. However, I can click in the log pane, hold Ctrl and roll the 
mouse wheel to change size. Ctrl - and Ctrl + only change the zoom in 
the music pane.



Cheers,

Colin

--
My two favorite things in life are libraries and bicycles. They both 
move people forward without wasting anything. The perfect day: riding a 
bike to the library.

- Peter Golkin, museum spokesman (1966- )



Re: Frescobaldi LilyPond Log

2019-11-02 Thread Andrew Bernard
Good question. I have been wanting to make it smaller for a long time.

Andrew

On Sun, 3 Nov 2019 at 11:17, Freeman Gilmore 
wrote:

> Is there a way to make the font larger in the Frescobaldi, LilyPond Log?
>
>