---
title: "Discussion on \"[Win] Map Functions Keys to Programs\" | Hashnode"
description: "Discussion on \"[Win] Map Functions Keys to Programs\". https://github.com/AutoHotkey/AutoHotkey/releases\n#SingleInstance Force  ; Ensures only one instance of the script is running\n\n; Map F1 to toggle VS Code instances\n; F1 alone: Toggle between VS Code windows\n;F1:: {\n;    if WinActive(\"ahk_exe Code.exe..."
url: "https://hashnode.com/posts/win-map-functions-keys-to-programs/678cc9c32ae8c0fa02243bc5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [\[Win\] Map Functions Keys to Programs](https://abdallahalsamman.hashnode.dev/win-map-functions-keys-to-programs?utm_source=hashnode&utm_medium=feed)

https://github.com/AutoHotkey/AutoHotkey/releases #SingleInstance Force ; Ensures only one instance of the script is running ; Map F1 to toggle VS Code instances ; F1 alone: Toggle between VS Code windows ;F1:: { ; if WinActive("ahk\_exe Code.exe...

Jan 19, 2025 · 1 min read · abdallahalsamman.hashnode.dev  
Read the article

## Written by

[Abdallah Alsamman](https://hashnode.com/@abdallahalsamman)

@abdallahalsamman

  
[View profile](https://hashnode.com/@abdallahalsamman)

Software Engineer

9+ years in tech industry. I had the opportunity to work on a wide range of projects with companies both locally and remotely, including with software engineers from well-known tech firms such as Amazon, Atlassian, Google, and Microsoft . I have a track record of taking ideas and turning them into successful software projects, and have made numerous contributions to open source. I have experience working with a variety of languages and frameworks, and am highly adaptable and able to quickly learn and become proficient in new technologies.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
