topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • September 24, 2018, 10:49 AM
  • Proudly celebrating 13 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 - nkormanik [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 14next
1
Post New Requests Here / Re: Tally folder contents by file date
« on: September 22, 2018, 10:41 PM »
Creation date.

Thanks for asking!

2
Post New Requests Here / Tally folder contents by file date
« on: September 22, 2018, 08:02 PM »
Suppose we have a folder with 100 files.

Objective is to create a text file with a list of dates and tally of those dates based on the 100 files.

Example:

2018-09-22 7
2018-09-19 8
2018-09-14 11
...
2018-09-3 1

Space separator between date and tally number.

No spaces within date.

Result can be sorted, or not.  Preference is to sort by date.

File name output should be same as folder name.  Plus .txt.

No need for GUI.  Command-line preferred, for creation of batch files (say, acting on lots of different folders).

Resultant .txt file should be created in same folder as executable, wherever user wants to keep that.

Parameter after executable should be folder path where files reside.

Example:

Tally_by_date.exe "C:\Program Files\My Program 123"

Use of piping might be okay.

Example:

Tally_by_date.exe "C:\Program Files\My Program 123" >> "My Program 123"

Any help greatly appreciated.

Thanks!

Nicholas Kormanik


3
Thanks again, highend01.  Amazing work.

4
highend01 seems to have accomplished the task perfectly.  What magic!

His little gem is a significant addition to the utilities in our tool bags.

Thanks very much, highend01!  And to all the rest of you.

Skwire, another success....

5
Wow!  Outstanding thinking, KodeZwerg.

Now, how to go about doing THAT?

Perhaps copy to XYZ_Biggest....

6
Given a folder, XYZ.  Look in sub-folders.  If more than one file exists within any one sub-folder, delete all except the largest file present.

Issue has arisen from capturing streaming audio 'radio stations' around the Internet.

One folder has 22 different copies of Queen's Radio Ga Ga.  Another, 20 copies of Madona's Like A Prayer. 18 MJ's Billie Jean.  And on and on.

Need a way to pare out the littler ones, I suppose.  Not the very best solution, because there is often announcer voice at the beginning of the longer items -- that's actually why they are longer.  But, keeping the longest/biggest seems the best bet I can think of.

Question is, how does one do this?

Hundreds of sub-folders, by the way.  So need an auto way.

Thanks!

Nicholas Kormanik

7
N.A.N.Y. 2010 / Re: NANY 2010 Release: ClipTrap
« on: July 22, 2018, 05:11 AM »
Two "enhancement" requests:

1.  Allow the window to go a little narrower than presently allowed.

2.  Allow user to select colors of font and background.

Thanks, Skwire!

Nicholas Kormanik

8
Post New Requests Here / Re: Programming Language Question
« on: April 26, 2018, 11:48 PM »
Some above have said, "Pick the best language for a particular job."

Well, let's assume one instead decides to start studying C#, the current top-ranked programming language in the world.

Can C# be used in place of AutoHotkey to make more or less the same programs that Skwire puts out?

What limitations does C# have, that will frustrate a new programmer?

(assume Windows environment)


9
Post New Requests Here / Re: Programming Language Question
« on: April 18, 2018, 06:30 PM »
Well, let's assume one wants to simply get the job done as expeditiously and efficiently as possible, with the best today's programming languages can offer.

Would be great if there were one universal programming language that could pretty much do all things.

10
Post New Requests Here / Re: Programming Language Question
« on: April 17, 2018, 07:15 PM »
Thanks for the insights, folks.

In my case, I work alone, and come across challenges trying to accomplish this or that.  I search the Internet to see if someone else has solved the conundrum, or I visit Donationcoder.com and spell out the objective, which is generally met with a mini-program solution, surprisingly quickly.

But I feel I should be solving these myself.

Sort of raises a question, though:  Seems zillions of small programs out there, more all the time, to accomplish nearly anything.  Does one really have to learn to do it oneself?


11
Post New Requests Here / Programming Language Question
« on: April 16, 2018, 03:49 AM »
Often asked, of course.  Just wondering what Skwire uses in addition to Auto Hotkey.  Do one of the big languages stand out?

Recently watched a video where a programmer said, "Today all the languages can achieve nearly anything.  No one is inherently better than another."

Thanks,
Nicholas Kormanik

12
Wow, 4wd, no idea what you're doing there.  But it works!

And in such short time after my asking.

I placed your batch file into a special reserved location.  Created a shortcut to that batch file, and put it into my SendTo folder.  Then, selecting a file, right-click to bring up context menu, SendTo your batch file....  Presto.  Spaces changed to underscore, right where it sits.

Terrific job, 4wd.  Thanks a million!

Nicholas

P.S. -- Why this request to begin with?  A finicky program that won't accept being 'sent' a file if there are spaces in the filename, or even in the path.  Go figure.  But good now.


13
Looking for a tiny program that can be used in a batch file as follows:

"(path\)ChangeSpace2Underscore.exe" "%1"

The original file will then have any spaces in name converted to underscores.  File will remain in same initial subdirectory.

Any help appreciated.

Nicholas Kormanik


14
Post New Requests Here / Re: Super Simple "Alarm Clock"
« on: November 03, 2017, 02:17 AM »
Wow, skrommel, exactly as requested.  Perfect.  Best, quickest alarm I've seen.  Totally intuitive.  Wonderful job.

Thank you so much!

Skwire, another one done.

15
Post New Requests Here / Super Simple "Alarm Clock"
« on: October 23, 2017, 12:48 AM »
Surprisingly coming up short.  Seems inexplicable, huh.

Suppose your friend writes you, "Call me at 2pm."

Let's say the time is now 11am.

For a timer I really like Skwire-suggested SnapTimer.  I use it all the time for this and that.  If I decide to use SnapTimer, I subtract, 2pm minus 11am.  Put 3 hours into the countdown timer.

Let's suppose that I get around to loading SnapTimer ten minutes later than 11am.  So..., 2pm minus..., uh, 11:10, let's see, that would be 2 hours and 50 minutes.  Oops, another minute has gone by, so, 2 hours, 49 minutes.  Countdown away.

In the present case, it would be better if I could directly input 2pm.  At 2pm some indicator comes up on screen.  Presto.

That would call for a very simple ALARM CLOCK.

Lots of alarm clocks out there.  And they are loaded with bells and whistles to the hilt.  Very unfriendly, all.

What would seem the easiest most efficient way of doing what needs to be done?  Double-click icon.  2pm.  Okay.  Done.

Thanks folks!

Nicholas Kormanik


16
Finished Programs / Re: FINISHED: Speed It Up, or Slow It Down
« on: September 05, 2017, 05:41 PM »
Terrific, skrommel.  Works better than I was hoping for.

One change request, though.  Switch the (+) and (-) keys, so that (+) speeds up, and (-) slows down.

How does user get completely out?

Interestingly one can pause simply by clicking on the desktop.  And resume by clicking on the program being read, picking right up again.

We seem to have a definite winner here.

Why in the world hasn't this been done before.....

Well, now it is.

Thanks very much!

17
Finished Programs / FINISHED: Speed It Up, or Slow It Down
« on: September 03, 2017, 04:20 AM »
Background: 

I like FBReader for reading .epubs.  Terrific program.  Except for one major omission.  For many years I've asked the developers to incorporate an auto-page-advance feature.  But no reply.

One has to manually hit page-down to go to the next page.

I can program a basic macro program to hit Page Down, repeatedly, every so many seconds -- fixed speed.  Not a big deal.

But..., there's likely a better way.

Challenge and Request:

Ideally.  Program the keypad (+) and (-) keys to increase or decrease the speed of hitting the Page Down key.  Perhaps at 5% increments or whatever.

In other words, user brings up FBReader, and some .epub (but probably would work with any such reader or word processing program, or even an image viewer).  Start auto-page-advance by hitting the keypad (+) key.  Suppose the initial default is 30 seconds per page.  If that's too slow, hit the (+) key again, and the speed to next page-turn is faster.  Hit again, and faster still.

If the 30-seconds per page is too fast, hit the keypad (-) key.  And the page-turn is then made slower.  Hit again, slower still.

Whaddya think?  Doable?

Thanks much!

Nicholas Kormanik


18
Beautiful!  Works exactly as I was hoping!

Hope others out there might find and use this as well.

I'm renaming my personal copy: Skwire's Stock Symbols Only.

Thanks a million, Skwire.

19
Same error.  Something is apparently wrong with my system.  Bummer.

20
I placed your sso.exe and a text file, test.txt, into C:\2 and executed, dragging test.txt onto the open box appearing.  Named output file symbols.txt:

Error!
There was a problem saving the output file.  Perhaps it's open in another application.

I tried a number of other attempts, with same error message.

21
Wow.  Ohhh my goodness.  How'd you do that??!!

Exactly!

22
If someone here wants to actually create a program to do the above, perhaps it might be called:  Stock Symbols Only.

(Skwire's Stock Symbols Only??)

I think what I am asking for can be accomplished with RegEx, but not sure.

A little Windows program, even a command-line program, asking for the text file input, and spitting out results to a separate file would be perfect.  Prefer symbols to be one per line, but not necessary, and no need to sort.


23
Here is an example of part of such a text file.  I am not expecting perfection, mind you.  Some further editing will likely be required.  Again, let's assume that NOTHING other than caps will be allowed, so excluding parentheses, colons, commas, numbers, etc.:

(FWONA), Facebook (FB), Universal Display (OLED), Apple (AAPL), SBA Communications (SBAC), and Abiomed (ABMD

The daily volume for an average stock on the S&P 500 is 4 million shares, while the median is slightly more than 2 million. Bank of America Corp’s BAC, -0.29% average daily volume is about 87 million shares, followed by Apple Inc’s AAPL, +0.37% at roughly 54 million. By comparison less than 300,000 shares of Dun & Bradstreet Corp. DNB, +0.28%  changed hands in the average day.
Other standouts include energy, airline and biotechnology stocks - small and large. Since the start of the year, on average, about 20 million shares of Chesapeake Energy CHK, -1.81% changed hands daily, (The stock lost more than half its value since the start of the year.) Halliburton Co. HAL, +0.57% Exxon Mobil XOM, +0.51% Transocean Ltd. RIG, +3.51% Delta Air Lines DAL, +3.25% American Airlines Group AAL, +5.43% General Motors GM, +0.23% and Ford Motors F, +1.03% saw people churn their stocks.

Symbol Company Last Sale* Change Net / % Share Volume
AAPL
Apple Inc. Apple Inc. $ 159.86 0.59 ? 0.37% 24,783,937
QQQ
PowerShares QQQ Trust, Series 1 $ 141.97 0.30 ? 0.21% 24,236,348
TVIX
VelocityShares Daily 2x VIX Short-Term ETN $ 16.90 1 ? 5.59% 22,703,370
CSCO
Cisco Systems, Inc. Cisco Systems, Inc. $ 31.44 0.20 ? 0.64% 18,206,334
JD
JD.com, Inc. JD.com, Inc. $ 40.87 1.20 ? 2.85% 15,610,100
MOMO
Momo Inc. $ 35.59 2.39 ? 6.29% 15,112,039
BRCD



24
Assume:  Stock symbols are composed of CAPITAL LETTERS.

What might be an efficient way of extracting out all stock symbols from a large text file, with stock symbols appearing here and there throughout?

Thanks much!

Nicholas Kormanik


25
Super work, Chris.  Thanks a million.

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