Messages - me_7834539 [ switch to compact view ]

Pages: [1] 2 3 4 5 6 7next
1
ps some background: I don't typically want to use several Opera _windows_; I also did not want to use IE due to security reasons (I have set it up as ultra-restrictive=not usable), but thinking of it, I guess one could put leo into the trusted zone, so one could indeed use IE for this. startup-times of IE are quite short I think, at least on recent computers, and one could do it with a reuse-alogorithm if IE is already loaded... don't know.

2
Hello,

http://dict.leo.org is a very popular translation service in Germany. It also features Chinese. There is a commercial app, "Lion", that will translate any text, typically upon ctrl-rightclick, in a dedicated lion-browser window in which leo is then loaded.
The disadvantages: yearly 5 Euro-fee and more problems with ads.

Note: This is a fun idea, and perhaps s.b. finds it nice. Since I could purchase Lion etc, I am not going to set big bucks on this... :) Take it or leave it, perhaps some ideas within my suggestion are of interest , I don't know :-) Thanks! :-)

Here's my idea:
Let's say the user is reading Chinese text in some program and wants to translate a string of 2 Chinese signs.
If no dedicated program is installed, the user will do this:
1. select signs
2. ctrl-c
3. alt-tab to the browser
4.1 if leo-tab is open and active: proceed with 5
4.2 if leo-tab is loaded but not active: select leo-tab
4.3 if no leo-tab is loaded: load leo
5. if cursor not in text field: place cursor [usually no problem]
6. ctrl-v
7. return
=====

My idea:

1. select signs
2. press keyboardshortcut (or run an exe or click a .lnk) (or on some keyboards: Press an AppKey defined in registry that is associated with a special key on some e.g. Lenovo keyboards (is an exe necessary for this that is linked to the Appkey (shellexec...)?)
3. then the following is done automatically:
3.1.1 text is copied (UTF-8?)
3.1.2 if no text was selected: msg window: please select some text first!
3.2.1 If a window exists that contains "Chinesisch - Deutsch Wörterbuch - leo.org" within its title and that belongs to an opera.exe [/...] process (which means that the correct tab is loaded and active) -> activate that window, ctrg-v and return. (cursor placement never seems to be a problem)
3.2.2 If Opera is loaded but a leo tab is not active: activate Opera and show message: "please activate your existing leo-tab and then hit CTRL-V and Return. If no leo-tab exists, just click _here_ to launch a new leo tab and translate.", with here = https://dict.leo.org/chde/index_de.html#/search={{{COPIED TEXT}}}&searchLoc=1&resultOrder=basic&multiwordShowSingle=on
4. Additional idea: If currently a window is active that contains "Chinesisch - Deutsch Wörterbuch - leo.org", then the shortcuts/lnk/exe will behave differently: It will activate the window of the program from from where the last translation was launched  (i.e., usually switch back to that program).




3
hello, thank you for looking into this. yes, to have a real advantage it will have to be able to handle multiple processes. but it's really a bit niche, for people with multiple installations of chrome/opera/ff.

4
EDIT: I just realized that all-in-all, pssuspend, even though not toggling, should suffice for most users (it suspends *all* exes), and situations with multiple browser installations with identical exes (but naturally differing path names) are an exception.

I'll still leave this suggestion here because I think it points to an important problem and details what is needed to get an one-program-solves-every-situation solution. Perhaps someone finds this useful.

Sorry for the confusion...

5
(you may want to read my second post in this thread first)

Hello,

with browsers like Chrome and the new Opera browser, it has become a standard that dozens of chrome.exe/opera.exe processes are running on a system. With multiple installations, these processes do not necessarily belong to the same browser installation.

E.g. running processes:
C:\chrome 1\chrome.exe
C:\chrome 1\chrome.exe
C:\chrome 1\chrome.exe
C:\chrome 2\chrome.exe
C:\chrome 2\chrome.exe
C:\chrome 2\chrome.exe
C:\chrome 2\chrome.exe
C:\chrome 2\chrome.exe

To save battery, reduce heat and noise, and get more power out of the computer, it has proven to be very handy to suspend processes of programs (especially browsers with lots of tabs) that are not always in use but should be resumable within a millisecond. The typical user, both novice and professional, will leave their multi-tabbed browser running in the background.

The suggested program should work like this:

Either by launching/clicking a .lnk/... file with a command, and/or by means of a shortcut like e.g. Win-N, the specified processes *within the specified directory only* are all suspended/resumed. There could/should also be a toggle command suspend/resume as well as dedicated suspend/resume commands.

There are various kinds of programs out there, such as yawffer, pssuspend, nircmd with the the suspend command, BES Battle Encoder, and Process Lasso, that all feature various aspects of described program, but none is able to do what I described here. Put together, all the programs however prove it is feasible.

* yawffer cannot suspend by path, but can toggle by keystroke
* BES cannot suspend by path, but can toggle and even throttle CPU usage
* nircmd cannot suspend by path, but is lightweight command line
* pssuspend cannot suspend by path, but is lightweight command line
* Process Lasso can suspend by path, but only manually instance-by-instance (which is extremely (!) tedious), and also is heavy-weight/very complex. But PL proves the concept works.

(Also, I think some of these programs suspend *all* exes with the same name, and some just one, randomly.)

So, a common should suspend/resume all chrome.exe's running in c:\chrome 1\, but not those in chrome 2.

I think using a catchy name, the program might get some attention, e.g. hinting at Chrome (even though I personally use Opera), one could name it ChromeSuspender ... ;)


Pages: [1] 2 3 4 5 6 7next
Go to full version