Search found 310 matches

by JnLlnd
01 Jan 2015, 22:49
Forum: Bug Reports
Topic: Gui, Add, Link, center -> fail to center
Replies: 2
Views: 1076

Gui, Add, Link, center -> fail to center

Hi, This was mentioned on the old forum in 2012 but it seems that this has not been properly reported as a bug (or a limitation), as it should be. Gui, Add, Text, center y10 w520, This is a centered Text Gui, Add, Link, center w520, This is a not centered Link Gui, Show, w540 OTOH, the right option ...
by JnLlnd
01 Jan 2015, 22:40
Forum: Offtopic
Topic: [FIXED] Remove Link from banned words in the forum search
Replies: 8
Views: 2480

[FIXED] Remove Link from banned words in the forum search

Hi, If the forum administrator can do something about this. When we search the word "Link" (a Gui command in AHK), the forum says: The following words in your search query were ignored because they are too common words: link. Since this is an AHK command, it would help if this word could be indexed ...
by JnLlnd
23 Dec 2014, 23:37
Forum: Ask For Help
Topic: Navigate an Explorer object to a CLSID address
Replies: 8
Views: 2188

Re: Navigate an Explorer object to a CLSID address

For the record, I found that the following ShellCommand work in Win_XP with the command "Run Explorer shell:command" AppData Cache Common Administrative Tools Common AppData Common Desktop Common Start Menu Common Startup ConnectionsFolder ControlPanelFolder Cookies Desktop Favorites History My Musi...
by JnLlnd
15 Dec 2014, 22:32
Forum: Ask For Help
Topic: Navigate an Explorer object to a CLSID address
Replies: 8
Views: 2188

Re: Navigate an Explorer object to a CLSID address

Maybe if you try "shell:" commands? shell:NetworkPlacesFolder See http://www.sevenforums.com/tutorials/4941-shell-command.html Yes, it works! I knew about these registry keys "Shell Folders" (HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders) but I did not know abou...
by JnLlnd
15 Dec 2014, 19:26
Forum: Ask For Help
Topic: Navigate an Explorer object to a CLSID address
Replies: 8
Views: 2188

Navigate an Explorer object to a CLSID address

I'm using the .Navigate method to change the current folder in an Explorer window. For pExp in ComObjCreate("Shell.Application").Windows { if (pExp.hwnd = hwnd) { ; matching window found pExp.Navigate(FullPath) ; *** DOES NOT ACCEPT CLSID IN THE FORMAT "::{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" retu...
by JnLlnd
16 Nov 2014, 22:36
Forum: Ask For Help
Topic: Getting CLSID or SpecialFolderConstant of an Explorer object
Replies: 16
Views: 6977

Re: Getting CLSID or SpecialFolderConstant of an Explorer ob

lexikos wrote:The ShellWindows collection includes Internet Explorer windows, for which 'Folder' is not a valid property. The try statement allows those to be skipped without having to check what type of window it is.
Good. That way, my code is safe because I read the Path only for the correct Type. Thanks.
by JnLlnd
16 Nov 2014, 19:30
Forum: Ask For Help
Topic: Getting CLSID or SpecialFolderConstant of an Explorer object
Replies: 16
Views: 6977

Re: Getting CLSID or SpecialFolderConstant of an Explorer ob

for window in ComObjCreate("Shell.Application").Windows try MsgBox % window.Document.Folder.Self.Path Hi lexikos, What is the reason for using try ? Or what's the risk of not using it? FYI, in my code, I check if window.Type is not empty to make sure window is a file Explorer (not an Internet Explo...
by JnLlnd
10 Nov 2014, 17:11
Forum: Ask For Help
Topic: PickIconDlg and string encoding
Replies: 9
Views: 1939

Re: PickIconDlg and string encoding

Avoid the error message and return an empty string? The MsgBox is not part of the function. The function returns False silently . It was not the MsgBox but a runtime error that was caused by the same typo: Error: This DllCall requires a prior VarSetCapacity. The program is now unstable and will exi...
by JnLlnd
09 Nov 2014, 19:23
Forum: Ask For Help
Topic: Getting CLSID or SpecialFolderConstant of an Explorer object
Replies: 16
Views: 6977

Re: Getting CLSID or SpecialFolderConstant of an Explorer ob

for window in ComObjCreate("Shell.Application").Windows try MsgBox % window.Document.Folder.Self.Path Hummm... I'll save quite a bunch of lines in my code with those only two lines :-) Thanks lexikos, just me and coco for these infos. [OT] I missed email alerts for these updates. I checked and I'm ...
by JnLlnd
09 Nov 2014, 17:25
Forum: Ask For Help
Topic: PickIconDlg and string encoding
Replies: 9
Views: 1939

