 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
ckinrun
Joined: 27 Oct 2007 Posts: 16 Location: Hawaii
|
Posted: Mon Oct 29, 2007 7:50 am Post subject: |
|
|
Nice I Like It Its Awesome i love it i use it alot  |
|
| Back to top |
|
 |
ckinrun
Joined: 27 Oct 2007 Posts: 16 Location: Hawaii
|
Posted: Mon Oct 29, 2007 7:57 am Post subject: |
|
|
Woah ok srry im double posting but i just ran in to a glitch !!! i was on the internet and posted my last post (Above) and pressed the middle mouse button then it appeared but i couldnt move my mouse then it went up and down REALLY FAST like when you put an autoclicker on a program box in the bottom bar thing ( i just realized i dont know its name lol ) then it went away and i couldnt use it but the tray icon was there i went to rightclick on it and when my mouse went over it, it dissapeared soory if i miss spell some stuff
Does any1 think it could have to do with that im on a lap  |
|
| Back to top |
|
 |
Sajith
Joined: 19 Feb 2008 Posts: 2 Location: India
|
Posted: Fri Feb 22, 2008 12:54 pm Post subject: real expose clone |
|
|
FANTABULOUS
i haven't worked with Mac or Linux. so this was my first experience with this feature... I am amazed.
I noticed some issues and i noticed those have been talked about in the thread... so nothing for me to add...
good work. _________________ Cheers
Sajith |
|
| Back to top |
|
 |
airjrdn
Joined: 25 Feb 2008 Posts: 33
|
Posted: Tue Apr 15, 2008 4:49 pm Post subject: |
|
|
| Would there be a way to use this for MDI windows? Even if it only worked for MDI windows? |
|
| Back to top |
|
 |
holomind
Joined: 11 Mar 2006 Posts: 297 Location: Munich, Germany
|
Posted: Tue Apr 15, 2008 11:15 pm Post subject: |
|
|
| airjrdn wrote: | | Would there be a way to use this for MDI windows? Even if it only worked for MDI windows? |
i am not sure if it works. the technique is to grab all windows which are visible and then display them in expose-view.
when mdi-windows are childwindows, it could only work if you can cycle through these subwindows. i dont know if ahk supports this.
which application do you have in mind to use it with ? the original expose on a real mac, also has the feature to only expose windows of one application (F10) which we did not implement here. (which could be done quite easy by filtering by window-title which normally contains the application-name) (eg. if you have several notepads open...)
if you want to use this with a browser, there are better ways with tabbed browsing or plugins.
if you talk about a multi-document-interface (like tabs in an code-editor) one could "tab through" the documents and capture each state as a new window.
if you want to use this with excel, you would need to open excel several times to get separate documents and not a combined window...
greetings
Daniel |
|
| Back to top |
|
 |
airjrdn
Joined: 25 Feb 2008 Posts: 33
|
Posted: Tue Apr 15, 2008 11:27 pm Post subject: |
|
|
| I'm wanting to use it in SQL Management Studio (I'm using MDI, not tabs, it supports both). It's not unheard of for me to have 10 or more query windows open, and this would be awesome within that tool. |
|
| Back to top |
|
 |
