Forums > MaxMSP

Max alias keyboard

January 19, 2007 | 12:11 pm

Hi very new here which means a newbie question also :)

I wonder if max have capability to control keyboard strokes. I thought that if i give a sound input, which will trigger, lets say the keyboard key "TAB" and activate that.

Example:
while notepad open
C# => activate "TAB"
"TAB" in notepad

Is there any possibility for that.

thanks.


January 19, 2007 | 12:58 pm

Hi List,
I have this problem with my plugs ‘A-Kit’, builded with MaxMsp 4.5:

‘The problem: after i install the runtime, and put A-Kit VSTs in
appropriate Pluggo folder, on plug-in scan I get the error that some
files cannot be found in the Extensions folder and that I should
reinstall Pluggo. But as i saw, nothing is installed in the Extensions
in the first place?! it is the same for some other plug-ins that need
pluggo runtime (JK Luppo1 i.e.).’

I can’t test this because I haven’t any Intel based Mac.

Does anyone knows what is supposed to be in this ‘Extension folder’?

Is there somewhere a list of pluggo’s plugins supported by Pluggo 3.6.1?

Is there an option in 3.6.1′s installator to install support for old
plugs?

Thanks a lot.

Eric L.


January 19, 2007 | 8:33 pm

Is this what you’re looking for?

J

#P button 175 251 15 0;
#P button 147 250 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 119 221 94 196617 select 97 115 100;
#P number 143 182 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 119 250 15 0;
#P newex 143 154 40 196617 key;
#P comment 202 250 100 196617 a s d;
#P comment 120 134 100 196617 type a s d;
#P connect 5 2 7 0;
#P connect 5 1 6 0;
#P connect 5 0 3 0;
#P connect 4 0 5 0;
#P connect 2 0 4 0;
#P window clipboard copycount 8;

On 1/19/07, faneo toss wrote:
>
> Hi very new here which means a newbie question also :)
>
> I wonder if max have capability to control keyboard strokes. I thought that if i give a sound input, which will trigger, lets say the keyboard key "TAB" and activate that.
>
> Example:
> while notepad open
> C# => activate "TAB"
> "TAB" in notepad
>
> Is there any possibility for that.
>
> thanks.
>
>


January 19, 2007 | 9:16 pm

I think he means the other way around. Say I have notepad in the
foreground. I play a note, magically "rtfm" shows up in the notepad
(sorry, pretentious example but I had to!)

good question. I do not know. Maxobjects.com might have an object for
that.

On Jan 19, 2007, at 3:33 PM, Jaime Oliver wrote:

> Is this what you’re looking for?
>
> J
>
>
> #P button 175 251 15 0;
> #P button 147 250 15 0;
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P newex 119 221 94 196617 select 97 115 100;
> #P number 143 182 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P button 119 250 15 0;
> #P newex 143 154 40 196617 key;
> #P comment 202 250 100 196617 a s d;
> #P comment 120 134 100 196617 type a s d;
> #P connect 5 2 7 0;
> #P connect 5 1 6 0;
> #P connect 5 0 3 0;
> #P connect 4 0 5 0;
> #P connect 2 0 4 0;
> #P window clipboard copycount 8;
>
> On 1/19/07, faneo toss wrote:
>>
>> Hi very new here which means a newbie question also :)
>>
>> I wonder if max have capability to control keyboard strokes. I
>> thought that if i give a sound input, which will trigger, lets say
>> the keyboard key "TAB" and activate that.
>>
>> Example:
>> while notepad open
>> C# => activate "TAB"
>> "TAB" in notepad
>>
>> Is there any possibility for that.
>>
>> thanks.
>>
>>

v a d e //

http://www.vade.info
abstrakt.vade.info


January 19, 2007 | 10:15 pm

The following doesn’t requre reading any manuals,
as it’s just a general observation which might be
usefully applied in contexts such as these….

Since Max is now a dual-platform programming
environment used for a now wide and general
range of possible uses, you may generally find
that those features which involve very platform-
specific functionality [such as the Notepad in
Windows or something like Applescript] would be
more likely to be found done by someone besides
Cycling ’74, who would statistically be more
likely to concentrate on those types of features
and functionality that would benefit users across
both platforms.


