Not sure if posting stuff for temporary level 2 access is still a thing, but here's a macro I created to search google from within eq. It can take item links, targets or raw phrases.
it will open chrome.exe with search params "eq commandLineParameter" so you need to have correct path to chrome.exe
usage:
/mac google ${Target.Name}
/mac google "Item Link"
Must have quotes around the item link
/mac google "north ro"
*btw the item link parsing is from Underfoot client, need 57 if doing RoF2
Code:
Sub Main
/declare searchQuery string local ${Param0}
/echo Incoming Query ${searchQuery}
/if (${searchQuery.Find[00000]}) {
|- From Item Link
/varset searchQuery ${searchQuery.Right[${Math.Calc[${searchQuery.Length} - 51]}]}
/varset searchQuery ${searchQuery.Replace[ ,+]}
} else /if (${searchQuery.Find[_]}) {
|- From ${Target.Name}
/varset searchQuery ${searchQuery}
/varset searchQuery ${searchQuery.Replace[_,+]}
} else /if (${searchQuery.Find[ ]}) {
|- From Raw String With Spaces
/varset searchQuery ${searchQuery}
/varset searchQuery ${searchQuery.Replace[ ,+]}
} else {
|- From Raw String No Spaces
/varset searchQuery ${searchQuery}
}
/echo Parsed Query ${searchQuery}
/exec "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" https://google.com/search?q=eq+${searchQuery} bg
/return
it will open chrome.exe with search params "eq commandLineParameter" so you need to have correct path to chrome.exe
usage:
/mac google ${Target.Name}
/mac google "Item Link"
Must have quotes around the item link
/mac google "north ro"
*btw the item link parsing is from Underfoot client, need 57 if doing RoF2