Welcome Guest.   Make a donation to an author on the site May 26, 2013, 02:45:01 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Your Support Funds this Site: View the Supporter Yearbook.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: PastePath 1.5.0.0  (Read 2392 times)
MilesAhead
Member
**
Posts: 4,002



View Profile WWW Give some DonationCredits to this forum member
« on: October 22, 2012, 11:12:59 AM »

PastePath 1.0.0.0 PastePath initial release.  Hotkey that sits in Tray. Control Right Click in Edit of Standard Open or SaveAs Dialog pastes the path from the most recently active Explorer Window that's currently open. See About Box for info regarding Explorer Window selection if more than one is open.

It's just a simple hotkey to avoid drilling down in Open and SaveAs Dialogs.  The dialog must be a "standard dialog" meaning Windows gives it the window class #32770. Also the caption must start with either Save or Open.

The trailing backslash is included in the path. This should force most dialogs to display files in the target folder if you hit Enter.

See the included Readme.txt and About Box for more details.

You may download from this page:

http://www.favessoft.com/hotkeys.html

« Last Edit: December 03, 2012, 12:54:36 PM by MilesAhead » Logged

"I can't speak to anyone anywhere because I flunked Esperanto."
-- MilesAhead
eleman
Supporting Member
**
Posts: 213

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #1 on: October 22, 2012, 11:38:17 AM »

Clever. Thank you smiley
Logged
MilesAhead
Member
**
Posts: 4,002



View Profile WWW Give some DonationCredits to this forum member
« Reply #2 on: October 22, 2012, 12:29:05 PM »

Clever. Thank you smiley

You're welcome. Thanks for the response. smiley
Logged

"I can't speak to anyone anywhere because I flunked Esperanto."
-- MilesAhead


[ may-june 2013 ad experiment; click here to learn more about donationcoder.com ]

tomos
Charter Member
***
Posts: 6,977



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: October 22, 2012, 03:53:51 PM »

hi Miles,
this sounds intresting thumbs up

I tried it with Win7 64bit and got this response:

Quote
Error:  0x8000FFFF - Catastrophic failure

Specifically: hwnd

   Line#
--->   149: if (Item.hwnd = _hwnd) 

Continue running the script?
Logged
MilesAhead
Member
**
Posts: 4,002



View Profile WWW Give some DonationCredits to this forum member
« Reply #4 on: October 22, 2012, 04:36:22 PM »

Ok, I'll take a look at it.
Logged

"I can't speak to anyone anywhere because I flunked Esperanto."
-- MilesAhead
MilesAhead
Member
**
Posts: 4,002



View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: October 22, 2012, 05:02:08 PM »

Please try this one

(whoops!! I never modified the rest of the function. Hang on a bit)

Ok, try it now.

(My theory is your system does not have Shell.Application object that's used to get the Explorer path associated with the window. If I'm right, the app still won't work, but it shouldn't crash. Please let me know what results you get with this version.)

* PastePath.zip (376.97 KB - downloaded 47 times.)
« Last Edit: October 22, 2012, 06:08:47 PM by MilesAhead » Logged

"I can't speak to anyone anywhere because I flunked Esperanto."
-- MilesAhead
MilesAhead
Member
**
Posts: 4,002



View Profile WWW Give some DonationCredits to this forum member
« Reply #6 on: October 22, 2012, 05:39:00 PM »

PastePath 1.0.1.0 Fixed a bug where the program could crash if the system it's running on did not have Shell.Application object. This is an automation object(COM thing) that's used to get the path of the folder from an open Explorer window.
« Last Edit: October 23, 2012, 12:18:47 AM by MilesAhead » Logged

"I can't speak to anyone anywhere because I flunked Esperanto."
-- MilesAhead
tomos
Charter Member
***
Posts: 6,977



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: October 23, 2012, 05:14:03 AM »

Sorry Miles Sad
similar problem:

---------------------------
Error:  0x8000FFFF - Catastrophic failure


Specifically: hwnd

   Line#
--->   152: if (Item.hwnd = _hwnd)  

Continue running the script?
---------------------------

I've actually got a copy of Listary (not-yet-installed) which does this - so dont go to any trouble for me - but I will be happy to test it (or give you more info) if you want to sort it out smiley
Logged
TaoPhoenix
Supporting Member
**
Posts: 2,218



Making a Post, Editing it twice to make it nice.

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #8 on: October 23, 2012, 09:08:35 AM »

You can decide if you want to add support for different browser save-as dialogs. For example to save your utilities off your page from Firefox, right-click and save-link-as doesn't work with your utility because it starts as "*enter* the name of file to save to".

Logged
MilesAhead
Member
**
Posts: 4,002



View Profile WWW Give some DonationCredits to this forum member
« Reply #9 on: October 23, 2012, 09:52:23 AM »

Sorry Miles Sad
similar problem:

---------------------------
Error:  0x8000FFFF - Catastrophic failure


Specifically: hwnd

   Line#
--->   152: if (Item.hwnd = _hwnd)  

Continue running the script?
---------------------------

I've actually got a copy of Listary (not-yet-installed) which does this - so dont go to any trouble for me - but I will be happy to test it (or give you more info) if you want to sort it out smiley

I appreciate that. Might as well try 64 bit compiled. The 32 bit works fine on my Vista64 system. I don't have 64 bit W7 to try it.


* PastePathx64.zip (540.66 KB - downloaded 46 times.)
Logged

"I can't speak to anyone anywhere because I flunked Esperanto."
-- MilesAhead
tomos
Charter Member
***
Posts: 6,977



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #10 on: October 23, 2012, 12:02:28 PM »

Might as well try 64 bit compiled.
---------------------------
Error:  0x8000FFFF - Catastrophic failure


Specifically: hwnd

   Line#
--->   087: if (Item.hwnd = _hwnd) 

Continue running the script?
---------------------------
Logged
MilesAhead
Member
**
Posts: 4,002



View Profile WWW Give some DonationCredits to this forum member
« Reply #11 on: October 23, 2012, 12:12:28 PM »

Might as well try 64 bit compiled.
---------------------------
Error:  0x8000FFFF - Catastrophic failure


Specifically: hwnd

   Line#
--->   087: if (Item.hwnd = _hwnd)  

Continue running the script?
---------------------------

I read on ahk forum there's some flaw in how AHK_L does COM where it cannot differentiate all the property access methods. It's weird because both the 32 bit and 64 bit work fine on my Vista64.  I'll have to see if I can find another folder detection. Maybe using WMI.
Logged

"I can't speak to anyone anywhere because I flunked Esperanto."
-- MilesAhead
MilesAhead
Member
**
Posts: 4,002



View Profile WWW Give some DonationCredits to this forum member
« Reply #12 on: October 23, 2012, 01:00:40 PM »

Quote
Specifically: hwnd

One more try? This one I did without COM object. But for it to work Explorer View Settings must have "Display Full Path in the Title Bar" enabled.


* PastePathNonCom.zip (376.98 KB - downloaded 48 times.)
« Last Edit: October 23, 2012, 01:06:26 PM by MilesAhead » Logged

"I can't speak to anyone anywhere because I flunked Esperanto."
-- MilesAhead
tomos
Charter Member
***
Posts: 6,977



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #13 on: October 23, 2012, 01:35:00 PM »

^ Yaaaah, it works Thmbsup

I dont know did it complicate things, but (I think) I was doing something wrong all along embarassed
I was right-clicking in the Address field of save/open dialogue - it works now though, even if I do that.
Logged
MilesAhead
Member
**
Posts: 4,002



View Profile WWW Give some DonationCredits to this forum member
« Reply #14 on: October 23, 2012, 01:57:03 PM »

No. I don't think it was you at all. I was pasting into Address Field too. It just sends Control-v to paste.

I think I will just put the last one on my page since it works. Many of my utilities require that same title bar setting anyway. Also it's faster than looping through the shell application window list.

Thanks very much for trying the various versions.   Thmbsup

Logged

"I can't speak to anyone anywhere because I flunked Esperanto."
-- MilesAhead
MilesAhead
Member
**
Posts: 4,002



View Profile WWW Give some DonationCredits to this forum member
« Reply #15 on: October 23, 2012, 02:13:31 PM »

PastePath 1.0.3.0 Now one size fits all. I got rid of the COM approach. Most of my Explorer utilities require the same folder setting as shown in the earlier screen shot.... display full path in title bar.  That method has always been very reliable. This version should work across XP,Vista and Windows Seven 32 and 64 bit.
Logged

"I can't speak to anyone anywhere because I flunked Esperanto."
-- MilesAhead
tomos
Charter Member
***
Posts: 6,977



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #16 on: October 23, 2012, 02:18:55 PM »

On windows 7, the setting says "(Classic theme only)" at the end there
-
your screenshot above says:
"(Classic folders only)".

Just wanted to note that this works even though I'm *not* using classic theme (I'm using Aero).
Logged
MilesAhead
Member
**
Posts: 4,002



View Profile WWW Give some DonationCredits to this forum member
« Reply #17 on: October 23, 2012, 02:36:08 PM »

Yeah, I don't know why they put that in the parens. I use a transparent Aero based theme on Vista and a custom I got from Bongo on W7 forums and it works fine.  The Bongo theme is Aero but he made the Explorer background antique white. Less glare when using fractal flame wallpaper with all the black background.

Don't ask me why you can't just change the Explorer background color in the registry. Plus I tried all those background color changers. None of them work in Computer. Bongo's theme was the only one that works since it's hard wired.
Logged

"I can't speak to anyone anywhere because I flunked Esperanto."
-- MilesAhead
MilesAhead
Member
**
Posts: 4,002



View Profile WWW Give some DonationCredits to this forum member
« Reply #18 on: October 24, 2012, 10:41:25 PM »

PastePath 1.1.0.0 Added Browse for Folder standard dialog to supported dialogs. It must be the type with an Edit Line to paste into of course. smiley
Logged

"I can't speak to anyone anywhere because I flunked Esperanto."
-- MilesAhead
MilesAhead
Member
**
Posts: 4,002



View Profile WWW Give some DonationCredits to this forum member
« Reply #19 on: November 06, 2012, 08:39:46 AM »

PastePath 1.2.0.0 Changed the hotkey to Control Winkey Right Click. Removed all window exclusions. Now works with any target window that will except text paste from clipboard.
Logged

"I can't speak to anyone anywhere because I flunked Esperanto."
-- MilesAhead
MilesAhead
Member
**
Posts: 4,002



View Profile WWW Give some DonationCredits to this forum member
« Reply #20 on: November 13, 2012, 01:45:20 PM »

PastePath 1.3.0.0 Now saves and restores Clipboard text around the paste.
Logged

"I can't speak to anyone anywhere because I flunked Esperanto."
-- MilesAhead
MilesAhead
Member
**
Posts: 4,002



View Profile WWW Give some DonationCredits to this forum member
« Reply #21 on: December 03, 2012, 12:55:44 PM »

PastePath 1.5.0.0  Added ability to paste into command prompts.  Paths containing space(s) are wrapped in double quotes.  See Readme.txt for details.
Logged

"I can't speak to anyone anywhere because I flunked Esperanto."
-- MilesAhead
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  



[ may-june 2013 ad experiment; click here to learn more about donationcoder.com ]


 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.051s | Server load: 0.06 ]