| Author |
Message |
Forum: Support Topic: Using params to set object properties |
| gemisigo |
|
Replies: 2 Views: 16
|
| In the first example you explicitly assigned 'b' a string, once you've done that you can't use the syntax to implicitly assign 'b' as an object, you have to explicitly assign it first, then assign 'c1' as a subset of 'b'. In the second example you implicitly assigned 'b' as an object then explicitl... |
|
 |
Forum: Support Topic: Using params to set object properties |
| gemisigo |
|
Replies: 2 Views: 16
|
| Let's suppose we have the following situation. There's an object called test_object. For some reason the code below fails. It does not produce any errors but the second assignment command does not overwrite the string at test_object["a", "b"] with the new object, hence string &qu... |
|
 |
Forum: Support Topic: Retrieving Group for a WinTitle/class/pid/id |
| gemisigo |
|
Posted: Yesterday, 5:51 pm
|
|
Replies: 7 Views: 64
|
| Only you know what criteria you've used to create your groups, you can easily build a function to verify which groups are which and if a window belongs to one of them based on your group criteria: It would be highly unfortunate if I were the only one that knows the criteria that classify the groups... |
|
 |
Forum: Support Topic: Retrieving Group for a WinTitle/class/pid/id |
| gemisigo |
|
Posted: Yesterday, 2:32 pm
|
|
Replies: 7 Views: 64
|
engunneer wrote: I think you'd have to track it manually when you add them to the group. Exactly what I'd like to avoid. |
|
 |
Forum: Support Topic: Retrieving Group for a WinTitle/class/pid/id |
| gemisigo |
|
Posted: Yesterday, 8:00 am
|
|
Replies: 7 Views: 64
|
| Thanks for the idea but that's not an applicable solution in my case. It would require maintaining the code in multiple files and at several different locations. |
|
 |
Forum: Support Topic: Retrieving Group for a WinTitle/class/pid/id |
| gemisigo |
|
Posted: May 21st, 2012, 1:24 pm
|
|
Replies: 7 Views: 64
|
| Is there a way to retrieve the groupname(s) for a group a certain WinTitle/ahk_class/ahk_pid/ahk_id belongs to? |
|
 |
Forum: Scripts Topic: RADIAL MENU scripts |
| gemisigo |
|
Posted: May 18th, 2012, 9:39 pm
|
|
Replies: 779 Views: 111529
|
Brilliant, thanks  |
|
 |
Forum: Scripts Topic: RADIAL MENU scripts |
| gemisigo |
|
Posted: May 18th, 2012, 11:02 am
|
|
Replies: 779 Views: 111529
|
@Learning one:
There is a reference to RMApp_Reg("ControlUMClass") in My mouse gestures.ahk. Is there something similar for getting the class of the window under the mouse cursor? |
|
 |
Forum: Scripts Topic: RADIAL MENU scripts |
| gemisigo |
|
Posted: May 9th, 2012, 2:55 pm
|
|
Replies: 779 Views: 111529
|
| I suggest using something like this; Put this in My functions.ahk RunOrOpen(ScriptFullPath) { if GetKeyState("Shift", "p") ; if you are holding Shift down in a moment when selectiong RM item Run, notepad "%ScriptFullPath%" ; open script in notepad or your script editor... |
|
 |
Forum: Scripts Topic: RADIAL MENU scripts |
| gemisigo |
|
Posted: April 11th, 2012, 9:06 pm
|
|
Replies: 779 Views: 111529
|
| Meanwhile, would you mind casting some light on what's changed? |
|
 |
Forum: Support Topic: string-compare with MSXML2.DOMDocument.6.0 |
| gemisigo |
|
Posted: April 5th, 2012, 8:54 am
|
|
Replies: 0 Views: 115
|
| I've created a MSXML2.DOMDocument.6.0 Com object. I have a loop that tries to locate nodes using "Registry[Name = '" reg_entry[A_Index] "']/Registries" as the query string. The problem is that the info in elements and the strings at reg_entry[A_Index] might be case inconsistent. ... |
|
 |
Forum: Scripts Topic: RADIAL MENU scripts |
| gemisigo |
|
Posted: March 28th, 2012, 1:40 pm
|
|
Replies: 779 Views: 111529
|
| Simply drop it on the desired menu in Radial Menu Designer (RMD). |
|
 |
Forum: Scripts Topic: AutoHotFile - Automated Keyword Launcher 1.0.0.14 |
| gemisigo |
|
Posted: March 27th, 2012, 8:44 pm
|
|
Replies: 165 Views: 38532
|
|
 |
Forum: Scripts Topic: AutoHotFile - Automated Keyword Launcher 1.0.0.14 |
| gemisigo |
|
Posted: March 27th, 2012, 8:26 pm
|
|
Replies: 165 Views: 38532
|
| Hmm, interesting. But it still does not work. I edited the file according to your suggestion but then I realized that it's not the keyword returned that is failing. Return RegExReplace(path,"\W","_") would replace spaces with underscores but the problem is that 'path' alr... |
|
 |
Forum: Scripts Topic: AutoHotFile - Automated Keyword Launcher 1.0.0.14 |
| gemisigo |
|
Posted: March 27th, 2012, 8:01 pm
|
|
Replies: 165 Views: 38532
|
| No this behaviour was changed, I just have not updated the tutorial. This is the same for new version, I will add an option to replace non-word characters. For the moment you can replace GetKeyWord function to do that permanently. GetKeyWord(path){ global #__SET__KEYWORD_ENDCHAR_ path:... |
|
 |
| Sort by: |