Search found 1106 matches

by armsys
Sat Dec 05, 2015 8:12 pm
Forum: Technical / Scripting
Topic: Using Global Hotkey for Multiple Applications
Replies: 7
Views: 7650

Re: Using Global Hotkey for Multiple Applications

Hi KenHadley,
Now I would give a second thought of committing to AHK (as well as other languages).
by armsys
Mon Nov 30, 2015 10:03 pm
Forum: Technical / Scripting
Topic: Unable to Delete Any Files in %windir%
Replies: 3
Views: 3631

Re: Unable to Delete Any Files in %windir%

Marcus,
Thanks for your help.
Anyway I found my own simple solution:

Code: Select all

Wow64DisableRedirection
DelFile>{"C:\Windows\System32\Tasks\abc"}
by armsys
Fri Nov 27, 2015 4:03 am
Forum: Technical / Scripting
Topic: Unable to Delete Any Files in %windir%
Replies: 3
Views: 3631

Unable to Delete Any Files in %windir%

I'm unable to delete any files in %windir%. For example,

Code: Select all

DelFile>{"C:\Windows\System32\Tasks\abc"}
Please help confirm the anomaly. Thanks.
by armsys
Thu Nov 12, 2015 12:06 pm
Forum: Technical / Scripting
Topic: Inline Comment
Replies: 3
Views: 3038

Re: Inline Comment

You have spaces. Thank you for pointing out the exact cause of different results. I have done my own extensive tests and confirm your prognosis. Let>RP_WINDOWMODE=2 /* Test 1 */ MDL>RP_WINDOWMODE /* Test 2 */ Referring to the code above, in the absence of IGNORESPACES=1, MS interprets line 2 as dis...
by armsys
Wed Nov 11, 2015 10:56 pm
Forum: Technical / Scripting
Topic: Inline Comment
Replies: 3
Views: 3038

Inline Comment

Referring to the following code:

Code: Select all

Let>RP_WINDOWMODE=2  /* Test 1 */
MDL>RP_WINDOWMODE    /* Test 2 */
MDL>RP_WINDOWMODE
MDL>{"2015.11.11 "}  /* Test 3 */
MDL>{"2015.11.11 "}
Why are the MDL results so different?
by armsys
Wed Nov 11, 2015 9:47 pm
Forum: Technical / Scripting
Topic: Do you want to save your changes? [SOLVED]
Replies: 8
Views: 5911

Re: Do you want to save your changes?

Djek wrote:...under the menu Debug, you have Save on Run/Debug, is that checked?
Hi Djek & Hagchr,
Thank you for pointing out a debugger feature which I wasn't aware of previously.
Thank you again.
by armsys
Tue Nov 10, 2015 10:41 am
Forum: Technical / Scripting
Topic: Do you want to save your changes? [SOLVED]
Replies: 8
Views: 5911

Re: Do you want to save your changes?

Hi Abiven,
ABIVEN wrote:Often I don't want to save ; so I click on No ; but sometimes the changes are saved
You may have pressed CTRL+S accidentally. :roll:
by armsys
Sat Nov 07, 2015 7:23 am
Forum: Technical / Scripting
Topic: Using Global Hotkey for Multiple Applications
Replies: 7
Views: 7650

Re: Using Global Hotkey for Multiple Applications

I would have a 'master' MS macro for each global hotkey and, based on checking for the active window, I could have two, three or even a dozen different ways of responding to CTRL-1, depending on which window/app was active. I will go back and try this. Yes, that's the whole idea. That's the way to ...
by armsys
Sat Nov 07, 2015 2:56 am
Forum: Technical / Scripting
Topic: SQL Wildcard Issue
Replies: 3
Views: 3207

Re: SQL Wildcard Issue

JRL wrote:Try using a variable whose value is "%"
Hi JRL,
Thank you for your solution.
by armsys
Fri Nov 06, 2015 8:47 pm
Forum: Technical / Scripting
Topic: Using Global Hotkey for Multiple Applications
Replies: 7
Views: 7650

Re: Using Global Hotkey for Multiple Applications

Hi Ken, Hotkey conflicts are a routine event to most MS users. For years I've been writing a plethora of complex code, one for each hotkey, similar to the idea/algorithm suggested by JRL to accommodate some commonly used hotkeys such as F10 and Ctrl+Shift+s. Most likely, JRL's solution is the only p...
by armsys
Thu Nov 05, 2015 4:29 am
Forum: Technical / Scripting
Topic: Ambiguous Manual--OnEvent>Custom
Replies: 5
Views: 4276

Re: Ambiguous Manual--OnEvent>Custom

For those users who wish to gain appreciation of the awesome power of OnEvent>Custom, I wrote the following code for my hands-on experiment. The last few lines of the log shows before SRT>DoSomething can even ( have chance and time to ) execute EXIT (the last command), MyTriggerSub has already calle...
by armsys
Wed Nov 04, 2015 10:45 pm
Forum: Technical / Scripting
Topic: Changing to a dynamically named directory
Replies: 3
Views: 3708

Re: Changing to a dynamically named directory

Thanks for the code, Worked as expected until I hit the following directory structure E:\Servers\ExchangeMailDBBkup\10282015_0500\WindowsImageBackup\servername\Backup 2015-10-28 213019 Not sure how to get by the third directory name, and yes it changes daily Gil Please try the following code: // Pu...
by armsys
Wed Nov 04, 2015 3:01 pm
Forum: Technical / Scripting
Topic: Python Hello The World
Replies: 7
Views: 6046

Re: Python Hello The World

What? No. Macro Scheduler is 32 bit and the latest it supports is 2.7. Thank you for your effort in elucidating the conceptual implementation of Python under MS. Thank you for helping me understanding the conceptual connection among echo, SOWrite/SOWriteLn, and console. Thank you for speeding up my...
by armsys
Wed Nov 04, 2015 2:53 pm
Forum: Technical / Scripting
Topic: Python Code
Replies: 13
Views: 11628

Re: Python Code

In order for Python to run under MS, it requires: 3 folders & 1 file installed in C:\Program Files (x86)\Macro Scheduler 14:
DLLs (folder)
Lib (folder)
libs (folder)
python27.dll (file)
by armsys
Wed Nov 04, 2015 2:39 pm
Forum: Technical / Scripting
Topic: Changing to a dynamically named directory
Replies: 3
Views: 3708

Re: Changing to a dynamically named directory

I'm trying to access files in a directory that gets a new name daily during a backup job.... The following code helps you enumerate folders with names Backup yyyy-mm-dd hhmmss: All found folder names are stored in: FolderName_1, FolderName_2, FolderName_3,...,etc. Finally, the folder names are sort...
Sign up to our newsletter for free automation tips, tricks & discounts