Dear list,

I wrote loadmess object for (re)-cyclone library.
For "holding keys at loading patch time" behavior I do a pd_bind with
keyname symbol in g_editor and I compare the symbol that I receive from the
pd_list in canvas_key function. However, for do this I need to sacrifice
the loadbang function and I write a clock for waiting enough time to get
something from the pd_list.
So, it is not the best programming practice but it works and it is quite
transparent from the user point of view.

If someone of you has some idea I'm very happy to listen your suggestions.

Best regards,

Marco

2016-03-30 0:57 GMT+02:00 Lucas Cordiviola <[email protected]>:

> Oh Ok, that. I don't know.
>
>
> Salutti
>
> Mensaje telepatico asistido por maquinas.
>
> ------------------------------
> Date: Tue, 29 Mar 2016 19:29:56 -0300
> Subject: Re: [PD] holding keys on patchload to affect object behaviour
> From: [email protected]
> To: [email protected]
> CC: [email protected]
>
>
> well, I'm not looking for workarounds, I just wanna know if it is possible
> to do that - knowing if certain keys are pressed to disable an object's
> feature or something.
>
> cheers
>
> 2016-03-29 18:40 GMT-03:00 Lucas Cordiviola <[email protected]>:
>
> Sorry Alexander perhaps I didn't understand you.
>
> If -noloadbang is not what you need, I.e to debug something that went
> wrong, you can do yourself what you describe in your patch. Put a delay in
> the loadbang. [key] [keyname]
>
> Salutti
>
> Mensaje telepatico asistido por maquinas.
>
> ------------------------------
> From: [email protected]
> To: [email protected]; [email protected]
> Date: Tue, 29 Mar 2016 20:21:59 +0000
> Subject: Re: [PD] holding keys on patchload to affect object behaviour
>
>
> Hi,
>
> Not exactly what you describe but perhaps you need it.
>
> pd/doc/1.manual/x3.htm
>
> general flags:
>
> -noloadbang
>
>
> :)
>
> Mensaje telepatico asistido por maquinas.
>
> ------------------------------
> Date: Tue, 29 Mar 2016 16:16:24 -0300
> From: [email protected]
> To: [email protected]
> Subject: [PD] holding keys on patchload to affect object behaviour
>
> hello, is the a way for Pd to know what keys are being held down when a
> patch is loading so it changes the behaviour of an object?
>
> for example, to prevent loadbangs to send a bang at load time?
>
> it would have to be something like:
>
> hold down Shift-Command (Mac) or Shift-Ctrl (PC) to disable loadmess
> firing at patcher load
>
> yes, this is for implementing a clone of [loadmess] object from max, and
> this is the only discrepancy left...
>
> cheers
>
> _______________________________________________ [email protected]
> mailing list UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
> _______________________________________________ [email protected]
> mailing list UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
>
> _______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to