Forums > MaxMSP

clipboard on windows ?


f.e
December 1, 2008 | 12:27 pm

Dealing with paths on Windows (don’t know for mac) is always getting me
nervous. I often need to locate a file (usually an audio file) using the
explorer, and i’m bored to create a shortcut, right-click on it, copy
the path, go back to Max and paste it, then change all the bloody / to
, add " when needed and so on. Then delete the shortcuts. So i’ve done
a drag & drop box in my extras that deals with all this stuff. But what
would be magical is if i could send the resultant string into the OS
clipboard. It’ll allow me to only drop the file, then go back to my
message box and paste the path.

Any idea how to deal with clipboard on win without using Java ?

Thanks in advance

f.e


f.e chanfrault | aka | personal computer music
> >>>>>> http://www.personal-computer-music.com
> >>>>>> | film soundtracks, sound art, music |


December 1, 2008 | 12:52 pm

you could use [value ] to implement your own pseudo-clipboard :

– Pasted Max Patch, click to expand. –

2008/12/1 f.e :
> Dealing with paths on Windows (don’t know for mac) is always getting me
> nervous. I often need to locate a file (usually an audio file) using the
> explorer, and i’m bored to create a shortcut, right-click on it, copy the
> path, go back to Max and paste it, then change all the bloody / to , add "
> when needed and so on. Then delete the shortcuts. So i’ve done a drag & drop
> box in my extras that deals with all this stuff. But what would be magical
> is if i could send the resultant string into the OS clipboard. It’ll allow
> me to only drop the file, then go back to my message box and paste the path.
>
> Any idea how to deal with clipboard on win without using Java ?
>
> Thanks in advance
>
> f.e
>
> –
> f.e chanfrault | aka | personal computer music
>>
>> >>>>>> http://www.personal-computer-music.com
>> >>>>>> | film soundtracks, sound art, music |
>
>



f.e
December 1, 2008 | 1:01 pm


December 1, 2008 | 1:21 pm



f.e
December 1, 2008 | 1:50 pm


December 1, 2008 | 2:09 pm

I’m not a Windows user so this may not be a lot of help but, if there is an equivalent to the shell object on windows, could you use whatever the equivalent is to ‘pbcopy’?



f.e
December 1, 2008 | 3:22 pm


Viewing 7 posts - 1 through 7 (of 7 total)