BLOG ARTICLE 분류 전체보기 | 58 ARTICLE FOUND

  1. 2008.09.08 NSIS
  2. 2008.09.03 Window Ruler
  3. 2008.09.03 freeware
  4. 2008.09.03 Stick
  5. 2008.09.03 RecentFilesView
  6. 2008.09.03 The power of script
  7. 2008.09.03 Qliner hotkeys
  8. 2008.09.03 Altiris SVS
  9. 2008.09.03 STabLauncher
  10. 2008.09.02 Webshare

NSIS

SOFTWARE 2008. 9. 8. 01:29

http://trinity.snupaim.net/~neopaim/?document_srl=8317 에서퍼옴.

 

여러분이 작성한 프로그램이 다른 사람들에게도 멋지게 동작하려면 배포를 해야합니다.

배포를 위한 방법은 다음과 같습니다.

1. 파일 복사

- 프로그램이 실행되는데 해당 파일(들)만 있으면 되는 경우.
- 방법 : Ctrl + C, Ctrl + V

2. 설치 프로그램 작성

- 라이브러리 및 레지스트리 세팅이 필요한 경우.
- 설치 프로그램이 여러분이 작성한 프로그램 및 이의 실행에 필요한 각종 라이브러리와 레지스트리를 컴퓨터에 등록해줌
- 시작 메뉴나 빠른 실행, 바탕화면에 아이콘 생성 가능
- 제대로 만든다면 Uninstall 기능도 제공 가능
- 예 : Visual Studio에서 제공하는 배포마법사, InstallShield, NSIS (Nullsoft Scriptable Install System)

3. 무설치 프로그램 작성

- 최근 유행처럼 퍼진 방법
- 2번처럼 라이브러리 및 레지스트리 세팅이 필요한 경우이나 설치 과정을 원치 않는 경우
- 실행에 필요한 여러 파일, 라이브러리, 레지스트리 세팅을 묶어 하나의 실행파일 형태로 만들어줌
- 이 파일이 실행되면 가상 환경에서 파일 압축을 해제, 레지스트리를 등록하고 실제 환경에서 동작하듯 프로그램이 실행됨
- 예 : Thinstall, AutoIT

개 인적으로 1번이 아주 알흠답고 멋진, 지울 때 찌꺼기가 거의 남지 않는 방법이라도 믿습니다만 항상 1번처럼 배포할 수 있는 건 아닙니다. 대안으로 3번이 있지만 최근 백신에서 얘네를 바이러스로 인식하는 경우가 간혹 있습니다. 또한 설치가 반드시 필요한 프로그램들도 존재합니다 (예: 웹 애플리케이션의 ActiveX 컨트롤).

이럴 때 설치 프로그램을 통해 배포하면 초보자도 쉽게 설치할 수 있지만 문제는 설치 프로그램을 만드는 게 또 일이라는 겁니다. 다행히 널리 통용되는 유명한 툴들이 존재합니다.

대표적으로 InstallSheild가 있죠. 이걸 한번도 못 보신 분은 없으리라고 생각합니다. 특히 Windows 95, 98 시대 때에는 거의 이거밖에 없다시피 했죠.

하지만 최근 은근슬쩍 보이기 시작한 애가 있습니다. 바로 NSIS입니다.

NSIS.JPG

요런 아이콘 보신적 있죠? ^^

과 거 Winamp 안써보신 분이 없죠? 요샌 잘 안보이지만 한때 본좌였죠. 그걸 만든 회사가 Nullsoft입니다. 거기서 내놓은 오픈소스 설치 프로그램 제작 유틸리티가 바로 NSIS입니다. NSIS는 Nullsoft Scriptable Install System의 약자이구요.

- NSIS 공식 사이트 : http://nsis.sourceforge.net/

쓰 기 편하고 공짜! 다국어 완벽지원을 비롯한 여러 장점으로 빠르게 퍼지고 있습니다. 이 점에 관해선 그냥 보고 듣고 느끼는, 응급의학의 지혜를 그대로 적용하시면 됩니다. 제가 하나 만들어봤습니다. 아래가 그 스샷인데 어디서 많이 보던 포맷이죠?

