Hey,
So, I know how to move a window:
|vis 0, relocate 200x200+1=1 1x1+200+200(
For instance. How do I get this value for a window?
I probably SHOULD know this. I looked around to find this and could not.
getting the location of a PD window
Hey,
So, I know how to move a window:
|vis 0, relocate 200x200+1=1 1x1+200+200(
For instance. How do I get this value for a window?
I probably SHOULD know this. I looked around to find this and could not.
@raynovich I think so and can't remember how.
If you drag a window somewhere you can indirectly get the coordinates by sending [print y( to the patch or sub-patch...... where y will be the name of a file that will be written to the folder that contains the patch.
Look right down the bottom of the file and you will find everything that has happened to the window since it was opened.
I will maybe remember though.........
David.
Thanks trying to get it to work. Another way is to open the file as text. I do not know how to do that though. Right? How do you do that?
@raynovich Change the extension for the file from "pd" to "txt" (maybe different for a mac or for Linux) and then you can open it in a text editor.
And no....... no direct method..... I was thinking of a canvas..... for which you can query its position within the window......
David.
@raynovich You can open a patch with [text]. It does not need to be .txt. The positions there refer to the saved file.
Ok, yes, I can do that.
Next problem. This may be something I can do nothing about..
So, I am using multiple screens in my newest composition. I have been using a screen above my laptop screen. . . . problem. . . the location of screen in that screen are negative values which the PD canvas properties does not seem to want to accept. I assume there is not an easy fix.
I could easily adjust where my screens are located. This is not a big deal, but just wanted to throw that out there..
Essentially, you cannot seem to do something like this:
|vis 0, relocate 200x200+1=1 1x1-100-1000(
Oops! Looks like something went wrong!