Sign in to follow this  
Followers 0
colafrysen

ALIBI Run

11 posts in this topic

#1 ·  Posted (edited)

Well I have been working on this little application for quite some time now, so I decided to share it with my fellow AutoIt-scripters.

ALIBI Run is a replacement for the windows "run-prompt" (the one you open via the Start-menu or by pressing Win+R)

The application is a combined, App-runner, Calculator and information console.

This is my first major project i have ever worked on, and the development have been going on for quite some time. The fact that i've been working with this script so long has some flaws, the major thing is that the code is dirty, and at times not very efficient (due to my lack of knowledge at the time). but I am glad as long as it is functional :)

Posted Image

The features of the app is (copied from the official forum, go there to see the post with images) Link outdated i now use this forum

Ability to easily find information such as;

  • IP-addresses, both internal and external.
  • Gather all the computernames in your LAN.
  • Browse other computers in LAN easy.
  • Ability to copy the IP-addresses of the LAN-computers for use in other applications like VNC.
  • Create your own list of shortcuts!
  • This function allows you to create your own list of often used items
  • when you enter for example "Paint" the program reads from your custom
  • created list and opens "mspaint" instead. this can also be used for
  • other programs, like once again... VNC. This is done with the Prefs application supplied in the installation package:
Posted Image

This means that if you enter VNC in the prompt, it executes the path corresponding to that index.

you can use a lot of commands right in the inputbox to gather information.

