Welcome Guest.   Make a donation to an author on the site July 25, 2014, 08:04:57 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the full one-year retrospective report on DonationCoder.com.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 [2]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: NANY 2011 Release: Cautomaton  (Read 18481 times)
worstje
Honorary Member
**
Posts: 555



The Gent with the White Hat

View Profile Give some DonationCredits to this forum member
« Reply #25 on: November 16, 2010, 01:34:25 AM »

And now v0.8.3 is out!

Request for testers

Please give the /i:a, /i:w, and /i:u suboptions special attention. In any combination with any of the other commands. If stuff works as you expect it to, great. If it doesn't, less great, but either way, I want to hear to what extent those options work with non-standard menu items. Especially /i:w gives me cause to worry where Windows XP is concerned!


v0.8.3 (2010-11-16)

    New functionality! The tip of an iceberg yet to crash into your boat...
   
      Added: invocation now honours whether you press Ctrl and/or Shift.
      Added: popup (/p) suboptions, of the format /p:...
          @         Do not show off our trademark hat.
          XXX,YYY   Display at these screencoordinates (has to go last).
        Example: cautomaton.exe /p:@-300,500 myfile.jpg
      Added: invocation (/i) suboptions. The /i on its own is pretty much
        useless as invocation is the default (which /n cancels). A list:
          a     _try_ to do invocation asynchronously.
          w     _try_ to wait till the invocation is done (=synchronous).
          r     if possible, try to count this as a 'recent document'
          u     allow windows ui to popup where needed. This is often used for
                  errors and thus disabled by default, but also needed for
                  the 'delete' verb to popup a window asking for confirmation.
          z     no zone checks (UAC: This file comes from the internet, ok?)
          S/s   Force the Shift key into a pressed (S) or unpressed (s) state.
          C/c   Force the Ctrl key into a pressed (S) or unpressed (s) state.
      Fixed: modal dialogs running in the same thread work now. The 'delete'
        verb uses this, but for example 'properties' does not, so the holy
        grail of UI interaction has not been discovered yet.
      Fixed: the debug (/d) shows a bit more now, and less at the same time.
      Known issue: canceling 'delete' operation gives Cautomaton an unknown
        error code, which it treats as a standard failure that can only be
        recognised when running in debug (/d) mode. Can add a special exit
        code meaning 'delete canceled' if requested. Opinions please?
      Known issue: documentation still sucks.
Logged
cranioscopical
Friend of the Site
Supporting Member
**
Posts: 4,165



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #26 on: November 16, 2010, 07:55:51 AM »

For the quintessentially lazy, it'd be neat to have an option for XXX,YYY that positions the pop-up relative to the console window.  Grin

What should I see from a console in response to, say
Cautomaton /i:a /m "Win&Zip | Add to &Zip file..." readme.txt
versus
Cautomaton /i:w /m "Win&Zip | Add to &Zip file..." readme.txt
« Last Edit: November 16, 2010, 08:43:29 AM by cranioscopical » Logged

Chris
mouser
First Author
Administrator
*****
Posts: 33,182



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #27 on: November 16, 2010, 08:22:17 AM »

ok let me give the new version a test  thumbs up
Logged
worstje
Honorary Member
**
Posts: 555



The Gent with the White Hat

View Profile Give some DonationCredits to this forum member
« Reply #28 on: November 16, 2010, 08:41:17 AM »

For the quintessentially lazy, it'd be neat to have an option for XXX,YYY that positions the pop-up relative to the console window.  Grin

Well, it's a pretty useless feature outside of testing and to boot difficult feature to implement (or so I think). After all, unlike other windows, console windows aren't technically created by me but are provided by Windows because it is a console app, so interacting with them is a pain. You can always leave positioning out and let it position at your mouse cursor - it is what I tend to do.

(Be happy that there's a hat nowadays, and the option to hide said hat - in my pre-v0.8.1 testing days, it'd always pop up this gigantic window that always blocked the console from view. cheesy)

Either way, thank you both for testing. I look forward to hearing thoughts, complaints and experiences. smiley
Logged
cranioscopical
Friend of the Site
Supporting Member
**
Posts: 4,165



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #29 on: November 16, 2010, 08:47:25 AM »

Well, it's a pretty useless feature outside of testing
Fair enough.

Please see #26 above
Logged

Chris
worstje
Honorary Member
**
Posts: 555



The Gent with the White Hat

View Profile Give some DonationCredits to this forum member
« Reply #30 on: November 16, 2010, 10:35:20 AM »

Hopefully, something. Probably nothing. Does that sound as confusing as it is?

I'll paste the documentation and let you decide for yourself... and ironically, while trying to answer your question, I just found two different documents that give rather different descriptions.

Quote from: CMINVOKECOMMANDINFO Structure
CMIC_MASK_ASYNCOK (/i:a)

Wait for the DDE conversation to terminate before returning.

CMIC_MASK_NOASYNC (/i:w)

Windows Vista and later. The implementation of IContextMenu::InvokeCommand should be synchronous, not returning before it is complete. Since this is recommended, calling applications that specify this flag cannot guarantee that this request will be honored if they are not familiar with the implementation of the verb that they are invoking.

Quote from: CMINVOKECOMMANDINFOEX Structure
CMIC_MASK_ASYNCOK (/i:a)

The implementation of IContextMenu::InvokeCommand can spin off a new thread or process to handle the call and does not need to block on completion of the function being invoked. For example, if the verb is "delete" the IContextMenu::InvokeCommand call may return before all of the items have been deleted. Since this is advisory, calling applications that specify this flag cannot guarantee that this request will be honored if they are not familiar with the implementation of the verb that they are invoking.