January 20, 2007 | 4:28 pm

Actually the notepad example is not a neccecisty.
what i am looking for is a kind of alias thing or a transformer.
like;
an input sound with a mic., which correspounds to a note, like D, and when max hears this "D", it automaticly transforms in real time as a keyboard stroke, like "TAB". If notepad open yes it writes TAB, but in a explorer it TABS in menu items and like that…

Anyway thank you for your kind answers!


January 20, 2007 | 5:22 pm

Gregory Taylor wrote on Fri, 19 January 2007 23:15
—————————————————-
> Since Max is now a dual-platform programming
> environment used for a now wide and general
> range of possible uses, you may generally find
> that those features which involve very platform-
> specific functionality [such as the Notepad in
> Windows or something like Applescript] would be
> more likely to be found done by someone besides
> Cycling ’74, who would statistically be more
> likely to concentrate on those types of features
> and functionality that would benefit users across
> both platforms.
—————————————————-

About the commercial marketing, I agree.
But if incomes for both platforms are good enough, there’s no reason to not integrate core technologies ‘very platform-specific’.
(On Mac, where are CoreAudio, CoreImage, CoreVideo, CoreText, and very soon, CoreAnimation?)
I’m just wondering ;-)
Philippe


January 20, 2007 | 7:52 pm

Yes, it is possible to emulate keyboard entries, but no, there is no max object which will do it for you. This may well have to do with the difference between platforms, but that doesn’t stop (as an example) Jitter from having jit.dx.grab and jit.qt.grab.

The code for making emulation possible is simple, and I made an object which does so, as well as one to emulate mouse input. Never got around to posting it because I wanted to write a sort of shell-filesystem object, but ended up not needing it. I assume you are using windows?

(I’ll be travelling tomorrow; this may take a day or two.)


February 12, 2007 | 4:41 pm

Hey,

I’ve been eagerly awaiting your reply. I’m after an object that is able to emulate a mouse click AND HOLD. I’ve played with aka.mouse but it can’t hold the mouse.

Can the object you are working on hold mouse click?

Regards



_j
February 12, 2007 | 5:07 pm

probably need to include a macro program with your applicatoin. autohotkey lets you export exes of your macro app to share with other people. you can make it startup with your patch.

http://www.autohotkey.com


February 14, 2007 | 9:54 pm

oh yes,

This is very hand, just what I needed.

cheers


February 14, 2007 | 11:23 pm

Quote: Dayton wrote on Sat, 20 January 2007 20:52
—————————————————-
> Yes, it is possible to emulate keyboard entries, but no, there is no max object which will do it for you. This may well have to do with the difference between platforms, but that doesn’t stop (as an example) Jitter from having jit.dx.grab and jit.qt.grab.
>
> The code for making emulation possible is simple, and I made an object which does so, as well as one to emulate mouse input. Never got around to posting it because I wanted to write a sort of shell-filesystem object, but ended up not needing it. I assume you are using windows?
>
> (I’ll be travelling tomorrow; this may take a day or two.)
—————————————————-

Dayton, any updates on this? A ton of people have been asking about these things in the last week or so, myself included – I’m even thinking about learning Java to fix it myself, that’s how badly I want it for windows..
Andreas.


February 15, 2007 | 11:27 am

Whereas I know how to do this on Mac, I’ve looked at the Windows API
pretty long without seeing a solution. So if it can be done, I’d be
interested in knowing how. The Windows API is so wrapped up with
tying user events to Windows that I’ve not found any documentation on
handling events before they’re routed to a window.

On 15-Feb-2007, at 0:23, Andreas Wetterberg wrote:

> Dayton, any updates on this? A ton of people have been asking about
> these things in the last week or so, myself included – I’m even
> thinking about learning Java to fix it myself, that’s how badly I
> want it for windows..

This is one area of endeavor where I think C would be a lot more
congenial.

————– http://www.bek.no/~pcastine/Litter/ ————-
Peter Castine +–> Litter Power & Litter Bundle for Jitter
Universal Binaries on the way
iCE: Sequencing, Recording &
Interface Building for |home | chez nous|
Max/MSP Extremely cool |bei uns | i nostri|
http://www.dspaudio.com/ http://www.castine.de


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