Jump to content

SIP - Selected Image Preview


MrCreatoR
 Share

Recommended Posts

This utility allows to preview image file by holding down left (main) mouse button on selected file in explorer window (or on desktop).

Notes:

  • Tested on Win 7/Win XP Rus Professional.
  • If Tray icon is hidden, use «Ctrl + Shift + Q» to exit the program.

Screenshot:

post-20477-0-40130800-1345177669_thumb.j

Changelog:

v1.4

* Fixed issue with opening large Avi files. Only small avi files are supported.

* Now the Avi preview is centered.

v1.3

* Empty cursor now generated from memory instead of file write.

* Replaced color picker.

* Icons now handled separately.

* Animations now supported partially (gif, ani, avi).

v1.2

* Again Preview mechanism completely rewritten (thanks to Yashied).

* Added Tray Icon (optionally).

* Added Settings dialog (from tray, or by command line: /Settings).

* Added About dialog (from tray, or by command line: /About).

* Now the preview window does not focused.

* Full compatibility with WinXP.

* Changed program icon.

* Fixed issue with called file rename action.

* Fixed issue with mouse buttons swap (left/right handed).

v1.1

* Now compatible with WinXP.

* Complete rewrite of Preview mechanism (thanks to Yashied). Now should better handle preview scaling and different images load.

* Fixed issue with not working preview when files extension is hidden.

* Fixed issue with crashing program/explorer on some objects.

* Fixed issue with activating explorer window.

* Fixed issue with hiding cursor while moving preview.

v1.0

* First release.

Download:

SIP.zip (Counter: Posted Image)

Edited by MrCreatoR

 

Spoiler

Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize Program

AutoIt_Icon_small.pngUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF
 
AutoIt_Icon_small.pngExamples: 
ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Link to comment
Share on other sites

Nice!

It would be nice when you can display some information about the displayed media below the displayed image. E.g. here:

Br,

UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Looks really nice :).

Could you explain the possible errors this line fixes?

;Fix for keyboard layout issue for HotKeySet and other hotkeys functions
__WinAPI_LoadKeyboardLayout(0x0409)

Also in __Explorer_GetSelectedItem() I see you use _GUICtrlListView_GetItemText(). Keep in mind that AutoIt and Explorer bit-mode have to be in line for this to work (AU 32bit can only read 32bit LVs). Maybe it would be better to go the COM way like in this example?

Link to comment
Share on other sites

It would be nice when you can display some information about the displayed media below the displayed image

Good idea, maybe will add later.

Could you explain the possible errors this line fixes?

It stated in the comments :)

If you set your keyboard layout to some language that doesn't includes latin letters before script starts, your accelerators and hotkeys such as ^c will not work.

Therefore you should fix this issue by changing the keyboard layout to English before you set the accelerators/hotkeys.

AU 32bit can only read 32bit LVs

I have x64 windows on virtual machine, and the LVs are 32bit there, so my question is how it can be that LVs will be not 32bit?

 

Spoiler

Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize Program

AutoIt_Icon_small.pngUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF
 
AutoIt_Icon_small.pngExamples: 
ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...