NSIS.PNG

오픈소스라 이걸 고쳐서 쓰는 곳도 많구요. 우리가 쓰는 범위에서는 별로 고칠 게 없습니다. 오히려 그 많은 기능을 다 배우려면 힘들죠 ㅎㅎ 그래서 나온 유용한 툴이 바로 HM NIS Edit 입니다.

- HM NIS Edit 공식 사이트 : http://hmne.sourceforge.net/

사실... NSIS 설치 후 생기는 바로가기 실행해보면 아래와 같이 뜨는데 다소 황당합니다. 별게 없어요. 이걸로 뭘 만들지 하는 생각이 듭니다.

NSIS2.PNG

왜 이런 느낌을 받는고 하니.. Nullsoft에서 제공해주는 것은 컴파일러뿐입니다. NSIS는 컴파일러 자체이지요.

NSIS로 설치 프로그램을 만들기 위해서는

- 스크립트를 짜고
- 이걸 컴파일합니다

라는 두 단계가 필요한데, NSIS에서 제공하는 건 첫번째 단계를 위한 설명서와 두번째 단계를 위한 컴파일러 뿐입니다. 스크립트 예제들이 있지만 어쨌든 결국 여러분이 만들어써야합니다.

아니, 스크립트 문법도 모르는데 어떻게 만드냐 하고 좌절하실지 모르겠습니다. 그래서 지금 HM NIS Edit를 설명드리려고 하는거구요.

이걸 실행하고 파일 메뉴로 가보면 반갑게도 [스크립트 작성 마법사] 라는 애가 있습니다.
NIS edit.PNG

아래처럼 주욱 따라가시면 됩니다. 이건 보면 쉽게 감 잡으실테니까 스샷을 다 넣는다거나 설명하진 않겠습니다 ^^

제목 없음.PNG

제목 없음2.PNG

입력 다 하신 후에 마침 누르면 스크립트가 생성되어있습니다. [NSIS] > [스크립트 컴파일] 혹은 Ctrl + F9를 눌러서 컴파일하시면 설치 프로그램 실행파일이 생깁니다. 이걸 배포하시면 됩니다 ^^

AND

Window Ruler

SOFTWARE 2008. 9. 3. 02:47
Window Ruler, Measure WindowsWindow Ruler
Version 1.x for All Windows Platforms
Window Ruler, Measure WindowsWindow Ruler is a program that permits you to:
• Test if your application windows fit in a certain screen resolution (very useful for developers!);
• Measure any window by dragging the red ball (left-upper corner).

How to use this program:
• Move the ruler by dragging it
• Measure a certain window by dragging the red ball over it
• Show/Hide the ruler by left-clicking over the notify icon
• Show the options by right-clicking over the notify icon or the ruler window
• The ruler can be resized using the mouse
Window Ruler 1.1 rev 2
Portable

Freeware

Win32 Setup (1.5 Mb)
Zipped Package (300 Kb)
History
v.1.1 rev 2
Made it portable
v.1.1 rev 1
Fix: conversion bug from pixels to other scales
AND

freeware

SOFTWARE 2008. 9. 3. 02:46
Freewaregenius: Some day all software will be free 
AND

Stick

SOFTWARE 2008. 9. 3. 02:38

Description: Stick is a free program that introduces tabs attached to the sides of your screen (called "Screen Tabs") that can display notes, folder contents, web pages, RSS feeds, as well as mini apps such as a calendar or calculator.

If you have folders that you always work with, or a web page that you like to always be easily accessible, notes that you frequently refer to or, say, an RSS feed that you like to check frequently you might want to give this program a try. "Stick" enables you to use "Screen tabs" attached to any of the four sides of your screen that you can easily expand and retract, and that can display the following: rich text notes, RSS feeds, folders, web pages, a (non-interactive) calendar, and a calculator app.

