AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Redstone - Application Launcher
Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
joebodo



Joined: 28 Apr 2008
Posts: 46

PostPosted: Thu May 22, 2008 8:33 am    Post subject: Redstone - Application Launcher Reply with quote

Functions
* Launch applications by typing in part of the name
* Type in URLs or a web search phrase
* View active processes (task and process views)
* History of launched applications
* Imports Skype contacts and Firefox bookmarks
* Integrated Google Desktop search
* RSS feed import (such as Google Docs Active Items)

Features
* Configurable hotkeys
* Configurable buttons
* True Plug-in support (Autohotkey scripts or executables)

Download (Installer)
http://www.mediafire.com/?dndxcxr1hxb

SVN for new beta version
svn://autohotkey.net/joebodo/repos/redstone
http://www.autohotkey.net/~joebodo/repos/redstone/

Source for current version
http://www.mediafire.com/?sharekey=d4f4291718a0ba60d2db6fb9a8902bda

Tutorial (Thanks JoeSchmoe for putting this together)
http://www.autohotkey.net/~JoeSchmoe/rstut/rstut.html







Last edited by joebodo on Sun Aug 17, 2008 10:04 pm; edited 15 times in total
Back to top
View user's profile Send private message
joebodo



Joined: 28 Apr 2008
Posts: 46

PostPosted: Thu May 22, 2008 8:49 am    Post subject: Reply with quote

Sample Plugins (included in the download)

Code:

; Install files into plugins/helloworld
; Restart RedStone
; type: *hello world

#include CR_PluginClient.ahk

helloWorld_Initialize() {

   CommandRegister("Hello World", "helloWorld_Command")
}

helloWorld_Command(A_Command, A_Args) {

   MsgBox,Hello World
}


Miro Plugin (Mozilla Media Application)

Code:
#include CR_PluginClient.ahk

miro_Initialize() {

   CommandRegister("Miro Command", "miro_Command")
}

miro_Command(A_Command, A_Args) {

   entry := syslist_Get("Windows", "/filter:name=Miro")
   if (entry <> "") {
      wid := getValue(entry, "wid")
      WinGet, pid, PID, ahk_id %wid%
      WinActivate, ahk_pid %pid%
      SetKeyDelay, 0, 25
      
      command := getValue(A_Args, "args")

      if (command = "Play") {
         ControlSend,MozillaWindowClass1,^{Space},ahk_id %wid%
      } else if (command = "Pause") {
         ControlSend,MozillaWindowClass1,^{Space},ahk_id %wid%
      } else if (command = "Stop") {
         ControlSend,MozillaWindowClass1,^D,ahk_id %wid%
      } else if (command = "Next") {
         ControlSend,MozillaWindowClass1,^{Right},ahk_id %wid%
      } else if (command = "Rewind") {
         ControlSend,MozillaWindowClass1,^{Left},ahk_id %wid%
      } else if (command = "Forward") {
         ControlSend,MozillaWindowClass1,{Right},ahk_id %wid%
      } else if (command = "Back") {
         ControlSend,MozillaWindowClass1,{Left},ahk_id %wid%
      } else if (command = "Fullscreen") {
         ControlSend,MozillaWindowClass1,!{Enter},ahk_id %wid%
      }

      WinActivate, RedStone
   }
}
Back to top
View user's profile Send private message
Fry



Joined: 01 Nov 2007
Posts: 609

PostPosted: Thu May 22, 2008 1:13 pm    Post subject: Reply with quote

Awsome program!
_________________
check out my site
www.eliteknifesquad.com
Back to top
View user's profile Send private message
_adam
Guest





PostPosted: Thu May 22, 2008 2:45 pm    Post subject: Reply with quote

can you provide another download link?
Back to top
ahklerner



Joined: 26 Jun 2006
Posts: 1205
Location: USA

PostPosted: Thu May 22, 2008 3:09 pm    Post subject: Reply with quote

we need source
_________________
Back to top
View user's profile Send private message
joebodo



Joined: 28 Apr 2008
Posts: 46

PostPosted: Thu May 22, 2008 6:03 pm    Post subject: Reply with quote

In the download, I included the source for several of the plugins. The source is located in the plugins subdirectory. Here is a description of each of the plugins:

GDS
This plugin shows how to perform a dynamic search using Google Desktop. The user types in /gds {search term}. The GDS plugin executes the search, parses the returned XML, and displays the results in the listview.

HelloWorld
Simple plugin test

Miro
Creates custom commands that allow the user to control the Miro media player.

System
A custom scanner that indexes the systems drives and resources.

Volume
Creates a slider on the main UI that allows the user to adjust the volume using the mouse wheel.

If requested, I can post the code for any specific component (nearly everything is a plugin and can be customized). I don't want to post the entire source right now as I want to keep control over the core functionality.
Back to top
View user's profile Send private message
pokercurious



Joined: 16 Dec 2007
Posts: 38

PostPosted: Thu May 22, 2008 7:28 pm    Post subject: Reply with quote

