 	else
 	return strPrgChoice
 }
-PrgCmdLineEnable(selPrgChoice, ChgShortcutVar, PrgLnkInf, PrgCmdLine, cmdLinHwnd)
-{
-if (PrgLnkInf[selPrgChoice])
-	{
+PrgCmdLineEnable(selPrgChoice, PrgCmdLine, cmdLinHwnd, PrgResolveShortcut, noLnk := 0, noResolve := 0)
+{
+
+temp := PrgResolveShortcut[selPrgChoice]
+fTemp := PrgCmdLine[selPrgChoice]
+
+
+if noLnk || noResolve ;only if link
+{
+	if temp
+	{
+	GuiControl, PrgLnchOpt: Enable, CmdLinPrm
 	GuiControl, PrgLnchOpt:, CmdLinPrm
 	SetEditCueBanner(cmdLinHwnd, "Cmd Line Extras")
+		if fTemp
+		{
+		GuiControl, PrgLnchOpt:, CmdLinPrm, % fTemp
+		}
+	}
+	else
+	{
+	GuiControl, PrgLnchOpt:, CmdLinPrm
+
+		if fTemp
+		SetEditCueBanner(cmdLinHwnd, fTemp)
+		else
+		SetEditCueBanner(cmdLinHwnd, "Cmd Line Extras")
+
 	GuiControl, PrgLnchOpt: Disable, CmdLinPrm
-	GuiControl, PrgLnchOpt:, PrgCanBeShortct, 1
-	GuiControl, PrgLnchOpt: Disable, PrgCanBeShortct
+	}
+
+	if noResolve
+	{
+	GuiControl, PrgLnchOpt:, resolveShortct, 0
+	GuiControl, PrgLnchOpt: Disable, resolveShortct
 	}
 	else
 	{
-	GuiControl, PrgLnchOpt: Enable, CmdLinPrm
-	GuiControl, PrgLnchOpt:, PrgCanBeShortct, 0
-
-		if (PrgCmdLine[selPrgChoice])
-		{
-		GuiControl, PrgLnchOpt: Disable, PrgCanBeShortct
-		GuiControl, PrgLnchOpt:, CmdLinPrm, % PrgCmdLine[selPrgChoice]
-		}
-		else
-		{
-		if (ChgShortcutVar = "Change Shortcut")		
-		GuiControl, PrgLnchOpt: Enable, PrgCanBeShortct
-		else
-		GuiControl, PrgLnchOpt: Disable, PrgCanBeShortct
-
-		GuiControl, PrgLnchOpt:, CmdLinPrm
-		SetEditCueBanner(cmdLinHwnd, "Cmd Line Extras")
-		}
-	}
+	GuiControl, PrgLnchOpt: Enable, resolveShortct
+	GuiControl, PrgLnchOpt:, resolveShortct, % temp
+	}
+}
+else
+{
+GuiControl, PrgLnchOpt:, CmdLinPrm
+
+	if fTemp
+	SetEditCueBanner(cmdLinHwnd, fTemp)
+	else
+	SetEditCueBanner(cmdLinHwnd, "Cmd Line Extras")
+
+GuiControl, PrgLnchOpt: Enable, CmdLinPrm
+GuiControl, PrgLnchOpt: Disable, resolveShortct
+}
+GuiControl, PrgLnchOpt: Text, resolveShortct, Resolve Shortcut
 }
 PrgURLEnable(ByRef PrgUrlTest, ByRef UrlPrgIsCompressed, selPrgChoice, PrgChoicePaths, ByRef selPrgChoiceTimer, PrgLnkInf, PrgUrl, ByRef PrgVer, ByRef PrgVerNew, UpdturlHwnd, UrlDisableGui := 0)
 {

NewThreadforDownload: ;Timer!
	HideShowCtrls(1)
	GuiControl, PrgLnchOpt: , UpdtPrgLnch, &Cancel (Esc)
	
	;In most cases only the file names in the url will want encoding-else only spaces in folders or user names
	;https://github.com/ahkscript/libcrypt.ahk/blob/master/src/URI.ahk
	;https://tools.ietf.org/html/rfc3986

	{
	ToolTip, % "GetPhysicalMonitorsFromHMONITOR failed with code: " A_LastError " .", 0, 0
	}


return False ;No more iterations required
}
