Test Your Browsers with EmEditor: A Comprehensive Text Editor for Macros
Test Your Browsers with EmEditor: A Comprehensive Text Editor for Macros
Viewing 2 posts - 1 through 2 (of 2 total)
Author
PostsNovember 4, 2009 at 4:08 pm #7773
antmary
Participant
TestOnServer.jsee:/* Test On Server script by antmary@126.com
4th, Jun 2009 /
var root_dir = “d:www”;
/ web server root directory /
var server_baseurl = “http://localhost “;
/ server url to root */var root_regex = new RegExp(“^”+root_dir.replace(“”,”"),”i”);
var file_path = document.FullName;
if (!document.saved) {
alert(“Please save the document first!”);
} else if (!root_regex.test(file_path)) {
alert(“File is not in the root directory!”);
} else {
var url = server_baseurl + file_path.replace(root_regex, “”).replace(//gi,”/“);
OpenBrowser(url);
function OpenBrowser(url) {
var wshShell = new ActiveXObject(“WScript.Shell”);
wshShell.Run(url);
i hope it helps :lol:
November 5, 2009 at 3:43 am #7776
ToadLoadin
Member
It’s really helpful, and very inovative. :-)
- Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Also read:
- [New] 2024 Approved Premiere Pro Exposure Corrections to Fix Overlit iPhone Videos
- [New] The Compact Guide to Transforming Vocal Identity Quickly in PUBG for 2024
- [Updated] Channel Honor Roll - Play Button & Follower Awards for 2024
- [Updated] Decoding YouTube's Economics How to Quantify Watches and Earnings
- Advanced Document Management Through Native Templating & Highlight Capabilities - Explore EmEditor
- Capturing Clarity in Close-Ups The Filmmaker’s Kinemaster Guide
- How to Enable Line Commenting Feature Within EmEditor Text Editor
- Master ASP File Editing with JS Syntax Colorization Features in EmEditor Text Editor
- Premier Online Calling Apps - All Free & User-Friendly for 2024
- Reset iTunes Backup Password Of iPhone 14 Prevention & Solution
- Resolve EmEditor Errors During Text Wrapping Feature Use for Smooth Editing Experience
- Simple Methods for Embedding Images in Your PDF Document
- Transform Tweets Converting Video to GIFs at No Cost
- Why Choose EmEditor? Unveiling the Shift From Traditional Editors to Enhanced Security Measures
- Your Voice Matters: The Most-Requested Additions for EmEditor's Latest Version
- Title: Test Your Browsers with EmEditor: A Comprehensive Text Editor for Macros
- Author: Matthew
- Created at : 2024-10-10 03:28:59
- Updated at : 2024-10-13 23:27:53
- Link: https://win-tips.techidaily.com/test-your-browsers-with-emeditor-a-comprehensive-text-editor-for-macros/
- License: This work is licensed under CC BY-NC-SA 4.0.