This looks really promising, but I get really funky behavior right now.

I keep randomly getting a big heading that says "Errors".

Upon startup it tells me that it's "Unable to locate the Skype configuration file"

The hello world pluging doesn't work: "*hello world" tells me that its an invalid command - the ahk file is in the folder as per the comments in the plugin.

MButton and Escape don't hide the GUI.

I will second ahklerner's request for source - you seem to have done some very cool things that lots of people can learn from. Perhaps you can consider some of the open-source licensing alternatives that are out there.
Back to top
View user's profile Send private message
joebodo



Joined: 28 Apr 2008
Posts: 46

PostPosted: Thu May 22, 2008 7:40 pm    Post subject: Reply with quote

To get rid of the Skype error, go to Configuration->plugins (click on the > button). Disable the Skype plugin by right clicking on it and hitting disable.

There are several display modes for the UI. The toggle is right next to the > button:



^ is always on top
V is auto-hide
blank is normal (will not autohide)

The hello world plugin is disabled by default. Go to configuration->plugins and right-click on the plugin to enable it.
Back to top
View user's profile Send private message
tidbit



Joined: 10 Mar 2008
Posts: 90

PostPosted: Thu May 22, 2008 8:10 pm    Post subject: Reply with quote

you tricked me.
RedStone is a free MMO Razz
but good app.

you might want to make an easy way to close it. like put an X button in a corner.
unless I'm blind, I didn't see any Razz
_________________
rawr. be very affraid
Back to top
View user's profile Send private message
joebodo



Joined: 28 Apr 2008
Posts: 46

PostPosted: Thu May 22, 2008 8:17 pm    Post subject: Reply with quote

Thanks for the feedback. I uploaded a new version that contains the following:

Skype plugin is initially disabled
Hello World plugin is initially enabled
Autohide mode is default

The way that I completely exit the program is by right-clicking on the tray icon and hitting exit.
Back to top
View user's profile Send private message
joebodo



Joined: 28 Apr 2008
Posts: 46

PostPosted: Fri May 23, 2008 2:41 am    Post subject: Reply with quote

Helpful tips on writing plugins

Logging
Add this section to the redstone.ini file:
[Logging]
Debug=1
Fail=1
List=1
Pass=1
State=0
Plugin=1

A Redstone.log file will be written to in the installation directory. Review the logA method in the CR_Util.ahk to get a better understanding of the logging mechanism.

Metadata
Right click on the ">" button to get a list of all the metadata used in the system. If make any changes to the metadata, the changes will be reflected immediately. The exception is types and handlers - if you make changes to either of these two, you must restart the application. If you enabled debug logging, you will have additional options for editing the metadata (by right clicking on the item).

Code and Lists
It is easier to develop directly in the installation directory. Make your changes to the lists in this directory. Only extract your list changes to your plugin directory after you have finalized your plugin (I'll try and add an easier way to develop plugins outside of the install directory soon).

If you place your code in the installation directory, each time you save your file, the application and plugins will be reloaded automatically (as long as you have debug logging enabled).

Redstone code
If you need access to any of the core code, let me know which plugin you need and I will post it. At this time, I do not want to distribute the entire source as it is being actively developed. Any changes that you make to the core code, I will review and incorporate back into the main source.
Back to top
View user's profile Send private message
TheOtherWoods
Guest





PostPosted: Fri May 23, 2008 6:30 am    Post subject: Redstone Redstone Redstone Reply with quote

This is the single greatest utility I've seen in my whole F-Bombing life. Finally a utility that I can use to get things done.

Rather powerful, thin, and oh so nimble.


well done JoeBodo.
well done.
Back to top
joebodo



Joined: 28 Apr 2008
Posts: 46

PostPosted: Sat May 24, 2008 10:35 pm    Post subject: Reply with quote

To use a search engine other than google, add your query to the redstone.ini file. Example:

[Search]
URL=http://www.google.com/search?q=%s

To enable firefox bookmark scanning, edit the redstone.ini and add the location of your bookmarks file. Example:

[Firefox]
BookmarksFile=C:\firefox\profile\bookmarks.html
Back to top
View user's profile Send private message
joebodo



Joined: 28 Apr 2008
Posts: 46

PostPosted: Sun May 25, 2008 10:25 pm    Post subject: Reply with quote

Now with an installer/uninstaller

http://www.mediafire.com/?qz39tbxgjwn
Back to top
View user's profile Send private message
Guest12345
Guest





PostPosted: Thu May 29, 2008 1:38 am    Post subject: Reply with quote

I am creating a plugin for Swept Away by Adam Pash.
http://lifehacker.com/software/downloads/lifehacker-code-swept-away-windows-255055.php

I have most of the functionality completed but do not know how to add items to the tray menu. Here's the code from Swept Away:

Code:

TRAYMENU:
Menu,TRAY,NoStandard
Menu,TRAY,DeleteAll
Menu,TRAY,Add,&Preferences,PREFS
...


Is it possible to add items to the tray menu?

Thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group