Advertisement
Shuddertrix

Borderless Windowed Gamebryo

Aug 18th, 2012
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. #SingleInstance Force
  2. #Persistent
  3.  
  4. SetTimer fo3, 500
  5. SetTimer fnv, 500
  6. SetTimer skyrim, 500
  7. Return
  8.  
  9. fo3:
  10. WinGet IDs, List, ahk_class Fallout3
  11. Loop %IDs%
  12. {
  13. Screen_X = %A_ScreenWidth%
  14. Screen_Y = %A_ScreenHeight%
  15. ID := IDs%A_Index%
  16. If ID not in %Old_IDs%
  17. {
  18. WinSet, Style, -0xC40000, ahk_id %ID%
  19. WinMove, ahk_id %ID%, , 0, 0, Screen_X, Screen_Y
  20. }
  21. New_IDs .= ID ","
  22. }
  23. StringTrimRight Old_IDs, New_IDs, 1
  24. New_IDs =
  25. Return
  26.  
  27. fnv:
  28. WinGet IDs, List, ahk_class Fallout: New Vegas
  29. Loop %IDs%
  30. {
  31. Screen_X = %A_ScreenWidth%
  32. Screen_Y = %A_ScreenHeight%
  33. ID := IDs%A_Index%
  34. If ID not in %Old_IDs%
  35. {
  36. WinSet, Style, -0xC00000, ahk_id %ID%
  37. WinMove, ahk_id %ID%, , 0, 0, Screen_X, Screen_Y
  38. }
  39. New_IDs .= ID ","
  40. }
  41. StringTrimRight Old_IDs, New_IDs, 1
  42. New_IDs =
  43. Return
  44.  
  45. skyrim:
  46. WinGet IDs, List, ahk_class Skyrim
  47. Loop %IDs%
  48. {
  49. Screen_X = %A_ScreenWidth%
  50. Screen_Y = %A_ScreenHeight%
  51. ID := IDs%A_Index%
  52. If ID not in %Old_IDs%
  53. {
  54. WinSet, Style, -0xC40000, ahk_id %ID%
  55. WinMove, ahk_id %ID%, , 0, 0, Screen_X, Screen_Y
  56. }
  57. New_IDs .= ID ","
  58. }
  59. StringTrimRight Old_IDs, New_IDs, 1
  60. New_IDs =
  61. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement