DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Empty Folder List Creator in the active window  (Read 9,812 times)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Empty Folder List Creator in the active window
« on: June 25, 2012, 12:35 AM »
I would like a soft similar to this emptytxtfile.ahk (code under) , but for create folders instead of empty txt files .
And, if possible, with some addons :
- Folder of the month in format mm.yyyy
- folder of the year in format yyyy
- Folder of the day in format dd.mm.yyyy
- combined folder type : dd.mm.yyyy.<text>
- Possibility to create folders style : prg1, prg2, .... , prg9
- Possibility to create several folders at once.
- List of predetermined folders.

The original similar script, but for .txt files is :
http://www.donationcoder.com/forum/index.php?topic=31333.new;topicseen#new

Code
#SingleInstance Force

#if winactive("ahk_class CabinetWClass")
{
  #b::
  Gui, Destroy
  WinGet, WinID, ID, A
  ControlGetText, DesPath, Edit1, ahk_id %WinID%
  Gui, Add, ListView, r10 NoSort gChoose vChosenName h300 w400, File Name
   For A,B in {1:"Instrucciones.txt",2:"Instalar en mv.txt", 3:"Es mal portable. Instalar como no portable.txt", 4:"Instalado como portable.txt", 5:"Instalar cuando se pueda.txt", 6:"ReciboLLamadaAlas.proponer fecha hora.txt", 7:"Ver pantallazos.proponer fecha hora.txt", 8:"Ver grabaciones de la fecha.proponer fecha sistema.txt", 9:"password   pegado del portapapeles.txt", 10:"Avira detecta virus. en parte a especificar.txt", 11:"File11.txt", 12:"Es un juego.txt", 13:"Es para entorno MAC Apple.txt", 14:"Tambien tienen versiones de pago.txt", 15:"No es buen portable.Instalado como portable.txt",16:"No funcione en xp. es para w7 o sup.txt", 17:"File17.txt",18:"File18.txt",19:"File19.txt", 20:"File20.txt", 21:"File21.txt",22:"File22.txt", 23:"File23.txt", 24:"File24.txt",25:"File25.txt",26:"File26.txt"}
    LV_Add("",B)
  Gui, Show, h300 w420, Choose File Name
  Return
 
  Choose:
  LV_GetText(ChosenName, A_EventInfo)
  Gui, Destroy
  FileAppend,, %DesPath%\%ChosenName%
  Sleep, 850
  While (ClipBoard != DesPath "\" ChosenName)
  {
    Send, % SubStr(ChosenName, 1, 1)
    Sleep, 15
    SendInput, ^c
    Sleep, 15
  }
  Return
}

The screenshots :





Features suggested in the screenshots with commentaries :

- the possibility of check several name folders for multiple creation. It's only an idea.

http://j-bird.sourceforge.net/checklist.gif

https://www.google.es/search?q=checklist&hl=es&prmd=imvnsa&tbm=isch&tbo=u&source=univ&sa=X&ei=wrHnT-avLIiu8QO9s-G5Cg&ved=0CHQQsAQ&biw=1695&bih=851

:-*

Best Regards


Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Empty Folder List Creator in the active window
« Reply #1 on: June 26, 2012, 06:27 PM »
First aproach :

http://www.softonic.com/s/mdaxel

I am investigating.
:-*

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Empty Folder List Creator in the active window
« Reply #2 on: June 26, 2012, 06:32 PM »
Difficult obstacle. The developer don't appear and the soft change my keyboard configuration while active.  :P

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Empty Folder List Creator in the active window
« Reply #3 on: June 26, 2012, 06:35 PM »
Curious thing. The soft mdaxel don't let me create a folder PRG . It's forbidden.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Empty Folder List Creator in the active window
« Reply #4 on: June 26, 2012, 06:59 PM »
It was my fault. Now the letters go well.
what happen before ? I don't know. I am trying a lot of programs these days.

magician62

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 180
Re: Empty Folder List Creator in the active window
« Reply #5 on: June 28, 2012, 03:56 PM »
Might i suggest when creating folders with dates, use YYYY MM DD that way they can always be sorted sequentially. Having the date at the beginning can lead to 12 entries per year unrelated
Why an I Magician62? Because Magician1 thru 61 were gone. :)

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: Empty Folder List Creator in the active window
« Reply #6 on: June 28, 2012, 04:08 PM »
Hey Contro,
can you make your screenshots smaller please?
Thanks!
Tom

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Empty Folder List Creator in the active window
« Reply #7 on: June 28, 2012, 04:30 PM »
Hey Contro,
can you make your screenshots smaller please?
Thanks!
The problem here is that the screenshots are externally linked images. Contro, could you please attach them to the posts?
Its simple, just use the "attach" button bellow the reply box:
[attach]

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Empty Folder List Creator in the active window
« Reply #8 on: June 28, 2012, 11:36 PM »
Understood

Best Regards

Original address: https://www.donationcoder.com/forum/index.php?topic=31423.0