topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Monday November 4, 2024, 5:24 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 - magician62 [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 8next
1
Post New Requests Here / Re: Files 2 folder on steroids.
« on: July 13, 2024, 01:54 PM »
I can see the confusion, I am not converting the PDF. I just need a text file with thw same name.

So for

'my.pdf'

I need an empty txt file

'my.txt'

I then want the text of 'my' inside the txt file.

So we get 'my.txt' when opened the contets is teh line of text 'my'

2
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.

4
Great News. Thank you.

Saves spending a few days configuring it to replace Quick Launch, only to have it obsoleted by W11.

Once the new monitor arrives I can see what a 3.5ft Launch Bar looks like, or if it might be better as a number of smaller ones with slightly different backgrounds. :)

John

5
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

6
Post New Requests Here / Re: IDEA: URL link updater
« on: May 04, 2022, 02:51 AM »
Hi Vic,

I finally got around to trying it, and it didn't seem to work. Well it did, but I didn't know it.

Part of the issue is I just found that some of the links I was testing were to the old aka subdomain, which is now obsolete

http://akas.imdb.com/title/tt0038889/

I don't know if there is a way to fix that as in insert "www" in place of "akas" at the same time, or at least accommodate it in the process, so the title gets fixed?


The only other issue is with "symbols in a name".

For example

It's

becomes

It's

Regards John

7
Post New Requests Here / Re: Help tweak an AHK script
« on: May 04, 2022, 02:21 AM »
myURLs =
(
d
e
z
)

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

Loop, Parse, myURLs, `n
{
    SendInput, ^l
    Sleep, 750
    SendInput, % A_LoopField
    Sleep, 1000
    SendInput, {ENTER}
    Sleep, 2000
    SendInput, {ENTER}
    Sleep, 3000
    SendInput, {ENTER}
    Sleep, 2000
}

Many thanks highend01.

In removing unneeded stuff to achieve what I wanted from the original code, and then merging what was left to reduce it. Due to my lack of knowledge, I totally missed the obvious solution.

This can be marked as SOLVED



8
Post New Requests Here / Re: Help tweak an AHK script
« on: May 03, 2022, 03:46 PM »
Open a URL, hit enter twice to respond to save dialog, then move onto the next in the list URL. Currently all URL are on one site, but maybe different in future.

This is where your original code came from.
https://www.donation...ex.php?topic=34285.0

Regards John

9
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

10
Post New Requests Here / Re: IDEA: URL link updater
« on: February 18, 2022, 06:27 PM »
I take it you also want a checkbox/option for updated filename to match the new title, correct?

The main purpose is to update the filename, so a checkbox is probably unnecessary, as the URL doesn't change except...

I found earlier some of my links were to "also known as" titles link. So the URL included "akas." An option to strip that might be good as the old links are dead. :) I have looked at skwire's SCURLed to fix those, but at present it doesn't seem to work..

Once I have the right name/year to click, if it took me to the obsolete akas link, it is only a couple of clicks to fix.

11
N.A.N.Y. 2019 / Re: NANY 2019 Release: SCURLed
« on: February 18, 2022, 01:47 PM »
Not sure if this is a bug due to Windows updates...

I loaded a URL link.

https://akas.imdb.com/title/tt0020678/

Run search and replace "akas" to "www"

Applied changes to list and the list updates.

Click Save all changes, but link still shows its original akas destination. And no change has been made.


When looking at the properties in Windows Explorer "Link Target" and "URL" still show as "akas"

I have also tried single edit which also failed.

One feature that seems to be missing is an option to clear the list.

12
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

13
I use MyFolders. Maybe worth a look

https://www.coretech.../products/MyFolders/

14
Hi Jody.

I simplified my pattern and did a quick test, just in case it was something in the long path I had.

Screenshot_20220117_04_19-Entry.jpg

Simulation result

E:\TEST\start\Groupname - Filename.txt --> E:\TEST\finish\Groupname\??1 \Groupname - Filename.txt

The end result should have been

E:\TEST\start\Groupname - Filename.txt --> E:\TEST\finish\Groupname\Groupname\Groupname - Filename.txt

Obviously this is a stripped down version of what I am trying to do. 

Curiously there is a space after the "??1 " in the simulation.

15
Is it possible to re-use the output variables?

Such as Destination like

....\??1\??1 ??2

16
Post New Requests Here / Re: IDEA: Drag and Drop Rename
« on: September 28, 2021, 05:36 AM »
Just downloaded. Hopefully I will get a chance to try it this evening. Will report back on how it goes

Regards John

17
Post New Requests Here / Re: IDEA: Drag and Drop Rename
« on: September 24, 2021, 04:41 PM »
Couple questions...

1) I don't know Autohotkey but I can make it in another language called Visual Dialogscript. LMK if you are OK with that.
2) When drag/drop a folder, is it to just rename the folder or all the files in the folder?

The only reason AHK was I am slowly picking up on bits of how it works, And seeing how to do something I understand helps with learning.

Applicable to the item dropped, not recursive through lower levels.

Example of application.
We have been scanning old paperwork, but as the scanner is auto feed it gives a simple sequential filename. Where there are multiple pages to a document we drop them in a folder. Often just generate 100 empty folders, you know New Folder and New Folder - Copy etc..:)

We then zip or rar the folder and change the filename to cbz cbr and use a comicbook reader CDisplay for viewing

18
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.



19
It works It works. Many thanks indeed.

20

Please try with latest version (v0.1.0) at: https://github.com/p.../releases/tag/v0.1.0

Thanks!
-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. :)

21
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! :)

22
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!

23
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. :)

24
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. :)

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

Screenshot_20210324_03_11-Family View - Ancestry.com.jpg

Pages: [1] 2 3 4 5 6 ... 8next