Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Invoking directly ContextMenu of Files and Folders


  • Please log in to reply
62 replies to this topic
Sean
  • Members
  • 2462 posts
  • Last active: Feb 07 2012 04:00 AM
  • Joined: 12 Feb 2007

I've been trying to apply a filter for multiple files without success.

What you meant by without success? Without success is a vague statement. At least you have to describe why you think the code was a failure: you expected this, but, the result was that.

Anyway, the red part in your code should have been simply:
objFolderItems.Filter(0x00040, "*.txt")


sbc
  • Members
  • 321 posts
  • Last active: Jun 07 2011 10:24 AM
  • Joined: 25 Aug 2009

objFolderItems.Filter(0x00040, "*.txt")

Nice, Worked. Thanks. Sorry for the vague statement. :) But, I wonder why the copied items get lost if the script exits before the Paste verb is invoked. :?

Sherman
  • Members
  • 52 posts
  • Last active:
  • Joined: 06 Jan 2013

I can't access the code in the initial post, but I used HotKeyIt's code.  And I can't figure out how to get this to do anything. 

 

When I run it, I get the script icon in the Tray, but nothing else happens.

 

 

What am I missing?