AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 20 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Finding the width/height of a picture
Anatoly Larkin

Replies: 13
Views: 885

PostForum: Ask for Help   Posted: Thu Aug 28, 2008 3:29 pm   Subject: Finding the width/height of a picture
SKAN,
Perfect, thanks. It works great.

I had to do a couple of things inside my own code to get this to work, one being an issue with ScreenCapture.ahk that I downloaded from someone else on this ...
  Topic: Finding the width/height of a picture
Anatoly Larkin

Replies: 13
Views: 885

PostForum: Ask for Help   Posted: Wed Aug 27, 2008 9:39 pm   Subject: Finding the width/height of a picture
You can also use Philho's image functions GetImageDimension(_image)
{
DllCall("GDIplus\GdipGetImageDimension"
, "UInt", _image
, "Float*", w
...
  Topic: Rename Synchronization Utility/Batch file generation?
Anatoly Larkin

Replies: 2
Views: 134

PostForum: Ask for Help   Posted: Sun Apr 27, 2008 5:27 pm   Subject: Rename Synchronization Utility/Batch file generation?
Tried SyncToy - can't trust it.
There are cases where it will not recognize that the renamed folder is the same folder.
  Topic: Rename Synchronization Utility/Batch file generation?
Anatoly Larkin

Replies: 2
Views: 134

PostForum: Ask for Help   Posted: Sat Apr 26, 2008 10:23 pm   Subject: Rename Synchronization Utility/Batch file generation?
I have been looking for this everywhere for some time, and then thought, perhaps, someone might have actually written a script that can do this "rename sync" thing already.

So, on my loca ...
  Topic: MIDI IN support in AutoHotkey
Anatoly Larkin

Replies: 62
Views: 11819

PostForum: Wish List   Posted: Mon Jul 30, 2007 6:34 pm   Subject: MIDI IN support in AutoHotkey
Sure, Chris.

I do hope this helps somewhat, even though I am not a "programming expert" by any means.

I am now able to use my midi keyboard to "type" keys (Send, <key pres ...
  Topic: MIDI IN support in AutoHotkey
Anatoly Larkin

Replies: 62
Views: 11819

PostForum: Wish List   Posted: Sun Jul 29, 2007 7:33 am   Subject: MIDI IN support in AutoHotkey
Well, more progress, which is getting me somewhere.

In my previous post I made one important mistake.
I must not call GUI functions like Tooltip or MsgBox from within a CALLBACK function (like my ...
  Topic: MIDI IN support in AutoHotkey
Anatoly Larkin

Replies: 62
Views: 11819

PostForum: Wish List   Posted: Sun Jul 29, 2007 6:10 am   Subject: Midi In Programming in AHK - initial attempt
Here is the first try for what it's worth.

I am still missing something crucial to make it work, but something is happening already.

I included comentary in my code.

Basically, I used Registe ...
  Topic: MIDI IN support in AutoHotkey
Anatoly Larkin

Replies: 62
Views: 11819

PostForum: Wish List   Posted: Sun Jul 29, 2007 4:07 am   Subject: RegisterCallback
I just noticed that "RegisterCallback" function was created in the 19th of July release.
For Midi In to work, one has to register a so called "Callback" midi "listening&quo ...
  Topic: MIDI IN support in AutoHotkey
Anatoly Larkin

Replies: 62
Views: 11819

PostForum: Wish List   Posted: Thu Jul 26, 2007 6:47 am   Subject: MIDI IN support in AutoHotkey
Here is another try at using DllCall and my problem - please help me, if you see how.


I want to do something simple first: open then close midiIn device.

So, to begin with:

h_midiin := ...
  Topic: MIDI IN support in AutoHotkey
Anatoly Larkin

Replies: 62
Views: 11819

PostForum: Wish List   Posted: Thu Jul 26, 2007 5:22 am   Subject: MIDI IN support in AutoHotkey
We should try to continue with developing this Midi In feature.

Surely the way C programs can be made to listen to the incoming Midi messages and respond to them is translatable into the way AHK do ...
  Topic: MIDI IN support in AutoHotkey
Anatoly Larkin

Replies: 62
Views: 11819

PostForum: Wish List   Posted: Fri Nov 24, 2006 10:05 pm   Subject: MIDI IN support in AutoHotkey
Ok, I think everythin is fine now.
I made sure to initialize every single dw variable to := 0 first.
And now I am getting some 3 byte thing put in h_midiout (obviously, the handle).

Now, the next ...
  Topic: MIDI IN support in AutoHotkey
Anatoly Larkin

Replies: 62
Views: 11819

PostForum: Wish List   Posted: Fri Nov 24, 2006 7:58 pm   Subject: MIDI IN support in AutoHotkey
Thanks.
Your suggestion improved things to the point where now the result = 0, rather than "11".

However, I don't know if h_midiout gets anything.
If I do

msgbox %h_midiout%


not ...
  Topic: MIDI IN support in AutoHotkey
Anatoly Larkin

Replies: 62
Views: 11819

PostForum: Wish List   Posted: Fri Nov 24, 2006 9:23 am   Subject: DllCall("winmm.dll\midiOutOpen",
So, I have been trying to follow the idea and use winmm.dll to open and play notes through my onboard midi.

I do this

result := DllCall("winmm.dll\midiOutOpen"
, Int, h_ ...
  Topic: Using WM_KEYDOWN to send Ctrl + key PostMessage SendMessage
Anatoly Larkin

Replies: 1
Views: 606

PostForum: Ask for Help   Posted: Thu Oct 05, 2006 5:23 am   Subject: Using WM_KEYDOWN to send Ctrl + key PostMessage SendMessage
I am trying to send a Ctrl+VK_Numpad4 to a non-active window.
This kind of code:

SendMessage, 0x07,0,,,%somewin% ;0x07 = WM_SETFOCUS
SendMessage, 0x100,17,,,%somewin% ;0x100 = WM_KEYDOWN
;17 as ...
  Topic: using Shift as a regular key, not modifier.
Anatoly Larkin

Replies: 1
Views: 283

PostForum: Ask for Help   Posted: Fri Dec 23, 2005 2:35 am   Subject: using Shift as a regular key, not modifier.
I want to be able to press Shift three times to run an AHK suubroutine.
The Shift key still has to be able to work as a modifier to other keys (i.e. its regular function should not be altered) and pr ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group