How to make movable lines on screen?

Moderators: 666philb, Forum moderators

Post Reply
boof
Posts: 585
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

How to make movable lines on screen?

Post by boof »

I want at least 3 horiz screen lines I can individually move up/down with cursor and toggle on/off with a macro key. an individual choice from 2 colours toggle? would be nice. screensize 1920x820 colours: yellow & white. thickness 5? pixels

User avatar
MochiMoppel
Posts: 1343
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 22 times
Been thanked: 521 times

Re: How to make movable lines on screen?

Post by MochiMoppel »

It's relatively simple to achieve. In principle I did this already with the pxRuler. If you strip all markings/text from the ruler, make it 5px tall in the color you like then you will end up with a line. It's actually a window which you can minimize/restore (= hide/show) and move around your screen.

But what has this to do with Fossapup64?

boof
Posts: 585
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

Re: How to make movable lines on screen?

Post by boof »

i'm forex trading, and need guidelines across the trending screen to watch for buy/sell points more easily. the information is too spread out for good, fast responses. refocussing takes too long and is a tiring strain I'm sure it's deliberate.

User avatar
rockedge
Site Admin
Posts: 7037
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 3159 times
Been thanked: 2941 times
Contact:

Re: How to make movable lines on screen?

Post by rockedge »

@boof Looks like @MochiMoppel was able to code a script to do what you require.

This is the post where the code is displayed and some info about the script -> viewtopic.php?p=76743#p76743

To move the line press and hold the Alt key and left click the mouse with the cursor on the line, then move it up or down, side to side.
Or simply right click the tray select "Move"

Screenshot(1).gif
Screenshot(1).gif (363.54 KiB) Viewed 840 times
boof
Posts: 585
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

Re: How to make movable lines on screen?

Post by boof »

wonderful, but what is a suitable filename extension pls? where save it if special?
it doesn't quite work. hitting <ALT> +< left mouse> on the line moves whole window, not just line. and nothing in tray. also freezes market tracking data.

User avatar
MochiMoppel
Posts: 1343
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 22 times
Been thanked: 521 times

Re: How to make movable lines on screen?

Post by MochiMoppel »

boof wrote: Tue Dec 27, 2022 9:18 pm

wonderful, but what is a suitable filename extension pls?

The common extension for shell scripts is .sh

where save it if special?

There is nothing special about the script. Save it where you save other scripts, e.g. /usr/bin

it doesn't quite work

I'm in Fossa64 now, and it works!

hitting <ALT> +< left mouse> on the line moves whole window, not just line

That means that you missed the line and moved the underlying data window instead. Read my instructions. Press the left mouse button only when you see the tooltip and do not move the mouse before and while clicking. A sensitive mouse and/or a shaky hand can make this difficult. Instead use the "Move" command in the taskbar tab. Rockedge's screenshot shows you how to do it.

. and nothing in tray.

Fossa64 comes with 2 trays. We are talking here about the tray at the top, not at the bottom[Edit] I'm using the unofficial Fossa64_9.6. In 9.5 the tray is at the bottom. When the red line is displayed you should see a tab called "red" at the top bottom. Right click it!

also freezes market tracking data.

I'm sure your tracking data misery has absolutely nothing to do with this script, Do I really have to state that this script comes with no warranty whatsoever? I will not take responsibility for your financial losses. Just don't use it if it brings you bad luck.

Last edited by MochiMoppel on Thu Dec 29, 2022 2:46 pm, edited 1 time in total.
User avatar
rockedge
Site Admin
Posts: 7037
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 3159 times
Been thanked: 2941 times
Contact:

Re: How to make movable lines on screen?

Post by rockedge »

I will not take responsibility for your financial losses.

Sounds like something the crypto-bankers and Wall St. execs like to say. :geek: Basic stuff one hears in Connecticut, home to the hedge fund and insurance for profit people who think they own everything.

I'm sure in Japan one hears the same.

User avatar
MochiMoppel
Posts: 1343
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 22 times
Been thanked: 521 times

Re: How to make movable lines on screen?

Post by MochiMoppel »

rockedge wrote: Wed Dec 28, 2022 1:34 pm

I'm sure in Japan one hears the same.

Are you kidding? Nobody will say this to you. That would be rude. However you may read this - on page 20 of the 6pt fine print.

User avatar
rockedge
Site Admin
Posts: 7037
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 3159 times
Been thanked: 2941 times
Contact:

Re: How to make movable lines on screen?

Post by rockedge »

However you may read this - on page 20 of the 6pt fine print

Exactly. One way or another.

boof
Posts: 585
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

Re: How to make movable lines on screen?

Post by boof »

thx, lets be clear, exactly what is a tool tip, pls? i assume it doesn't instantly appear?

boof
Posts: 585
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

Re: How to make movable lines on screen?

Post by boof »

works perfectly,vhave red andyellow lines tuvm

User avatar
MochiMoppel
Posts: 1343
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 22 times
Been thanked: 521 times

Re: How to make movable lines on screen?

Post by MochiMoppel »

boof wrote: Thu Dec 29, 2022 5:04 am

works perfectly,vhave red andyellow lines tuvm

Good to know that you worked it out.
But nothing is perfect. I'll soon post an update that works even perfectlier ;)
What is "vhave" and "tuvm"?

User avatar
MochiMoppel
Posts: 1343
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 22 times
Been thanked: 521 times

Re: How to make movable lines on screen?

Post by MochiMoppel »

@boof I've posted some variations of the script. They might make it easier for you to position the line.
Image

Post Reply

Return to “Fossapup64”