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: 137
Joined: Thu Sep 02, 2021 4:42 am

Re: AutoRun LWMenu

#331 Post by -ElCoyot- »

lwc
Hi. Can you compile the code that is responsible for "blinktaskbarwhendone" into an executable file

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

Re: AutoRun LWMenu

#332 Post by lwc »

Not sure I understand, just use:

Code: Select all

[CUSTOM MENU]
skiptobutton=1

[BUTTON1]
buttontext=Your Program
relativepathandfilename=yourprogram.exe
blinktaskbarwhendone=1

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

Re: AutoRun LWMenu

#333 Post by -ElCoyot- »

You didn't understand. I need a compiled exe file with the taskbar flashing function. That is, run the exe and the panel will blink.

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

Re: AutoRun LWMenu

#334 Post by lwc »

To be clear, are you asking for a file unrelated to my launcher? And for this file to just blink and exit?

If so, how about I'll just let you define skiptobutton as 0, and will make it launch and exit the launcher immediately (but will trigger post-actions like blinktaskbarwhendone)?

Code: Select all

[CUSTOM MENU]
skiptobutton=0
blinktaskbarwhendone=1
Let me know that's what you want and I'll do it.

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

Re: AutoRun LWMenu

#335 Post by -ElCoyot- »

I just need a piece of Autoit code that contains the "blinktaskbarwhendone" function, but compiled into an exe file.

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

Re: AutoRun LWMenu

#336 Post by lwc »

This is an unusual request, since it's not really related to either this thread or this program, it's more of a private request.
Where am I supposed to host this program? Here's a temp link for the 64-bit version.
If this is because you don't want to use autorun.inf, how about letting me add the aforementioned feature and then use it like:

Code: Select all

AutoRun_x64.exe /skiptobutton=0 /blinktaskbarwhendone
The code itself is:

Code: Select all

$taskbartitle = "[CLASS:Shell_TrayWnd]" ; for when needing to blink the taskbar when done
$taskbartext = "" ; for when needing to blink the taskbar when done
$taskbarbuttons = "[CLASS:MSTaskListWClass]" ; for when needing to blink the taskbar when done

ControlHide($taskbartitle, $taskbartext, $taskbarbuttons)
sleep(100)
ControlShow($taskbartitle, $taskbartext, $taskbarbuttons)

User avatar
sl23
Posts: 88
Joined: Fri Jan 02, 2015 6:25 am

Re: AutoRun LWMenu

#337 Post by sl23 »

Hey there! Back again! :)
I have an issue that I think AuroRunMenu can help resolve.
I have made a Rainmeter skin that uses *.lnk files to launch games. Trouble is, these LNK files are a pita to edit. I've looked everywhere for a LNK editor and can only find two I can work with:
LinkEditorGUI is an AutoIT program that looks good but doesn't work for me, keeps crashing.
Shortcuts Search and Replace is ok but awkward to use, never shows all my shortcuts in a single folder and is hard to figure out imo.
So then I thought about AutoRunMenu (ARM)!

So my plan...
1. Create a menu with as many items as necessary, ie, one per game, with portable links to them. With the games and ARM on the same drive, I can use relative paths and arguments.
2. Create a standard shortcut to launch those menu items. Which should be a little easier to edit. This will be placed on a separate drive and launch ARM's specific menu items depending on the shortcut parameters. This, I am assuming is quite easy to set up and more importantly, easier to edit should the need arise.

Example:
Here's the current Shortcut file properties:
LNK Target: "D:\Emulators\BizHawk\EmuHawk.exe" "E:\Sega\MCD - Syndicate\Syndicate (Europe).cue"
LNK Start in: "D:\Emulators\BizHawk"

I need to set up a menu entry in AutoRun.inf for this game to launch when clicked on.
Then I need to set up a shortcut.lnk file to run the menu and starts this particular entry, is that correct?

I'm a bit rusty on ARM workings now, is that how would I set up a menu item with this particular game?

Is that a feasible solution do you think?
If anyone should know of a better way or a LNK editor feel free to point that out. ;)

Thanks.
Latest X-Launcher_x64 update - Compiled with Aut2exe_x64.exe v3.3.16.1
Latest X-Launcher_x64 v1.5.4 update - Compiled with Aut2exe_x64.exe v3.2.12.1

Post Reply