Window list

hi
my problem is that i want to get the window list in director
means i want to know whihc applications are running and i
want to get list of these running application window
thx reply me fast

Hi Lukewig,
You are right they must be opened some where in my system,
but the list it gives me is too long. Here i am giving you what i
write to get window list in BuddyAPI:
wlist = baWindowList("","", false)
put wlist
[395282, 395284, 4064222, 15598522, 4915774, 65688, 4129430,
65670, 196682, 131192, 65672, 196680, 196678, 393684, 196664,
3539406, 3998288, 5243462, 1835468, 918128, 1573928, 1115364,
3736526, 1639216, 1704724, 2425724, 9175970, 1639010, 65676,
.............., 65674]
After getting this list i use the following code to get the
window captions:
wlist = baWindowList("","", false)
put wlist
repeat with aWindow in wList
if baWindowInfo(aWindow,"title")="" then next repeat
put baWindowInfo(aWindow, "title")
end repeat
--Which gives me:
[65670, 131192, 196682, 65672, 196680, 196678, 393684,
196664, 395282, 395284, 4064222, 15598522, 4915774, 65688, 4129430,
3539406, 3998288, 5243462, 1835468, 918128, 1573928, 1115364,
3736526, 1639216, 1704724, 2425724, 9175970, 1639010, 65676,
1443022, ............, 65674]
--"SysFader"
-- "SysFader"
-- "SysFader"
-- "SysFader"
-- "list - Director MX 2004"
-- "Buddy API"
-- "Timer"
-- "Helix DSWnd"
-- "Messages.log - Notepad"
-- "Untitled - Notepad"
-- "CleanUp Application"
-- "CleanUp Application"
-- "screen-capturing"
-- "Acrobat IEHelper"
-- "Tooltips"
-- "Acrobat IEHelper"
-- "Acrobat IEHelper"
-- "DDE Server Window"
-- "CwndSessionMonitor"
-- "Acrobat IEHelper"
-- "__RNWK__DeviceEventNotification_WindowName_wmdm_device"
-- "HXEngineCommInternal"
-- "MessageBouncer"
-- "Acrobat IEHelper"
-- "Notification Wnd for RNAdmin"
-- "MSNUnnamedWindow"
-- "MSNUnnamedWindow"
-- "MSNUnnamedWindow"
-- "MSNUnnamedWindow"
-- "MSNUnnamedWindow"
-- "MSNUnnamedWindow"
-- "MSNMSGRAbsConnWindow"
-- "Download Accelerator Plus - DAP"
-- "Dummy Video Parent"
-- "MSNUnnamedWindow"
-- "MSNUnnamedWindow"
-- "MSNUnnamedWindow"
-- "MSNUnnamedWindow"
-- "MSNMSGRAbsConnWindow"
-- "MSNUnnamedWindow"
-- "MSNUnnamedWindow"
-- "DDE Server Window"
-- "MSNUnnamedWindow"
-- "MCI command handling window"
-- "NetscapeDispatchWnd"
-- "XPCOM:EventReceiver"
-- "ymsgr-tray-wnd"
-- "VPIPCLINK"
-- "Scan"
-- "SMax4PNP"
-- "SoundMax4"
-- "ccApp"
-- "Connections Tray"
-- "Dialog"
-- "DAPDownloadManager"
-- "Power Meter"
-- "Missing Virus Definitions"
-- "MS_WebcheckMonitor"
-- "Symantec AntiVirus"
-- "InterBase Server"
-- "InterBase Guardian"
-- "SysFader"
-- "Adobe - Lingo - Mozilla Firefox"
-- "Now Playing"
-- "RealPlayer: 01 - Chand Sifarish - ApniISP.Com"
-- "xtras"
-- "wndxtra"
-- "Program Manager"
You see, how long the list is and what if i now go to detect
windows from my selected list, it off course will take a lot of
memory resources.
Well, besides this i also give a try to mcProFusion to do the
same:
profusion xtra result
program=mcWindowGetList()
put program
-- "list - Director MX 2004
Buddy API
Messages.log - Notepad
Untitled - Notepad
Buddy API Pricing - Microsoft Internet Explorer
Adobe - Lingo - Mozilla Firefox
RealPlayer: 01 - Chand Sifarish - ApniISP.Com
xtras
wndxtra
Program Manager
And this is giving me a short of only those windows which are
presently running on a user system and which a user can see as
well.
So, can you tell me any way to use this buddyAPI to get a
short list of only viewable/presently running window's captions ??
Thanks a lot anyways.
Regards,
Amir

