Monday, February 18, 2019

#26 2017-07-19 11:27:17 am

stublito
Member
Registered: 2017-05-23
Posts: 13

Re: Store/Retrieve more than one variable in Clipboard using an Array?

For anyone who Googled and got this MIDIpipe thread, this little pipe reveals the status of the "my" variables listed above:

on runme(message)

if (whatever MIDI trigger message is input) then

tell application "Finder"
say my minutes
end tell
end if
end runme

Offline

 

#27 2017-07-22 02:09:59 pm

stublito
Member
Registered: 2017-05-23
Posts: 13

Re: Store/Retrieve more than one variable in Clipboard using an Array?

I have the logic working perfectly thanks to everyone here.

FYI I am monitoring the globals by having Applescript tell the finder to say them. Very cool.

The final problem.  I need to block the MIDI from going through each specific pipe. I thought this would work as a MIDI on off switch, but it does not

on runme(message)
    if (my hours = (1)) then
    return (message)
    end if
end runme

The script still passes MIDI. And, when "if = True", it doubles the notes.

Stublito

Offline

 

#28 2017-07-22 03:16:55 pm

Nigel Garvey
Moderator
From:: Warwickshire, England
Registered: 2002-11-20
Posts: 4807

Re: Store/Retrieve more than one variable in Clipboard using an Array?

Hi stublito.

Have you unchecked the "pass through" option beneath the script window?


NG

Offline

 

#29 2017-07-22 06:55:32 pm

stublito
Member
Registered: 2017-05-23
Posts: 13

Re: Store/Retrieve more than one variable in Clipboard using an Array?

Thanks for the quick reply.

Yes, I've unchecked that.

It's definitely "leaking" through each pipe, and not from somewhere else, if I disable the input tool in any pipe, it mutes correctly.

FYI I have 13 of these being switched by the logic.

Offline

 

#30 2017-07-22 07:31:48 pm

stublito
Member
Registered: 2017-05-23
Posts: 13

Re: Store/Retrieve more than one variable in Clipboard using an Array?

Duh. Applescript module has a "pass through" check box as well.

All good.

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)