Search found 10 matches

by catman
Tue Nov 10, 2015 11:29 pm
Forum: Scripts and Tips
Topic: Controlling the Word 2016 'Save As' drop-down list
Replies: 0
Views: 8580

Controlling the Word 2016 'Save As' drop-down list

// NOTE: This macro was developed with Word 2013 (Oct 2015) // The two modifications for Word 2016 are commented below (Nov 2015) // There are a number of 'Unsolved Mystery' workarounds in the macro // ==> ALERT: If Debug-stepping, Debug>RefocusWindows MUST be unchecked // ==> in order for the drop...
by catman
Mon Nov 09, 2015 7:04 pm
Forum: Scripts and Tips
Topic: Controlling the Word 'Save As' drop-down list
Replies: 4
Views: 10471

Re: Controlling the Word 'Save As' drop-down list

Armsys: Glad that you find the macro informative. In addition to wanting to share the technology, the reality is that I HAVE to document extensively for myself because I tend to FORGET details (including where my wallet and house keys are). I'm going back into the macro today, a mere month later, to...
by catman
Mon Oct 19, 2015 4:49 pm
Forum: Scripts and Tips
Topic: Controlling the Word 'Save As' drop-down list
Replies: 4
Views: 10471

Re: Controlling the Word 'Save As' drop-down list

You're welcome. This macro certainly shows that controlling applications can be quite 'ad hoc' due to the unpredictability of the environment. Like 'kung-fu' fighting, you gotta block the blows as they come, and then try to strike any way you can! Fortunately, Macro Scheduler has ever-so-many tools ...
by catman
Sat Oct 17, 2015 12:25 am
Forum: Scripts and Tips
Topic: Archive directory(s) with 7-Zip, and upload via FTP
Replies: 1
Views: 7562

Archive directory(s) with 7-Zip, and upload via FTP

7-Zip is an excellent free open-source compression program: www.7-zip.org This macro compresses the specified directory/subdirectories into a .7z file and uploads the resulting uniquely-named and password-protected archive file to the specified website. The uploaded archive is then size-checked agai...
by catman
Fri Oct 16, 2015 9:19 pm
Forum: Technical / Scripting
Topic: CF_RESULT_CODE 32
Replies: 5
Views: 4203

Re: CF_RESULT_CODE 32

Yeah, other CopyFile's work fine, with a result_code of 0. You are probably right ... the 32 result_code must reflect the current script file being in use by MS. I'd like for every macro to routinely copy itself onto a my major software drive that is regularly uploaded online but oh, well. I can get...
by catman
Fri Oct 16, 2015 2:36 pm
Forum: Technical / Scripting
Topic: CF_RESULT_CODE 32
Replies: 5
Views: 4203

Re: CF_RESULT_CODE 32

This has really got me scratching my head ... your code segment created a TEMP directory, but the script file was not copied!

cf_result was 'true' but the cf_result_code was 2!

I'm going to investigate i:\ drive permissions in Windows file explorer (and get a headache in the process!).
by catman
Thu Oct 15, 2015 11:42 pm
Forum: Scripts and Tips
Topic: Run the free open-source WINSCP FTP program
Replies: 0
Views: 8253

Run the free open-source WINSCP FTP program

From the winscp.net website ... "WinSCP is an open source free SFTP client, FTP client, WebDAV client and SCP client for Windows. Its main function is file transfer between a local and a remote computer. Beyond this, WinSCP offers scripting and basic file manager functionality." // This macro instru...
by catman
Thu Oct 15, 2015 6:14 pm
Forum: Scripts and Tips
Topic: Processing subdirectories
Replies: 0
Views: 8085

Processing subdirectories

This sample macro processes files in a directory and all of its subdirectories using a technique suggested by Marcus in his blog. // This macro processes a specified directory and all of its subdirectories, displaying Word .htm files in Notepad // Progress is recorded in a desktop log file // Ctrl-z...
by catman
Thu Oct 15, 2015 3:06 pm
Forum: Technical / Scripting
Topic: CF_RESULT_CODE 32
Replies: 5
Views: 4203

CF_RESULT_CODE 32

Does anybody know what a CF_RESULT_CODE of 32 means?\ CopyFile>%SCRIPT_FILE%,i:\ MessageModal>CF_RESULT_CODE=%CF_RESULT_CODE% // cf_result_code 32 is not described on the MSDN webpage referenced by the MS Help text: // https://msdn.microsoft.com/en-us/library/windows/desktop/bb762164(v=vs.85).aspx
by catman
Wed Oct 14, 2015 8:28 pm
Forum: Scripts and Tips
Topic: Controlling the Word 'Save As' drop-down list
Replies: 4
Views: 10471

Controlling the Word 'Save As' drop-down list

Here's a macro that saves the current open .docx file as Filtered .htm. (It can easily be modified to work with other file types.) // NOTE: This macro was developed with Word 2013 // There are a number of 'Unsolved Mystery' workarounds in the macro // ==> ALERT: If Debug-stepping, Debug>RefocusWindo...
Sign up to our newsletter for free automation tips, tricks & discounts