Enhance Your Web Development: PHP.NET Essential Functions & Editing with EmEditor

Enhance Your Web Development: PHP.NET Essential Functions & Editing with EmEditor

Steven Lv8

Enhance Your Web Development: PHP.NET Essential Functions & Editing with EmEditor

Viewing 3 posts - 1 through 3 (of 3 total)

  • Author
    Posts

  • November 27, 2006 at 8:20 pm #4032
    pixelchute
    Member
    Have you ever been right in the middle of coding and wanted an official PHP function definition, etc? What about wanting to Goooooogle for a phrase right inside your source?
    These JavaScript macros should cover it ;)
    php.net function definition

    // Create windows scripting host shell object
    var oShell = new ActiveXObject(“WScript.Shell”);

    // Grab the selection and escape for URL
    search = escape(document.selection.text);

    if(search != ‘’)
    // Search for it!
    oShell.Run(‘http://www.php.net/search.php?show=quickref&pattern='+search );
    else alert(‘Please make a selection!’);
    In-line google search

    // Create windows scripting host shell object
    var oShell = new ActiveXObject(“WScript.Shell”);

    // Grab the selection and escape for URL
    search = escape(document.selection.text);

    if(search != ‘’)
    // Search for it!
    oShell.Run(‘’http://www.google.com/search?hl=en&btnG=Google+Search&q='+search );
    else alert(‘Please make a selection!’);
    Simply highlight your text, and run the Macro!

November 27, 2006 at 8:22 pm #4033
pixelchute
Member
shastafir, on the old forums, also provided a great way to Execute a macro via the context-menu (right-clicking…)

Assuming you have EE version 6+:
* Click menu Tools > Customize Menus…
* Select “Context Menu” in the “Menu to Customize” list
* Select the desired location and click “Insert Above/Below/Right”
* In the Menu Properties dialog select “My Macros” in the Category list
* Select the desired macro in the “Commands” list
* Note: Unfortunately you cannot change the name of the command to something other than the macro name. (Yutaka, this could be considered a improvement request;))
* Click OK a few times and test the right click
August 29, 2007 at 7:29 pm #4606
pixelchute
Member
Aah, I found it!!
I love being able to add Macros into the context menu :)

  • Author
    Posts

Viewing 3 posts - 1 through 3 (of 3 total)

  • You must be logged in to reply to this topic.

Also read:

https://techidaily.com
  • Title: Enhance Your Web Development: PHP.NET Essential Functions & Editing with EmEditor
  • Author: Steven
  • Created at : 2024-10-27 16:54:23
  • Updated at : 2024-11-03 20:25:32
  • Link: https://win-trending.techidaily.com/enhance-your-web-development-phpnet-essential-functions-and-editing-with-emeditor/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Enhance Your Web Development: PHP.NET Essential Functions & Editing with EmEditor