Search found 294 matches

by JnLlnd
30 Oct 2014, 15:38
Forum: Ask For Help
Topic: Making the Remote TreeView class work
Replies: 13
Views: 3620

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: 941

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: 941

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: 13
Views: 3620

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...
by JnLlnd
22 Oct 2014, 20:36
Forum: Ask For Help
Topic: Getting CLSID or SpecialFolderConstant of an Explorer object
Replies: 16
Views: 5587

Re: Getting CLSID or SpecialFolderConstant of an Explorer ob

Here is a script doing what I described earlier. Not sure this is the most efficient solution but it "does the jod". Based on CLSID (not KNONWFOLDERID). ; objClassIdByLocalizedName["SpecialFolderLocalizedName"] returns the CLSID of this special folder like "{20d04fe0-3aea-1069-a2d8-08002b30309d}" gl...
by JnLlnd
22 Oct 2014, 08:37
Forum: Ask For Help
Topic: Getting CLSID or SpecialFolderConstant of an Explorer object
Replies: 16
Views: 5587

Re: Getting CLSID or SpecialFolderConstant of an Explorer ob

Let me explain what I want to to: I want to save info about the group of Explorer instances (screen position/size and current folder) in order to allow the user to re-open this group (restoring Explorer windows position and content). Saving position is easy. Saving the current path works well with t...
by JnLlnd
16 Oct 2014, 16:25
Forum: Ask For Help
Topic: Getting CLSID or SpecialFolderConstant of an Explorer object
Replies: 16
Views: 5587

Getting CLSID or SpecialFolderConstant of an Explorer object

Hi, Considering this code: For pExplorer in ComObjCreate("Shell.Application").Windows ; see http://msdn.microsoft.com/en-us/library/windows/desktop/aa752084(v=vs.85).aspx { strType := "" try strType := pExplorer.Type ; Gets the user type name of the contained document object. "Document HTML" for IE ...
by JnLlnd
21 Sep 2014, 07:48
Forum: Ask For Help
Topic: Trigger action on submenu?
Replies: 8
Views: 1098

Trigger action on submenu?

I would think it is not possible but you never know what you can discover until you as a question on this forum 8-)

When a menu has submenus, is it possible to trigger an action only when a submenu is opened? For example, refreshing this submenu?
by JnLlnd
17 Sep 2014, 18:19
Forum: Ask For Help
Topic: How to display a folder's properties window?
Replies: 8
Views: 1919

Re: How to display a folder's properties window?

Ah! The issue was with the first WinWait command. The window name was not recognized because of the SetTitleMatchMode mode. Now this works: SetTitleMatchMode, 2 Run, Properties %A_AppDataCommon% SplitPath, A_AppDataCommon, MyDir ; Don't use "Properties" to work in other Windows locales. Only use the...
by JnLlnd
15 Sep 2014, 22:33
Forum: Ask For Help
Topic: How to display a folder's properties window?
Replies: 8
Views: 1919

Re: How to display a folder's properties window?

Hummm... In the first script above, it seems that WinWaitClose does not detect when the Properties window is closed. The script keeps running until I kill the process.
by JnLlnd
15 Sep 2014, 22:19
Forum: Ask For Help
Topic: How to display a folder's properties window?
Replies: 8
Views: 1919

Re: How to display a folder's properties window?

Found two solutions: From the Run doc: Note: The properties window will automatically close when the script terminates. To prevent this, use WinWait to wait for the window to appear, then use WinWaitClose to wait for the user to close it. Run, Properties %A_ScriptDir% SplitPath, A_ScriptDir, MyDir ;...
by JnLlnd
15 Sep 2014, 21:44
Forum: Ask For Help
Topic: How to display a folder's properties window?
Replies: 8
Views: 1919

Re: How to display a folder's properties window?

