avatar image

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

Login with username, password and session length
  • Wednesday July 28, 2021, 7:51 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

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 - magician62 [ switch to compact view ]

Pages: [1] 2 3 4 5 6 7next
It works It works. Many thanks indeed.


Please try with latest version (v0.1.0) at:

-publicdomain (April 11, 2021, 03:37 PM)

No noticeable difference. Still counts number launched, but nothing appears.

Is there a way to tweak it so it just outputs what I have dragged and what it is proposing to do?

I did try editing the settings to make LaunchRegex the same as resulting page, the theory was no matter what was dropped it would execute a valid result. That didn't do anything either, but then I was guessing. :)

I think I am am going to have to try again in the morning. I downloaded, but nothing appeared to happen. I edited the tree URL. It indicated it had launched after a drop, but nothing seen.

I also found another ancestry Feature. If you use the tree search from a persons profile, it still provides a real link. It's great they code for consistency, NOT! :)

Sorry I have been absent for a few days, though it seems like years. :) Will take a look later when I return. :) I hadn't realised how long it has been since I last checked my emails!

Sorry for the slow reply, days have just disappeared of late.

Yes, Chrome only. I rarely use Firefox, never Edge. and only use IE if nothing else works. :)

Many thanks for the reply Vic.

I am noticing more and more each day, websites making things "harder"/"slower". I wonder how much is to make it mobile compatible. Not that anyone would have several screens open at the same time on multiple monitors. :)

The links I refer to are those provided when in "tree view" and you do a "tree search".

Screenshot_20210324_03_11-Family View -

Preferably in AHK so I can learn a little

I use Ancestry...

  In the past it would provide a search result list with links. You could right click the ones of interest into a new tab, or window. They have recently moved to javascript. which only allows you to open one choice in the current window. a right pain as it slows down everything you do !

First  a drop zone is needed where I can drag the javascript link.

On mouseover the status bars shows. 

The variable we need is the bit between the brackets. In this example.

The util will need a place for the user to store the "URL string" the javascript variable gets appended to.

example of "URL string"
On dropping the link, the real URL is assembled

The resulting URL should ideally be launched in a new tab on the source browser window, or a new window.

Using Chrome.


I have used Files to folder on numerous occasions and it is very efficient at what it does, and seems to have many of the elements of the idea

I am in the process of restructuring how store some of my data, but it means re-structuring thousands of folders.
I need to be able to select a group of folders instead of files, and put them into a new directory in the same path location.




All Folders are prefixed by a plus "+".
EXISTINGFOLDER name will always be the same
The bracket "[ ]" Content of the source could be any 3 or 4 character alpha numeric, but he alpha will always prefix the numeric.
There is only one occurrence of brackets in the folder name, and it is always at the far right.

The new +NEWFOLDER bracket contents will always be a "C"

Either the user should be offered the option of providing the new "+NEWFOLDER [C]" name as in Files to Folders.

Or even better extract the complete new +NEWFOLDER name from the first +EXISTINGFOLDER name of the selected group and replace the bracket contents with "C".

Thanks for your help. If you need clarification, please let me know.

Post New Requests Here / Re: IDEA: Subfolder Creator
« on: April 16, 2019, 01:14 AM »
Unfortunately sometimes the download misses one or takes two copies. And to make things worse, the page code is broken. If you go one direction you get the numbers generally in random ascending order, but if you miss one and have to go back, the filename is different, or better put, the same as another page! 

Post New Requests Here / Re: IDEA: Subfolder Creator
« on: April 14, 2019, 06:50 AM »
Thank you for the answers and suggestions to improve. As I say a lot to learn. Although I played with php about 10, I have probably forgotten most of it, prior to that it was BASIC almost 40 years ago lol.

The nice thing is I use this process in various different cases so can adjust and re-use as needed.

At present it is for downloaded newspaper pages, where they may not be sequentially named. So dropping into the right folder allows for a subsequent quick rename using the folder as the new filename. Only 150 years of a weekly papers to work through. :)

Post New Requests Here / Re: IDEA: Subfolder Creator
« on: April 14, 2019, 02:50 AM »
I like your use of "quickly ". It is a relative term, and the closer you get to retirement, the longer "quickly" takes. :)

From what you have there I can see how the GUI is created. In my working version I have moved the box creation to the top which seems to work, but is there a reason not to do this? To me the logical progression is make a box, chose pen and ink, and write something with it. :)

I created a gosub for folder creation and dropped it to the bottom with the appropriate entries for folder creation.

