topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Monday June 16, 2025, 2:11 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

Recent Posts

Pages: prev1 2 [3] 4 5 6 7 8 ... 23next
51
Post New Requests Here / Re: Show brief message on screen
« Last post by nkormanik on September 20, 2022, 02:50 AM »
You folks have so many good answers, thankful you all are here.
52
PublicDomainVic / Re: Extract Archives Within Each Relevant Sub-Folder
« Last post by nkormanik on June 14, 2022, 08:35 PM »
@tomos and @4wd  Thanks!

On "scripting," any comments as to what you have found to work well in most of the cases you've encountered?

Autohotkey, Powershell, Python....  C#??

53
PublicDomainVic / Extract Archives Within Each Relevant Sub-Folder
« Last post by nkormanik on June 12, 2022, 08:54 PM »
Suppose the following:

Overall Parent Folder: Various

Sub-Folder 1:
1001.part1.rar
1002.part2.rar

Sub-Folder 2:
2001.part1.rar
2002.part2.rar
2003.part3.rar

...

Sub-Folder 99:
9901.part1.rar
9902.part2.rar

I would really, really like to find a way to automatically recursively travel throughout the overall initial parent folder, into each sub-folder, and extract each set of archives therein to that relevant sub-folder.

Any suggestions greatly appreciated.

Thanks!
Nicholas Kormanik

54
PublicDomainVic / Re: Keep icons arranged in a folder
« Last post by nkormanik on May 13, 2022, 12:46 AM »
Let's remind ourselves of the objective:

1. Given limited desktop space...
2. Arrange a rather large 'project' atop the desktop...
3. In a matrix, of sorts; across, then down...
4. Arrangement of said project is critical...
5. Sequences, one step, then next step, then next...
6. Then, at some point, gather it all up, suitcase it...
7. Preferably into a single icon (folder)...
8. Expand as needed to exactly the configuration it had been in...
9. Contract/shrink down to single folder, then, again...
10. Back and forth, as needed.

Example of layout on desktop:
1.01  1.02  1.03  ... 1.25
2.01  2.02  2.03  2.04  ... 2.17
3.01  3.02  3.03 ... 3.09
4.01  4.02

Suitcased:
Project#1 (one single folder)


There may be quite a number of various ways to layout and keep in some order a large project.  I would imagine that ALL project designers and managers MUST have some sort of system.

For not just one single project, but many, ongoing.

If some of you out there follow a system, please share your ideas.

My personal preference, at this particular point, is NOT what is written above, but would be to have available/accessible an unlimited number of initially-empty actual desktops.  With the ability to save the exact layouts of each and every one.  Icons, folders, links, etc.  And ability to backup and restore, to external media.

Thanks!

Nicholas Kormanik

55
Wow, Vic, you actually did it.  Great job.  Keep on going.
56
PublicDomainVic / Re: Change File Name. Then change it back to what it was.
« Last post by nkormanik on February 27, 2022, 06:55 PM »
Change File Name.  Then change it back to what it was.

Hi Nick, I'm in with nkNameFlip @ https://github.com/p...licdomain/nknameflip

nkNameFlip is all that's desired presently, Victor.  Thanks!

Such function might be useful for others, too.  Changing a filename.  And then later changing it back to what it was.  Seems like a reasonable tool to have on hand.

I'm curious if anyone out there has come across an easy way to do this.  If so, please speak up.


57
PublicDomainVic / Re: Change File Name. Then change it back to what it was.
« Last post by nkormanik on February 26, 2022, 05:04 PM »
I'm pretty sure you can rework that SAS script to accept a filename in a variable (never used or interpreted SAS script, but did a quick google search on it), so executing the script while passing the filename(s) should be really doable.
This is only to avoid getting stuck with a 'one trick pony' tool ;D
And adjusting the script will improve someone's skills, if not yours :P

You are exactly right, @Ath.  My life as a complete amateur in programming is 'one trick pony.'  Move along day to day here at the computer until some hurdle comes up, and then attempt to find the solution to get over that hurdle.

I suppose that's one of the main differences between non-programmers and programmers.  You folks build a large steady base, and have and know a plethora of tools, and versatility to use them appropriately.

You are indeed correct that there exist tools in SAS to accomplish passing filenames.  I've been having a discussion regarding this on the SAS forums.  Hate wasting your time, but here's the link:


Macro code to iterate through list

58
PublicDomainVic / Re: Change File Name. Then change it back to what it was.
« Last post by nkormanik on February 26, 2022, 04:20 AM »
Seriously, you folks need to deal with shenanigans and efficiently organizing projects all the time.  Otherwise, your butts would be full of bites.

To my knowledge, all that effort and skill never gets talked about.

59
PublicDomainVic / Re: Change File Name. Then change it back to what it was.
« Last post by nkormanik on February 26, 2022, 04:14 AM »
Good suggestion @Ath.  Unfortunately I don't see that SAS will allow ambiguity with the dataset it's acting on.

Here's partial code:

proc summary data=sas_1.combined;
var
i_50501_Z
i_50502_Z
i_50503_Z
i_50504_Z
i_50505_Z
i_50508_Z
;
output out=sas_1.combined_temp (drop= _:) p80= /autoname;
run;

The .combined part refers to the dataset being acted upon.  I don't believe I can use a wildcard there.

I would need to change dataset filenames.  Or change script.

60
PublicDomainVic / Re: Change File Name. Then change it back to what it was.
« Last post by nkormanik on February 26, 2022, 12:43 AM »
@BGM , @publicdomain and helpful community.

BGM, your idea is a good one.  Copy out, then copy back in.  Or rename.  Etc.

Trouble is, the file contents will change.

Here is the actual scenario:

I have 100 SAS datasets.  Each dataset is alone in its folder.  The folder name corresponds to the dataset filename, plus some extra:

Below are the first three folders, and the sole file inside:

===========
E:\00\AAPL\
===========
aapl_combined.sas7bdat

===========
E:\00\ACWI\
===========
acwi_combined.sas7bdat

===========
E:\00\ACWX\
===========
acwx_combined.sas7bdat

I need to update -- add some additional columns -- to each and every dataset file.

The 'program' -- or more accurately, 'script' -- I am going to use to make the changes to each file expects the name of the file to be:

combined.sas7bdat

No prefix.

And the location of said file is set to be:

C:\SAS_1\

So, it appears that I'll have to use one of the two following approaches:

(first dragging each respective file one at a time to the 'work' folder for the running of the script)

1.  Change the 'script' file 100 times, to tailor for the specific prefix.

or

2.  Change the name of each file, temporarily.  x100.

Going #2 route, I was thinking of TEMPORARILY changing the filename:

aapl_combined.sas7bdat --> combined.sas7bdat

Then making changes to the dataset file with the existing script.

Then changing the filename back to what it was before:

combined.sas7bdat --> aapl_combined.sas7bdat

Then dragging the changed dataset file back to its proper, home folder.

This whole rigmarole is likely faced regularly by programmers.  There surely are ways and means of conducting things more efficiently.  If anyone wants to chime in their thoughts regarding a more orderly process, please speak up.

Thanks much!

Nicholas Kormanik

61
PublicDomainVic / Change File Name. Then change it back to what it was.
« Last post by nkormanik on February 25, 2022, 04:47 PM »
Vic (and community), I used to put small requests in Skwire's section.  Haven't for a while.  I have a mini request presently that probably belongs over there.  But will just put it here for now....

Change File Name.  Then change it back to what it was.

This would be a two-phase process:

A file is in a folder.  Alone.  File is:  "4863 - xyz.txt"

Step #1.  Change that file's name to:  "xyz.txt"

(User now does some things.  Blah, blah....)

Step #2.  Change the file "xyz.txt" back to its original name, "4863 - xyz.txt"

Done!

If there is another forum where this request is more appropriate, please let me know.  Or if there is a means that I ought to have access to (some programming language?).

Thanks a million.  Hope all are well.

Nicholas Kormanik

62
PublicDomainVic / Keep icons arranged in a folder
« Last post by nkormanik on January 30, 2022, 10:02 PM »
This one might be impossible as well.

Suppose we have a folder with a number of icons for files and folders.

We want those arranged in a very particular way.  Not merely the usual sort, by name, extension, etc.  But the exact placement within that folder.  Some icons are up, some down, some to the side.

We want to be able to take a 'snapshot' of this specific arrangement.

Take snapshot.  Then rearrange to that snapshot at a later point in time.

So, two additional 'buttons' (perhaps?) on Explorer ToolBar:

1. Take arrangement snapshot
2. Restore arrangement

Or via right-click context menu.

What do you think?  Possible or not?

Additional details would have to be considered, of course.  Like, where will the 'arrangement details' be kept?  Within the folder, maybe in a hidden file? 

Will the implied coordinates be relative to the window, say from upper-left corner of the window being 0,0?

Too, what if additional icons/files are moved to that folder, will that not affect the previous arrangement possibility?

Etc.

Windows does allow for the above in a temporary way.  If 'View; Auto arrange' and 'View; Align to grid' are both unchecked.  But the arrangement doesn't last.  Close window and reopen, icons are sorted.  Etc.

Thanks so much!

Nicholas Kormanik

63
PublicDomainVic / Re: Prepend Numbers, Serially, To Desktop Items Selected
« Last post by nkormanik on January 30, 2022, 09:28 PM »
Looks super Vic!  I think people will like it.

Thought of another request.  Will start a new topic....
64
PublicDomainVic / Re: Double-Esc = Close Program/Window
« Last post by nkormanik on January 23, 2022, 06:04 PM »
Double-Esc to close current window is huge.  Looking forward to it.

Others here might come up with dangers of doing the above.  Hope they will. 

One possible issue:  Suppose you have your Internet browser open with 20 tabs you are going to read.  And you accidentally press Esc twice.  Well....

On my keyboard, Ctrl-Esc is a handy combination, yes, so good candidate to do something with.  Might, however, have to override a standard Windows action -- opening the menu, bottom-left corner.  But I would prefer to override, as I never use the combo for that purpose.

