Leef_me, was playing with your code, works good, still trying to understand it.
this is what i came up with last week, its crude and needs some work. took hours of guessing, but was hoping for a registry fix,
problem with code below is i need the combox number to be able to change to 2 or 3 depending on the program, but windows spy does not show this unless i click on the save as type: box.
do i need to write a list of various programs, so if notepad combobox = 2, or if vidredo combobox = 3 e.t.c.
i just wanted to click on the window of the prog i was using, and it automatically would get the open window to show all files when pressing f1 or save when pressing f2,
"WinMenuSelectItem, ahk_class %aTitle%, , 1&, 1&," this part of the code needs changing as different progs use different menu values.
or i could use a simpler method using ctrl+o or ctrl+s
Code:
f1::
;MsgBox, The text is:`n%OutputVar%
WinGetClass, aTitle, A
;MsgBox, The active window is "ahk_class %aTitle%".
WinMenuSelectItem, ahk_class %aTitle%, , 1&, 1&,
MouseClick, left, 918, 589; click anywhere on the window
sleep,100
WinGetClass, bTitle, A
;MsgBox, The active window is "ahk_class %bTitle%".
;WinMenuSelectItem, ahk_class %bTitle%,
ControlClick, ComboBox3, ahk_class %bTitle%, ;All Files
Send, {DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN} ;pathetic peice of code, as all files are usually at the bottom
Send, {ENTER}
murx, do i change registry keys of a specific program, i use a video editing program, and the main files i open do not have a
file name extension, this is why i need the folder to show all files.