topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Wednesday May 12, 2021, 12:26 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 - AEN007 [ switch to compact view ]

Pages: prev1 [2] 3next
26
Skwire Empire / Re: Trout playlist contextmenu bugs?
« on: December 08, 2011, 11:37 AM »
8December2011

Greetings.
The issue I am addressing is exactly as I have written and not app103's issue ...
8June2011

I have just noticed what seem to be some Trout playlist contextmenu (CM) bugs.
After I hit the CM key and the playlist CM pop ups,
Some of the &hotkeys in the CM do not seem to work.

For example, if I hit "s" for &Selection, nothing happens.
Then if I "arrow down" to &Selection,
I cannot then "arrow over" to expand to the &Selection subCM items...
I have to use/move the mouse to use &Selection.

"c" for &Clear playlist does not seem to work ...
"l" for &Last.fm does not seem to work ...
"o" for C&opy path/URL does not seem to work ...
5August2011
Trout has these contextmenu problems on my XPsp3 PII and my XPsp3 P4.
I suppose this problem might be similar to the problem
of AHK scripts not being able to send Trout hotkeys to Trout
because Trout is written in AHK.
Any helpful/replies insights appreciated ...

27
2December2011
Still hoping for a solution.
Any helpful replies/insights appreciated ...

28
Skwire Empire / Re: Trout playlist contextmenu bugs?
« on: December 02, 2011, 07:06 AM »
2December2011

Greetings.

I unloaded my persistent AHK scripts but still had/have these problems.
I would like to solve them and wonder what might be the problem/solution ...

The Trout homepage still lists current version Build 40.

I've noticed a significant drop in CPU usage with the latest foobar2k release.
Anyone else?
Maybe the drop in CPU usage is only noticeable on old CPUs like my PII ...

29
8November2011

Greetings.

I have a maybe a dozen WTM-related AHK scripts.