some of them are;

  • IP - Shows your IP-address
  • IP2 - Shows IP for a second network adapter
  • IP3 - Shows IP for a third network adapter
  • IP4 - Shows IP for a fourth network adapter
  • IPE - Shows your outgoing (external) IP-address
  • IPR - Renews your ip (good if you have an IP conflict or other network issues)
  • Name - Shows your computername
  • calc: - Make calculations, you can use some included functions such as;

    • - The normal operators +,-,*,/ and ^
    • - sqrt(#)- Takes the squereroot of a number
    • - Sin(#)& aSin(#) - Sine and ArcSine
    • - Cos(#)& aCos(#) - Cosine and ArcCosine
    • - Tan(#)& aTan(#) - Tangent and ArcTangent
    • - PI - 3.14159265358979
    • - NA - Avogadros constant - 6.022142*10^23
    • - u - Unified atomic mass unit - 1.660539*10^-27
  • Google: - Google a string.
  • CMD: - Run a command in a command prompt.
  • Web: - Use google's i'm feeling lucky function.
  • Do you want to run a command without exiting the app? Just press Ctrl when clicking OK/pressing Enter
  • You can drag the window by grabbig the text above the inputbox

For Example:

What's the volume of a sphere with the diameter 8cm?

"Calc:(4/3)*pi*(8/2)^3"

And you can always copy the information you get by pressing Ctrl+Shift+C

For Example:

To create a connection to another computer you do;

  • Scroll down to Menu-item "Workgroup Computers"
  • Select the computer to which you want to establish a connection
  • Press Ctrl+Shift+C to copy the remote computers IP to clipboard
  • Type VNC in the "open"-input
  • Press OK, open VNC, paste your address and your done!

Note! ALIBI Run does not replace the normal Run, so you have to assign a shortcut-key to run it

if you create a desktop-shortcut with a shourcut-key (like Ctrl+Shift+R, this is automatically done by the installer) to start the application, it does not consume any CPU & Memory in the background. as it is started by windows itself.

Thanks to

MrCreatoR - Function "_Execute_Proc()" from his _FileRun UDF

sandin - The Sliding ChildGUI Functions (They are scattered throughout the script), originally taken from his pop-up window from a button

amel27? (i have seen this on many places on the forums) - For the "_NetServerEnum" Function, and the corresponding constants.

If any of you mentioned above do not want your code to be used in this app, please tell.

SETUP INSTALL INSTRUCTIONS

  • Download this file
  • Unzipp and run the file
  • Follow the on-screen instructions
  • At the end, when prompted to create shortcuts select "Create desktop icon" if you want to be able to use the shortcut Ctrl+Alt+R

Again, the code is VERY DIRTY, but I am cleaning it up gradually.

.AU3's

run.au3

Prefs.au3

.EXE's

run.exe

Prefs.exe

previous downloads ≈ 70

Download the Setup Here (The site is in swedish but the ALIBI parts are in English)

Edited by colafrysen

[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]

Share this post


Link to post
Share on other sites



Does anyone have some input, suggestions, bugs, issues, rants? or just a little comment :)


[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]

Share this post


Link to post
Share on other sites

Do an if test before setting data, as this will stop flickering.

Is there a non graphics related reason it is so slow? It takes a couple of seconds to respond to clicking a button.

Other wise, seems to work well, dirty though!

MDiesel

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Do an if test before setting data, as this will stop flickering.

I don't understand what data you are talking about. could you specify?

Is there a non graphics related reason it is so slow? It takes a couple of seconds to respond to clicking a button.

This might be solved by turning "use animations" off (from the preferences menu)

Note though that I found a bug that made the OK button trigger the fade-out even if the animations was off. I will fix that later on.

Other wise, seems to work well, dirty though!

Thanks, and yes... i hesitated to show you guys the code, its unsexy :) Edited by colafrysen

[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]

Share this post


Link to post
Share on other sites

Type IP into the box, you should see your nice lil label popup saying xxx.xxx.xxx.xxx, it will flicker if you leave it. Also, I turned graphics off, and it was still fairly slow.

MDiesel

Share this post


Link to post
Share on other sites

Updated to version 4.0.2 with some bugfixes (thanks to MDiesel for reporting)

4.0.2 Fixed IpE - now shows external IP after update

4.0.2 Disabled Childguisettrans to improve loopspeed

4.0.2 Fixed issue where labels flickered, by putting an "If $OldInp <> $Input" Func in script

4.0.1 Fixed issue where the fadeout was triggered (OK-button) even when animations=0

Updated first post


[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

Much better! :)

have you seen yashieds btw? check that out too.

MDiesel

I just looked at it, and i have to say it looks great. and I like the autocomplete. to bad i cant use it myself (due to the 10 spaces prefixing some lines in the combo, does anyone have a better tabbing solution?)

Then, our scripts do not have the same approach, yashieds is for running files (and it does it really good) and mine is for running files (Which is a little slower), and supply easy access to information.

I don't know how to solve the issue with the speed, it goes through a lot of procedures when the OK is pressed, thus slow reaction, cant really make it faster without loosing functionality.

And, i noticed. there are probably as many names for this Run-thingy as there are users on these forums :idea::party:

Edited by colafrysen

[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]

Share this post


Link to post
Share on other sites

ALIBI Run 4.0.4 released

Updates:

Bug fixes (Cleaned script a bit, so it runs a tiny bit smoother)

Also, commented a lot of the script. (for easier cleaning later on)

Added the folders My documents, My computer, My network places and Control Panel to main menu

Not really a big update, but whatever...

Updated first post


[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

ALIBI Run 4.0.5 Released!

Changelog:

4.0.5 Added in application help

4.0.5 Fixed a bug with an trailing 0 after Show Workgroup()Computers after changes had been made.

4.0.5 Fixed a bug where the window faded twice when "open preferences editor" was selected.

4.0.5 Added Web: to open link in googles i'm feeling lucky(Same syntax as calc and google)

4.0.5 Made the Dos-prompt look like i want it to :)

4.0.5 Added run in CMD (Same syntax as calc and google)

4.0.5 Added Google-search by writing Google:[searchstring]

4.0.5 Added new functionality; if Ctrl is held down when OK or Enter is pressed, ALIBI Run does not close.

Updated main post

As always, comments, bugs etc. are always welcome :party:

Edited by colafrysen

[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

ALIBI Run 4.1.0 Released!

4.1.0 Commented out includes that are not used (I at least hope so, post a reply if i commented out any that was crucial)

4.1.0 Added setting to have last entered text default at startup

4.1.0 No restart required when changed the topmost setting

4.0.8 Rewrote the custom list functions.

4.0.7 Fixed a bug where the last two items in the custom list appeared as one

4.0.6 Declared copyitem to avoid crash when nothing has been written in the prompt

As always, comments, bugs and suggestions etc. are always welcome.

Enjoy :D

Updated first post

Edited by colafrysen

[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]

Share this post


Link to post
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
Sign in to follow this  
Followers 0