Send to

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
jay lee
Posts: 83
Joined: 14 Oct 2021, 11:17

Send to

20 Oct 2021, 11:46

I want to make a script wich is in the shell:sendto folder and when i right click a .mp3 file i can select send to and the script will play that .mp3.
User avatar
mikeyww
Posts: 26854
Joined: 09 Sep 2014, 18:38

Re: Send to

20 Oct 2021, 15:08

Code: Select all

Menu, Tray, Icon, % icon := A_WinDir "\System32\imageres.dll", % iconNum := 104
If !FileExist(lnk := A_AppData "\Microsoft\Windows\SendTo\" StrReplace(A_ScriptName, ".ahk", ".lnk"))
 FileCreateShortcut, %A_AhkPath%, %lnk%,, %A_ScriptFullPath%, Play a sound file, %icon%,, %iconNum%
SoundPlay, % A_Args.1, Wait
ExitApp
jay lee
Posts: 83
Joined: 14 Oct 2021, 11:17

Re: Send to

22 Oct 2021, 07:17

Thank you so much!!!

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Chunjee, jomaweb, RussF and 303 guests