topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday April 19, 2024, 9:31 pm
  • 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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - KoenFugro [ switch to compact view ]

Pages: [1] 2next
1
Finished Programs / Re: Automatic folder maker
« on: August 28, 2009, 07:30 AM »
Thanks! I am not a autohotkey programmer... And offcourse I can do that myself.. I only need to install autohotkey, that would't be that difficult..
Again many thanks for your time and program...

2
Finished Programs / Re: Automatic folder maker
« on: August 28, 2009, 06:33 AM »
Last question... haha.. can you make another version that also works with .tif files?
Thanks in advance!

3
Finished Programs / Re: Automatic folder maker
« on: August 28, 2009, 06:24 AM »
And now it is there! Thanks aliot really! I am going to use it now!


4
Finished Programs / Re: Automatic folder maker
« on: August 28, 2009, 06:05 AM »
The option move i cannot see it in your lastest version you linked on this page..
I can see it in your small screenshot though.. did you sent the wrong version?


5
Finished Programs / Re: Automatic folder maker
« on: August 28, 2009, 05:23 AM »
Wauw! This works really good!! Thanks alot!
I have maked a few pdf's and it did exacly what i wanted to...

Only one thing though... the pdf's are 850 GB ... :P
Can you chanche the copy to a move action?

Thanks!

6
Finished Programs / Re: Automatic folder maker
« on: August 28, 2009, 04:53 AM »
Yes.. all the pdf's are in one folder and the pdf's are in the root of that folder...

7
Finished Programs / Re: Automatic folder maker
« on: August 28, 2009, 04:02 AM »
Yes please... If that's not to much trouble to do...
After moving everything to the folders as described then i can place the files to my tapearchive...

Thanks in advance!

8
Finished Programs / Re: Automatic folder maker
« on: August 27, 2009, 08:09 AM »
I did try, only i am not getting the job done with this program...

9
Finished Programs / DONE: Automatic folder maker
« on: August 27, 2009, 06:31 AM »
Hi peeps,

I have a "large problem" that can be fixed with a small piece of code...

I have 3000+ pdf files. Echt of the files has to come in a folder named the same as the pdf file..

The files are named: EBN000000001, EBN000000002, EBN000000003 enz. The folder name must be exact as the file name, however:

Some files are named EBN000000001_01, _02 etc. The files that have an underscore most come in the same folder as the master file.

So EBN000000001.pdf must come in folder EBN000000001. EBN000000001_01 must also come in folder EBN000000001.
So the folder must be made with the same name as the first 12 characters in the file name.

Then the files must be automatically placed in the right folder...
Is this easy doable?

Thanks in advance!

10
Coding Snacks / Re: List of folders to be copied automatically
« on: April 03, 2009, 02:48 AM »
Is there really nobody that can help me on this?

11
Coding Snacks / Re: List of folders to be copied automatically
« on: April 02, 2009, 08:59 AM »
Yes I know that...
But I am really not good in programming...

The code I use for deleting files is also a makro..
But how do I make a makro that does what I want?


12
Coding Snacks / List of folders to be copied automatically
« on: April 02, 2009, 06:56 AM »
Hi people,

I have in MS Excel a list of folders, some empty, some not, that needs to be copied to another folder, eg s:\temp
The list of files aere in column A of excel, containing a complete path.

Is there a way that I can do this without user interaction?
I also have an Excel sheet with files that needs to be deleted, but I cannot change this in order to work...
Can someone help me on this one?

Thanks in advance!
Koen Franssen

13
Post New Requests Here / Re: Notepad counter
« on: February 16, 2009, 09:33 AM »
People... Sorry for this post!
I am stupid! Notepad++ did the job for me...
For the people reading this post...
I am sorry...

Kind regards,
Koen Franssen

14
Post New Requests Here / Notepad counter
« on: February 16, 2009, 08:19 AM »
Hi there people!

I encountered a small promblem, witch is just the same as my other posts here on this forum...
Someting need to be done, witch is very time-consuming!

I have a few hondred text files (.txt) In those text files are items registered.

It looks like this:

