Topics - magician62 [ switch to compact view ]

Pages: [1] 2 3 4 5 6next
1
Post New Requests Here / Files 2 folder on steroids.
« on: July 13, 2024, 06:04 AM »
I am finding I have a regular task, that would benefit from an easier way.

I have a folder with a various number of PDF's

I need to create  TXT files for each PDF with the same filename, and inside the TXT file write the filename less the file type.

I then need to move the PDF and associated TXT file into a folder of the same name.

At present I am manually creating the text file and adding the content, then using Files 2 Folders to folderise all the TXT files and finally manually drop the PDF's into the corresponding folder.

Preferably the Util will be in AHK as I want to learn how it is working so I can extrapolate for the future.

TIA.

2
LaunchBar Commander / LaunchBar Commander - Windows 11 - Dependencies
« on: September 02, 2022, 12:24 PM »
Being a fan of the old Quick Launch Bar for instant access, also after market Free Launch Bar, and True Launch bar. It looks like when I finally succumb to Windows 11 I will loose the facilities they provide due to their dependencies being removed. So am trying to plan ahead.

LaunchBar Commander looks like a candidate for the role going forward, as it runs separate from the taskbar.

Does LaunchBar Commander still work in 11, is it independent?

Can it automatically be themed with existing windows settings, i.e. match the current taskbar colours and opacity if they still exist?

TIA

John

3
Post New Requests Here / [SOLVED] Help tweak an AHK script
« on: May 03, 2022, 12:38 PM »
First, if there is a better forum for this post, please feel free to move it.

In trying to find a  solution to a repetitive task, I found some old code by skwire, which was almost perfect. It did what I wanted but required a key combination to move to the next string in the array. I wanted to  see if I could get it to run by itself.

I have a very basic understanding of it's function, and how now tweaked to to the following. The only thing I have not been able to work out is how to stop the loop when the array matches "z", which would allow for a variable length array. So for the moment I have set the loop to 3. Please note d, e, and z in the array are just placeholders for URL's.

myURLs =
(
d
e
z
)
 
StringSplit, myURLsArray, myURLs, `n

WinActivate, ahk_exe chrome.exe
Sleep, 3000 ;Time to move focus to Chrome
Send, +!,

Loop, 3
{
    myCounter++
    % ( myCounter > myURLsArray0 ) ? ( myCounter := 1 ) : ()
    myURL := "myURLsArray" . myCounter
    SendInput, ^l
    Sleep, 750
    SendInput, % %myURL%
    Sleep, 1000
    SendInput, {ENTER}
    Sleep, 2000
    SendInput, {ENTER}
    Sleep, 3000
    SendInput, {ENTER}
    Sleep, 2000
}

If someone can guide me into what I need to do, it would be appreciated. If you wonder, the three SendInput {ENTER} are deliberate.

Regards John

4
Post New Requests Here / IDEA: URL link updater
« on: February 18, 2022, 04:56 AM »
I have in the past created local URL shortcuts to IMDB for some of the old movies I enjoy.

I would like to update them as newer links are in a slightly different format, which has become a bigger issue when you find some of those older titles were used in more than one year.

For example

The actual URL remains the same, but the descriptive has changed

Roll on Texas Moon - IMDb
http://www.imdb.com/title/tt0038889/

is now

Roll on Texas Moon (1946) - IMDb
http://www.imdb.com/title/tt0038889/

I haven't found anything through a google search.

Ideally any util must handle bulk from different folders.
Preferably drag and drop.

Though saying that what issue would there really be in updating a new format to a new format. :)

I guess the util would go to the existing destination
Delete existing link
Create new link from destination.

Or just update the existing link.

Thanks in advance

5
Post New Requests Here / IDEA: Drag and Drop Rename
« on: September 24, 2021, 12:09 PM »
Preferably in AHK to aid learning.

As far as I know none of the existing programs to perform a rename function allow for this in a simple way.

We often need to rename a bunch of files or folders, where there are effectively two parts to the name. A constant across many files and a variable with no simple pattern. So they get done one at a time.

A GUI would be needed with a drop zone.

A selector for files or folders. or separate areas.

Two fields would also be required, let's call them something original, say, "Field 1" and "Field 2".

Field 1 - The constant
Field 2 - The variable

Any separators between Field 1 and Field 2 are the responsibility of the user/

Ideally Field 1 would have a history option for used values which is autosaved.
But also a clear history option should be available to avoid it growing too far.

On dropping a file or folder on the GUI the filename will be replaced with "Field 1"+"Field 2".
Whilst the file type for files remains untouched

Example:

For a file.
Existing filename = "dght62jkdkl.jpg"
Field 1 = "My New Filename - "
Field 2 = "123456

Result "My New Filename - 123456.jpg

For a folder.
Existing filename = "dght62jkdkl"
Field 1 = "My New Foldername - "
Field 2 = "123456

Result "My New Foldername - 123456

It maybe easier to have a GUI with two sides, left for folders, right for files, with their own history.

How to handle collisions? As we are only dropping 1 file and a suffix enumerator? Or just throw an error and warning notice?

Thanks in advance.



Pages: [1] 2 3 4 5 6next
Go to full version