Search found 327 matches
- 22 Jul 2014, 10:38
- Forum: Ask For Help
- Topic: When a location needs authentication show login prompt
- Replies: 2
- Views: 1105
Re: When a location needs authentication show login prompt
Are you asking if there's a way to pull that prompt up manually? Are you asking to derive the domain automatically? Or are you asking why your run command doesn't work?. Ideally, the Run would show the login prompt if authentication is required. If this cannot be obtained from the Run command, I'm ...
- 20 Jul 2014, 19:46
- Forum: Ask For Help
- Topic: When a location needs authentication show login prompt
- Replies: 2
- Views: 1105
When a location needs authentication show login prompt
Hello, I could not find info on the AHK forums or Stackoverflow. I'd like to detect that a given Windows location needs authentication and have the login prompt presented to the user. If I simply use the Run command, AHK returns an error like the one below. strLocation := "\\projets.domain.org\DavWW...
- 14 Jul 2014, 05:55
- Forum: Scripts and Functions
- Topic: Center and resize a row of buttons automatically
- Replies: 3
- Views: 2943
Re: Center and resize a row of buttons automatically
Thank you DataLife. Happy that it can help.
And thank you jbali fotr the tip. Did'nt know about this setting.
And thank you jbali fotr the tip. Did'nt know about this setting.
- 13 Jul 2014, 07:16
- Forum: Scripts and Functions
- Topic: Center and resize a row of buttons automatically
- Replies: 3
- Views: 2943
Center and resize a row of buttons automatically
I needed to standardize the position and size of my action buttons (Save, Close, Cancel, etc.) and to center them in my various Gui. This function is doing it. It will be in the next release of my app Folders Popup . Thanks to user Greet for suggesting this improvement. Gui, New, , MyWindow Gui, Add...
- 08 Jul 2014, 06:04
- Forum: Ask For Help
- Topic: How to determine if a dialog box is a "file" dialog box?
- Replies: 3
- Views: 1875
Re: How to determine if a dialog box is a "file" dialog box?
This is what I'm doing, checking window title. But, my freeware application becoming distributed in various countries, there is a wide variety of file dialog boxes titles in English, not to mention localized version of Windows. In my app, user can add and manage file dialog boxes. But, for some non-...
- 07 Jul 2014, 21:40
- Forum: Ask For Help
- Topic: How to determine if a dialog box is a "file" dialog box?
- Replies: 3
- Views: 1875
How to determine if a dialog box is a "file" dialog box?
Hello, Is there a safe way to tell if a dialog box (having class "#32770") is a file dialog box? By "file dialox box", I mean a dialog box containing a folders list, a file name text zone, a Save/Open/etc. button, etc. Is there any control name (other than "Edit1") or hidden info that would be revea...
- 01 Jul 2014, 17:25
- Forum: Ask For Help
- Topic: Show an AHK menu with submenu already open
- Replies: 6
- Views: 2575
Re: Show an AHK menu with submenu already open
Thanks for pointing this trismarck. To me, this closes the point. I can find another approach to what I want to achieve.trismarck wrote:See here.
Thank you all !
- 01 Jul 2014, 15:35
- Forum: Ask For Help
- Topic: Show an AHK menu with submenu already open
- Replies: 6
- Views: 2575
Re: Show an AHK menu with submenu already open
Thanks for trying all this, guest3456.
Using your code, I played with various combination of SetTimer, Sleep, priority, etc. without more success.
Maybe, this is just not possible?
Using your code, I played with various combination of SetTimer, Sleep, priority, etc. without more success.
Maybe, this is just not possible?
- 30 Jun 2014, 21:48
- Forum: Ask For Help
- Topic: Show an AHK menu with submenu already open
- Replies: 6
- Views: 2575
Re: Show an AHK menu with submenu already open
Alt-x is used to open menus like &File (Alt-F), &Options (Alt-O).guest3456 wrote:You sure its not Alt+M ?
With an AHK popup menu, typing "M" manually works. And when an AHK popup menu is displayed, pressing Alt closes it.
- 30 Jun 2014, 20:44
- Forum: Ask For Help
- Topic: Show an AHK menu with submenu already open
- Replies: 6
- Views: 2575
Show an AHK menu with submenu already open
I haven't found a post on this yet. How can I show an AHK menu with one of its submenu already open? I tried this: Menu, MyMenu, Add, Item1, MenuHandler Menu, Submenu1, Add, Item1, MenuHandler Menu, MyMenu, Add, &My Submenu, :Submenu1 return MenuHandler: MsgBox You selected %A_ThisMenuItem% from the...
- 23 Apr 2014, 19:14
- Forum: Ask For Help
- Topic: 4 options to change the current folder in Windows Explorer
- Replies: 64
- Views: 26065
Re: 4 options to change the current folder in Windows Explor
Trying this with a folder name including # did not work! (EDIT: See foot note) This works: run, Explorer.exe Sleep, 500 Send, {F4}{Esc} Sleep, 500 Send, c:\delete_me{Enter} But this does not work: (EDIT: See foot note) run, Explorer.exe Sleep, 500 Send, {F4}{Esc} Sleep, 500 Send, c:\delete#me{Enter}...
- 23 Apr 2014, 16:53
- Forum: Ask For Help
- Topic: 4 options to change the current folder in Windows Explorer
- Replies: 64
- Views: 26065
Re: 4 options to change the current folder in Windows Explor
Unfortunately, there does not seem to be a solution to this: For pExp in ComObjCreate("Shell.Application").Windows if (pExp.hwnd = strWinId) try pExp.Navigate(myPath) This will fail if myPath includes a hash (# as in C:\C#Projects). The workaround would be to rely on the "second best" approach as id...
- 17 Apr 2014, 08:59
- Forum: Ask For Help
- Topic: Error: "k" is not a valid key name using the Hotkey command
- Replies: 6
- Views: 5390
Re: Error: "k" is not a valid key name using the Hotkey comm
Now fixed in v1.2.4 of FoldersPopup !
- 17 Apr 2014, 06:25
- Forum: Ask For Help
- Topic: Error: "k" is not a valid key name using the Hotkey command
- Replies: 6
- Views: 5390
Re: Error: "k" is not a valid key name using the Hotkey comm
Here are the results for a russian keyboard : ASCII 0 - 2) The KeyName parameter specifies one or more keys that are either not recognized or not supported by the current keyboard layout/language. ASCII 1 - OK. ASCII 2 - OK. ASCII 3 - OK. ASCII 4 - OK. ASCII 5 - OK. ASCII 6 - OK. ASCII 7 - OK. ASCII...
- 16 Apr 2014, 07:26
- Forum: Ask For Help
- Topic: Error: "k" is not a valid key name using the Hotkey command
- Replies: 6
- Views: 5390
Re: Error: "k" is not a valid key name using the Hotkey comm
Here is the test code. I use ErrorLevel instead as explained in the HotKey command doc: str := "" loop, 256 { int := A_Index - 1 Hotkey, % "$#" . chr(int), MyLabel, Off UseErrorLevel if (ErrorLevel) { if (errorlevel = 1) str := str . "`nASCII " . int . " - 1) The Label parameter specifies a nonexist...
- 16 Apr 2014, 06:10
- Forum: Ask For Help
- Topic: Error: "k" is not a valid key name using the Hotkey command
- Replies: 6
- Views: 5390
Re: Error: "k" is not a valid key name using the Hotkey comm
Thank you for your input Lexikos. One of the user is using a Russian Windows. This could be it. Tonight, I'll ask the Russian Windows user to run a compiled script that will try to create (and delete) hotkeys for each letter. I will use the Try command. That should allow to trap invalid letters. Som...
- 15 Apr 2014, 21:29
- Forum: Ask For Help
- Topic: associative array declaration?
- Replies: 3
- Views: 1241
Re: associative array declaration?
Usually, i create associative array variables like this
varname := Object()
or
Global varname := Object()
before I use them.
varname := Object()
or
Global varname := Object()
before I use them.
- 15 Apr 2014, 21:20
- Forum: Ask For Help
- Topic: Error: "k" is not a valid key name using the Hotkey command
- Replies: 6
- Views: 5390
Error: "k" is not a valid key name using the Hotkey command
Hello, I'm having hard time understanding what's the cause for this symptom reported by two different users of my freeware app FoldersPopup ( sources on GitHub ) using Win7 and Win8.1. The app is compiled using ahk2exe v1.1.11.01 in 32-bit and 64-bit. When my app is launched, it creates 5 hotkeys. T...
- 04 Apr 2014, 11:57
- Forum: Ask For Help
- Topic: 4 options to change the current folder in Windows Explorer
- Replies: 64
- Views: 26065
Navigate Shell command not working when the path includes ha
Hello! I'm having problem using the Navigate Shell command when the path include an # sign (search keywords: hashtag, number sign or pound). I posted the question on StackOverflow: http://stackoverflow.com/questions/22868546/navigate-shell-command-not-working-when-the-path-includes-an-hash You could...
- 10 Feb 2014, 07:11
- Forum: Ask For Help
- Topic: Is "Gui +Disabled" supposed to disable the keyboard?
- Replies: 4
- Views: 1839
Re: Is "Gui +Disabled" supposed to disable the keyboard?
Yes. That's it. Thanks Just me.just me wrote:Code: Select all
Gui, -Disabled GuiControl, Focus, List ; <<<<<<<<<<<<<<<<<<<<<<<