Here is a modified/enhanced version of what I already posted»
Code: Autohotkey [Select]
  1. scrX := 1
  2.     Perc := "%"
  3.     StatusBarGetText, CPU, 2, Windows Task ahk_class #32770
  4.     SLEEP, %Slb%
  5.     StringGetPos, pos, CPU, %Perc%
  6.     If (pos = 14) or ((pos = 19) and (CN = "T"))
  7.      {
  8.       CPU100 := 1
  9.       If (SS = "C98") or (SS = "M")
  10.        Process, Priority, %scrPID%, AboveNormal
  11.       CPUlim := CPUlim+1
  12.      }
  13.     else
  14.      {
  15.       If (CN <> "T")
  16.        StringMid, CPUU, CPU, 13, 2, L
  17.       else StringMid, CPUU, CPU, 18, 2, L
  18.       If (CPUU > 90)
  19.        {
  20.         CPU100 := 1
  21.         CPUlim := CPUlim+1
  22.         CuDa := A_YYYY A_MM A_DD
  23.         CuTi := A_Hour A_Min A_Sec
  24.         FileAppend, CPUU ¦ %CuDa%@%CuTi% ¦ %CPUU% ¦ SS:%SS% ¦ CPUlim:%CPUlim% `n, %PFa%\ahk\%CN%%SNt2%.txt
  25.        }
  26.       else CPU100 := 0
  27.      }
which can be used to test for CPU usage (CPUU) at 100 or 90 or any %;

I have but do not often use the SysIntern ProX.
I (like IainB & StoicJo) started watching the XP WTM
(I have always sorted like StoicJo posted) a long time ago -
mostly because I hate trying to work on an unresponsive computer.

The PC is largely unresponsive to the user & processes in general when CPUU is 100%.
(I have never found the trick of lowering the priority of the resource hog to be effective.
 Lowering the priority allows other exes to grap CPUU but does not lower CPUU from 100%,

If there is interest I could post some other WTM-related scripts.
These other scripts mostly (re-)position the XP WTM.
I always have the XP WTM open & in the lower right corner.
One of my AHK scripts short-circuits/supercharges my XP "AppsKey" (AK).
For example, when the XP WTM is active & I hit the AK,
the script(s) will reposition the the XP WTM various ways ...»
WTMin
WTMin is for when I want the XP WTM to take up the least screen real estate ...
WTMreg
WTMreg is for when the XP WTM doesn't need to be minimized/maximized ...
All I need to do is Alt-Tab to the WTM & then Ctrl-(Shift)-Tab between the Task/Processes/Summary ...
WTMax
WTMmax is for when I need to maximize the XP WTM  ...

In any case, the CPUtimes script reports the CPU usage to a TrayTip - not a variable.
I'm hoping to see a script example of how to have the CPU usage
of the active window reported to a variable ...
The GetProcessTimes(), GetSystemTimes() and GetIdleTimes() functions in that script return the data you want.  It's up to you dump that data into a variable:
Code: Autohotkey [Select]
  1. myVar := GetSystemTimes()
  2. ; myVar will now contain the total CPU load at that moment.
  3. ; Now do whatever you need to do with the variable and data.
Greetings & thanks for the reply ...
I have already been trying to do what you have posted,
but it has not been working for me.
I can get from the XP WTM what GetSystemTimes provides.
I want to put GetProcessTimes into a variable at any given moment.
I have used Sean's TrayIcons() & TaskButtons() in many scripts, like ...
Code: Autohotkey [Select]
  1. If (WxX = 0)
  2.  {
  3.   TBEE := TaskButtons("explorer.exe")
  4.   StringSplit, TBV, TBEE,|
  5.   idn :=  RegExReplace(TBV2, "idn: ")
  6.   StringTrimRight, idnT, idn, 1
  7.   idnNWC := idnT
  8.   HideButton(idnNWC, False)
  9.   SLEEP, %Slb%
  10.   HideButton(idnNWC, True)
  11.  }
Those TrayIcons() & TaskButtons script/functions reside in the AHK\Lib "PATH".
I should be able to access/use CPUTimes.ahk the same way, ja?

I have already tried the following»
Code: Autohotkey [Select]
  1. WinGet, AWpid, PID, A
  2. GPTpid := AWpid
  3. MsgBox, 0, GPTpid, %GPTpid%
  4. GST := GetSystemTimes()
  5. MsgBox, 0, GST, %GST%
  6. GPT := GetProcessTimes(GPTpid)
  7. MsgBox, 0, GPT, %GPT%
GST & GPT are always blank ...
Any helpful replies/insights appreciated ...

30
Skwire Empire / Re: Request: /pause & /unpause switches
« on: November 08, 2011, 04:20 AM »
I have always wondered why Trout was made with the WinAmp ahk_class?
Certainly complicated my AHK scripts ...
Because I wrote in partial support for the WinampAPI into Trout.
8November2011
Greetings.
Yesterday I was tweaking my AHK screensaver "control" script
to launch WinAmp to play overnight while screensavers are running.
I can iniWrite to tweak the WinAmp.ini to have WA launch a certain way.
I also found some interesting webpages about the WA API & commandline.
WACL
WAAPI
At the moment I am wondering about using the WA /CLASS: commandline switch
to launch Trout and change the Trout class to something else ... like maybe "SkwiresTrout" ...
The /CLASS: switch does not seem to work with Trout now,
but I thought it might be a possibility given the WA API in Trout ... ???
I have my SSctrl script change the WA class to make it easy to differentiate
if WA is running under normal or overnight SS conditions ....

31
8November2011

Greetings.
Thanks for the reply ...

I want to determine the active window CPU usage
when, for example, the IdleTimePhysical is > 5min,
so SetTimer is not an option ...

In any case, the CPUtimes script reports the CPU usage to a TrayTip - not a variable.
I'm hoping to see a script example of how to have the CPU usage
of the active window reported to a variable ...

Any helpful replies/insights appreciated ...

32
7November2011

Greetings.
Many thanks for the reply (and everything else ...).
I looked at that thread/link you posted above earlier this year but
have not yet been able to script what I want.
I would like one of my Persistent ahk scripts to determine
the CPU usage of the active window, so the script could
then do varoius things depending on the CPU usage of the active window.
Determining the active window is obviously no problem.
The CPUtimes script works as written, but
how could I modify it to do what I want?

Any helpful replies/insights appreciated ...

Maybe it would be interest to you to hear that
I have noticed that the CPU usage Trout reports for Trout.exe
does not agree with the CPU usage XP WTM reports for Trout.exe ..

33
Skwire Empire / Re: Hide GUI Playback Buttons
« on: August 23, 2011, 10:48 AM »
23August2011

Greetings ...
10621 seems fine. (actually SUPER)
I guess there never was a samplerate column problem.
I just had to re/fresh/load the/a playlist ...

I am curious as to what the
Path_Music=
config.ini entry is does/will do ...

In case it is of interest to anyone, I'll mention that it seems to me that
mp3 files should never be encoded below a 24kHz samplerate.
I notice/hear/see a dramatic difference between 24kHz and 22050.
I do mp3s at the default samplerate when it is above 24kHz.

I do other mp3s like ...
bitrate 48 samplerate 24 lowpass filter 7800
bitrate 40 samplerate 24 lowpass filter 6900
bitrate 32 samplerate 24 lowpass filter 5100
Unfortunately I have many mp3s from long ago @ a 16kHz samplerate

34
Skwire Empire / Re: Hide GUI Playback Buttons
« on: August 22, 2011, 03:42 AM »
Trout 1.06.20port has the samplerate column, but the column displays no samplerate data!
The $samplerate token appears to have dropped dead as well ...
What about a sample rate column?

Here you go: https://www.donation....msg258918#msg258918

It would be nice if I could change my clear/add hotkey instead of deleting/adding ...
26April2011

Greetings.

It would be nice if users could change/edit existing hotkeys
instead of having to delete/(re)add existing hotkeys ...

Thanks again.
Best regards,
AEN
Æ

35
Skwire Empire / Re: Hide GUI Playback Buttons
« on: August 21, 2011, 08:22 AM »
21August2011

Greetings ...

The Select playist file dialog opens to the specified path
but the Select audio files dialog still defaults to My Documents ...

I always open m3u playlists via the Clear list & add files (via a hotkey) ...
any chance users could specify the Select audio files dialog path?

in any case ... Merci viel Mal

36
Skwire Empire / Re: Hide GUI Playback Buttons
« on: August 20, 2011, 03:19 AM »
20August2011

Greetings ... wow ...
can't wait to try out the latest Trout ...

I try to give input/feedback that adds value to Trout ...
I hope that comes across ...

What about a sample rate column? foobar has that option ...

If you ever have some time to kill, maybe Trout could allow
users to move the playback buttons to where the hidden meter/art would be?
I never click playback buttons on any multimedia app.
I always use local/global hotkeys and/or scripts.
Maybe I am not alone in that.
It seems to me that the space/location of the buttons could be better used ...

37
Skwire Empire / Re: Request: /pause & /unpause switches
« on: August 15, 2011, 11:43 AM »
15August2011

Greetings.

Thought I'd like to mention the following:
The play/pause command switches are great but (in my opinion)
would be better if they were not "toggles".
That is, /play will start Trout when Trout is stopped or paused
but will also pause Trout when Trout is playing!
/pause will pause Trout when Trout is playing
but will also unpause Trout when Trout is paused!

This makes one or the other redundant, but (in my opinion)
each should do only one or the other ...
/play should start Trout but NOT pause Trout ...
/pause should pause Trout but NOT start Trout ...

38
Skwire Empire / Hide GUI Playback Buttons
« on: August 05, 2011, 10:37 AM »
Another item I submit for your consideration (maybe you might consider it an enhancement)
is what if Trout users could hide or fold in/out the buttons?
to increase the width of the tag & etc display.
I have hidden the meter and the art work - freeing up considerable screen real estate for mp3 tag displays.
It would be even better (from my perspective) if I could hide the buttons or
move them to the other side - where the meter/artwork would be.
The left hand side of the Trout GUI has more important display info than the right side.
I would like to use window positioning and AHK formatting
to have more of the left side of the GUI visible than I now can ...

What about adding a column/token for the sample rate?
What about setting the default location where Trout should look for playlists & files?

39
Skwire Empire / Re: Trout playlist contextmenu bugs?
« on: August 05, 2011, 10:29 AM »
5August2011
Trout has these contextmenu problems on my XPsp3 PII and my XPsp3 P4.
I suppose this problem might be similar to the problem
of AHK scripts not being able to send Trout hotkeys to Trout
because Trout is written in AHK.
I have more than one Persistent AHK script running on my XP laptops ...

40
Skwire Empire / Trout playlist contextmenu bugs?
« on: June 08, 2011, 11:59 AM »
8June2011

I have just noticed what seem to be some Trout playlist contextmenu (CM) bugs.
After I hit the CM key and the playlist CM pop ups,
Some of the &hotkeys in the CM do not seem to work.

For example, if I hit "s" for &Selection, nothing happens.
Then if I "arrow down" to &Selection,
I cannot then "arrow over" to expand to the &Selection subCM items...
I have to use/move the mouse to use &Selection.

"c" for &Clear playlist does not seem to work ...
"l" for &Last.fm does not seem to work ...
"o" for C&opy path/URL does not seem to work ...

41
Skwire Empire / Re: Request: /pause & /unpause switches
« on: April 26, 2011, 07:32 AM »
26April2011

Greetings.

(It seems Trout now defaults to My Documents when looking for new files ...)
What about setting the default path where Trout should look for playlist files?

Another item from email of last summer was/is»
what about a token for sample rate (to go along with bitrate)?
I have mp3s at 128/44, 96/32, 48/24, 48/16, 40/24, 40/16, 32/24 & 32/16 ...

It would be nice if users could change/edit existing hotkeys
instead of having to delete/(re)add existing hotkeys ...

Trout has a play/pause hotkey.
How about also a play and a pause hotkey?
Some apps (like MPCHC) have all three ...

Thanks again.
Best regards,
AEN
Æ

42
Skwire Empire / Re: Request: /pause & /unpause switches
« on: April 18, 2011, 06:11 AM »
The Trout page still says
Version:  1.0.5 build 78 (2011-02-25)
What about setting the default path where Trout should look for playlist files?
I don't see/know how to do that now. Is/Would that be possible?

43
Skwire Empire / bass.dll as ffdShow filter?
« on: April 11, 2011, 12:27 PM »
Today I stumbled across the DirectShow FilterPack»DSFP
The DSFP enables using bass.dll as an ffDShow filter.
The Softella - DirectShow Filter Manager is also useful and allows tweaking filter "merit".
I was wondering what having bass.dll as a ffDShow filter would do for me (& my PII)?
How does the DSFP bass.dll component interact with ffDShow mp3 decoding?
Wouldn't mind hearing/knowing what you might know/think ...

44
Skwire Empire / Re: Request: /pause & /unpause switches
« on: April 10, 2011, 05:42 AM »
from one foobar2000 fan to another ...
Now that I have Trout to use with SpecLab and don't need to find a way to configure foobar to play with SpecLab
I never thought I'd see the day when I could post and say that
I seem to have found the /a configuration to run foobar+SpecLab on my PII ... without
the same problem I posted previously/elsewhere about running foobar with SpecLab. foobar+PM/SL will be running fine at around 50%±10% for a while; then for some unknown reason at some unknown time, CPU usage will spike to 100% - and I'll have to kill foobar+ ... I still would like to find out why that happens.
but I seem to have found how to kill off the CPU usage spike to 100% ...
not only that but I can use the Peak Meter with foobar+SpecLab.
The Peak Meter (PM) seems to use the most CPU usage of the three
The VU meter seem to use less CPU usage than the Peak Meter when NOT running SpecLab,
but the Peak Meter seems to use less CPU usage than the VU meter when running WITH SpecLab.
What is the technical difference between the VU & Peak meters?

Not only that - I have found a way to nicely configure WinAmp to play multimedia playlists (with avi & mp3 files) on my PIII find that it is better to use WinAmp with the Classic Spectrum Analyzer for low bitrate mp3s (less than 96/32) because there just isn't enough frequencies for a nice display in SpecLab ... I can also run a slideshow while WA plays audio ...

All of a sudden I have multiple very nice options for audio/video/multimedia playback on the PII

45
Skwire Empire / Re: Request: /pause & /unpause switches
« on: March 08, 2011, 11:08 AM »
So in the meantime I posted the previous questions ... wouldn't mind knowing what it is that causes/allows Trout to forget/remember where the playlist directory is?

46
Skwire Empire / Re: Request: /pause & /unpause switches
« on: March 08, 2011, 09:45 AM »
What about setting the default path where Trout should look for playlist files? I don't see/know how to do that now. Is/Would that be possible?
It seems Trout's default location to look for playlists is the Trout "install" directory. I put a shortcut/link to my playlist folder (which is on a different volume) there ... Sometimes (but not always) when I select load playlist, Trout defaults to my playlist folder - usually after I have loaded a playlist from there recently. I have four different config.ini files. My AHK "launch Trout" script lets me choose which one I want to be the config.ini that Trout will load. Trout never remembers where my playlist directory was after I switch config.ini files. I am wondering what it is that causes/allows Trout to forget/remember where the playlist directory is? I do not see any entry in any config.ini file that seems to do that ... Is it XP specific?

47
20Feb2011
Greetings.
I have another question here»
http://www.hydrogena...wtopic=83558&hl=
1March2011
It seems I may have found the/a resolution to this 100% CPU usage problem with mp3s at less than 128&44.1 ...
... but then again maybe not ...

48
Skwire Empire / Re: Problem with Trout Tag Editing Function?
« on: February 23, 2011, 08:50 AM »
Any chance you might add extra Previous/Next hotkey options? - that change tracks when Trout is stopped instead of (re)starting playback of the current track?
When Trout is stopped, there are 3 ways to start playback with the "touch of a button" [(Previous/Play/Next) hotkeys] and 0 ways to change tracks with the "touch of a button". No harm in asking! - except that someone might tell me I am (being) demanding ... oh, well ... can't please everyone ... as I imagine YOU know well :Thmbsup:

49
Skwire Empire / Re: Request: /pause & /unpause switches
« on: February 22, 2011, 11:38 AM »
The tag display for many of my mp3s is bursting at the seams, so I thought it would be great if Trout users could hide the buttoms (which I now no longer need) to increase the width of the tag display
No, thanks.
I imagine tweaking the GUI/buttons would not be a lunchtime effort but I will hope that maybe sometime this century you might change your mind  :Thmbsup:

50
THANKS ... AGAIN
When I click on the link in Firefox, the un4seen BASS forum starts to load the thread then goes to the un4seen home page. I had to switch to Opera ... again ... Is there some compatibility problem(s) between Firefox & dc.com? forum?

Pages: prev1 [2] 3next