Results 1 to 4 of 4

Thread: [Windows] How do I assign desktop corners to *whatever*

  1. #1
    Join Date
    Mar 2006
    Location
    Lisbon, Portugal
    Beans
    1,909

    [Windows] How do I assign desktop corners to *whatever*

    Hello there.
    I've been trying to do a very simple thing:
    assign my top left corner of the desktop to the key combination ctrl+alt+tab (to "emulate" the show windows of Compiz and Kwin)

    It seems it's impossible!!
    There are programs to assign my corners to everything BUT a key combination, programs that do alt+tab but react to the whole edge of the screen and do autoscrolling (stupid idea), I even found an application that could do Alt+tab, but that only changes the window, I want the dialog to stay open!

    So, my question is: is there anyway to assign a key combination to a corner? Or is there anyway to write something similar to a bash script that runs the given key combination (because I think I can assign corners to files/programs, so that would be a work around)

    Thanks
    My blog | Arch User | Linux user #439142 | Ubuntu user #10974
    "God is real unless you declare it as integer"

  2. #2
    Join Date
    Oct 2007
    Location
    UK
    Beans
    484
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: [Windows] How do I assign desktop corners to *whatever*

    The open source way would be to write your own program to do what you want. Python supports Win32, maybe it supports Alt-Tab (or creating a key combination) and cursor position.
    Lucid Beta 2 powered Studio 15 (Core 2 Duo 2.0GHz, 3 GB RAM, HD 3450) & Windows XP powered Scaleo E (Celeron D 3.06GHz, 1.5GB RAM, Intel GMA 915G). Please see Ubuntu Tutorials (my YouTube channel).

  3. #3
    Join Date
    Mar 2006
    Location
    Lisbon, Portugal
    Beans
    1,909

    Re: [Windows] How do I assign desktop corners to *whatever*

    Quote Originally Posted by tom66 View Post
    The open source way would be to write your own program to do what you want. Python supports Win32, maybe it supports Alt-Tab (or creating a key combination) and cursor position.
    I totally forgot about python. It has to be possible to call keyboard events.
    Thanks! I'll try doing it
    My blog | Arch User | Linux user #439142 | Ubuntu user #10974
    "God is real unless you declare it as integer"

  4. #4
    Join Date
    Mar 2006
    Location
    Lisbon, Portugal
    Beans
    1,909

    Re: [Windows] How do I assign desktop corners to *whatever*

    Actually, 2 lines in VB will do the trick:

    Code:
    set WshShell = WScript.CreateObject("WScript.Shell")
    WshShell.SendKeys "+(^%{TAB})"
    Thanks for the suggestion

    EDIT: I forgot to say that I'm using a (free) program called Hot Corners to assign my top left corner to the script I created
    Last edited by raul_; September 29th, 2009 at 11:02 PM.
    My blog | Arch User | Linux user #439142 | Ubuntu user #10974
    "God is real unless you declare it as integer"

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •