Grab shortcut by XRecord