Similar Messages

  • No workspace switcher or window list in gnome

    Hello,
    My workspace switcher and window list have disappeared after a gnome update. When I look at /var/log/gdm/:0-greeter.log, I do not really know where to start.
    /var/log/gdm/:0-greeter.log:
    Window manager warning: Failed to read saved session file /var/lib/gdm/.config/metacity/sessions/10fb3f440368f4365712661658562916400000023630002.ms: Failed to open file '/var/lib/gdm/.config/metacity/sessions/10fb3f440368f4365712661658562916400000023630002.ms': No such file or directory
    (polkit-gnome-authentication-agent-1:2396): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'
    (polkit-gnome-authentication-agent-1:2396): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
    ** (process:2394): DEBUG: Greeter session pid=2394 display=:0.0 xauthority=/var/run/gdm/auth-for-gdm-o3q0dO/database
    gdm-simple-greeter[2394]: GLib-GObject-CRITICAL: g_param_spec_flags: assertion `G_TYPE_IS_FLAGS (flags_type)' failed
    gdm-simple-greeter[2394]: GLib-GObject-CRITICAL: g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed
    gdm-simple-greeter[2394]: WARNING: Unable to read from file /etc/arch-release
    gdm-simple-greeter[2394]: Pango-WARNING: Invalid UTF-8 string passed to pango_layout_set_text()
    Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1200022 (Login Wind)
    Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
    Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1200022 (Login Wind)
    Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
    Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1200022 (Login Wind)
    Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
    Last edited by q! (2010-02-14 17:05:10)

    barzam wrote:
    I mainly use a amall screened netbook and I'd very much like to get rid of the window bars in Gnome3 as I find they use up too much space and I'd rather use the keyboard to close the open windows and move the windows.
    I really don't know where to look, I can't make any sense of the theme's file in /usr/share/themes/Adwaita/...
    [EDIT]
    I'll answer myself, as it was fairly easy after all:
    The file is divided in several parts, each with setting for maximized or non-maximized windows etc. To have maximized windows have no title bar add in the line starting with <frame_geometry name="max":
    has_title="false"
    You can also specify the size of the bar with
    title_scale="xx-small"
    Avaliable are x-small, small, large, x-large etc.
    could please tell me what is the name of the file to edit it,
    thanks,

  • I have apps loaded on my iPad. they show in the main screen are not available to load documents to in the window list which should appear below the main window. the same apps do appear in the sub window on my other iPad. any ideas?

    i have apps loaded on my iPad. they show in the main screen are not available to load documents to in the window list which should appear below the main window. the same apps do appear in the sub window on my other iPad. any ideas?

    From what I can see, unless you're doing things with old versions of Xcode on a Mac (in which case, the solution seems to be to upgrade to the latest version), this seems to e an iTunes issue.
    Accepting that it works fine with another iPad, I suggest trying the following:
    1. Restart the non-working iPad
    2. If that doesn't work, reinstall iTunes. If you're on a Windows PC, I suggest using Control Panel to uninstall all the Apple apps, restarting the PC, and doing a fresh install. If you're using a Mac, a repair permissions might help too.
    iTunes 10.3 is now available, and that may make a difference.

  • Bug in window list dialog

    I am currently using a 30 day trial version of RoboHTML 8.0.2 on Windows 7 Professional.  Coming from RoboHelp 2002R2, I like having the ability to keep multiple topics open at once, but there seems to be an annoying bug in the operation of the "Windows" dialog. To see this, first open several topics so there are multiple tabs open. Choose "Windows..." from the Windows menu. From the list that appears, select a topic other than the one that is currently in the foreground tab, then click the Activate button. The chosen topic will come to the foreground. Now click the Close button (not the Close Window button!) on the window list dialog. Your chosen topic goes away and the original topic pops back up to the top. There doesn't seem to be any way to choose a topic from the window list and have it come to the foreground and stay that way.
    Jeff Bean

    Hi all
    Nick, I use the "Nukem" approach myself. I also tend to look up and notice that I've got several tabs open. I like to squash them all really quickly. So what I do is to assign the keyboard shortcut of Ctrl+Alt+X to close all open tabs. That makes it simple for me to just press the magick key sequence.
    However, I'm like Peter in the sense that I'd never use the Window menu to do this. I too just click the X on the tab.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Invisible windows appears when trying to open a new window. These windows are listed in the Window list, but I cannot switch to them or close them. This also occurs when I try to "View Source". This was not a problem prior to my 6.0 upgrade.

    I cannot open a new window for FireFox.
    Invisible windows appears when trying to open a new window. These windows are listed in the Window list on the menu, but I cannot switch to them or close them. This also occurs when I try to "View Source". This was not a problem prior to my 6.0 upgrade.
    The Downloads Window cannot be accessed either.
    This is very annoying. Is this a bug? Or is there a fix.

    If anyone is reading this still looking for what caused the issue and how to fix it here is what I discovered.
    The antivirus program our company uses, Bitdefender Antivirus Plus, was causing some of the PDF files not to open. After troubleshooting the different modules and settings the culprit was..
    Scan SSL in Privacy Control Settings. Turning it OFF solved the problem and all the PDF files that previously would not open now open just fine. This issue has been sent to Bitdefender for them to review. If you use a different antivirus program and are having this issue try locating the Scan SSL setting and see if turning it off solves the problem.

  • Beryl and "Show window list" icon problem

    If I enable "Show window list" in application switcher I get some sort of minimized application after switching between apps.
    I'm using XFCE and I made my minimized windows go on my desktop and using this application switcher means I get an icon labeld "??" when I try to switch applications. If I try and close it or do anything with it - Beryl crashes.
    The same thing happened when I used rox with the pinboard option.
    Did anyone encounter this? and If so how do I get rid of it?!
    Thank you,
    Grey

    If I enable "Show window list" in application switcher I get some sort of minimized application after switching between apps.
    I'm using XFCE and I made my minimized windows go on my desktop and using this application switcher means I get an icon labeld "??" when I try to switch applications. If I try and close it or do anything with it - Beryl crashes.
    The same thing happened when I used rox with the pinboard option.
    Did anyone encounter this? and If so how do I get rid of it?!
    Thank you,
    Grey

  • Changing the icon that appears in GNOME panel window list

    I've been playing around changing all my icons and stuff, but I can't figure out how to change the icon that appears in the GNOME window list, a bit like a favicon. I've changed the icon path in the application's entry in /usr/share/applications, but that had no effect. Does anyone know how to do this? I'm hoping it's not hard-coded into applications.

    The location of the icon used can be different for each program. So what program specifically did you want to change?

  • Gnome Shell 3.4 Windows List

    is there any way to get window list in gnome shell 3.4 ? I've tried a lot of packages including these in aur without success

    https://extensions.gnome.org/extension/25/window-list/
    ...the guys are working on adding gnome 3.4 compatibility.

  • Mail - Printing Finder Window/List of "Incoming & Saved Mail - On My Mac"

    In Mail, is it possible to print the finder window list captioned “Incoming & Saved Mail - On My Mac” and if so, how? (I couldn’t figure out how to do this with PrintFinder or Print Window.) Thank you!

    Use Address Book, also called Contacts in later versions of OS X:
    http://support.apple.com/kb/ht2486
    Mail pulls its email addresses from that application. See also:
    http://computers.tutsplus.com/tutorials/contacts-101-a-beginners-guide-to-contac ts-on-os-x--mac-51751
    Regards.

  • Downloads window list is reverse order

    Safari has a reverse order for the downloads window list. Any way to get it normal (last thing downloaded should be at the top).

    No, it has never been correct on any of my three Macs. It is correct in Firefox (Mac and Window), Opera, iCab, and Internet Explorer 7 and 8. I haven't tried Chrome yet, but I'd be willing to bet it shows latest top like all the others. Don't tell me Safari is "thinking different". If it has a reverse order to display downloads, it should at least have a way to change it to normal (normal like my email list-- latest at the top).
    I don't use Safari much, but I might use it more if it made sense. Maybe there is a plugin that can reverse this thing. Safari doesn't have a config window like Firefox does it?

  • XFCE pager/window list only follow first spawned widnow, Xmonad

    I'm using XFCE 4.8, with xmonad and xmonad-contrib 0.9.2-1.2
    I'm currently trying to get Xmonad to use the window list and pager from XFCE at the same time, while outputting to dzen2.  When I spawn a window, it only tracks the first window's size in the pager, and still thinks I'm on the workspace it originally spawned on (see blue square in the bottom left of the screenshot).
    My current xmonad.hs:
    import XMonad
    import XMonad.Hooks.DynamicLog
    import XMonad.Hooks.ManageDocks
    import XMonad.Util.Run(spawnPipe)
    import XMonad.Util.EZConfig(additionalKeys)
    import System.IO
    import XMonad.Actions.DwmPromote
    import XMonad.Hooks.SetWMName
    import XMonad.Hooks.EwmhDesktops
    import XMonad.Config.Xfce
    myManageHook = composeAll
    [ className =? "milkytracker" --> doShift "etc"
    , className =? "net-minecraft-MinecraftLauncher" --> doShift "etc"
    , className =? "prboom-plus" --> doShift "etc"
    , className =? "Chromium" --> doShift "web"
    , className =? "Deadbeef" --> doFloat <+> doShift "media"
    main = do
    xmproc <- spawnPipe "/usr/bin/dzen2 -bg '#303030' -fg '#a1a1a1' -h '16' -w 480 -x '0' -y '0' -ta 'l' -fn '-*-terminus-*-*-*-*-*-*-*-*-*-*-*-*'"
    xmonad $ ewmh xfceConfig {
    manageHook = manageDocks <+> manageHook defaultConfig <+> myManageHook
    , layoutHook = avoidStruts $ layoutHook defaultConfig
    , startupHook = setWMName "LG3D"
    , logHook = dynamicLogWithPP $ dzenPP {
    ppOutput = hPutStrLn xmproc
    , ppCurrent = dzenColor "#c0c0c0" "#303030"
    , ppHidden = dzenColor "#a1a1f1" "#303030"
    , ppTitle = dzenColor "#c0c0c0" "#303030"
    , ppHiddenNoWindows = dzenColor "#7f7f7f" "#303030"
    , ppSep = " | "
    , ppWsSep = " "
    , ppLayout = \x -> case x of
    "Tall" -> "[|-]"
    "Mirror Tall" -> "[--]"
    "Full" -> "[ ]"
    , modMask = mod4Mask
    , terminal = "urxvtc"
    , workspaces = ["term", "web", "media", "etc"]
    , normalBorderColor = "#303030"
    , focusedBorderColor = "#a1a1a1"
    } `additionalKeys`
    [ ((mod4Mask, xK_b), sendMessage ToggleStruts)
    , ((mod4Mask, xK_p), spawn "dmenu_run -nb '#303030' -nf '#a1a1a1' -sb '#a1a1a1' -sf '#303030' -fn '-*-terminus-*-*-*-*-*-*-*-*-*-*-*-*'")
    , ((mod4Mask, xK_Return), spawn "urxvtc")
    , ((mod4Mask .|. shiftMask, xK_Return), dwmpromote)
    , ((0, 0x1008ff13), spawn "amixer set Master 1+")
    , ((0, 0x1008ff11), spawn "amixer set Master 1-")
    , ((0, 0x1008ff12), spawn "amixer set Master toggle")
    , ((mod4Mask, xK_w), spawn "xfdesktop --menu" )
    I'm rather confused about this, as I'm not sure if I'm supposed to use ewmhDesktopsLogHook, or use a startupHook for this, or an eventHandler for this sort of thing.  I tried following this guide from Haskell's wiki, but it didn't work as expected, so I struck out on my own.
    EDIT:  I tested in my Debian Wheezy install, it works fine with XFCE 4.6.  I have a hunch it might have something to do with xmonad-contrib not supporting newer versions of XFCE/LXDE  properly.
    Last edited by arinlares (2011-04-17 00:23:59)

    I'm using XFCE 4.8, with xmonad and xmonad-contrib 0.9.2-1.2
    I'm currently trying to get Xmonad to use the window list and pager from XFCE at the same time, while outputting to dzen2.  When I spawn a window, it only tracks the first window's size in the pager, and still thinks I'm on the workspace it originally spawned on (see blue square in the bottom left of the screenshot).
    My current xmonad.hs:
    import XMonad
    import XMonad.Hooks.DynamicLog
    import XMonad.Hooks.ManageDocks
    import XMonad.Util.Run(spawnPipe)
    import XMonad.Util.EZConfig(additionalKeys)
    import System.IO
    import XMonad.Actions.DwmPromote
    import XMonad.Hooks.SetWMName
    import XMonad.Hooks.EwmhDesktops
    import XMonad.Config.Xfce
    myManageHook = composeAll
    [ className =? "milkytracker" --> doShift "etc"
    , className =? "net-minecraft-MinecraftLauncher" --> doShift "etc"
    , className =? "prboom-plus" --> doShift "etc"
    , className =? "Chromium" --> doShift "web"
    , className =? "Deadbeef" --> doFloat <+> doShift "media"
    main = do
    xmproc <- spawnPipe "/usr/bin/dzen2 -bg '#303030' -fg '#a1a1a1' -h '16' -w 480 -x '0' -y '0' -ta 'l' -fn '-*-terminus-*-*-*-*-*-*-*-*-*-*-*-*'"
    xmonad $ ewmh xfceConfig {
    manageHook = manageDocks <+> manageHook defaultConfig <+> myManageHook
    , layoutHook = avoidStruts $ layoutHook defaultConfig
    , startupHook = setWMName "LG3D"
    , logHook = dynamicLogWithPP $ dzenPP {
    ppOutput = hPutStrLn xmproc
    , ppCurrent = dzenColor "#c0c0c0" "#303030"
    , ppHidden = dzenColor "#a1a1f1" "#303030"
    , ppTitle = dzenColor "#c0c0c0" "#303030"
    , ppHiddenNoWindows = dzenColor "#7f7f7f" "#303030"
    , ppSep = " | "
    , ppWsSep = " "
    , ppLayout = \x -> case x of
    "Tall" -> "[|-]"
    "Mirror Tall" -> "[--]"
    "Full" -> "[ ]"
    , modMask = mod4Mask
    , terminal = "urxvtc"
    , workspaces = ["term", "web", "media", "etc"]
    , normalBorderColor = "#303030"
    , focusedBorderColor = "#a1a1a1"
    } `additionalKeys`
    [ ((mod4Mask, xK_b), sendMessage ToggleStruts)
    , ((mod4Mask, xK_p), spawn "dmenu_run -nb '#303030' -nf '#a1a1a1' -sb '#a1a1a1' -sf '#303030' -fn '-*-terminus-*-*-*-*-*-*-*-*-*-*-*-*'")
    , ((mod4Mask, xK_Return), spawn "urxvtc")
    , ((mod4Mask .|. shiftMask, xK_Return), dwmpromote)
    , ((0, 0x1008ff13), spawn "amixer set Master 1+")
    , ((0, 0x1008ff11), spawn "amixer set Master 1-")
    , ((0, 0x1008ff12), spawn "amixer set Master toggle")
    , ((mod4Mask, xK_w), spawn "xfdesktop --menu" )
    I'm rather confused about this, as I'm not sure if I'm supposed to use ewmhDesktopsLogHook, or use a startupHook for this, or an eventHandler for this sort of thing.  I tried following this guide from Haskell's wiki, but it didn't work as expected, so I struck out on my own.
    EDIT:  I tested in my Debian Wheezy install, it works fine with XFCE 4.6.  I have a hunch it might have something to do with xmonad-contrib not supporting newer versions of XFCE/LXDE  properly.
    Last edited by arinlares (2011-04-17 00:23:59)

  • How do you PRINT a Finder window list view?

    Hello all.
    I think a long time ago in OS9, we can open a new (Finder) Window, switch to 'List' view and print the window, so that we can see all the nested folders, etc.
    Can we/How do we do this in OS X? Can't seem to find a Print command...
    Thanks and cheers

    Press the Shift, Command, and 4 keys, followed by the spacebar, click in the window, open the png on the desktop, and print that.
    (44001)

  • How to create a selectable symbol window/list/etc...

    Hello,
    I am brand new to Flash and Actionscript and have a project I
    want to do.
    I would like to have a graphic area where I can display a
    list of graphics/symbols that could be dragged
    on to the stage or to a Movie clip to create a layout and do
    this within flash. There are a couple of sites
    I have seen that do what I would like to do.
    In essence: I would like to have a window that would show a
    scrolling list of symbols/objects that would
    be populated (2 symbols/graphics side by side) and any number
    of symbols loaded in the list/window.
    Then to be able to drag one of the symbols to the stage or to
    a movie clip. Being a beginner I don't know if
    it is possible on a web page to have to SWF files on a page
    and if you could drag between them?
    A site where this is done is www.sugarhousebanner.com with
    their banner designer tool. I would like to do
    something a bit similar. Any input on how to do this in just
    getting started would be appreciated.
    The 2nd item I have is also seen on this same site. I am not
    sure how they do the zooming in and out and not have the whole
    stage affected if all the controls for the graphics, fonts, etc...
    are on the stage also.
    Thank you very much.
    Kim H.
    [email protected]

    Well, it should be exactly the same way as you would create it in any other application such as your shell.
    On my Sun keyboard i can get a degree symbol by using Meta-0 (thats a zero :-)
    .7/M.

  • How do you open the clone panel in Photoshop Elements 12, it isn't shown in the windows list

    I am trying to access the clone panel in Photoshop Elements 12. The tutorials I have seen show a drop down list from the windows button, however on my drop down list there is no clone panel.
    I guess my question is does PE12 have a clone panel and if so how do I access it?

    I've never heard of a "clone panel" but the clone stamp is in the Enhance section on the right side, below the Healing Brush. If you see the pattern stamp there instead, just click the clone stamp in the tool options at the bottom of the window.

  • Why doesn't windows list contain list of windows?

    using version 34.0.5 on mac and with latest update I no longer have a list of open windows under the windows menu. How can I correct this ?

    Hi ssymkens,
    There is bug report for this problem, so it will hopefully be resolved soon:
    https://bugzilla.mozilla.org/show_bug.cgi?id=1108802
    In the meantime, until it's fixed you might find Firefox's tab groups a useful alternative:
    [[Use Tab Groups to organize a lot of tabs]]
    Alternatively, you might be able to switch between Firefox windows by right-clicking the Firefox icon on your dock, or by prssing Cmd+` on your keyboard.
    (Cmd is the key that has a ⌘ symbol)
    Hope this helps,
    Jayelbe

Maybe you are looking for