Hi all,
I'm having a problem with backslashs on windows and none of the solution I found on the web works in my case:
I have an OSC message that has a path to a file. Something like: "c:\folder\image.jpg"
How can I convert that, in PD, to "c:/folder/image.jpg"? I can't control how the OSC messages are generated...
I need to pass it to [pix_image] to load an image, and I tried:
[OSCroute /message] | [unpack s s s] # path is third symbol | |---------- |open $1 ( |---------- | [pix_image]
but I get an "error: GEM: Unable to find file: C:\folder\image.jpg"
Any help would be appreciated.
thanks, jorge
Univ. Católica Portuguesa Jorge Cardoso jorgecardoso@ieee.org Rua Diogo Botelho 1327, 4169-005 - Porto, Portugal tel: 226196200 ext:117 http://jorgecardoso.org
Esta mensagem (incluindo quaisquer anexos) pode conter informação confidencial ou legalmente protegida para uso exclusivo do destinatário. Se não for o destinatário pretendido da mesma, não deverá fazer uso, copiar, distribuir ou revelar o seu conteúdo (incluindo quaisquer anexos) a terceiros, sem a devida autorização. Se recebeu esta mensagem por engano, por favor informe o emissor, por e-mail, e elimine-a imediatamente. Obrigado.
This message may contain confidential information or privileged material, and is intended only for de individual(s) named. If you are not in the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.