---
title: "Comment by Travis Caruth on \"Keyboard Shortcut to Toggle Un/Comment Out for Oracle APEX\" | Hashnode"
description: "Matt, you may want to consider adding a @run-at document-idle to the metadata, so it waits until apex.actions is defined. On my system with too many tabs runnin"
url: "https://hashnode.com/posts/keyboard-shortcut-to-toggle-uncomment-out-for-oracle-apex/684fd271ae84c4d2729d6364/comment/685302f4293c7e6d2d2df355"
---

[Discussion](https://hashnode.com/posts/keyboard-shortcut-to-toggle-uncomment-out-for-oracle-apex/684fd271ae84c4d2729d6364)

Comment [Keyboard Shortcut to Toggle Un/Comment Out for Oracle APEX](https://hashnode.com/posts/keyboard-shortcut-to-toggle-uncomment-out-for-oracle-apex/684fd271ae84c4d2729d6364)

[Travis Caruth](https://hashnode.com/@tcaruth)

[Jun 18, 2025](https://hashnode.com/posts/keyboard-shortcut-to-toggle-uncomment-out-for-oracle-apex/684fd271ae84c4d2729d6364/comment/685302f4293c7e6d2d2df355)

Matt, you may want to consider adding a `@run-at document-idle` to the metadata, so it waits until apex.actions is defined. On my system with too many tabs running, the userscript is loaded before APEX has registered it's libs, causing the hotkey to not work

[Matt Mulvaney](https://hashnode.com/@lufcmattylad)

[Jun 24, 2025](https://hashnode.com/posts/keyboard-shortcut-to-toggle-uncomment-out-for-oracle-apex/684fd271ae84c4d2729d6364/comment/685302f4293c7e6d2d2df355#reply-685a6d45d4d0ea3668525348)

Thanks - updated now