65
PublicDomainVic / Re: Prepend Numbers, Serially, To Desktop Items Selected
« Last post by nkormanik on January 22, 2022, 04:45 PM »
Agree.  I was mostly venting.  Frustration at Windows not having as many whiteboard-like desktops as user desires.

Vic! has bigger fish to fry.

He's definitely a trooper, though.  Amazing guy....

66
PublicDomainVic / Re: Prepend Numbers, Serially, To Desktop Items Selected
« Last post by nkormanik on January 21, 2022, 03:12 AM »
Vic, some 'rename' programs might offer this same functionality.

Thus, not a huge priority, unless others here chime in showing support and encouragement.

But, as always, I greatly appreciate your positive can-do attitude.



67
PublicDomainVic / Re: Prepend Numbers, Serially, To Desktop Items Selected
« Last post by nkormanik on January 18, 2022, 07:40 PM »
Vic!, you are the one with limited time, energy, money.  You'll have to decide if such an endeavor would be worthwhile.

I, for one, would find such a program quite useful.

Thanks so much for responding!

68
PublicDomainVic / Prepend Numbers, Serially, To Desktop Items Selected
« Last post by nkormanik on January 17, 2022, 07:43 PM »
New request, perhaps not even possible presently....

Suppose Windows desktop.

Highlight a set of desktop items/icons.  Say, horizontally.  Three items.  So, three across.

Given the three highlighted items, attach a number to each, serially, across, from left to right, padded with zeros (if requested by user), plus a space.

Example:

x, y, z --> 01 x, 02 y, 03 z

Is this possible by any means other than manually?

Why requesting?

Suppose user has created a series of steps laid out on the desktop.  A series of batch files, say, that requires executing in a very particular order.  Or text files outlining steps that must be executed in a particular order.

User does not want to continue taking up the desktop space with the ordered set across said desktop.  User would rather place all these into a folder, on desktop, or somewhere else.

If user simply places all these items into a folder, they will be rearranged by Windows, sorted, if you will.  Critical arrangement that was shown on desktop will be lost.

Given the prepended number, sorting by name easily arranges as wanted.

Comments greatly appreciated.

Nicholas Kormanik

p.s. -- This sort of issue points to a huge desktop problem.  I would really, really like to see a permanent sort of desktop(s) that is very much like a physical white board.  Arrange.  Save.  Leave.  Create another.  Arrange.  Save.  Leave.  Backup.  Etc., etc., etc.  On the desktop(s) would be the usual assortment of files, icons, folders, shortcuts, etc.

Presently I don't think this is possible.  Hugely needed!


69
PublicDomainVic / Re: nkTree - GUI for actions on a directory tree (v0.1.0)
« Last post by nkormanik on December 30, 2021, 07:13 PM »
Okay, looking forward....

Getting a shortcut file into the SendTo folder is not a big deal.

What I was asking for is to send the relevant folder path into the nkTree sub-window for that purpose, just to save some steps in the whole process.  Another approach would be to drag a folder directly onto a nkTree shortcut (say, on the desktop).

As of right now, that won't work.  Would be a mini-enhancement.

70
PublicDomainVic / Re: nkTree - GUI for actions on a directory tree (v0.1.0)
« Last post by nkormanik on December 30, 2021, 12:42 AM »
Download link for nkTree 1.2 ??
71
PublicDomainVic / Re: nkTree - GUI for actions on a directory tree (v0.1.0)
« Last post by nkormanik on December 29, 2021, 09:03 PM »
Download link?
72
PublicDomainVic / Double-Esc = Close Program/Window
« Last post by nkormanik on December 29, 2021, 05:12 PM »
Another request, Vic!

Others have tried this before on DonationCoder, but never got it quite right.

Wonder if you might want to give it a try.

Memory-resident program that adds ability to Double-Press the Escape key, and the current window, program closes.

Not at all a priority.  Just a useful little utility.

Thanks Vic!

And Happy New Year to you and everybody here!

73
PublicDomainVic / Re: nkTree - GUI for actions on a directory tree (v0.1.0)
« Last post by nkormanik on December 29, 2021, 05:05 PM »
Small additional request, Vic....

Not a priority.  But if it's easy enough to incorporate.

Would be nice to have nkTree in the SendTo list.  So, if user focuses on a certain folder/directory in Windows Explorer, user can right-click to bring up context menu, SendTo, and nkTree.  When nkTree comes up, the focused-on folder appears in the nkTree Directory window automatically.

Thanks for an excellent utility, Vic!

Happy New Year!!

74
PublicDomainVic / Re: nkTree - GUI for actions on a directory tree (v0.1.0)
« Last post by nkormanik on December 06, 2021, 03:43 AM »
Excellent program, Vic!  Works tremendously well.  Easy to eliminate folders by name in large folder/file hierarchy.

Everyone on the planet really ought to keep this gem handy.

Vic! has been achieving high quality accomplishments!  And he's just getting warmed up!

75
PublicDomainVic / Re: nkTree - GUI for actions on a directory tree (v0.1.0)
« Last post by nkormanik on December 02, 2021, 01:24 AM »
An early Christmas present, Vic!  You certainly are making the world a better place.
Pages: prev1 2 [3] 4 5 6 7 8 ... 23next