AutoHotkey Community

It is currently May 26th, 2012, 7:30 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 58 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
PostPosted: May 22nd, 2008, 8:33 am 
Offline

Joined: April 28th, 2008, 2:55 pm
Posts: 48
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

Image

Image

Image


Last edited by joebodo on August 17th, 2008, 10:04 pm, edited 15 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 22nd, 2008, 8:49 am 
Offline

Joined: April 28th, 2008, 2:55 pm
Posts: 48
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
   }
}


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 22nd, 2008, 1:13 pm 
Offline

Joined: November 1st, 2007, 10:03 pm
Posts: 885
Awsome program!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 22nd, 2008, 2:45 pm 
can you provide another download link?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 22nd, 2008, 3:09 pm 
Offline

Joined: June 26th, 2006, 6:14 pm
Posts: 1379
Location: USA
we need source

_________________
Image
ʞɔпɟ əɥʇ ʇɐɥʍ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 22nd, 2008, 6:03 pm 
Offline

Joined: April 28th, 2008, 2:55 pm
Posts: 48
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 22nd, 2008, 7:28 pm 
Offline

Joined: December 16th, 2007, 12:55 pm
Posts: 48
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 22nd, 2008, 7:40 pm 
Offline

Joined: April 28th, 2008, 2:55 pm
Posts: 48
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:

Image

^ 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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 22nd, 2008, 8:10 pm 
Offline

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
you tricked me.
RedStone is a free MMO :P
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 :P

_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 22nd, 2008, 8:17 pm 
Offline

Joined: April 28th, 2008, 2:55 pm
Posts: 48
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 23rd, 2008, 2:41 am 
Offline

Joined: April 28th, 2008, 2:55 pm
Posts: 48
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.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: May 23rd, 2008, 6:30 am 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 24th, 2008, 10:35 pm 
Offline

Joined: April 28th, 2008, 2:55 pm
Posts: 48
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 25th, 2008, 10:25 pm 
Offline

Joined: April 28th, 2008, 2:55 pm
Posts: 48
Now with an installer/uninstaller

http://www.mediafire.com/?qz39tbxgjwn


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 29th, 2008, 1:38 am 
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


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 58 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot] and 9 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group