topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday November 21, 2025, 9:33 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 50 51 52 53 54 [55] 56 57 58 59 60 ... 113next
1351
I only have one screen, but at least in that situation it appears to work in the latest:

[Feature] New option to position FARR window centered on current monitor when triggered.
1353
Find And Run Robot / Re: Latest FARR Release v2.107.04 beta - Sep 23, 2012
« Last post by ewemoa on April 01, 2012, 06:27 PM »
Thanks for the update :)

Made a screenshot to aid in enabling / disabling the centering on current monitor behavior:

farr-disable-center-on-current-monitor.png.png
1354
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 29, 2012, 07:12 PM »
The comma trick seems good to me. I had a look to integrate that this WE. This is really a core change and there is well over 50 places where I must fix things, so I will really need some quiet time to plug that. I don't know what could make it better,

I don't know about the aesthetics of it, but the following display idea came up:

1. Press comma
2. Current pane extends vertically (like a stack?)

Just a random thought :)



I think that allowing Qatapult to be a drop target might be nice so that we could drop files directly from the explorer into Qatapult. I would certainly use that.

Same here!  Drop target would be great.  Also being able to drag from Qatapult would be nice too -- quickly find something with Qatapult for use elsewhere (until there's a plugin :) ).



One thing that I've wanted in FARR is the ability to drop items on to an individual result.  I have FARR configured to use "Blank search shows files from launch history..." -- and I've wanted to use that as a kind of dock to drop items on to, but last I checked, this doesn't work.  So certainly would be nice to have this in Qatapult!



As a status update, I'm doing two things right now :
- fix memory leaks (I unplugged my memory leak finder to find a bug and left it unplugged. Leaks are not easier to find in larger quantities ;) )
- implementing a paste using the new DynaWrapper code. I have working clipboard code for text already. I'm also discovering that this is not a very easy environnement to develop into, but may be it will be easier as I write more wrappers.

Wishing you luck in these matters...



By the way, what do you think of the idea of a command history like in command line shells?  IIRC, in bash and other *nix shells, Control-P / Control-N is used for previous command / next command.

If there were hooks for a plugin to register to execute code upon certain key sequences as well as a chance to operate on command content before Qatapult executes the command, I'd be interested in writing a plugin for command history :)
1355
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 29, 2012, 05:44 PM »
Just thinking that one of the common uses for setInput would be when you zip a file, or do something else with a file to reopen Qatapult with the ouput file focused.

Thanks for the example situation.

Along the lines of zipping / archiving, do you have any UI ideas how one might approach multiple files / folders being selected for zipping / archiving?  In QS, there was the "comma trick", but I'm wondering whether there might be better alternatives...
1356
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 29, 2012, 05:40 PM »
No problem at all.  Please rename appropriately.
1357
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 25, 2012, 05:47 PM »
messagebox or msgbox would be a better name, I'd rather have simplified functions than the direct windows API as it will be easier for everyone.

I appreciate not having to think about appending A or W :)

For notifications, I think we should really offer some flexibility, might be we need a notify function that can have several behavior based on a settings so that the result can be handled by Qatapult, Growl or Windows, or something else.

That sounds like a good idea.

I'm wondering if what you want to place on the first pane is a typed result or just a text.

Initially I just thought text, but my brain is starting to wonder.  If any relevant-seeming ideas come up, I hope to pass them on.

Ah...I guess your latest version may have related functionality already :)

Thanks for the new version -- hope to try it soon!
1358
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 25, 2012, 05:43 PM »
It's possible to specify a bonus field to your results to boost it's score : addObject(type, {bonus:100}); A negative bonus would also works but I'm not sure if that's a good or bad idea.

Thanks for this tip!  It seems to work well here :)

As far as negative bonuses go -- IIUC a similar thing may be done in FARR with useful results.
1359
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 25, 2012, 06:32 AM »
I'm thinking about how to display results of a plugin's execution.  Below are some ideas:

One simple way at the moment is using a dialog box via <script> in plugin.xml, require('lib/files.js'); and a function that calls DW.MessageBoxA(null, "Content", "Title", 0);  (As a side note, may be it's worth having MessageBoxW too?)

Perhaps some kind of balloon tip as well?  I'm not sure how much work that might be yet.

For execution results one might want to operate on again (e.g. calculation results, conversion results, transformed URLs, etc.) placing such text in the first pane (pane 0) seems appropriate -- is there a nice way to do that (apart from the AHK hack tested eariler)?
1360
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 25, 2012, 05:57 AM »
It's nice how "Reload" (the command, not the image) now comes up here as the first result for "re" :)

Is there any way to tweak the scores of the objects added via plugins?  This would likely improve the usefulness of the OpenWith plugin -- at the moment, the objects added for that appear pretty close to the bottom of the results list and consequently I make repeated use of the PgDn key.

FWIW, I looked at:

  http://emmanuelcaradec.com/qatapult/?p=developers

but didn't see anything that looked relevant.
1361
General Software Discussion / Re: Screenshot Captor........Another issue
« Last post by ewemoa on March 24, 2012, 09:23 PM »
App idea -- quizzes using material from options in mouser's apps...

Err, sorry, move along :)
1362
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 23, 2012, 10:33 PM »
If you want to add new functions don't forget to get debugview up and running.

Seems to work well with:

Code: Javascript [Select]
  1. // trace (always useful, get debugview to view the result )
  2. trace(string str);

I can now replace use of text files for recording debugging info via FileSystemObject:

Code: Javascript [Select]
  1. outf.WriteLine("some message");

with:

Code: Javascript [Select]
  1. qatapult.trace("some message");

Thanks a lot for this -- extremely helpful!
1363
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 23, 2012, 04:41 AM »
A side note...

If you want to add new functions don't forget to get debugview up and running. It makes things easier, and don't forget you're going native so expects crashes as you fine tune your parameters.

I use DebugView, but also JrDebugLogger :)
1364
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 22, 2012, 10:31 PM »
It has been long but native calls seems to work, at least in the cases I tried.

Woohoo!

And the Qatapult website has a new developer section with rudimentary documentation and an enhanced look : http://emmanuelcaradec.com/qatapult/

 :Thmbsup:

Hope to delve in soon :)
1365
I have also thought that a tool like this for post-installation configuration would be nice.

When I looked into configuring various options I was interested in, I did not always succeed in determining methods for configuration that didn't involve trying to "automate" pointing device movements and clicking to interface with various dialog boxen.  I didn't feel that was a very robust method so I didn't pursue it further.

I'm looking forward to something being suggested in this thread that already handles this type of situation well -- or if that doesn't happen, perhaps some kind of extendable tool being developed.

On a side note, for the case of Windows Explorer, Windows 7's version was what finally drove me away to consider an alternative application -- one which I can tweak the settings for and easily backup / restore.  I'm currently testing Double Commander, CubicExplorer, and FreeCommander XE for this purpose.
1366
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 17, 2012, 07:54 PM »
Thanks for testing and the feedback :)

I'm not sure about what you're trying to accomplish, but listing the items in you catalog can be accomplished by adding a extra rule that list objects from your collect source. It could be a rule like : List Notes,LINENOTE. This is the method I would favor as you can customise the icon etc...

I'm feeling dense -- would you mind elaborating on what you mean by expressing it via a sample plugin.xml fragment?



I think there is something that is missing here, it should be possible to return multityped objects or something, because you can't really reuse LINENOTE objects as TEXT because they won't be recognized by rules as such... If you have some thoughts about that let me know.

I'm not sure I understand well, but may be the following code fragment is related:

To add to results currently:

Code: Javascript [Select]
  1. results.addObject('FILE', path, {'key': path, 'text': path, 'path': path});

it looks like only one type is specified.  May be there is some benefit in being able to specify multiple types for an object in this kind of context (perhaps with some way of a default being specified)?
1367
Screenshot Captor / Re: Some help needed with ScreenShotCaptor
« Last post by ewemoa on March 17, 2012, 01:58 AM »
Thanks for providing these details :up:
1368
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 16, 2012, 09:58 PM »
Not sure how to use DynaCall / DynaWrap in JScript for functions requiring pointers...e.g. ReadFile:

Code: C [Select]
  1. BOOL WINAPI ReadFile(
  2.   __in         HANDLE hFile,
  3.   __out        LPVOID lpBuffer,
  4.   __in         DWORD nNumberOfBytesToRead,
  5.   __out_opt    LPDWORD lpNumberOfBytesRead,
  6.   __inout_opt  LPOVERLAPPED lpOverlapped
  7. );

The more recent DynaWrap version mentioned earlier had the following:

FormatMessage (dwMessageId)                                          
GetBSTRAddr (String)                                                  
GetLastError ()                                                      
GetMemInBSTRAddr (dwBSTRAddr, dwOffset, nDataType)                    
GetRegistered ()                                                      
GetVariantAddr (Var)                                                  
Register (DllName, Win32Api, [TypeOfCall], [ReturnDT], [InputDT])    
SetMemInBSTRAddr (dwBSTRAddr, dwOffset, nDataType, Data)              
Version

I didn't think trying GetBSTRAddr would work, but I tried it anyway -- sadly without success.

Any ideas?
1369
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 16, 2012, 07:01 PM »
DynaWrap worked for a simple case :)

Here is a rough summary of a test:

0. Download dynawrapNT.zip and extract the dynawrap.dll file (MD5: ca218f1aa4bf60d5deacebe0f55a2f95).

1. As admin, run cmd.exe and in the directory containing dynawrap.dll execute:

RegSvr32.exe dynawrap.dll

2. In a .js file of some Qatapult plugin, appropriately add something like:

Code: Javascript [Select]
  1. // :)
  2.   var dw;
  3.   dw = new ActiveXObject("DynamicWrapper");
  4.   dw.Register("User32.dll", "MessageBoxA", "f=s", "i=hssu", "r=l");
  5.   dw.MessageBoxA(null, "Here is a test", "So?", 0);

3. Execute plugin functionality that calls the code added above.

4. Observe a message box.

Tested with Windows 7 Pro 64-bit and Windows XP Pro SP3.



The following was helpful:

  How to use DynamicWrapper?



Attached the dynawrap zip file for the time being.

MD5: a27c9c53fb22379463b6f2e3cb812d45
1370
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 16, 2012, 06:38 PM »
However I've also found this activex component that might be easier to integrate as it already provide the activescripting binding :

http://www.borncity....aar1/WSHDynaCall.htm

There appears to be a more recent modified version:

  http://glsft.free.fr...;id=47&Itemid=33

I suspect you will have a much easier time understanding the article than me :)
1371
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 16, 2012, 06:27 PM »
Thanks for the clarification.



Below is a short sample expanding on your example -- it uses the script capability via plugin.xml.

All it does is allows one to take one-line notes via "Add Line Note", and view them via the linenote catalog item.  (BTW, is there a way to specify the name that gets used for the catalog item apart from renaming the plugin directory?)

MD5: 8f82449b43a6d27ba63c2c9a09691d7d

Tested on Windows 7 Pro 64-bit.
1372
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 16, 2012, 05:42 PM »
Thanks for the leads.  I hope to take a look soon.



I also came across ADODB.Stream, but didn't determine whether it's usable without extra installation.  I didn't try it, but found the following concerning byte-access:

  Read

Then there's access to characters:

  ReadText

It looks like at least one of these was used by:

  http://www.codeproje...-Files-Using-JScript



DynaCall looks promising!  Is it correct that using RegSvr32.exe is required to get it working?
1373
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 14, 2012, 08:35 PM »
- I added support for creating commands in script. Add *.command.js files under the plugin folder, all the methods defined there are loaded into Qatapult and you can call them from the rules using the tag <script>. Define your rule like this :
        <rule>
            <arg>TEXT</arg>
<arg>
<item>
<lbl>Append to file</lbl>
<ico>icons\defaultverb.png</ico>
</item>
</arg>
            <script>appendtofile(qatapult.getArgValue(0,"text"),"plugins\\commands\\test.txt")</script>
</rule>

I got part-way through a plugin for calculating MD5 checksums only to find that FileSystemObject doesn't appear to support working with binary files...
1374
Living Room / Re: Download appears malicious - Google Chrome
« Last post by ewemoa on March 12, 2012, 05:40 PM »
IIUC, more recent AHK things are compressed with mpress, whereas before compression of such things was much more often done using upx.  My current impression is that the triggering (if any) of recent AHK things (i.e. using mpress) is much less frequent.

If someone knows otherwise, perhaps they can chime in :)
1375
Ecaradec's Software / Re: Qatapult
« Last post by ewemoa on March 11, 2012, 05:24 AM »
Wow -- seems like lots of new goodies :)

Just a quick note...

- You can now use page up and page down to navigate the results

Thanks for this!  Working here so far with Windows 7 Pro 64-bit and XP Pro SP3.
Pages: prev1 ... 50 51 52 53 54 [55] 56 57 58 59 60 ... 113next