Re: PickIconDlg and string encoding

What else should the function do? Just do nothing if the user cancel. Avoid the error message and return an empty string? The file name is a part of the path. Oh. Reading this Naming Files, Paths, and Namespaces , I was under the impression that the file name was excluded from the max length path l...
by JnLlnd
09 Nov 2014, 12:32
Forum: Ask For Help
Topic: PickIconDlg and string encoding
Replies: 9
Views: 1939

Re: PickIconDlg and string encoding

Oops... Just found that the line VarSetCapacity(sIconPath, 1024) in my last post prevents a default path to be correctly passed to the function. In fact, this line must be placed before the variable content is initialized. Like this: Gui, Show, h100 w100, PickIconDlg WinGet, hWnd, ID, PickIconDlg Va...
by JnLlnd
08 Nov 2014, 18:17
Forum: Ask For Help
Topic: PickIconDlg and string encoding
Replies: 9
Views: 1939

Re: PickIconDlg and string encoding

Of course, it helps! :-) This was old code for a previous AHK version. I tried to simplify the code but the path was not updated. I realize I just forgot to replace the wIconPath variable name with sIconPath. :eh: So your code works. But, on WinXP, in case the returned path is longer than the origin...
by JnLlnd
08 Nov 2014, 16:16
Forum: Ask For Help
Topic: PickIconDlg and string encoding
Replies: 9
Views: 1939

PickIconDlg and string encoding

Hi, I'm trying to use the PickIconDlg function to select an icon. All I found about this on the old site is dated 2009 and does not work on my system. I tried to find something more recent on this (not so) new AHK forum, but found nothing. I tried different variation around this code and never got i...
by JnLlnd
03 Nov 2014, 08:48
Forum: Ask For Help
Topic: Making the Remote TreeView class work
Replies: 14
Views: 4931

Re: Making the Remote TreeView class work

Thank you just me. I updated the comment above with the changes to TreeView Example.ahk.
by JnLlnd
02 Nov 2014, 21:33
Forum: Ask For Help
Topic: Making the Remote TreeView class work
Replies: 14
Views: 4931

Re: Making the Remote TreeView class work

The updated script with fixes from just me: TreeView Example.ahk: adapted to work on both Win_XP and Win_7. #NoEnv #SingleInstance force SetBatchLines -1 ListLines Off SendMode Input SetWorkingDir %A_ScriptDir% ; Autoexecute #Include %A_ScriptDir%\Const_TreeView.ahk #Include %A_ScriptDir%\Const_Proc...
by JnLlnd
02 Nov 2014, 21:26
Forum: Ask For Help
Topic: Making the Remote TreeView class work
Replies: 14
Views: 4931

Re: Making the Remote TreeView class work

Hi just me,

I tested it on Win7 and WinXP and it works well on both patforms.

I'll post an updated version of the class and example scripts in the next comment.

Many thanks!
by JnLlnd
30 Oct 2014, 15:38
Forum: Ask For Help
Topic: Making the Remote TreeView class work
Replies: 14
Views: 4931

Re: Making the Remote TreeView class work

just me wrote:This is seemingly working with AHK U64:
Yes it does! Thank you just me!

Does the original version OK for 32-bit systems? To work on 32-bit and 64-bit system, should the script be adapted with an if checking %A_Is64bitOS% ?
by JnLlnd
29 Oct 2014, 12:12
Forum: Offtopic
Topic: Looking for Rexx
Replies: 1
Views: 1195

Re: Looking for Rexx

OK, I found his email address.
by JnLlnd
28 Oct 2014, 16:08
Forum: Offtopic
Topic: Looking for Rexx
Replies: 1
Views: 1195

Looking for Rexx

Hi,

Does anybody knows if Rexx (on the old forum) is still active maybe under a new nickname?

I'd like to chat with him.

Jean
by JnLlnd
28 Oct 2014, 06:07
Forum: Ask For Help
Topic: Making the Remote TreeView class work
Replies: 14
Views: 4931

Making the Remote TreeView class work

Two years ago, rbrtryn wrote a class module to handle treeview in Windows (http://www.autohotkey.com/board/topic/84310-class-remote-treeview/). It is not mentioned on what Windows version it was designed but we are some users who tried it on Win 7 finding that some methods do not work (at least GetT...

Go to advanced search