Search found 454 matches

by MJs
03 Aug 2015, 10:03
Forum: Ask for Help (v1)
Topic: AHK only responding once
Replies: 3
Views: 1264

Re: AHK only responding once

it waits for a window whose title is "notepad" which is not the title for the notepad you started !F2:: ; DataPakkerUtland msgbox, 1 , DataPakkerUtland, %DataPakkerUtland% %YesNotePad% ifmsgbox, ok run, notepad.exe,,, PID ; use the PID of the window to wait for it, OR MsgBox, started PID: %PID% ;Win...
by MJs
01 Aug 2015, 00:26
Forum: Scripts and Functions (v1)
Topic: Gui that looks like a MsgBox
Replies: 10
Views: 11473

Re: Gui that looks like a MsgBox

nice idea, very nice
have you thought of using API functions to get the font information?
since it the user can change it
you don"t need to use (-|+ToolWindow) as you can use (-|+)SysMenu, that way no need for the visual effect
by MJs
31 Jul 2015, 23:51
Forum: Ask for Help (v1)
Topic: Scrolling gui within a Tab
Replies: 3
Views: 1713

Re: Scrolling gui within main gui window

search for "just me" (the user) ScrollGUI script, I believe it would do exactly what you want just out of the box in the example
by MJs
31 Jul 2015, 23:41
Forum: Ask for Help (v1)
Topic: Make This A Toggle
Replies: 4
Views: 1483

Re: Make This A Toggle

boiler is right except for the "auto-executable part of the script" part. instead of auto-executable, make it a simple label, and execute it using a timer, from the F1 hotkey the reason for the timer is that a hotkey cannot start a new thread while executing. here is a simple example: Run_mouse_even...
by MJs
31 Jul 2015, 22:31
Forum: Ask for Help (v1)
Topic: Area specific hotkeys
Replies: 4
Views: 1288

Re: Area specific hotkeys

keep reading in #IfWinActive , and you'll find #If [, Expression] . that makes you use any condition, in the docs phrasing: Any valid expression may be used to define the context in which a hotkey should be active. For example: could I specify a rectangle on the window in question using x, y coordin...
by MJs
31 Jul 2015, 22:14
Forum: Ask for Help (v1)
Topic: How to use the wheel to scroll the menu
Replies: 14
Views: 4847

Re: How to use the wheel to scroll the menu

Sorry, my English is very bad, I did not immediately understand what you said. So, how to know if the menu has an up/down arrow? ok, then: #if INFO:=IsLongLongMenu() WheelDown:: WheelUp:: (A_ThisHotkey="WheelDown") ? Wheel2Click(INFO.x+20, INFO.y+INFO.h-20, INFO.hWnd) : Wheel2Click(INFO.x+20, INFO....
by MJs
30 Jul 2015, 06:43
Forum: Ask for Help (v1)
Topic: solved
Replies: 6
Views: 1606

Re: When space is pressed make it do something

by MJs
30 Jul 2015, 06:40
Forum: Ask for Help (v1)
Topic: How to use the wheel to scroll the menu
Replies: 14
Views: 4847

Re: How to use the wheel to scroll the menu

MJs wrote: CAREFUL: THIS WOULD PRESS THE LAST OR FIRST ITEM IN THE CONTEXT MENU IF THERE WERE NO UP/DOWN ARROW
I'll leave knowing if the menu has an up/down arrow to scroll in the first place, and no DPI awareness!
by MJs
30 Jul 2015, 05:13
Forum: Ask for Help (v1)
Topic: solved
Replies: 6
Views: 1606

Re: When space is pressed make it do something

how do you verify the priority of the process? the reason I ask is because I tested the priority using Process Explorer and I had to restart the program to get the updated value, it's the Process Explorer bug in this case, every time I restarted the process explorer I had the right priority try this...
by MJs
29 Jul 2015, 18:26
Forum: Ask for Help (v1)
Topic: solved
Replies: 6
Views: 1606

Re: When space is pressed make it do something

there is an UP options for hotkeys:

Code: Select all

space::
Process, Priority, YOUR PID OR NAME HERE, H 
return

space up::
Process, Priority, YOUR PID OR NAME HERE, N
return
look Hotkeys (Mouse, Joystick and Keyboard Shortcuts) in the documentations
by MJs
29 Jul 2015, 00:56
Forum: Ask for Help (v1)
Topic: How to use the wheel to scroll the menu
Replies: 14
Views: 4847