CMIC_MASK_NOASYNC (/i:w)

Windows Vista and later. The implementation of IContextMenu::InvokeCommand should be synchronous, not returning before it is complete. Since this is recommended, calling applications that specify this flag cannot guarantee that this request will be honored if they are not familiar with the implementation of the verb that they are invoking.

I was using the latter as my reference while developing. So not only does Microsofts own documentation seem unclear and confused on what it means, to add insult to injury the 'wait' variety is Vista+ only and FULLY OPTIONAL. The latter is most likely the reason you see no difference - Winzip probably sees no difference between the two.

Re-reading this, I am half of a mind to include what is atm known as the /i:a option and remove that one completely, leaving just the /i:w variety. The mention of DDE I see now makes me suggest it is ancient history and not so important (DDE pretty much became legacy back in w95).

And in case /i:w does not work as hoped, I intend to add a couple of 'bandaids' to handle specific waiting scenarios. smiley
« Last Edit: November 16, 2010, 10:39:19 AM by worstje » Logged
cranioscopical
Friend of the Site
Supporting Member
**
Posts: 4,165



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #31 on: November 16, 2010, 01:05:00 PM »

Hopefully, something. Probably nothing.
You must be prescient — that answers my next question, viz. 'What happens when I'm required to decide for myself?'
Logged

Chris
worstje
Honorary Member
**
Posts: 555



The Gent with the White Hat

View Profile Give some DonationCredits to this forum member
« Reply #32 on: December 31, 2010, 12:49:18 PM »

Sadly, I need to announce I won't be getting around to making a new release anymore, at least not for as far NANY 2011 deadlines are concerned. I intend to work on it in 2011 though, and take care of the outstanding issues when time becomes available, but between this and JottiQ, the latter just took way more time. Hell, it needs way more polish by nature.

I don't think the lack of a newer release from v0.8.3 will be a problem though, as the one feature that was missing is something mouser already has a solution for. (He was the one to request the app as a coding snack in the first place after all!) So hereby please consider v0.8.3 the official entry for NANY 2011.

.. And yes, JottiQ v1.0.0 will be arriving soon. smiley
Logged
cranioscopical
Friend of the Site
Supporting Member
**
Posts: 4,165



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #33 on: December 31, 2010, 02:57:59 PM »

I won't be getting around to making a new release anymore, at least not for as far NANY 2011 deadlines are concerned. I intend to work on it in 2011 though
It's pretty neat already! I'll be interested in what 2011 brings.
Logged

Chris
Perry Mowbray
N.A.N.Y. Organizer
Moderator
*****
Posts: 1,800



Thoughtful Scribbles

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #34 on: December 31, 2010, 03:22:24 PM »

So hereby please consider v0.8.3 the official entry for NANY 2011.

Thanks!  Thmbsup

Fully polished programmes are always going to be an issue... I think it's wonderful that you've got to this point!
Logged

Deozaan
Charter Member
***
Posts: 6,251



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #35 on: April 29, 2011, 04:46:56 AM »

I just basically copied mouser's example in the video and configured ScreenshotCaptor to upload images to imgur using Cautomaton and RightLoad.

Thanks!
Logged

socrtwo
Supporting Member
**
Posts: 13


The thing that hath been it is that which shall be

View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #36 on: December 12, 2011, 04:40:44 PM »

Is there any hope to fix the issue with the "Previous versions" choice on the context menu? I need it for my Excel recovery project...
Logged
Ath
Supporting Member
**
Posts: 2,182



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #37 on: December 12, 2011, 05:09:46 PM »

Is there any hope to fix the issue with the "Previous versions" choice on the context menu? I need it for my Excel recovery project...
Please elaborate, iow: What are you asking?
Logged

worstje
Honorary Member
**
Posts: 555



The Gent with the White Hat

View Profile Give some DonationCredits to this forum member
« Reply #38 on: February 22, 2012, 10:14:41 PM »

I am covering my head in shame!

I'm so sorry I missed your post dude; I don't know how I managed it exactly but I did. Worst part is... the thing you are asking about is something I had already fixed on my computer months ago, and I was under the full impression I had released it. So I left you out in the rain with no excuses whatsoever. mad

That said, when I saw your post two hours ago I went right to preparing a fresh release v0.9.0. You may not need it anymore, but I will post it for you and others regardless. My sincere apologies are about the only thing I can offer you to go with it. The download link is in the opening post.

v0.9.0 (2012-02-23)

    Not much new. Or so I thought. I prepared a release a long long time ago,
    or it was supposed to be part of 0.8.3 and ended up not being included,
    and in the end I had unreleased features. I've tidied it up a it and am
    now releasing this stuff... if I remember it, that is.
   
      Added: proper support for the 'Properties' and 'Previous Versions' verbs.
      Added: mentions of all new options in v0.8.3 in the /? screen.
      Added: more debug messages, in case of people having troubles.
      Changed: /i:a was removed, and is implied by default.
        It's barely supported (if at all) anyway; same as /i:w which remains
        but is equally unlikely to make a difference. If this breaks stuff
        for anyone, let me know and I will revert the functionality to how it
        was in v0.8.3.
Logged
mouser
First Author
Administrator
*****
Posts: 33,182



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #39 on: February 22, 2012, 10:18:52 PM »

Nice to see an update worstje!  Thmbsup
Logged
Pages: Prev 1 [2]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.05s | Server load: 0.02 ]