What I like about this program:

  • It can look elegant: meaning that (a) you can use this to good effect in your quest to reduce clutter on your desktop, and that (b) of the handful of "skins" available is possible to use a configuration that looks good and adds to the desktop experience. (Conversely, you can end up with some pretty ugly tabs on your desktop, but you can only blame yourself if that happens).
  • Favorite folders as Screen Tabs: having a handful of your favorite or frequently used folders easily accessible through retractable tabs on the side of the screen is a very good idea; esp as these support drag and drop, context menu commands, different views, and navigating the directory structure. There’s even a little arrow button that opens the actual folder for you in explorer.
  • Web pages as Screen Tabs: I didn’t think much of this at first, until I thought to put my main Gmail account in one of the tabs, which was certainly an interesting setuip.
  • Customizable tab behavior: you can control the color, skin, transparency level, the speed by which the tab opens, always on top, whether it opens by hover or click, and whether it closes by hover away or click.
  • RSS feeds as Screen Tabs: for those must-view RSS feeds that you want to be able to access quickly and easily - e.g. Freewaregenius ;) - the RSS Screen Tab will be very handy. The RSS function has some quirks (e.g. newer items are shown on bottom, no Atom support) but is overall a good option if you want RSS on your desktop.
  • Keyboard shorcuts: for each tab you create you can define keyboard shortcuts that make it visible.
    Read more »
AND

RecentFilesView

SOFTWARE 2008. 9. 3. 02:31

Description: RecentFilesView is a small, no install freeware program that can retrieve and save the list of the most recently accessed files.

If you’ve ever needed a list of the last opened files on your machine, RecentFilesView is for you. It provides a much more comprehensive list than the one in the "Recent Documents" folder. Here are some scenarios I could think of where you wil find this program very useful:

  • If you are working on a project and for whatever reason need to create a list of all the relevant files for that project. With RecentFilesView you can export a comprehensive or partial list to a text or CSV files and edit that as needed.
  • If you are uncertain as to which files or file versions you were using when you were working on a project 5 days ago. With RecentFilesView you should be able to survey that history in a snap.
  • Please post other uses you might think of in the comments.

Here are more notes on this app:

  • Sorting: you can sort by created time, modified time, executed time, and filename.
  • Which files will be listed?: those files that were either opened from the desktop or from an application. It will list folders that were opened as well.. It will display your file activity, not files that were created or accessed by programs, such as temp files or cached files saved by your browser. Files that are deleted will also be listed, although it will indicate in the list that the file is no longer available.
    Read more »
AND

The power of script

Scripts are computer programs. Often they are small, dedicated applications that perform a single task. However, it is perfectly possible to build big and complex applications using script.

Essentially a script is a set of computer instructions in a text file. This text file can be executed, often by double clicking the file icon. A separate computer program, a so called interpreter, reads the instructions in the text file and ‘executes’ them one by one.

The instructions in the script are written in a programming language. Windows supports a number of scripting languages out of the box. Well known examples are JScript, Visual Basic Script and DOS batch (,bat) files. The programming language we will use in the examples is called JScript. At the end of this article will provide links to JScript and other scripting resources.

The following screenshot shows a JScript file opened in the notepad application. The file is shown in the Explorer Window.

A script file

The script is executed by double clicking the icon in the Explorer window. The running program should look like this:

The running script

Scripting and Hotkeys

You can use Qliner Hotkeys to start scripts written in any language. Scripts are an easy and powerful way of extending Qliner Hotkeys. To make Hotkeys start a script simply drag and drop a script on the desired key. In this case pressing Windows + 1 would trigger your script.

Drag and drop the script on the keyboard

Doing useful stuff

Now let us make something useful. Script will allow you to do almost anything a human user could do with a computer. One example is that you can have a script send key strokes to the current application.

The following example will send the key strokes “Hello World!” to the running application. Type in or download the following script and assign a hotkey to it. Then start notepad and trigger the hotkey. The text “Hello World!” should appear in notepad.

WScript.Sleep(300);

typeString("Hello World!");

function typeString(stringToType){
   var wsh = WScript.CreateObject("WScript.Shell");
   for(var i = 0; i < stringToType.length; i++){
      wsh.SendKeys("{" + stringToType.substr(i, 1) + "}");
      WScript.Sleep(10);
   }
}

You can also send key combination that trigger actions in the document, like Alt + F4 to close a window, Ctrl + A and then Ctrl + C to copy all content in a Window, etc.

