topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday December 15, 2024, 7:53 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: IDEA: Double-click makes a new folder  (Read 44447 times)

BenPearman

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 9
    • View Profile
    • Donate to Member
IDEA: Double-click makes a new folder
« on: February 06, 2009, 10:07 PM »
Hey guys. I want a program that when you double click on an empty space on a opened folder or on the desktop it would create a new folder. I would like it to automatically selects the name of it so I could easily rename it. An option to make text files instead would be nice as well. Thanks in advance
-Ben

Conquer

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 50
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #1 on: February 10, 2009, 03:29 PM »
Compiled script uploaded.
- The file name is selected after it is created so you can easily rename it
- You can choose if you want the script to create text files or folders (text files are created by default - see the Config.txt file thats in the zip)

Sorry but I couldn't figure out a way to work with the desktop (wasn't sure how to detect if a file was or wasn't selected on the desktop)
« Last Edit: February 10, 2009, 03:59 PM by Conquer »

BenPearman

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 9
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #2 on: February 10, 2009, 09:22 PM »
OK this is good, but is there a way to not show the context menu while when you have double-clicked? Cause the context menu opens in a particular place and I have to move the mouse onto the New Folder option which is a hassle (this turns it into a triple click). As for the desktop thing, I don't mind cause I hardly make folders on the desktop anyway. Thanks for the reply/script.
-Ben

Conquer

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 50
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #3 on: February 12, 2009, 02:34 PM »
That's weird, it worked fine for me. If your computer has some lag, maybe increasing the delay in the script will help. Have you tried both with and without the Config.txt file in the script's directory?

Try both and let me know the results and a detail on exactly what happens when you try the double clicking.

I'll try to modify the script's delay if needed.

BenPearman

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 9
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #4 on: February 12, 2009, 09:11 PM »
OK, it is really strange. I increased my double-click speed to the max and I double-click, and instead of creating a folder, it takes me to the folder above. I delete the config.txt and it creates a new folder not txt file. I have to double-click really fast as well. This is all good but is there anyway to hide the context menu at all while double-clicking?

Conquer

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 50
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #5 on: February 13, 2009, 02:41 PM »
The delay of your double-click isn't relevant, it shouldn't have any effect.

Nothing should be taking you to the folder above because the only keystrokes that get sent to the explorer window are {AppsKey} (opens the right click menu) w (selects New>) and {enter} (selects new folder)

I can make it so you can double click slower if needed.

The context menu shouldn't show for more than 1/4 of a second.
I can try increasing the delays in the script if you think your computer is slow.
(The time between opening the context menu and sending the keystrokes - if your computer lags when right clicking, the script won't correctly create a new folder - I might try a new approach later)

BenPearman

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 9
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #6 on: February 13, 2009, 03:45 PM »
OK, thanks I am quite satisfied with this program. My computer doesn't lag when right-clicking. And I really don't mind if it doesn't create a txt file, it was just a though. It is good as it is. Thanks
-Ben

Conquer

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 50
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #7 on: February 14, 2009, 12:52 PM »
You're very welcome




cough cough

CoreCore

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #8 on: June 08, 2009, 08:47 PM »
Hi Conquer,

I thought this would be a nice thing to try, but it only creates .txt files on my WinXP SP3 x32 system, even if i remove the Config.txt file.  

I also lost the ability to left-click-drag-select-area, i have to click in another window/process and then return to do it normally.

How do i remove the install??  It appears to be an AHK script/executable, but it does not show up in the Add/Remove List, please tell me how to uninstall this!!

Tia!  =)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #9 on: June 09, 2009, 02:03 AM »
you dont have to uninstall it -- just exit it and delete the file if you want.

CoreCore

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #10 on: June 09, 2009, 11:28 PM »
Ok, thxs!  =)

boliboli

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #11 on: June 28, 2009, 05:51 PM »
I love the idea.  Works.  Can it be made so that it works with any folder, not just a folder on the desktop.  This would be very useful when I'm downloading multiple things such as programs from DC.  Each app gets it's own subdirectory in my "DL" folder.  I don't want the "DL" folder to be on the desktop.  I want it to stay on my external drive.

733337

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #12 on: July 15, 2009, 06:06 AM »
doesn't seem to work on Vista Home Premium 32bit. any thoughts ?

Conquer

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 50
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #13 on: August 27, 2009, 11:11 AM »
I wrote it for windows Xp, sorry I don't have a vista machine to work with.

Boliboli, about your comment; You need to change your folder options so only the name of the folder is shown in the window's title I believe. I deleted the source long ago so I'm not sure but give that a try.

For me I was able to use the script in any folder with no problems, but my computer is also the computer the program was designed for :/

delwoode

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 146
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #14 on: September 03, 2009, 01:56 PM »
re Directory maker, my antivirus (outpost) tells me that Directory maker.exe contains a trojan called
"DR binder.ALI"   I suppose this is a false positive?

Conquer

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 50
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #15 on: September 04, 2009, 06:43 AM »
re Directory maker, my antivirus (outpost) tells me that Directory maker.exe contains a trojan called
"DR binder.ALI"   I suppose this is a false positive?

Yes its a false positive. Probably from the UPD compression used.

abent professor

  • Participant
  • Joined in 2009
  • *
  • Posts: 12
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #16 on: September 14, 2009, 08:58 AM »
I'd love this app, but I run AVG and it won't let me open it, I can't even add an exception. I know it is a false positive, but I can't override :(

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #17 on: September 14, 2009, 09:04 AM »
Conquer, would you mind recompiling this without UPX compression?  That would solve the issue for all the folks that are getting the false positive.

Conquer

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 50
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #18 on: September 14, 2009, 02:57 PM »
Conquer, would you mind recompiling this without UPX compression?  That would solve the issue for all the folks that are getting the false positive.
Sorry it was like 8 months ago I didn't keep the source or I would have re uploaded already.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #19 on: September 14, 2009, 05:53 PM »
Do you happen to recall the password you used when compiling?  We can deompile it easily if so.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #20 on: September 15, 2009, 12:35 AM »
I'd love this app, but I run AVG and it won't let me open it, I can't even add an exception. I know it is a false positive, but I can't override :(
-abent professor (September 14, 2009, 08:58 AM)

what version of AVG are you using? i think newer versions don't have this problem..

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #21 on: September 15, 2009, 12:45 AM »
what version of AVG are you using? i think newer versions don't have this problem..

A lot of the issue is that this is a recurring problem.  A/V companies will go months without false positives and then, all of a sudden, bam, we get a rash of them.  Unless requested, I don't compile any of my AHK apps with UPX.  I don't care about the file size.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #22 on: September 15, 2009, 12:59 AM »
A lot of the issue is that this is a recurring problem.  A/V companies will go months without false positives and then, all of a sudden, bam, we get a rash of them.  Unless requested, I don't compile any of my AHK apps with UPX.  I don't care about the file size.

yeah, that's the problem. one update is enough to trigger a whole raft of false alerts. btw, even non-UPX'ed apps will trigger an alarm - only a different kind than a UPX'ed exe. it all depends on the function of the scripts, i guess.

here are some related threads.
More false virus warnings in compiled ahk utilities #*(%&*(#*(&#(%
It's time to do something about these AutoHotkey antivirus false positives


Conquer

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 50
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #23 on: September 15, 2009, 04:14 PM »
sorry I used the no-decompile switch when i compiled it.

but I heard theres a way to get the source code back even without the password.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: IDEA: Double-click makes a new folder
« Reply #24 on: September 16, 2009, 07:34 AM »
sorry I used the no-decompile switch when i compiled it.

but I heard theres a way to get the source code back even without the password.

maybe it's time a new updated version is written from scratch, with additional features such as Vista support & so on. ;)