Go To "RUN"
Posted: Thu Mar 21, 2024 5:16 pm
This menu is useful for people who utilize the Run dialog. The menu dynamically generates its elements from the history of Run, listing recently entered or copied commands. The elements are arranged chronologically, with the most recently used command appearing at the top. Only commands that have been executed are saved in the Run history, reducing non-executable commands in the menu.
Users have the option to enable or disable both the RUN history and the contextual menu through Windows settings. When disabled, all history records are cleared.
Settings > Privacy & security > General > Let Windows improve Start and search results by tracking app launches
menu(title='Go To@"\t"RUN' where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', 'a') image=\uE14A) {
$runO = reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU','MRUList')
item(title=str.replace(reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU',runO[0]), '\1', '')
where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', runO[0]) image cmd=sys.expand(this.title))
item(title=str.replace(reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU',runO[1]), '\1', '')
where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', runO[1]) image cmd=sys.expand(this.title))
item(title=str.replace(reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU',runO[2]), '\1', '')
where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', runO[2]) image cmd=sys.expand(this.title))
item(title=str.replace(reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU',runO[3]), '\1', '')
where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', runO[3]) image cmd=sys.expand(this.title))
item(title=str.replace(reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU',runO[4]), '\1', '')
where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', runO[4]) image cmd=sys.expand(this.title))
item(title=str.replace(reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU',runO[5]), '\1', '')
where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', runO[5]) image cmd=sys.expand(this.title))
item(title=str.replace(reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU',runO[6]), '\1', '')
where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', runO[6]) image cmd=sys.expand(this.title))
item(title=str.replace(reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU',runO[7]), '\1', '')
where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', runO[7]) image cmd=sys.expand(this.title))
item(title=str.replace(reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU',runO[8]), '\1', '')
where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', runO[8]) image cmd=sys.expand(this.title))
item(title=str.replace(reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU',runO[9]), '\1', '')
where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', runO[9]) image cmd=sys.expand(this.title))
item(title=str.replace(reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU',runO[10]), '\1', '')
where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', runO[10]) image cmd=sys.expand(this.title))
item(title=str.replace(reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU',runO[11]), '\1', '')
where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', runO[11]) image cmd=sys.expand(this.title))
item(title=str.replace(reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU',runO[12]), '\1', '')
where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', runO[12]) image cmd=sys.expand(this.title))
item(title=str.replace(reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU',runO[13]), '\1', '')
where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', runO[13]) image cmd=sys.expand(this.title))
item(title=str.replace(reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU',runO[14]), '\1', '')
where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', runO[14]) image cmd=sys.expand(this.title))
item(title=str.replace(reg.get('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU',runO[15]), '\1', '')
where=reg.exists('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU', runO[15]) image cmd=sys.expand(this.title)) }