Viewer Hotkey for Next/Prev

One thing I did (or still do) like in the standard windows-image-viewer is the ability to go forwards/backwards pressing the ( left/right | down/up ) buttons. I really miss this in the DOpus-viewer (I don't like to use the mouse). Yes, DOpus is highly customizable, but the viewer is not - I cannot define hotkeys for the buttons.

And yes, I will post this as a feature request to GPS, just wanted to ensure that nobody asked for this already (I've searched several hours in the german and english forums now).

Yes, Left/Right not worked, but "Page Down/Up" and "Space/Backspace" is working for me :exclamation:

Forget my letter, I was bad understood your means of Down/Up.

This is a gift instead of my mistake :wink: After running, your problem will be solved.

Close hotkey: Win+Esc

Best Regards

(Admin Note: I've removed the download. Again, one of your attachments is just too dodgy: virustotal.com/analisis/58be ... 1d7fd04a13 . Please don't post these executable files - no one knows where they're from and it would be asking for trouble to run them.)

Thank you, searcher123!
I think, Page Down/Up will do that as well. I did not see the possibility and unfortunately haven't tried that. Btw, there is no need to press Win+Esc for closing: Esc will do the same here.

I've fixed the typo. backslash -> backspace. (in case anyone is pushing the other key wondering why it doesn't work. :slight_smile:)

Don't be fearful dear Leo, I will not sent any more program for helping other people henceforth.

That is very attractive: your link show that my file was scanned with 38 AntiVirus & AntiSpyware. The 36 of them including big AntiViruses such as Kaspersky, Norton, McAfee, Panda and TrendMicro are told my file is clean; one of them told cannot be sure about it and only Prevx1, a vain program that is useful just for trashcan told my file is infected!! (Please test Prevx1 with some real viruses, you will understand my means). But what is the infection reason? UPX :laughing: :laughing:, an open source compression algorithm that decrease the size of EXE files.

BTW, I was deleted my DefToolbar, because that was compressed with UPX too and as Prevx1 is told, this is a very dangerous malware and will infect users badly!!, but I cannot delete my other attachments. Please delete them instead of me before more computer be exploded. Links are:

  1. http://resource.dopus.com/download.php?id=2357
  2. http://resource.dopus.com/download.php?id=2748
  3. http://resource.dopus.com/download.php?id=2189
  4. http://resource.dopus.com/download.php?id=2754
  5. http://resource.dopus.com/download.php?id=2400
  6. http://resource.dopus.com/download.php?id=2670
  7. http://resource.dopus.com/download.php?id=2823
  8. http://resource.dopus.com/download.php?id=2824
  9. http://resource.dopus.com/download.php?id=2266
  10. http://resource.dopus.com/download.php?id=2307

Regards

[quote="vitali2000"]Thank you, searcher123!
I think, Page Down/Up will do that as well. I did not see the possibility and unfortunately haven't tried that. Btw, there is no need to press Win+Esc for closing: Esc will do the same here.[/quote]

With Esc, just Dopus Viwer will be closed, but if you have a look at Task Manager process tab, you will see my program is running as yet. If you press Win+Esc, my program will be closed too.

Regards

Leo is not the only Admin here. He wasn't responsible for the edit.

I'm not going to debate the validity of various anti-virus programs here, I just showed the link for virustotal to show why I was dubious. (I don't see any need for the files to be compressed anyway.)

If you wish to help others here by pointing to web pages which detail executable files which may be of use then that's fine. Be it on the heads of the downloader. I don't want people to come here complaining that a file they downloaded from us turned out to be malicious.

Some users, especially pirates, tend to be more open to unknown 'infections' than other legitimate users and could, without realising it, provide malicious files from their systems. Therefore, one rule for all is the best policy and the one we're going to stick with.

Links are also nicer since people can get the latest version from the site instead of whichever version was attached to the message.

Of course, sometimes tools can no longer be found on the web. In those cases it might make sense to attach the tool to a message since there's nowhere else to find it.

Assuming they show up as completely clean on a site like virustotal, and aren't needlessly compressed with a real time packer. :smiley:

[quote="leo"]Links are also nicer since people can get the latest version from the site instead of whichever version was attached to the message.

Of course, sometimes tools can no longer be found on the web. In those cases it might make sense to attach the tool to a message since there's nowhere else to find it.[/quote]

FYI Dear Leo,
All of my attached programs were my works, designed exactly for DOpus. If they were a third party programs, of course I would like to put a link to them. As you know, some similar commercial programs are not useful for DOpus. For example, do you know any commercial programs can define hotkeys for right/left/up/down arrow keys just when DOpus Viwer window is opened? My program does it.

Sincerely yours

Fair enough. I didn't see what it was as it was already removed when I saw the post.

I thought I'd see how easy this was to do in AutoHotkey since people talk about it a lot and I've never used it before. It turned out to be quite easy. :slight_smile:

If you add this to your AutoHotkey.ahk then the cursor keys will change images in the Opus viewer:

#IfWinActive, ahk_class dopus.viewpicframe Left:: Up::Send {PgUp} Right:: Down::Send {PgDn} #IfWinActive

AutoHotkey seems rather neat.

Yes, I check it and I think it will be very useful in many situations. Thanks for sharing it with us.

Regards

PS: Compile your above code to an EXE file with "Convert .ahk to .exe" option and scan it with VirusTotal site. Yes, you create another bad virus :laughing:

Hi Leo,

Nearly as indispensable as Opus itself... :smiley:
And a great complimentary tool. Have fun with it.

And as searcher123 noted, you can compile it as a stand-along exe and you'll probably get his executable :wink:

It looks like Searcher123 used AutoIt, or encrypted the script. I couldn't decompile it using Ahk2Exe like I could with my test exe and the sizes were quite different. AutoIt and AutoHotkey seem to use slightly different versions of the same compiler.

I think we should stick to giving people the scripts, not compiled versions of them. It's much better to be able to see what the script will do and to be able to integrate it into an existing AutoHotkey or AutoIt configuration. The FAQs also say that it's more efficient to run a script than a compiled script, and they're smaller and don't trigger false positives from some anti-virus programs. Seems better all round!

[quote="leo"]It looks like Searcher123 used AutoIt, or encrypted the script. I couldn't decompile it using Ahk2Exe like I could with my test exe and the sizes were quite different. AutoIt and AutoHotkey seem to use slightly different versions of the same compiler.

I think we should stick to giving people the scripts, not compiled versions of them. It's much better to be able to see what the script will do and to be able to integrate it into an existing AutoHotkey or AutoIt configuration. The FAQs also say that it's more efficient to run a script than a compiled script, and they're smaller and don't trigger false positives from some anti-virus programs. Seems better all round![/quote]

Of course your suggestion is good, but not possible in many cases. VBScript is a good example.

I was sent my VBScript codes in file, why? because any system can understand VBScript scripts and users have not any headache for running them (however, many processes are not doable with VBScript and you have to use another languages necessarily).

But what about other languages? I was not familiar with AutoHotKey before your letter, but now I know it have a small size for downloading, so sending its code is a good idea too, because executer will be downloaded easily. But this law is not accomplishable for many other languages.

I know many people with Dial-Up connection and this people have problem with big sizes. I think we must spot to all of the people (at least I try to be so). Many fundamental programs have huge sizes and if you put a source code for them in expectant of compiling by users, that will not be useful for no one.

For example, Visual Studio 2007 is 4.5GB, Setup Factory is 30MB, AutoIt is 10MB, Multi Media Builder is 26MB, etc. The worse is that many of this programs are not free too.

Do you think if I upload a VBscic code and say "Please buy VS and compile it yourself" is better or I compile it myself and send it as a EXE file in a size under 1MB? In addition to that, many users didn't like to learn a programming language to use a small code.

For example, if you upload a C++ code, I will not download it at all, however, I'm sure you have some codes that wouldn't like to send them to public for some personal reasons :wink:

Best Regards

Wasn't your program created in AutoIt? It seemed to be.