AutoHotkey Community

It is currently May 26th, 2012, 2:55 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 337 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9 ... 23  Next
Author Message
 Post subject:
PostPosted: November 30th, 2007, 8:51 pm 
Offline

Joined: November 30th, 2007, 8:51 pm
Posts: 1
I succefully created a exe file with autohotkey and a system tray icon of windowpad appears on the system tray.

But if i hold the Windows key and presses some key of the numpad nothing happens :-(

(My numpad is activated)...

Does anyone know what I could be doing wrong??

I have Windows XP SP2.

Thanks alot!!

Greetings,
Pieter


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 1st, 2007, 12:18 am 
look in winpad.ini there are all the hotkeys ..test for instance numpad0+ on a window


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 8th, 2007, 9:00 pm 
Offline

Joined: October 18th, 2006, 8:07 pm
Posts: 169
Awsome script - this is going to save so much time! Beta version gives me this error, though:

Quote:
---------------------------
WindowPad.ahk
---------------------------
Error at line 116.

Line Text: "`n"
Error: Bad default value.

The program will exit.
---------------------------
OK
---------------------------



Cheers, Daorc :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 8th, 2007, 9:26 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8666
Location: Salem, MA
that means you need to upgrade your version of AHK. it was changed to alow default values for functions to be strings.

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
PostPosted: December 24th, 2007, 4:34 pm 
Hello,

I'm using WinPad and enjoying it immensely - great job!

However, I have a nagging problem that appears from time to time which I think is related to WinPad. Sometimes, windows insist on staying hidden behind other windows. For example, at the moment the IE window in which I'm writing this is on top. I have another window, minimized. I click it on the taskbar, and it restores but the part that is supposed to come in front of this IE window comes instead to the back.

Has anyone had such a problem ? I think it appears only when using WinPad!

TIA


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 25th, 2007, 12:57 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7501
Location: Australia
WindowPad does not detect activation, or even activate windows. I can't even begin to imagine how it could cause that behaviour.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Hotkey for minimizing?
PostPosted: January 14th, 2008, 10:10 am 
Offline

Joined: January 14th, 2008, 10:02 am
Posts: 5
Thank you, Lexikos, for an absolutely great tool! I love the beta with the customizable keys, although I'm very happy with the default assignments (more so than with the original Windows key combinations, which I like to reserve for my own hotkeys).

It was a bit confusing that the comments in the beta still referred to the old hotkeys, but it's a beta after all.

I wonder if it might make sense to include a hotkey for toggling the minimized status of the current or the previous window as a counterpart to the Maximize toggle (currently Num0/NumDot+NumAdd). There would even be an intuitive hotkey free for use: Num0/NumDot+NumMinus.

Or am I overlooking something and minimizing is already available?

Thanks again, Lexikos, for your great contribution.
Endre


Report this post
Top
 Profile  
Reply with quote  
PostPosted: January 14th, 2008, 10:49 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7501
Location: Australia
Endre wrote:
It was a bit confusing that the comments in the beta still referred to the old hotkeys, but it's a beta after all.
I didn't really intend to release it like that, but lost interest in developing WindowPad. I chose to release it in its incomplete form rather than keeping it to myself. :)
Quote:
I wonder if it might make sense to include a hotkey for toggling the minimized status of the current or the previous window as a counterpart to the Maximize toggle (currently Num0/NumDot+NumAdd).
Commands can be added to the beta as simply as adding a label. Adding the following to WindowPad will allow you to assign "Minimize" and "Unminimize" to keys in WindowPad.ini, like any other WindowPad command.
Code:
Minimize:
    ;WinMinimize, A  ; seems to leave the window active on my system...
    PostMessage, 0x112, 0xF020,,, A  ; WM_SYSCOMMAND, SC_MINIMIZE
    return
Unminimize:
    if WinExist(GetLastMinimizedWindow())
        WinRestore
    return

GetLastMinimizedWindow()
{
    WinGet, w, List

    Loop %w%
    {
        wi := w%A_Index%
        WinGet, m, MinMax, ahk_id %wi%
        if (m = -1) ; minimized
            lastFound := wi
    }

    return "ahk_id " . (lastFound ? lastFound : 0)
}
I use GetLastMinimizeWindow() with my mouse gestures script. I usually use XButton2 & LButton to minimize and RButton & left, right (or right, left) to restore, so never added these features to WindowPad.


Bug: I find that sometimes (usually only the first time I press CapsLock after logging in) the CapsLock hotkey doesn't register and it instead toggles caps lock. Does anyone else have this or a similar issue?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 14th, 2008, 3:45 pm 
Offline

Joined: July 20th, 2007, 10:23 am
Posts: 257
Location: Paris, France
Hi. I'm using 1.5 beta.
To facilitate inclusion in an other script, I have added a little function to set the WindowPad ini path, otherwise, when the ini must be in the same dir as the main script.
Code:
WindowPadSetIni(path)
{
    global
    WINDOWPAD_INI_PATH := path
}
And this modification line 75:
Code:
    if(WINDOWPAD_INI_PATH == "")
        WINDOWPAD_INI_PATH = %A_ScriptDir%\WindowPad.ini
Then, init is done like this:
Code:
   WindowPadSetIni(A_ScriptDir . "\Addons\WindowPad\WindowPad.ini")
   Gosub, WindowPadInit


:?: I tried to use Ctrl and Shift+Ctrl as a replacement of Numpad0 and NumpadDot, but I doesn't work
Code:
^ = Hotkeys, Active Window (Numpad)
+^ = Hotkeys, Previous Window (Numpad)



:arrow: Also, referring to an previous post where a asked you about a button to move windows accross screen.
lexikos wrote:
Feel free to work on it yourself, and post it here (or elsewhere) for any other users that might find it useful. Smile You can trigger a screen-switch in WindowPad using:
I finally decide myself to use two simple mouse combos (just using the mouse was the goal)
Code:
MButton & RButton::WindowScreenMove("Next")
MButton & LButton::WindowScreenMove("Prev")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 14th, 2008, 5:03 pm 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7501
Location: Australia
Andreone wrote:
To facilitate inclusion in an other script, I have added a little function to set the WindowPad ini path, otherwise, when the ini must be in the same dir as the main script.
I'll keep that in mind for when I eventually update WindowPad. Perhaps WindowPadInit should become WindowPad_Init(IniPath).
Quote:
I tried to use Ctrl and Shift+Ctrl as a replacement of Numpad0 and NumpadDot, but I doesn't work
Code:
^ = Hotkeys, Active Window (Numpad)
+^ = Hotkeys, Previous Window (Numpad)
WindowPad.ini maps hotkeys to actions. +^ is actually Shift+6 with US keyboard layout. (The "^" is not interpreted as a modifier, since there is no key name to modify.)

The next issue is that Numpad1 (with no *) will not trigger if any standard modifier keys are pressed.

The final issue is that Windows sends different key codes for the number pad when shift is down. Numpad1 becomes NumpadEnd, Numpad2 becomes NumpadDown, etc.

The "Hotkeys:" sections (and corresponding Hotkey = Hotkeys, SectionName) are really only appropriate for "custom combinations." If you are using regular modifier keys, you can merge the "Hotkeys:" sections with the main "Hotkeys" section, and prepend the modifier symbols to each hotkey.


The WindowPad GUI was intended to handle all these details for you. Mostly due to lack of proper planning, I got side-tracked with unnecessary features and lost interest.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 16th, 2008, 12:57 pm 
Offline

Joined: July 20th, 2007, 10:23 am
Posts: 257
Location: Paris, France
lexikos wrote:
I'll keep that in mind for when I eventually update WindowPad. Perhaps WindowPadInit should become WindowPad_Init(IniPath).
Yes, that would be the best.

lexikos wrote:
The WindowPad GUI was intended to handle all these details for you. Mostly due to lack of proper planning, I got side-tracked with unnecessary features and lost interest.
Too bad :cry: I hope you'll change your mind. WindowPad is a great little app and easy configuration of what prefix keys to use is the last thing missing.
Actually, I wanted to switch from Numpad0 to Ctrl because I sometimes type a hotkey by accident when typing numbers quickly. This is annoying to have the activated window resized to a quarter of the screen because I typed 1.01 :lol:
For now, I will stick to WADS.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2008, 2:25 am 
Offline

Joined: December 6th, 2007, 12:48 pm
Posts: 364
Are there any conflicts (not shown by errormessages) between Windowpad and Nifty Windows? This is because I appended both of them to my main script and WP is not working... however, if I close my script and run WP separately, it works. What can I do?

_________________
AHK is perfect.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2008, 6:15 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7501
Location: Australia
WindowPad needs to be initialised either by including it in the auto-execute section of the script or...
Code:
gosub WindowPadInit


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 4th, 2008, 12:30 am 
Offline

Joined: December 6th, 2007, 12:48 pm
Posts: 364
lexiKos wrote:
WindowPad needs to be initialised either by including it in the auto-execute section of the script or...
Code:
gosub WindowPadInit


Thanks!

_________________
AHK is perfect.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 6th, 2008, 3:58 am 
Is there any trick someone could use to span a window across two monitors and remove the area that would be behind the bezels of the two monitors.

Akin to the bezels blocking the view of the window? If you could clone the spanned window, move the clone to the right, resize-bezel width, move the original to the left and resize-bezel width or something like that. Anything be used to clone a window?

I guess resize wont work, how about chop the contents of a window?


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 337 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9 ... 23  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 23 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group