Re-Oops! I posted the wrong code version in the comment above. RunWait shoud be Run. I'll edit it.
by JnLlnd
15 Sep 2014, 20:21
Forum: Ask For Help
Topic: How to display a folder's properties window?
Replies: 8
Views: 1919

Re: How to display a folder's properties window?

Oops! I tough this would do the job: Run, Properties %A_ScriptDir%, , , PID Sleep, 1000 WinWaitClose, ahk_pid %PID% But it seems the Properties command could not set the PID. Doc says: The variable will be made blank if the PID could not be determined, which usually happens if a system verb, documen...
by JnLlnd
15 Sep 2014, 20:12
Forum: Ask For Help
Topic: How to display a folder's properties window?
Replies: 8
Views: 1919

Re: How to display a folder's properties window?

Great. I was to follow up with what I've found here (http://blogs.msdn.com/b/oldnewthing/archive/2008/05/28/8555658.aspx) but the "properties" command is exactly when I need. I guess I'll have to add a WinWaitClose command to wait for the user to close the Properties window. I'll be back with someth...
by JnLlnd
15 Sep 2014, 18:20
Forum: Ask For Help
Topic: How to display a folder's properties window?
Replies: 8
Views: 1919

How to display a folder's properties window?

Is there a Windows command-line command (to call with Run), a DllCall or COM object that would allow me to display the properties window of a given folder? I've found this but the info there looks outdated: http://www.autohotkey.com/board/topic/33233-file-properties-summary-author-subject-comments-e...
by JnLlnd
08 Sep 2014, 11:39
Forum: Ask For Help
Topic: FileGetShortcut error when drive removed - even w/ Try-Catch
Replies: 16
Views: 2772

Re: FileGetShortcut error when drive removed - even w/ Try-C

Grrr... I was not able to reproduce the issue on PC #2 (same PC, same external drive, same script...). I have no idea of what changed since Friday... I hate these intermittent bugs... I can assure that I'm not the only one having this issue. It has been reported a few times on my blog by users of my...
by JnLlnd
06 Sep 2014, 22:47
Forum: Ask For Help
Topic: 4 options to change the current folder in Windows Explorer
Replies: 63
Views: 18020

Re: 4 options to change the current folder in Windows Explor

Hum... Interesting. So much work for something that should just be working in the first time... I suppose this is not the first time you have to work that hard around a Windows bug :-) I adapted my code to use SendInput command with {Raw} option instead of the ControlSetText approach that is now irr...
by JnLlnd
06 Sep 2014, 14:28
Forum: Ask For Help
Topic: FileGetShortcut error when drive removed - even w/ Try-Catch
Replies: 16
Views: 2772

Re: FileGetShortcut error when drive removed - even w/ Try-C

Ofcourse!... I had to test before I posted. :) It works great, thanks. Just bad that Win XP does not see it. I'll have two options: keep FileGetShortcut if the DllCall avoid the error message on my PC #2, or use the WMI approach keeping FileGetShortcut for XP only. This would at least circumscribe ...
by JnLlnd
06 Sep 2014, 13:47
Forum: Ask For Help
Topic: FileGetShortcut error when drive removed - even w/ Try-Catch
Replies: 16
Views: 2772

Re: FileGetShortcut error when drive removed - even w/ Try-C

You may use the following to retrieve Recent folder's path in AHK 1.0 and 1.1 : Thanks for the RegRead hint, Skan! Always glad to replace 9 lines of code with one and produce more reliable code! WMI provides an alternate way to retrieve target file from shortcut with Win32_ShortcutFile , but recent...
by JnLlnd
05 Sep 2014, 20:41
Forum: Ask For Help
Topic: FileGetShortcut error when drive removed - even w/ Try-Catch
Replies: 16
Views: 2772

Re: FileGetShortcut error when drive removed - even w/ Try-C

It is so great to have you around Lexikos. I'll have to wait until Monday to test this command on my PC #2. But it seems to be exactly what I needed. Thanks!

Go to advanced search