Skip to main content
Copy edited (e.g. ref. <https://en.wikipedia.org/wiki/Command_key>). More clear on what "Explorer" is in this context (it is "File Explorer", formerly "Windows Explorer" (ref. <https://en.wikipedia.org/wiki/File_Explorer>)). Used more standard formatting.
Source Link

They Keyboard.press() command accept modifiers per the documentation  . You may need to do multiple press() commands before releasing.

For example, if you want to launch ExplorerFile Explorer you could use:

Keyboard.press(KEY_LEFT_GUI); Keyboard.press('e'); Keyboard.releaseAll(); 

This is equivalent to shortcut keys windows + eWin + E.

The modifier GUI is what stands in for the "command key" which is the Windows Logo on a PC or Clover clover (⌘) on a Mac.

I am not havingdon't have any restriction on the higher value on my board (Pro MicroPro Micro), as indicated by @frarugi87.

They Keyboard.press() command accept modifiers per the documentation  . You may need to do multiple press() commands before releasing.

For example, if you want to launch Explorer you could use:

Keyboard.press(KEY_LEFT_GUI); Keyboard.press('e'); Keyboard.releaseAll(); 

This is equivalent to shortcut keys windows + e

The modifier GUI is what stands in for the "command key" which is the Windows Logo on PC or Clover (⌘) on Mac.

I am not having any restriction on the higher value on my board (Pro Micro) as indicated by @frarugi87

They Keyboard.press() command accept modifiers per the documentation. You may need to do multiple press() commands before releasing.

For example, if you want to launch File Explorer you could use:

Keyboard.press(KEY_LEFT_GUI); Keyboard.press('e'); Keyboard.releaseAll(); 

This is equivalent to shortcut keys Win + E.

The modifier GUI is what stands in for the "command key" which is the Windows Logo on a PC or clover (⌘) on a Mac.

I don't have any restriction on the higher value on my board (Pro Micro), as indicated by @frarugi87.

Source Link
Eric G
  • 161
  • 1
  • 2

They Keyboard.press() command accept modifiers per the documentation . You may need to do multiple press() commands before releasing.

For example, if you want to launch Explorer you could use:

Keyboard.press(KEY_LEFT_GUI); Keyboard.press('e'); Keyboard.releaseAll(); 

This is equivalent to shortcut keys windows + e

The modifier GUI is what stands in for the "command key" which is the Windows Logo on PC or Clover (⌘) on Mac.

I am not having any restriction on the higher value on my board (Pro Micro) as indicated by @frarugi87