Making it configurable

It is possible to make a script configurable so you can use the same script for different purposes. It is possible to send command line arguments to a script. The command line arguments can then be used as input for the script.

The following JScript example sends the text in the command line argument as keystrokes to the currently active application. Download the example here.

WScript.Sleep(300);

for(var i = 0; i < WScript.Arguments.count(); i++){
    typeString(WScript.Arguments.Item(i));
}

function typeString(stringToType){
   var wsh = WScript.CreateObject("WScript.Shell");
   for(var i = 0; i < stringToType.length; i++){
      wsh.SendKeys("{" + stringToType.substr(i, 1) + "}");
      WScript.Sleep(10);
   }
}

If you configure a hotkey for the script, double click the script icon on the keyboard to modify the arguments. Please consider the following screenshot.

Notice the configured argument

When the hotkey is triggered while notepad is active the output should look like this:

Output from configuration

Creating a poor man’s Quotes

The following example creates a minimalist version of Qliner Quotes (but then again: the original is much, much longer than 24 lines of code). The script below (download here) takes a file name as an argument. The file (in our case) contains humorous quotes. A random line is selected from that file and then typed in to the active application. This is what the script look like:

WScript.Sleep(500);

if(WScript.Arguments.count() == 1){
   var filename = WScript.Arguments.Item(0);
   var lines = new Array();
   var filesystem = new ActiveXObject("Scripting.FileSystemObject");
   var file = filesystem.GetFile(filename);
   var stream = file.OpenAsTextStream( 1, 0 );
   var count = 0;
   while( !stream.AtEndOfStream ){
      lines[count] = stream.ReadLine();
      count++;
   }
   stream.Close();
   var randomLine = lines[ Math.floor(Math.random()*lines.length) ];
   typeString(randomLine);
}
 
function typeString(stringToType){
   var wsh = WScript.CreateObject("WScript.Shell");
   for(var i = 0; i < stringToType.length; i++){
      wsh.SendKeys("{" + stringToType.substr(i, 1) + "}");
   }
}  

This is what the configured key should look like.

Quotes hotkey configuration

The quotation file ‘Humor.txt’ was downloaded from here, but any text file should do.

And this is what the output could look like.

A random quote ;)

Conclusion

Scripts allow you to automate everyday tasks. It is easy to use and very powerful technology. Combine it with Qliner Hotkeys and all this power is at the tips of your fingers. Please remember that the examples given here are very simple. Also be aware that you can use any scripting language with Qliner Hotkeys, not just JScript.

Please consider the following links for further reading:


AND

Qliner hotkeys: the keyboard is back!

Free download

Main features:

On screen keyboard:

Learn hotkeys in 5 minutes.

Download tools for hotkeys.

Qliner hotkeys: the keyboard is back...

Qliner Hotkeys

Qliner hotkeys is a free and open source keyboard productivity environment. It is the first product of its kind that is usable by computer geeks and non geeks alike.

Hotkeys builds on the concept of Windows shortcut keys but takes this concept to a whole new level. Do you think key combinations are hard to remember? Just hold the Windows key for three seconds and up pops a on screen Keyboard with icons on the keys that are configured. This you can use , not only to remind you of hotkey combinations, but also for Drag and Drop Configuration.

Smart application launching and switching

Hotkeys is smart in the way it launches applications and opens documents. When a key combination is pressed hotkeys will first try to find an existing instance of the requested application or document and bring that to the front. This behaviour can be overruled by holding the Alt key, which ensures that a new instance is allways launched. If no existing instances are found a new instance is started. If multiple instances are running the Instance Switching menu is displayed.

Drag and drop configuration

Holding the Windows key for several seconds, or pressing Win + Z shows the on screen keyboard. It is an easy tool to look up existing key combinations. The keyboard is also used for drag and drop configuration: you can drag the icons on the keyboard to different keys or drag new items onto the keyboard.

The keyboard is highly configurable. You can change the color and layout to make it match your actual, physical keyboard. Besides support for more than 100 international keyboards layouts, hotkeys also supports Dvorak layout.

Sony layout, black color scheme and greek language.

.
AND

Altiris SVS

