-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh default action #11
Comments
Thanks, this is a good idea. You might see this in a future release, you might not if it's too tricky or comes with too much baggage. |
I was just thinking as an extension of the default action, if you have a
timeout on the main question. So you get a prompt saying which profile to
pick, default is refresh, if you don't answer within 60 seconds it uses the
default action: refresh. Then starts again.
Having a threaded loop with a separate process monitoring diablo processes
and updating the running list, as some kind of panel which doesn't cause
the whole window to refresh, sounds next level and cool. Understandably
more complicated! 😅
…On Sun, 4 Jun 2023, 08:01 shupershuff, ***@***.***> wrote:
Thanks, this is a good idea.
I had previously thought about this too but have held off implementing as
essentially the script would need to constantly be running and checking
running processes. Not sure how intensive this would be and I imagine the
menu would flicker. It would also require concurrent processing to be
performed which is something I've never tackled before in PowerShell.
You might see this in a future release, you might not if it's too tricky
or comes with too much baggage.
—
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANGICHJU2WJQAFHAKSRTATXJQXF5ANCNFSM6AAAAAAYZYFWTI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I'm not sure that this is possible do perform with PowerShell's limitations. Separate PowerShell processes (or background jobs) can't relay input information into another PowerShell session. I will keep investigating but for now this seems unlikely. Happy to take any advice in this area, I'm still a bit of a novice when it comes to writing PS scripts. An actual programming language could get around this easily but I'm not a programmer and I also want to keep this as just a script rather than an executable so people have visibility of what it is they're about to run. |
Hey, just did a pull request for what I was thinking. Don't feel obligated to use it. Just thought I'd make a stab at it. It's the first PowerShell I've written so it's probably trash! haha. |
Resolved by #13 |
Feature request! Possibly simple one. Could you please make refresh the default action in the main prompt? So select 1-N for account id, t for tz, x for exit, enter to refresh.
For extra points perhaps refresh every minute? 😬🤔
Thanks!
The text was updated successfully, but these errors were encountered: