Good day. I have a requirement to move from IE 11 to MS Edge on our systems, with all functionality as well. Currently, users will log into the computer, IE will launch with a local HTML file - User Dashboard, and then select which button on the page they want to use. Some of these buttons are linked to PDF files, some open File Explorer so that it opens their 'working directory' and/or file explorer to another directory on the machine for them to work in. They also run .lnk / .ps1 files. Works like a charm.
I was able to get about 80% of the functionality working using the Edge GPO template but now the only thing missing is opening file explorer for them to use the above situations. Currently when they click on the button on the page - file:/// - it opens up a new tab that displays the directory it is linked to. Unfortunately they are not able to run .lnk / .ps1 / .bat files. When selected, they open up in a new tab with the code displayed.
Is there anyway to run a program from Edge? I've already set the following in the GPO:
LGPO - Administrative Template -> MS Edge -> Allow launching of local files in internet explorer mode -> Enabled (default -> Not Configured)
LGPO - Administrative Template -> MS Edge ->< Configure Internet Explorer Integration -> Enabled -> IE Mode (default - Not Configured)
LGPO - Administrative Template -> MS Edge -> Open Local Files in Internet Explorer Mode file extensions allowed -> Enabled - "*" (default - Not Configured)
Hope this makes sense. Thanks in advance ...
Is there anyway to run a program from Edge?
Generally no, Edge used to be able to run epub files but even that feature is now removed.
Basically you can run any file type that is readable within Edge so txt or xml or htm or svg or mp4 etc.
When browsing local system in reader mode you can navigate up and down folders** local or on server and click any readable file type, however LNK files will behave in different ways.
LNK files that invoke an svg or txt or other Edge text safe readable object will open that readable bat cmd wsh ps1 file in a tab if necessary.
LNK files that call an executable such as notepad calc cmd or anything like a .hta runtime file count as not readable and are treated as requiring a security response, so will invoke an extra security step asking if you wish to download a copy.
You can download a copy of notepad.exe or cmd.exe but it will then run raw so runs outside EDGE and thus a copy of CMD.exe will simply open the console or a copy of notepad will open with a blank page. Only a copy of a stub.exe that does not need arguments would be useful.
** A zip folder normally operable in File Explorer counts as a downloadable security risk inside Edge.
Related
I am using InstallAnywhere 2012. In the post-install section the installer is showing a readme . There are internal and external links in the readme file. The internal ones are not working(it is not navigating to the respective section of readme).
I tried to open the readme.html in a browser and there it works fine.
If I were doing this in the shell, the syntax would look something like..
"C:\Users\myuser\AppData\Local\Google\Chrome\Application\chrome.exe" "file:///C:/Users/myuser/Desktop/index.html#anchor1"
here's one, admittedly crude, way to do that in IA:
1) employ a small jar program that finds browsers (stackoverflow)
2) then your program will compose a couple of strings and write them to a .bat or .sh file - ie the command(s) string to open the browser and the string for your local readme
3) then your program can either pass the "special folder" back to IA using custom code, or, for expediency, execute it directly if you don't care how it happens.
4) this produces a browser scrolled down to the right anchor.
the alternative actions of "open default browser", or "launch file", provided by IA api seems to strip (or not allow) the #anchor annotation in url's.
How do I view my Code output in Notepad++ as a webpage or something similiar?
I have built something but I can't find a button or something like that in Notepad to view it as a webpage or something similiar.
If it is a webpage written in html:
just go where you saved it and click it.
If it is in php:
You will need a web server, save the file in the www directory. and access it like this:
http://localhost/yourfile.php
Simply, save your file with the correct extension in this case html, then click run , in the run menu click launch in, (in whichever is your browser) in my case, chrome.And it should work(:
Add this plugin in Notepad++: Preview HTML but it opens only in IE
To setup Notepad++ for testing your markup or code there are a few things to consider.
When Notepad++ launches do you want a test document opened by default?
What language do you prefer the document to be opened as?
What browser do you wish to test your test file in?
Do we want a shortcut to open test in browser?
If you do not have your local environment setup to run server-side scripts you will be limited to what the browser supports.
In my example setup I will be using .php as my language. There are some variables, but I've chosen what I believe best suit my needs. I'm also using a windows machine.
Create a new file in C:\Program Files (x86)\Notepad++ (or wherever) as php.php (or whatever). This will be the document we keep open and will remain open so long as we never close it.
In Notepad++ go to Settings > Preferences > New Document
In the bottom left there is a drop-down. Select your language (php in my case).
Open php.php in Notepad++.
Go to Run > Modify Shortcut / Delete Command and locate your desired browser (note: this may not work as expected in some browsers i.e. Internet Explorer, go figure).
Create a custom shortcut so your document can be launched to test (unless you are happy with what is already setup).
This will effectively keep your default file open in Notepad++ every time it is launched in your preferred language and allow you to quickly test your markup.
Cntrl + Alt + Shift + I(Alphabet if you want to open in Internet explorer)
I hope this will work.
I mean without compressing it to *.xpi. Other browsers like chrome or opera understand when I drag a folder with extension files from system explorer to therirs addon-manager tab, but firefox, when I unpack *.xpi and try to install it as a folder shows : "This addon could not be installed because it appears corrupt" message.
Reason for this that when I try to change the code I must every time to pack my source files to xpi and then refresh the extension. Other way, like in chrome, the browser automatically updates extension when files were changed.
You need to create an extension proxy file. The file is placed in your extensions directory in your profile. It should be named as the id field of your addon. Inside this file you put a single line with the actual path of the source.
Before copying the proxy file you should uninstall the corresponding xpi addon you may have installed.
Check this page for more resources on setting up your dev environment.
I am working on an internal application. We have a website that displays all our SSRS reports for a group of work. I have been asked to see if I can link all the files (pdf, word, excel) for the group of work. These files are stored on a file server that users viewing the reports have access to. Each group has its own group of reports and shared files.
Is it possible to open the files (without downloading them) from a webpage? Meaning that they file is opened from the file server? I don't want people to download a copy of the file.
I am pretty sure this can work with IE because sharepoint does it. However, other browsers may have an issue.
EDIT: What I would like is to have a web page with links to the files. When they click on a link (say for a word doc), word will open the file that resides on the file server. Without out a local copy downloaded from the network share.
EDIT2: Please note, I know what I am asking is probably not possible in all browsers. I am more or less just making sure. It seems possible in IE using activeX, but out side of that browsers do a good job at keeping processes inside a sandbox.
3 options. Remember this is for an internal website.
link to the share using file://. This will have the side affect of downloading the file to be viewed. As long as user clicks open every time it should not be a big deal.
Use JavaScript and activeX to open word (excel, reader, ect) passing in the file path as a command line arguments. This works only in IE and in win7 (probably vista) user will get a pop up asking if it is ok for the activeX control to run.
Create a new protocol. openfile://. This would be set up to run an application that is installed on the client machine which would open the file. Since it is internal, the application could be installed on the machines without issues. This also requires a registry change.
I haven't picked one as this change is still being looked into but i figure I would update this in case someone runs into something similar.
We are doing webdevelopment with Zope.
The web-editor is just horrible. No syntax highlighting, no in-text-tabs, nothing you can work with.
I installed Zope External Editor. It is now possible that I click the "use external editor" button on every element and it creates a temporary file and opens it in Notepad++, awesome.
But one important thing fail: it doesn't save back to Zope when I save the file. I still have to copy the code back to Zope manually.
I also searched for syntax highlighting extension for chrome/firefox at least to highlight the code (but I prefer Notepad++ with upload-on-save).
Can someone help me with that?
Did you also download the ExternalEditor Helper application?
Your browser should open the helper application, which will then open the editor (which you can specify in the configuration, see last point below). This is important because the helper application is responsible for sending changes back to Zope, which it does by keeping an open WebDAV session while you are editing.
You should download the latest helper app here: http://plone.org/products/zope-externaleditor-client
From that page:
Under Windows: Install the windows binary executable.
Open your page in your web browser and click on the link 'edit with external application'
Associate the file with Zope External Editor and make it permanent (first time only)
The file is opened in the editor defined in windows registry with certain editors, a message will ask whether the edition is terminated or not;
keep it until you closed you file and say yes.
If you want to change your default editor for certain content types , or if you want to add proxy parameters, open Zope External Edit in your program files menu and change your local user configuration.
The best option is to not develop Zope applications through-the-web anymore.
Use proper python packages, and you'll get to use your favourite tools without difficult integration with the server.