AutoRun LWMenu

If you are currently developing portable freeware or planning to do so, use this forum to discuss technical implementation, seek out like-minded developers for partnership, or solicit interested users for beta testing.
Message
Author
-ElCoyot-
Posts: 95
Joined: Thu Sep 02, 2021 4:42 am

Re: AutoRun LWMenu

#136 Post by -ElCoyot- »

Yes

lwc
Posts: 207
Joined: Tue Jun 26, 2012 10:40 pm
Contact:

Re: AutoRun LWMenu

#137 Post by lwc »

Well, it's not like there's a direct command to do something like that, but glad to say I've finally figured out how to program it in.
Since your video was already deleted by now, can you just tell me if you mean just the icons there (surrounded by a white rectangle in the screenshot) or do you mean the whole taskbar all the way from the start menu icon until the notification icon?
Attachments
taskbar icons.png

-ElCoyot-
Posts: 95
Joined: Thu Sep 02, 2021 4:42 am

Re: AutoRun LWMenu

#138 Post by -ElCoyot- »

Only where circled (quick launch bar)

lwc
Posts: 207
Joined: Tue Jun 26, 2012 10:40 pm
Contact:

Re: AutoRun LWMenu

#139 Post by lwc »

So if the white rectangle is okay, do you mean to make it blink like this (it's slowed down on purpose and of course it will blink just once)?

Zoom the image to see the animation:
Attachments
output_nqQvuF.gif

-ElCoyot-
Posts: 95
Joined: Thu Sep 02, 2021 4:42 am

Re: AutoRun LWMenu

#140 Post by -ElCoyot- »

Exactly

-ElCoyot-
Posts: 95
Joined: Thu Sep 02, 2021 4:42 am

Re: AutoRun LWMenu

#141 Post by -ElCoyot- »

And perhaps the last "wish".
Pack Autorun.inf in Autorun.exe . To have one file (Autorunx32.exe and Autorun.exe ).
Now at startup Autorun.exe the Autorun.inf file will be created next to it if it is missing. I know that this is possible on AutoIt.

lwc
Posts: 207
Joined: Tue Jun 26, 2012 10:40 pm
Contact:

Re: AutoRun LWMenu

#142 Post by lwc »

Alright, done both!
Can you try them in the latest beta?
  1. Use the new feature blinktaskbarwhendone=1 either globally or inside an individual button
  2. Try running without a setting file to see the default one thus getting created and used
Last edited by lwc on Sat Mar 09, 2024 9:50 am, edited 1 time in total.

-ElCoyot-
Posts: 95
Joined: Thu Sep 02, 2021 4:42 am

Re: AutoRun LWMenu

#143 Post by -ElCoyot- »

The link is broken,
2024-3-9 12-10-43.png
2024-3-9 12-10-43.png (6.04 KiB) Viewed 1318 times
An extra point.
But I found it. It's just AWESOME.

lwc
Posts: 207
Joined: Tue Jun 26, 2012 10:40 pm
Contact:

Re: AutoRun LWMenu

#144 Post by lwc »

Thanks, fixed the period in my previous post, not sure where it came from...
So do both new features work fine?

-ElCoyot-
Posts: 95
Joined: Thu Sep 02, 2021 4:42 am

Re: AutoRun LWMenu

#145 Post by -ElCoyot- »

Yes, everything is great. Thank you very much.

lwc
Posts: 207
Joined: Tue Jun 26, 2012 10:40 pm
Contact:

Re: AutoRun LWMenu

#146 Post by lwc »

In that case, new version released with these features.

-ElCoyot-
Posts: 95
Joined: Thu Sep 02, 2021 4:42 am

Re: AutoRun LWMenu

#147 Post by -ElCoyot- »

You can give an example of using the "setenv=" function. I can't figure it out. If possible, a simple program.

-ElCoyot-
Posts: 95
Joined: Thu Sep 02, 2021 4:42 am

Re: AutoRun LWMenu

#148 Post by -ElCoyot- »

I'm back with my claims. if you assign a built-in browser and try to set it by default, (namely the launcher) what happens again is a drop-down menu with the same situation as it was. He loses his own . inf file

lwc
Posts: 207
Joined: Tue Jun 26, 2012 10:40 pm
Contact:

Re: AutoRun LWMenu

#149 Post by lwc »

-ElCoyot- wrote: Thu Mar 14, 2024 10:25 am You can give an example of using the "setenv=" function. I can't figure it out. If possible, a simple program.
Sure, as suggested in the default settings file, it can be:

Code: Select all

setenv=APPDATA|c:\alternative_appdata
So if you have:

Code: Select all

[BUTTON1]
buttontext=CMD
relativepathandfilename=cmd
optionalcommandlineparams=
closemenuonclick=1
setenv=APPDATA|c:\alternative_appdata
When you run it, then inside CMD if you run set you'll see %APPDATA% was overridden by the launcher (but of course only for the launched program and only for that specific session).
If there's no such existing variable it will just temporarily add a new one, like:

Code: Select all

setenv=justtesting|whatever
Attachments
A whole new variable
A whole new variable
type set new.png (3.62 KiB) Viewed 884 times
The original %APPDATA%
The original %APPDATA%
type set original.png (4.38 KiB) Viewed 884 times
The overridden %APPDATA%
The overridden %APPDATA%
type set launcher.png (4.46 KiB) Viewed 884 times

lwc
Posts: 207
Joined: Tue Jun 26, 2012 10:40 pm
Contact:

Re: AutoRun LWMenu

#150 Post by lwc »

-ElCoyot- wrote: Fri Mar 15, 2024 10:20 am I'm back with my claims. if you assign a built-in browser and try to set it by default, (namely the launcher) what happens again is a drop-down menu with the same situation as it was. He loses his own . inf file
This is weird because this logic wasn't modified plus it still works for me, even with your very own example:
-ElCoyot- wrote: Fri Feb 09, 2024 9:28 am [CUSTOM CD MENU]
hidetrayicon=1
skiptobutton=3

[BUTTON3]
buttontext=utorrent
relativepathandfilename=App\utorrent.exe
deletefolders=dlimagecache
backuppath=App
I've just changed app\utorrent.exe to notepad, nothing else.
If I have this Autorun.inf next to the launcher, and then I right click some TXT file and choose to open it through the launcher, then it opens it in Notepad through the launcher.
What happens to you instead?

Post Reply