SH0001002006,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:42
SH0001002005,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:42
SH0001002004,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:42
SH0001002003,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:42
SH0001002002,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:42
SH0001002001,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:43
SH0001002000,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:43
SH0001002030,NT_ZH5496.J,registeritem,DEMEERN,06/02/2009,,,MN,,06/02/2009 09:01:24
SH0001002031,NT_ZH5497.J,registeritem,DEMEERN,06/02/2009,,,MN,,06/02/2009 09:01:24
SH0001002032,NT_ZH5498.J,registeritem,DEMEERN,06/02/2009,,,MN,,06/02/2009 09:01:24
SH0001002033,NT_ZH5499.J,registeritem,DEMEERN,06/02/2009,,,MN,,06/02/2009 09:01:24

And so on for thousends of records per text file.
As you can see there is a difference between the lines.
I need something like an automatic counter, witch counts per text file al the records who have the word NT in it...

Can someone help me on this one?
Thanks all!

Kind regards,
Koen

15
Post New Requests Here / Re: Delete files listed in excel sheet
« on: February 03, 2009, 08:50 AM »
Thanks alot!
I tried it and it worked for me!


 ;D

16
Post New Requests Here / Re: Delete files listed in excel sheet
« on: February 03, 2009, 07:38 AM »
Is this an AHK script? Or is this a VBA script?
I am not good in programming, so maybe a stupid question haha..

Thank for the really quick reaction!

17
Post New Requests Here / Delete files listed in excel sheet
« on: February 03, 2009, 07:14 AM »
Hi there people on this forum,

We recently discovererd a huge amount of duplicate files in one of the projects we do.
This files are spreaded everywhere, so deleting them by hand is really a job I dont wan't to do hehe!

I have a file listing in excel of all the duplicate files.. there is one column in excel, with the complete path and filename for example s:\ebn scanning\sf\processed\ebn000011111.pdf

All the files listed in excel must be deleted from the hard drive.
I think there must be a easy way to do that with AHK?

Thanks in advance people!



18
Post New Requests Here / File labeling tool
« on: January 13, 2009, 09:46 AM »
Hi people,

I have a bunch of files, with a solid prefix and a random numer. These files are listed in an excel sheet.
The sheet has a few row's. Next to the row witch contains the original file name, is a second row, containing extra information about the file and that information must become part of the filename.

