473,383 Members | 1,725 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Finding the selected file in Windows Explorer

Hi!
I need to find the selected file(s) in a Windows Explorer window from
another program (I'd look at the window that last had focus). I found
something in the following page that should do the trick:

http://blogs.msdn.com/oldnewthing/ar...20/188696.aspx

However, it is not Python and, while I'm a competent Python
programmer, Win32, COM and the like are somewhat outside my
competences.

Does any one know how to do something similar in Python?
Tks!
Domiriel
Jun 27 '08 #1
2 2045
On Apr 21, 9:44 am, domir...@gmail.com wrote:
Hi!

I need to find the selected file(s) in a Windows Explorer window from
another program (I'd look at the window that last had focus). I found
something in the following page that should do the trick:

http://blogs.msdn.com/oldnewthing/ar...20/188696.aspx

However, it is not Python and, while I'm a competent Python
programmer, Win32, COM and the like are somewhat outside my
competences.

Does any one know how to do something similar in Python?

Tks!
Domiriel
I think the guys on the PyWin32 mailing list were just talking about
something similar earlier this month. Looks like it was how to select
a file in Explorer. You can check out that thread here:

http://www.mail-archive.com/py******.../maillist.html

Or just join their mailing list and re-post your question there:

http://mail.python.org/mailman/listinfo/python-win32

They're quite nice and very knowledgeable.

Mike
Jun 27 '08 #2
Will do! Tks!

Domiriel
On Apr 21, 4:12 pm, Mike Driscoll <kyoso...@gmail.comwrote:
On Apr 21, 9:44 am, domir...@gmail.com wrote:
Hi!
I need to find the selected file(s) in a Windows Explorer window from
another program (I'd look at the window that last had focus). I found
something in the following page that should do the trick:
http://blogs.msdn.com/oldnewthing/ar...20/188696.aspx
However, it is not Python and, while I'm a competent Python
programmer, Win32, COM and the like are somewhat outside my
competences.
Does any one know how to do something similar in Python?
Tks!
Domiriel

I think the guys on the PyWin32 mailing list were just talking about
something similar earlier this month. Looks like it was how to select
a file in Explorer. You can check out that thread here:

http://www.mail-archive.com/python-w.../maillist.html

Or just join their mailing list and re-post your question there:

http://mail.python.org/mailman/listinfo/python-win32

They're quite nice and very knowledgeable.

Mike
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Phil Watkins | last post by:
I am a novice programer in Vb and I am having a major brain ache finding out which item has been selected within a list view and then either deleting that item or editing them. My searching so...
22
by: Tony Houghton | last post by:
I'm using pygame to write a game called Bombz which needs to save some data in a directory associated with it. In Unix/Linux I'd probably use "~/.bombz", in Windows something like "C:\Documents...
9
by: Ben Dewey | last post by:
Project: ---------------------------- I am creating a HTTPS File Transfer App using ASP.NET and C#. I am utilizing ActiveDirectory and windows security to manage the permissions. Why reinvent...
3
by: Patrick | last post by:
Hi All, Why does this work in Internet Explorer, but not Mozilla? I'm reading from a flat file. As an examle the value of colm1 read from the file is B. I set in the form page; <?php $A...
4
by: tshad | last post by:
At work we are setting up a new web site and had a problem with running a page when using URL: \\phoenix\cdrive\inetpub\wwwroot\hrworkshop\index.aspx It would start up notepad to edit the...
0
by: Johnny Jörgensen | last post by:
In an add-in I'm doing, I need to get the full filename of the file(s) selected by the Visual Studio 2005 user at a given time. Using: Dim win As Window = _applicationObject.ActiveWindow ...
4
by: Karl | last post by:
Hi all, I want to write an application that is launched from the context menu in Windows Explorer/Computer. That is to say, when I am browsing around my hard drive and get to any location I...
0
by: Shafiq | last post by:
Hi All, Based on the sample kbbar.net applicaation i have created a tool bar for windows explorer. Now i have to enable and disable few buttons based the user slects file in the explorer. For to...
0
by: Tom Rahav | last post by:
Hi, I develop a win-form application using VB.NET that uses a keyboard hook to monitor when if the user types SHIFT+Z combination. What I would like to do is to display a form when the user clicks...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.