Search found 833 matches

by malcev
05 Nov 2020, 00:13
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

And what message You get with this code? Global ini := "D:\test.ini" ; Path to your INI file setbatchlines -1 Global mode := "" DoubleClickTime := DllCall("GetDoubleClickTime") DllCall("LoadLibrary", "Str", "winmm.dll", "Ptr") DllCall("winmm.dll\midiOutOpen", "ptr*", midiOutHandle, "uint", 3, "ptr",...
by malcev
04 Nov 2020, 23:18
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

It means that You already connected to Your device with another program.
by malcev
04 Nov 2020, 23:13
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

And this one? Global ini := "D:\test.ini" ; Path to your INI file setbatchlines -1 Global mode := "" DoubleClickTime := DllCall("GetDoubleClickTime") DllCall("LoadLibrary", "Str", "winmm.dll", "Ptr") DllCall("winmm.dll\midiOutOpen", "ptr*", midiOutHandle, "uint", 3, "ptr", 0, "uint", 0, "uint", 0) O...
by malcev
04 Nov 2020, 23:04
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

What shows this script after pressing f3 and midi button? Global ini := "D:\test.ini" ; Path to your INI file setbatchlines -1 Global mode := "" DoubleClickTime := DllCall("GetDoubleClickTime") DllCall("LoadLibrary", "Str", "winmm.dll", "Ptr") DllCall("winmm.dll\midiOutOpen", "ptr*", midiOutHandle, ...
by malcev
04 Nov 2020, 22:52
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

It means that You send MIDI message but not MIDI system-exclusive message.
MIDI system-exclusive message = 964.
by malcev
04 Nov 2020, 22:46
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

Then I think Your midi does not send SysexMessages. Run this script, press f3, then press midi key. What message do You get? Global ini := "D:\test.ini" ; Path to your INI file setbatchlines -1 Global mode := "" DoubleClickTime := DllCall("GetDoubleClickTime") DllCall("LoadLibrary", "Str", "winmm.dl...
by malcev
04 Nov 2020, 21:55
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

I can not test script because I do not know how to send from my midi device. But You can test it. Run script press f3 and push key on Your midi device. Also Script should react on programs that You open with double mouse clicks only. Global ini := "D:\test.ini" ; Path to your INI file setbatchlines ...
by malcev
04 Nov 2020, 11:52
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

You dont answer
As I understand after You click on picture with number 2 - it will work and shows 3?
Do You work on drive NTFS?
by malcev
04 Nov 2020, 11:42
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

As I understand after You click on picture with number 2 - it will work and shows 3?
How do You plan to open files manually?
by malcev
04 Nov 2020, 11:36
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

If elad770 will open all files manually with f4 then it will be easy.
by malcev
04 Nov 2020, 11:31
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

You have to send those message to Your synth that You can see or detect.
by malcev
04 Nov 2020, 11:15
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

You have to test this particular script.
Change SysexMessage to Yours and test it.
Mine SysexMessage turns off lighting on my Launchpad X when I send it to id = 1.
by malcev
04 Nov 2020, 11:02
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

It will be not easy, because as I said before there are not many ways to get event when file is opened. I do not want to write driver or rootkit. May be it can be done with parsing Change Journals. But it is only for NTFS. To send Sysex to midi You can do like this SysexMessage := "F0 00 20 29 02 0C...
by malcev
03 Nov 2020, 21:10
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

You write ini file like this?

Code: Select all

Global ini := "C:\Users\eladb\Desktop\TEST\test.ini" ; Path to your INI file
by malcev
03 Nov 2020, 20:51
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

May be there is no folder test on desktop? Run this code, what errorlevel You will get? Global ini := "D:\test.ini" ; Path to your INI file setbatchlines -1 Global mode := "" DllCall("LoadLibrary", "Str", "winmm.dll", "Ptr") OnMessage(MIDI_OPEN := 0x3C1, "MidiInCallback") OnMessage(MIDI_CLOSE := 0x3...
by malcev
03 Nov 2020, 20:38
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

It is configuration file.
It can be at any location.
If ini does not exist, script creates it.
by malcev
03 Nov 2020, 19:23
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

Strange, but OK. I combined mikeyww code with mine. Change path of ini file to Yours Then select any file, press f3 Hit your controller after that You should see key name in inputbox Press OK. Hit your controller once again - file will open. To delete key of you controller - select any file press f3...
by malcev
03 Nov 2020, 18:33
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

Try to restart computer.
by malcev
03 Nov 2020, 18:18
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

Why do You have error in second message box?
What is written there?
by malcev
03 Nov 2020, 17:32
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1820

Re: Automation Challenge

Run this script. Hit your controller. Do You see any messages? Global mode := "" DllCall("LoadLibrary", "Str", "winmm.dll", "Ptr") OnMessage(MIDI_OPEN := 0x3C1, "MidiInCallback") OnMessage(MIDI_CLOSE := 0x3C2, "MidiInCallback") OnMessage(MIDI_DATA := 0x3C3, "MidiInCallback") OnMessage(MIDI_LONGDATA ...

Go to advanced search