Is there a way to read out the second row of the excel sheet and apply the data in that cell to the file - names i have?
This is about 10000+ files, so i would be glad if this is something I don't have to do by hand :'( :(

So what must happen is that some program makes a file list, then compares the file list with the file names in ms excel in row 1, then paste the information in the second row to the file name.

For more information ask me!
Thanks in advance!

Koen

19
Coding Snacks / Re: Automated folder maker
« on: December 16, 2008, 04:52 AM »
Thanks aCkRiTe!

I tested this script and it works great!
I looked in your code and noticed that I can use it for other files too!


20
Coding Snacks / Automated folder maker
« on: December 15, 2008, 03:51 AM »
Hi all,

I have a a few directory's containing hundreds of PDF documents.
All the documents are in the root of that directory, but i want each PDF to be in a folder named the same as the PDF file.

This should be done automatically I, couse it is very time consuming if I do it by hand.
Is there a simple code / tool to do this?

Kind regards,
Koen Franssen

21
Post New Requests Here / Final pieces of program
« on: October 27, 2008, 05:34 AM »
Hi, i'am not sure if i am posting this in the right folder;
Skrommel made me this script, thanks for that :D

It is almost working, 1 crucial thing is not; the script only loops the 2 folders in the root. The loop must also contain subdirectories.
So when there is a tiff in \\sanfolder1\folder\folder\tiff.tiff
And in \\sanfolder2\folder\example\tioff.tiff

It also has to move the tiff into the output folder..

I add the script in my post, does anyone know how to loop also the subfolders?
Please help.. :o

MsgBox, EBN PDF-TIFF zoek tool v1.0 Zet de exe in de root van de te sorteren map met PDF's!

            ;Set variable for output folder

localfolder=d:\PDFS                              ;EBN Weebverzending PDF
sanfolder1=d:\san1                          ;SAN Folder1
sanfolder2=d:\san2                          ;SAN Folder2


Loop,%localfolder%\*,1                        ;Zoekt door de weekverzending
{
  IfInString,A_LoopFileAttrib,D                ;Kijkt of er mappen zijn
  {
    MOVE(A_LoopFileName,sanfolder1,A_LoopFileFullPath)      ;Kijkt of diezelfde map bestaat in de sanfolder1
    MOVE(A_LoopFileName,sanfolder2,A_LoopFileFullPath)     ;Kijkt of diezelfde map bestaat in de sanfolder2
  }
}


     


ExitAPP





MOVE(find,root,target)

{
  Loop,%root%\*,1                           ;Zoekt door de root van de sanfolders
{
    IfInString,A_LoopFileAttrib,D   
    If (A_LoopFileName=find)                  ;Als er een match is...
    {
      FileMoveDir,%A_LoopFileFullPath%,d:\output\%find%      ;Verplaats de map naar de lokale folder
      Break
    }
  }
}

22
Post New Requests Here / Re: REQUEST: Automated search and move tool
« on: October 23, 2008, 06:56 AM »
That is not working...The Tiff's are still coming in the PDF folder.
Is there a simple way search not inly in the root of the sanfolders but also in the subfolders of the san folder?  : :tellme:

If the two above problerms are fixed then I can finally use the tool... that would be great! :D

Kind regards,
koen

23
Post New Requests Here / Re: REQUEST: Automated search and move tool
« on: October 15, 2008, 09:24 AM »
Hey Skrommel,

I am trying to make the posiblity to create an output folder, where all the Tiffs are coming after search.
I made a Fileselectfolder, with an output var. When you browse and click a folder, the variabele is set, but nothing happens with the tiff's.

This is my script:

MsgBox, EBN PDF-TIFF zoek tool v1.0 Zet de exe in de root van de te sorteren map met PDF's!



localfolder=C:\PDFS                              ;EBN Weebverzending PDF
sanfolder1=c:\san1                          ;SAN Folder1
sanfolder2=c:\san2                          ;SAN Folder2


FileSelectFolder, OutputVar, , 3            ;Set variable for output folder
if OutputVar =         
    MsgBox, Selecteer eerst een map van EBN weekzending.
else
    MsgBox, Je hebt "%OutputVar%\" geselecteerd.                        



Loop,%localfolder%\*,1                        ;Zoekt door de weekverzending
{
  IfInString,A_LoopFileAttrib,D                ;Kijkt of er mappen zijn
  {
    MOVE(A_LoopFileName,sanfolder1,A_LoopFileFullPath)      ;Kijkt of diezelfde map bestaat in de sanfolder1
    MOVE(A_LoopFileName,sanfolder2,A_LoopFileFullPath)     ;Kijkt of diezelfde map bestaat in de sanfolder2
  }
}
ExitAPP


MOVE(find,root,target)
{
  Loop,%root%\*,1                           ;Zoekt door de root van de sanfolders
{
    IfInString,A_LoopFileAttrib,D   
    If (A_LoopFileName=find)                  ;Als er een match is...
    {
      FileMoveDir,%A_LoopFileFullPath%,%outputvar%%find%      ;Verplaats de map naar de lokale folder
      Break
    }
  }
}


FileMoveDir,%A_LoopFileFullPath%,%outputvar%%find%      ;If I change the %outputvar% to c:\output\ it works fine....

What am I doing wrong?  :tellme:
Koen

24
Post New Requests Here / Re: REQUEST: Automated search and move tool
« on: October 14, 2008, 06:20 AM »
Thx!

The script now moves the TIFFS from san 1 folder to the root of PFD folder... but not the san 2 folder...

Can you post comment please with your code?
Then I can better understand what the program is doing..

How can i change the target where the tiffs are coming?

Thanks very much!
Koen


25
Post New Requests Here / Re: REQUEST: Automated search and move tool
« on: October 13, 2008, 12:31 PM »
Hey!
Thx for the script!
Doesn;t work though...

I tried to debug, it seems to go wrong with the target and the MOVE command...

Can someone help me further with this?

Koen

Pages: [1] 2next