The bit I had trouble with is a loop for a group of folders dropped. I took a while before I realised that your "Break" might be stopping a Loop through all the folders dropped  So tried substituting the gosub for the Break, and all seems to work!

Code: Autohotkey [Select]
  1. Gui, Show, w300 h300, Subfolder Creator
  2. Gui, font, s14 cBlack bold
  3. Gui, Add, Text, x150 y150, Drop folder
  5. return
  7. GuiDropFiles:
  8.  Loop, parse, A_GuiControlEvent, `n, `r
  9.   {
  10.     folder := A_LoopField
  11.     gosub,create_folder
  12.   }
  14. return
  18. create_folder:
  19.  if !InStr(FileExist(folder), "D")
  20.     return
  21.    FileCreateDir, %folder%\p01
  22.    FileCreateDir, %folder%\p02
  23.    FileCreateDir, %folder%\p03
  24.    FileCreateDir, %folder%\p04
  25.    FileCreateDir, %folder%\p05
  26.    FileCreateDir, %folder%\p06
  27.    FileCreateDir, %folder%\p07
  28.    FileCreateDir, %folder%\p08
  29.    FileCreateDir, %folder%\p09
  30.    FileCreateDir, %folder%\p10
  31.    FileCreateDir, %folder%\p11
  32.    FileCreateDir, %folder%\p12
  33. return

Post New Requests Here / Re: IDEA: Subfolder Creator
« on: April 13, 2019, 02:45 PM »
You have it correct

Although I have looked at AHK in the past only bits of it made sense. I still have a long, long way to go. :)

Post New Requests Here / IDEA: Subfolder Creator
« on: April 13, 2019, 12:49 PM »
Ideally AHK so I can learn.

A dropzone where one or more folders can be dropped from various source locations.

Dropzone creates one or more empty folders of user defined name(s) inside dropped folder(s).

Sounds simple, but is it?

Purpose is to allow pre-population of folder sets for subsequent use.


Post New Requests Here / Re: How old is this file?
« on: December 29, 2018, 05:07 AM »
I tend to just properties a file to get a date. as I do the age bit in my head, and rarely care about Hours and Minutes

I can't code anything, but can prompt a couple of questions that may arise.

The important thing is how are you determining the age of the file?

Days since created?
Days since modified?

Date created is NOT always the older of the two? File copied form another location for example.

Post New Requests Here / Re: IDEA: Drag Drop renamer
« on: December 26, 2018, 01:41 AM »
OK, I believe I have identified part of the issue why it wasn't working as expected.

After using the suffix format "_Species_Name" I found it became cluttered, so tweaked it to _(Species_Names) which improved readability.
I also used the same technique to append the Location before the species name using "_(Location). Again it worked well, but didn't provide enough separation from "_Species_Name" so I decided to change the type of brackets fro Curved () to Square [], and that is when it all went wrong!

It looks like you can have a multitude of curved brackets, but as soon as you add a square bracket, no further additions will work!

_(Species_Names) _(Species_Names) _(Species_Names) _(Species_Names)

Not Valid

Obviously, you wouldn't have two locations, but it does illustrate the issue of bracket type, thus limiting the methods usefulness

Also You can use Curly bracket {} but I can't tell the difference between curved. You can not use greater or less than <> either.

I assume this is down to the way Powershell works?

Maybe an AHK driven interface is the way to go in the long run, to make the whole thing faster and easier to configure for different uses using "profiles". Unfortunately I lack those skills

Is the machine set to shut down or hybrid hibernate which is the default on W10. If the latter it's not something like  a Wake on LAN or Wake on USB?

Post New Requests Here / Re: IDEA: Drag Drop renamer
« on: December 23, 2018, 04:20 AM »
Well it worked for a while.

Big issue was the number of files/speed.

When I had more than 1000 files it was far quicker to use alternative renaming utils, due to needing to submit 4 batches or more, but alternative methods did put at risk consistency.

Changing the shortcut as the appended name part evolved, was quite tedious, with over 200 different choices.

