Search found 865 matches

by malcev
04 Nov 2020, 11:42
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1901

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: 1901

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: 1901

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: 1901

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: 1901

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: 1901

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: 1901

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: 1901

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: 1901

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: 1901

Re: Automation Challenge

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

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: 1901

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 ...
by malcev
03 Nov 2020, 17:21
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1901

Re: Automation Challenge

No, You have to press midi buttons and see msgbox in ahk.
by malcev
03 Nov 2020, 17:06
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1901

Re: Automation Challenge

Run this code. Have You got any messages when You press Your midi? 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_LONGD...
by malcev
03 Nov 2020, 16:43
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1901

Re: Automation Challenge

Try like this 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 := 0x3C4, "MidiInCallback") OnMessage(MIDI_ERROR ...
by malcev
03 Nov 2020, 15:40
Forum: Scripts and Functions
Topic: Adobe Premiere CPanel API example
Replies: 6
Views: 850

Re: Adobe Premiere CPanel API example

This code will work ok for You? Hold "q" in notepad. If not ok try to increase SleepDuration. SleepDuration := 5 FirstPressDelay := 0.15 #InstallKeybdHook #InstallMouseHook #UseHook q:: w:: SetBatchLines -1 SetKeyDelay, -1, -1 KeyWait, %A_ThisHotkey%, T%FirstPressDelay% If ErrorLevel { DllCall("Winm...
by malcev
03 Nov 2020, 15:20
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1901

Re: Automation Challenge

Code is not perfect - need change some uint to ptr. But for me it works like this (I have 2 midi devices) ; Midi.ahk ; Add MIDI input event handling to your AutoHotkey scripts ; ; Danny Warren <[email protected].com> ; https://github.com/dannywarren/AutoHotkey-Midi ; ; Always use gui mode when using...
by malcev
03 Nov 2020, 14:19
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1901

Re: Automation Challenge

As for midi You can use this library
https://github.com/dannywarren/AutoHotkey-Midi
by malcev
03 Nov 2020, 08:58
Forum: Ask For Help
Topic: Getting text from a mysterious, elusive sheet that WindowSpy can't read
Replies: 10
Views: 389

Re: Getting text from a mysterious, elusive sheet that WindowSpy can't read

You can try to use cheat engine to count offsets.
If it will be OK, then just read process.
by malcev
03 Nov 2020, 06:11
Forum: Ask For Help
Topic: Automation Challenge
Replies: 116
Views: 1901

Re: Automation Challenge

elad770 , why dont You want to use ready programs for Your tasks, like this one? https://midikey2key.de/ Why do You need this "Every time I will open the file manually the midi controller will engage (to have them sync and talk to each other)"? What do You mean by "talk to each other"? If You need ...

Go to advanced search