holomind
Joined: 11 Mar 2006 Posts: 297 Location: Munich, Germany
|
Posted: Tue Apr 15, 2008 11:39 pm Post subject: |
|
|
| airjrdn wrote: | | I'm wanting to use it in SQL Management Studio (I'm using MDI, not tabs, it supports both). It's not unheard of for me to have 10 or more query windows open, and this would be awesome within that tool. |
i need to test it with mdi programms, does it only show up as one single window, or do you want to filter out your "other" windows, so you only see the windows of sql-m-studio ?
the list of windows is generated here
| Code: |
Window_Info:
WinGet ids, list,,,Program Manager ; all active windows-tasks (processes)
task_info =
num_win = 0
Loop %ids% {
task_id := ids%A_Index% ; id of this window
WinGetClass class, ahk_id %task_id%
WinGetTitle title, ahk_id %task_id%
WinGetPos,,, w, h, ahk_id %task_id%
|
>> WinGet ids, list,,,Program Manager
reads all active "Programs" (which are listet in task-manager) perhaps somebody has an idea to read the MDI-Windows also... |
|
| Back to top |
|
 |
airjrdn
Joined: 25 Feb 2008 Posts: 33
|
Posted: Wed Apr 16, 2008 2:10 am Post subject: |
|
|
I'll try it out first thing tomorrow morning.
Filtering to just the child windows within the active MDI window would be great. |
|
| Back to top |
|
 |
airjrdn
Joined: 25 Feb 2008 Posts: 33
|
Posted: Wed Apr 16, 2008 3:25 pm Post subject: |
|
|
I tried changing this line:
| Code: |
WinGet ids, list,,,Program Manager ; all active windows-tasks (processes)
|
to
| Code: |
WinGet ids, list,,,Microsoft SQL ; all active windows-tasks (processes)
|
but it still thumbnails all normal windows, and makes them flash, along with the taskbar acting flaky. I tried both "Microsoft SQL Server Management Studio", and "Microsoft SQL" as indicated above, and the result was the same.
[/code] |
|
| Back to top |
|
 |
holomind
Joined: 11 Mar 2006 Posts: 297 Location: Munich, Germany
|
Posted: Wed Apr 16, 2008 9:49 pm Post subject: |
|
|
| airjrdn wrote: | I tried changing this line:
| Code: |
WinGet ids, list,,,Program Manager ; all active windows-tasks (processes)
|
to
| Code: |
WinGet ids, list,,,Microsoft SQL ; all active windows-tasks (processes)
|
but it still thumbnails all normal windows, and makes them flash, along with the taskbar acting flaky. I tried both "Microsoft SQL Server Management Studio", and "Microsoft SQL" as indicated above, and the result was the same.
|
Hi i dont have this program, so i cant test it. One question would help me to help you.
Do you have each MDI-Window in expose already, and only want to get rid of the "others" ? That would be quite easy by filtering the list by class and title
| Code: |
WinGetClass class, ahk_id %task_id%
WinGetTitle title, ahk_id %task_id%
if %class% = xy ...
|
or do you only have a window where the "active" mdi-window is shown.
as i understand it, mdi-windows are normal windows, but they are bound to an application. Do your 10 SQL-Windows show up as one item in taskbar or as 10 items ?
you should analyze your windows with "autoit3 window spy" which you can find in your start-menu under autohotkey, if you have ahk installed.
or try this one:
http://www.autohotkey.com/forum/topic3351.html
the intesting part is:
| Code: | >>>>>>>>>>( Window Title & Class )<<<<<<<<<<<
Eigene Dateien
ahk_class CabinetWClass |
which tells you title and class of your window.
this can then be used to filter you opened windows.
Last edited by holomind on Wed Apr 16, 2008 10:11 pm; edited 1 time in total |
|
| Back to top |
|
 |
StreetRider
Joined: 19 Mar 2008 Posts: 72 Location: Euclid, Ohio
|
Posted: Wed Apr 16, 2008 9:51 pm Post subject: Blank window.. |
|
|
I just started messing around with this program...
GREAT JOB!!
The only thing is would it be possible to make the refresh adjustable? To save on CPU load.
When trying to minimize a game like Saga online I only get a black window. Is there anyway to make that work as well?
I am new to this, but would be willing to make the changes and see if they work if anyone can suggest anything. _________________ StreetRider
Euclid. Ohio
"New and Loving it!" |
|
| Back to top |
|
 |
holomind
Joined: 11 Mar 2006 Posts: 297 Location: Munich, Germany
|
Posted: Wed Apr 16, 2008 10:17 pm Post subject: Re: Blank window.. |
|
|
| StreetRider wrote: | I just started messing around with this program...
GREAT JOB!!
The only thing is would it be possible to make the refresh adjustable? To save on CPU load.
When trying to minimize a game like Saga online I only get a black window. Is there anyway to make that work as well?
I am new to this, but would be willing to make the changes and see if they work if anyone can suggest anything. |
hi it is alredy adjustable in the config-section:
| Code: | time_gap = 50 ; ms, time left for others after each thumbnail draw
thumb_border = 1 ; 1 for gap between thumbnail s
animate_in_delay = 5
animate_in_steps = 5
animate_out_delay = 5
animate_out_steps = 5
show_taskbar = 1
;fade_in_steps = 5
;fade_in_delay = 5
;fade_out_steps = 5
;fade_out_delay = 50
quality_low = 3 ; allowed: 1 (terrible) , 3 (accepatable) 4 (good = slow)
quality_high = 4 ; allowed: 1 (terrible) , 3 (accepatable) 4 (good = slow)
BackGroundColor = 004E98 |
just increase the timegap and it will refresh less often. there are several versions of the script (also look into the wiki) some with refresh others only paint once. i guess there is also one which buffers old windows so the show up faster next time...
the saga programm very proably uses directx or java and therefore will be black, as the "printwindow" function cannot grab the output of hardware-overlay windows. (you could disable hardware-accelearation in your saga-game, but i guess you dont want this, as it would be very slow..)
from minimum requirements of saga: | Code: |
MINIMUM SYSTEM REQUIREMENTS:
OS: Windows XP
CPU: 1.6 GHz
RAM: 512 Mb (1-player), 1 Gb (multiplayer)
VIDEO: 128 Mb, pixel-shader 2.0 (or will not render trees and grass), must support OpenGL 1.4
Disk Space: 1.5 Gb
DirectX: 9.0c
Broadband internet connection required |
DirectX is your problem, its hardware accellerated.... |
|
| Back to top |
|
 |
airjrdn
Joined: 25 Feb 2008 Posts: 33
|
Posted: Wed Apr 16, 2008 10:56 pm Post subject: |
|
|
| holomind wrote: | | airjrdn wrote: | I tried changing this line:
| Code: |
WinGet ids, list,,,Program Manager ; all active windows-tasks (processes)
|
to
| Code: |
WinGet ids, list,,,Microsoft SQL ; all active windows-tasks (processes)
|
but it still thumbnails all normal windows, and makes them flash, along with the taskbar acting flaky. I tried both "Microsoft SQL Server Management Studio", and "Microsoft SQL" as indicated above, and the result was the same.
|
Hi i dont have this program, so i cant test it. One question would help me to help you.
Do you have each MDI-Window in expose already, and only want to get rid of the "others" ? That would be quite easy by filtering the list by class and title
| Code: |
WinGetClass class, ahk_id %task_id%
WinGetTitle title, ahk_id %task_id%
if %class% = xy ...
|
or do you only have a window where the "active" mdi-window is shown.
as i understand it, mdi-windows are normal windows, but they are bound to an application. Do your 10 SQL-Windows show up as one item in taskbar or as 10 items ?
you should analyze your windows with "autoit3 window spy" which you can find in your start-menu under autohotkey, if you have ahk installed.
or try this one:
http://www.autohotkey.com/forum/topic3351.html
the intesting part is:
| Code: | >>>>>>>>>>( Window Title & Class )<<<<<<<<<<<
Eigene Dateien
ahk_class CabinetWClass |
which tells you title and class of your window.
this can then be used to filter you opened windows. |
here's everything from Spy when mousing over SQL:
| Code: |
>>>>>>>>>>( Window Title & Class )<<<<<<<<<<<
Microsoft SQL Server Management Studio
ahk_class wndclass_desked_gsk
>>>>>>>>>>>>( Mouse Position )<<<<<<<<<<<<<
On Screen: 1278, 526 (less often used)
In Active Window: 1282, 530
>>>>>>>>>( Now Under Mouse Cursor )<<<<<<<<
ClassNN: WindowsForms10.Window.8.app.0.378734a9
Text:
Color: 0xEFF4F5 (Blue=EF Green=F4 Red=F5)
>>>>>>>>>>( Active Window Position )<<<<<<<<<<
left: -4 top: -4 width: 1448 height: 878
>>>>>>>>>>>( Status Bar Text )<<<<<<<<<<
(1):
(2):
(3):
(4):
(5):
>>>>>>>>>>>( Visible Window Text )<<<<<<<<<<<
MsoDockTop
Menubar
SQL Editor
Standard
MsoDockTop
Unified Find
Fi&nd what:
>
&Look in:
Find &options
&o
Match &case
Match &whole word
Search &up
Search &hidden text
Us&e:
&Find Next
&Bookmark All
Properties
Property Browser
PropertyGrid
Description Pane
Current Status
Current query execution status.
PropertyGridView
PropertyGridToolBar
ssas1.ACERecon - Executing... - SQLQuery8.sql*
ssas1.ACERecon - Executing... - SQLQuery8.sql*
Results
shellTextViewControl1
ssas1.ACERecon - C:\cache\Temporary Internet Files\OLK45\Partition.sql
ssas1.ACERecon - C:\cache\Temporary Internet Files\OLK45\Partition.sql
shellTextViewControl1
Execution plan
Solution Explorer
MsoDockTop
Output Window
Object Explorer
MsoDockTop
SQL Server Object Explorer
>>>>>>>>>>>( Hidden Window Text )<<<<<<<<<<<
MsoDockLeft
MsoDockRight
Text Editor
MsoDockBottom
Find and Replace
MsoDockLeft
MsoDockRight
MsoDockBottom
Re&place with:
>
Syntax:
&Replace
Replace &All
Scan an internal table of constants.
Messages
Messages
+
+
+
Solution Explorer
Output
MsoDockLeft
MsoDockRight
MsoDockBottom
MsoDockLeft
MsoDockRight
MsoDockBottom
>>>>( TitleMatchMode=slow Visible Text )<<<<
Ready Ln 3 Col 1 Ch 1 INS
reload
reload
@strout
Current Document
Regular expressions
Current query window options:
>>>>( TitleMatchMode=slow Hidden Text )<<<<
@strout
|
Only one window shows up in the taskbar, regardless of the number of mdi child windows open within management studio.
Expose only shows the main window, none of the children. |
|
| Back to top |
|
 |
holomind
Joined: 11 Mar 2006 Posts: 297 Location: Munich, Germany
|
Posted: Thu Apr 17, 2008 12:17 am Post subject: |
|
|
| Quote: |
here's everything from Spy when mousing over SQL:
| Code: |
>>>>>>>>>>( Window Title & Class )<<<<<<<<<<<
Microsoft SQL Server Management Studio
ahk_class wndclass_desked_gsk
...
>>>>>>>>>( Now Under Mouse Cursor )<<<<<<<<
ClassNN: WindowsForms10.Window.8.app.0.378734a9
Text:
Color: 0xEFF4F5 (Blue=EF Green=F4 Red=F5)
...
|
Only one window shows up in the taskbar, regardless of the number of mdi child windows open within management studio.
Expose only shows the main window, none of the children. |
ok, now i understand it a bit better, the simple solution to filter only the windows does not work.
at least we now have the correct window-title and ahk_class which is not too bad. which means you can filter by these values later.
perhaps it works to set "detecthiddenwindows, on" which should also list the "other" MDI windows. perhaps this is only a kind of desktop-manager where the all mdi-windows are hidden (but existent) and only the active one is shown.
printwindow (which is used by the expose script) only works with visible windows and not with minimized. but it works with windows which are offscreen.
perhaps this helps to find the next step..
http://www.autohotkey.com/forum/topic22616.html
this might be usefull, as it lists all active processes (which might include the mdi subwindows)
http://de.autohotkey.com/docs/commands/Process.htm#ListEx
manual for detecthiddenwindows:
http://www.autohotkey.com/docs/commands/DetectHiddenWindows.htm
and winget with lists might also be helpful: (section "List" )
http://www.autohotkey.com/docs/commands/WinGet.htm
one idea would be to list "all" windows. then filter by class_id, then loop through these windows. by (remember current position) unminimize, move offscreen so its invisible, capture printwindow, move back to position and minimize again. (or similar where you can capture the windows and let them be invisible offscreen at the same time).
you should try
| Code: |
DetectHiddenWindows, On
|
at the begin of the script. perhaps then the hidden windows appear (at least as black windows.) perhaps you get "lots" of black windows this way...
good luck |
|
| Back to top |
|
 |
StreetRider
Joined: 19 Mar 2008 Posts: 72 Location: Euclid, Ohio
|
Posted: Thu Apr 17, 2008 1:30 am Post subject: Display of Saga |
|
|
Question?
Could the screen be captured as a image and then presented in your program?
Maybe with a command line utility. _________________ StreetRider
Euclid. Ohio
"New and Loving it!" |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|