Guest Posted December 9, 2013 Share Posted December 9, 2013 Hello, this script: Global $KillKey , $GameExe $KillKey = IniRead("Settings","Settings","Key","F10") $GameExe = IniRead("Settings","Settings","GameExe","") If $GameExe = "" Then MsgBox(48,"Error","") Exit EndIf HotKeySet("{"&$KillKey&"}","KillGame") Func KillGame() ProcessClose($GameExe) Exit EndFunc not working in the game far cry 3 when the hotkey is f10. the function HotKeySet() is blocked somehow if the game window is active. this is not only with this game.. i want a way to set hot key and without using a loop with low sleep time.. thanks for helpers! Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 10, 2013 Moderators Share Posted December 10, 2013 gil900,You have 14 days to read the Forum rules - although if you have not already read them after 2.5 years here and 471 posts I begin to wonder if you can actually read at all. Your last warning was for opening a game thread, so this is your final chance. One more infraction of any sort and you will be permanently removed. Thread locked. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts