FileName

Hi all, i noticed that if i use FileName node and i attach A iobox string to the filename pin , then using right click a window is prompted to select the file, how can i achieve that result by nodes ?

I mean which way i can make that window open with a toggle or something ?

Thnak u all in advance

I thouhgt was just somethign written in node XML code :)

cant find anything in the code but properly you could try to emulate the “right click” with the cursor module…

Well, i’ll think about it, but…u can grab mouseClick event…i do not think u can then point it to the string node.

its not perfect.
its a kind of “russian way” of doing it (sorry anton and all the other from russia…)

rightklk.v4p (24.3 kB)

I appreciate it a lot, and i noticed that :

  • after u click, some time si gonna pass (LFO?)

  • every left click i do acts like a right click on selectfile window

  • i didn’t get what u do with cursor position, thought i had a fast watching

after 1.5 sec (you can change it at the lfo) the cursor goes to the io-box and makes a right-klik.

“- every left click i do acts like a right click on selectfile window”
?dont understand?

“- i didn’t get what u do with cursor position, thought i had a fast watching”
if you drag&drop the io-box -> the cursor-position changes dynamically getting the values from the get-patch-node

“- every left click i do acts like a right click on selectfile window”
?dont understand?

i mean first time i open the patch, a window si prompted and if i leftclick a folder the context menu popup, just fire a right click event to windows.

“- i didn’t get what u do with cursor position, thought i had a fast watching”
if you drag&drop the io-box → the cursor-position changes dynamically getting the values from the get-patch-node

what can i drag ? and to drop where ?

ah ok.i see.well
here this is a better one:

you can take the filename-input-iobox and put it somewhere in your patch. the cursor position should be the right one (only works in fullscreenmode and the right resolution…)

but beware: strange behaviour! the windows context menu stops vvvv

rightklk2.v4p (24.3 kB)