

- #Clipmenu icon shows only on homepage how to
- #Clipmenu icon shows only on homepage install
- #Clipmenu icon shows only on homepage update
Clicking on a function or command and being able to right-click it to show the reference material would be a nice QoL feature. For example, some code-insight like features would be nice. I've a few minor ideas for tweaks for improving the experience.

It now uses a control system just like the Command Reference that mimics the "Insert JavaScript" menu. Lastly, the JavaScript Reference section was completely re-written. So, when you run a JavaScript clip, you can see the clipboard state, the pasted results (if any) and all the debug text you've created. A simple change was to add a textbox under the Results that only shows when you use the writeDebugText() routine. The showDebugText() function show a message box, but it stops the flow of the script.
#Clipmenu icon shows only on homepage how to
This is fine if you know how to show it, know where it is in Configuration, or know the double right-click system tray trick. There is a writeDebugText() function that writes to the AC Debug Window. Next, getting debug information from the script wasn't straight forward. So, I created a function that will fake selecting a specific clip from the Clip Menu to make debugging much easier. The new Index/Location functions in JavaScript are great for writing a single script that will work with the Pinned, Popup, and Clipboard Clips. Having to exit out of the editor, open the Popup, activate the Clip Menu, and select the custom script was tedious. The Clip Menu information could be a Pinned, Popup, or Clipboard Clip that requires using specific routines.įirst, the Clip Menu debugging was a pain. The new Save Clip to Folder routines return the full generated filename, and that type of work just doesn't fit in the AC Macro design scheme. These new changes are almost exclusively JavaScript, because conditional statements are usually a requirement. My goal is to have new Online Code Examples created for the Clip Menu that show off the new features better than my minimal patch notes. I spent a few hours working on some scripts to exercise the routines and noticed quite a few shortcomings in the process.
#Clipmenu icon shows only on homepage update
This update is focused on the scripting part.
#Clipmenu icon shows only on homepage install
These scripts are a little more complicated than normal, so they'll work on a default install of Windows. These scripts show of how to use the new Clip Menu functions and the Save Clip to Folder functions. This is similar to the Clip Menu script, but it is designed to only work with the clipboard contents. The Permanent Clip script, called 'Open Clipboard as File (JavaScript)', detects the type of clip on the clipboard and then runs a program that accepts a filename as a command line parameter. This example also uses standard programs that can be replaced. The second Clip Menu script, called 'Paste Clip into Program (JavaScript)', copies the selected clip to the clipboard and then runs a program and simulates a paste. This example uses Notepad, Wordpad, and Paint as standard installed programs, but these can be replaced with any program. The first Clip Menu script, called 'Open Clip as File (JavaScript)', saves the selected clip to a file and then runs a program that accepts a filename as command line parameter. Permanent Clips have their own separate list of example scripts. When "New" is selected from this location, the Online Code Examples shows a list specifically for the Clip Menu. Currently, Clip Menu scripts are accessed under Configuration>Clip Menu>Custom Menus. I've created 2 new Clip Menu scripts and 1 new Permanent Clip script for the "View > Online Code Examples" section.