SOFTWARE 2008. 9. 3. 02:18

Altiris SVS

alitirisSVSRating: 55 Star Rating pick

Version tested: 2.0.1407

Description: Altiris Software Virtualization Solution (SVS) allows you to install and run programs virtually so that they do not reside on your system but in a virtual ’layer’ which you can switch on or off at will. It enables you to test an application and completely ’turn it off’ if you choose without altering the Windows installation. It also enables you to avoid conflicts/.dll conflicts between applications. Alitiris SVS is free for home, non-commercial use.

Have you ever suspected that an application might have an adverse effect on your system or that it might conflict with other installed applications? Or perhaps you would like to have both an older version (or versions) of an application as well as the most recent release. With Altiris SVS you can do this easily and elegantly. Here’s how Altiris SVS works:

  • Before installing the application in question, run Altiris SVS and create a new virtual layer (a layer is the program’s terminology for the virtual ’space’ that the program will exist in). All other virtual layers have to be turned off.
  • Browse to the new application installer from within SVS. Note that you have the option of capturing all the change made to the system by the application or capturing all the changes made to the system even if these were not made by the application you installing.
  • That’s it. The program will now be listed in Altiris SVS’s interface, and can be turned on and off.

Typically, installing a program involves writing some information into the registry, creating a directory in ’program files’, creating some dlls (either inside the installation directory or in a system direcory), creating a start menu folder and possibly creating desktop and/or quick launch icons for the installed app. All of these will occur when you install an application with SVS; however, should you choose to turn the installed virtual program’s layer off — poof — all of these disappear in a flash, and the program literally is gone without a trace. Turn the layer back on and the program reappears instantly. You can have multiple layers/programs switched on at the same time (except, of course, when the programs conflict with each other or when you have multiple versions of the same program that cannot coexist).

Note that virtualization is not restricted to program installations; you can use SVS to create a virtual layer that relates to either specific directories (recursively or not) or specific file extentions. You can then literally switch back and forth between 2 states. I tired this and I must say that I found it a bit hard to wrap my brain around exactly what SVS was doing here; it would retrieve an earlier folder structure of a folder that I virtualized, and ’remove’ the newer files that I put into it. However, it did not seem to ’retrieve’ files that were there that I had deleted.

Given the number of I install every week in order to test and write about in ’Freewaregenius’, this is one of the most exciting programs that I have come across in a long time. What’s remarkable this about this software virtualization concept is just how well it works. I created a handful of ’layers’ and each installation was smooth and problem free. The concept of a virtually installed program is simply brilliant, and Altiris SVS is a wonderful implementation of it. I cannot recommend this program highly enough.

Notes: For installation you need a serial number, which you can obtain for free for personal use. From within the installer, click the ’get it free’ button and you will be redirected to a web page. Follow the instructions and you will be able to download a zip file with your own serial. Also note that you can download many free programs that have been pre-virtualized, click here for more info.

Compatibility: Windows 2000, 2003, XP only.

AND

STabLauncher

SOFTWARE 2008. 9. 3. 02:17

STabLauncher

Stablauncher Screenshot Whole DesktopRating: 55 Star Rating 

Version tested:  1.3

My new favorite launcher!

STabLauncher is a tabbed launcher that resides either on top or bottom of the screen. Mouse over the tabs and they pull down; create as many tabs as you like, in the color(s) of your choice.

I must confess I like this better than Rocketdock,  just because the tabs make a lot of sense in terms of organization.

I do have a wishlist for this program, however:

  1. An option to have the tabs disappear altogether until you mouse over them (similar to Rocketdock)
  2. For some reason I was not able to install this in C:\Program files\sTabLauncher. I encountered errors upon launching (yes I did have administrator priviledges), so I had to install it in C:\sTabLauncher instead. Needless to say this has to be addressed.
  3. More skins; I would prefer less of the cutsey colorful tabs and more metallic/modern looking tabs myself.
  4. I’d also like to be able to change settings for all tabs at once, instead of doing it each tab at a time.

STabLauncher Screenshot Detail

 

http://www.stablauncher.com/skins.htm

AND

Webshare

SOFTWARE 2008. 9. 2. 23:20
AND