Re: How to use the wheel to scroll the menu

the next scripts must be run separately CAREFUL: THIS WOULD PRESS THE LAST OR FIRST ITEM IN THE CONTEXT MENU IF THERE WERE NO UP/DOWN ARROW WheelDown:: WheelUp:: hWnd := WinExist("ahk_class #32768") ; menu class WinGetPos, x, y, w, h (A_ThisHotkey="WheelDown") ? Wheel2Click(x+20, y+h-20, hWnd) : Whe...
by MJs
25 Jul 2015, 22:56
Forum: Ask for Help (v1)
Topic: Getting names from variables passed to a variadic function
Replies: 7
Views: 2459

Re: Getting names from variables passed to a variadic function

may I ask what's not working, or what would you like to see?
just curious: what's practical about getting the names of the vars?
btw: variadic or not has nothing to do with anything
by MJs
25 Jul 2015, 14:03
Forum: Ask for Help (v1)
Topic: How to use the wheel to scroll the menu
Replies: 14
Views: 4847

Re: How to use the wheel to scroll the menu

WIN menu is not a roll of API. can you explain a little bit what you mean PUM is an owner ******DRAWN***** menu, meaning it has the same process as basic AHK menu, the same as from the link I suggested before to be exact: the system enters a model loop : during a modal loop, the system retrieves an...
by MJs
23 Jul 2015, 20:30
Forum: Ask for Help (v1)
Topic: How to use the wheel to scroll the menu
Replies: 14
Views: 4847

Re: How to use the wheel to scroll the menu

have you tried to hook the mouse?
I think it may work as you want, but you'd have to see if any messages are sent to the menu window on scroll (you'd need to control everything)
Internet explorer doesn't use the scroll wheel in the context menu
by MJs
23 Jul 2015, 20:06
Forum: Ask for Help (v1)
Topic: Cannot match SetTitleMatch in Chrome or IExplorer Topic is solved
Replies: 1
Views: 921

Re: Cannot match SetTitleMatch in Chrome or IExplorer Topic is solved

by using the RegEx MatchMode somthing like that SetTitleMatchMode, RegEx #IfWinActive, bab.la Italian-English dictionary ahk_class i)(IEFrame|HERE YOU PUT THE CHROME WINDOW CLASS) space:: MsgBox, hello return #IfWinActive esc:: ExitApp I don't have chrome so I don't know its class, so just replace H...
by MJs
23 Jul 2015, 13:01
Forum: Ask for Help (v1)
Topic: How to use the wheel to scroll the menu
Replies: 14
Views: 4847

Re: How to use the wheel to scroll the menu

you'd soon find out that once the menu is shown, there is not much you can do about it, no timers no hotkeys to be triggered, you'd have to go with something like that, http://ahkscript.org/boards/viewtopic.php?t=971 at least it triggers keyboard hotkeys, but not mouse keys as far as I can tell. I f...
by MJs
22 Jul 2015, 14:51
Forum: Ask for Help (v1)
Topic: Help with FileSelectFolder
Replies: 5
Views: 2797

Re: Help with FileSelectFolder

keep in mind, the fact that there might be another window with "Browse For Folder ahk_class #32770", to test that, just load two instances of the same script, so you need to be sure SetTimer, Timer, 1 Process, Exist ; If the PID-or-Name parameter is blank, the script's own PID is retrieved pid := Er...
by MJs
22 Jul 2015, 14:31
Forum: Ask for Help (v1)
Topic: Help with Bulk Download and Parse
Replies: 6
Views: 1987

Re: Help with Bulk Download and Parse

XMLDocument is extremely fast, that's true, I don't know the structure of your xml file, but it's simple and fast to use something like this: xmlDoc:=ComObjCreate("msxml2.DOMDocument.6.0") ; for file ; xmldoc.load(xmlfile) ; for string data ; xmlDoc.loadxml(xmlString) for the working threads, why no...
by MJs
20 Jul 2015, 19:26
Forum: Ask for Help (v1)
Topic: Help with Bulk Download and Parse
Replies: 6
Views: 1987

Re: Help with Bulk Download and Parse

you may want to make the working thread (read, parse, delete) with a timer, looking for files in the loop, or just SendMessage to it from the main script when ever a file is downloaded via WM_COPYDATA or any other means. MainThread: download an xml containing links to other xml files ( ~175 links )....

Go to advanced search