Over recent days, many of the shortcuts have failed to work, though they look identical format when propertied. My initial thought was use of () or{} brackets, but even [] which I had originally used has become an issue  Windows 10 is preparing for the fall up[date, I wonder if it has messed with this method.

I did use KodeZwerg's Shortcut Tuner  to tweak the Targets, maybe that has had an impact on this type of link.

Though even starting from scratch seems to have a problem, check it is not the AV. SO in effect back to square 1 :(

Post New Requests Here / Re: IDEA: Drag Drop renamer
« on: November 06, 2018, 02:07 AM »
Windows has a command line length limit.

Dropping too many files on it at once can exceed that limit.

But seems weird that it disallows then allows the same number.

Not sure whether Windows will break it into multiple commands.

This is what I was finding weird. I had expected I could drop the number to a point which would give me a clue. But to then accept greater numbers made little sense. The only thing I could think of was something interrupted the process. I will just have to make sure I don't try and rename too big a group :)

Accepted, it's not a perfect solution, but it has proven the concept works, and although it can be quite slow on larger batches. I would say having all the species in one screen does allow for a general increase in speed and easier processing.

The biggest time consumer is creating the shortcuts and setting icons.

I got the shortcut creation time down  creating a text list of all the species, prefixing with underscore and replacing spaces with underscore. Then prefixing the whole lot with the command. I then duplicated the shortcut 150 times renamed to species and finally properties to change the command inside.

I still have to finish the icon side :)

The concept will work for just about anything I want to add.

I also suffix with location, so have used the same technique for that too. Saves having to open a renaming program and select to create a rule for the change.

I can see a full fledged drag drop with creation from a data list would benefit those who predominantly use a mouse. 

All i need to do now is figure the best way of handling which camera in the filename. :)

Post New Requests Here / Re: IDEA: Drag Drop renamer
« on: November 05, 2018, 12:26 PM »
Have encountered an occasional issue with larger batches.

Though have not been able to narrow down. The number of files it will process seems to vary I started at 1000 error. Stepped down to around 300 error, then dropped close to above 255, worked Went back to 400, worked.
All filenames are of the same length.

Now it gets weird. The time taken for similar size batches is varying quite wildly, so something else must be going on.

Post New Requests Here / Re: IDEA: Drag Drop renamer
« on: November 05, 2018, 11:48 AM »
Files have no need to move. Rename is in same location.

The code used is
# DND-Rename.ps1
for ($i = 1; $i -lt $args.Count; $i++) {
Move-Item $args[$i] ($args[$i] -replace "(\.[^.]+$)", "$($args[0])`$1")

Post New Requests Here / Re: IDEA: Automagic Digital Photo Manager
« on: November 05, 2018, 07:30 AM »
A little observation, as I need to look further at this util. I work always in GMT for photograph times, but I suspect not all cameras do. :)

Post New Requests Here / Re: IDEA: Drag Drop renamer
« on: November 05, 2018, 07:25 AM »
I was using "move". :)

The irony on Icons was i have several graphics packages, just none allowed me to create icons!

I suspect part of my speed issue is, my system was a W10 upgrade from W7 rather than fresh install. I have occasions where if several large files are sent to my computer from another on the network, I can loose total control till completed. If I pull the same files, I have no problems. The solution is probably a format, but even when I upgraded, I really didn't fancy spending a month or more re-installing and reconfiguring everything to where I had it before. :)

A good way of describing, and it is not just this util. If I drag a number of files from an explorer window to my graphics program, I can not select any file in the source folder till all the files have loaded as I get a busy cursor. File "moves" see explorer processor usage go silly. It's almost as though it has forgotten to multi task. :)

Post New Requests Here / Re: IDEA: Drag Drop renamer
« on: November 05, 2018, 01:55 AM »
Try changing the shortcut Target to the following:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -NoExit -File "E:\Renamer\DnD-Rename.ps1" _Kingfisher

-ExecutionPolicy Bypass will tell Powershell to ignore all security settings and just run the script, (since it's rather simple this should be OK).
-NoExit will keep the console window open so you can read any errors.

That sorted it. :)

Now executes as intended.

A couple of issues I have identified,, which I suspect is a function of how windows now seems to work.

On processing large numbers of files 100+ (each 10-20mb). I am unable to add further files till they are processed, as windows will not allow them to be selected.

Having to create an icon... :)

Due to the way this works, it may not be suited to the original idea because of the delays it creates with larger groups of files, as mentioned that may be windows, but it does work very well for another task I have in mind. :)

Post New Requests Here / Re: IDEA: Drag Drop renamer
« on: November 04, 2018, 05:28 PM »
Not an All-in-One solution but just something simple in the meantime.

As best I can tell, I have done as stated but nothing appears to happen. Console window opens and closes, but that seems it. There does seem to be red writing at thee top of the console window, but not possible to read. Is there a way to make it persist?

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File "E:\Renamer\DnD-Rename.ps1" _Kingfisher

Pages: [1] 2 3 4 5 6 7next