Then make two scripts, one that is to be run in the limited user and another to be run as a service. The service one will listen for connections and then the limited one will connect to it and then they can communicate and the limited one can tell the service to do certain things that the limited doesn't have permissions to do.
#RequireAdmin ?
or...
If Not IsAdmin() Then
If @Compiled Then
RunAs(InputBox("Username", "Enter an admin username"), '', InputBox("Password", "Enter an admin password", "", "*"), 4, @ScriptFullPath)
Else
MsgBox(16, "Error", "It needs to be compiled")
EndIf
EndIf
$sSearch = InputBox("Search Definition", "Type Word Here")
ShellExecute("http://dictionary.reference.com/browse/" & $sSearch)
The script posted by Rental is going to always search 0 because they used GUICtrlRead when there is no GUI involved.
There has to some api that does that. Look at firefox, it stores the data it gets in encrypted files (just for compression) in "C:\Users\(UserName)\AppData\Local\Mozilla\Firefox\Profiles\*.default\Cache" or "C:\Documents and Settings\(UserName)\Local Settings\Application Data\Mozilla\Firefox\Profiles\*.default\Cache" and it somehow sets the image to a control with just the data. It doesn't create any files that are explicit images or html's or php's or whatever.
What I want to do is have an image but encrypted in a file. What I will do is read the data of the file and then decrypt it. I now have the data for the image. What I want to do is to set a control with that data. Is there a way to do this? I'd rather not write it to a file to just quickly delete it as that would be pointless if there is a way to set the image with the data. Thanks in advance.