Welcome Guest.   Make a donation to an author on the site October 25, 2014, 05:10:33 AM  *

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.
 
The N.A.N.Y. Challenge 2014! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 ... 9 10 11 12 13 [14]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Qatapult  (Read 67181 times)
ecaradec
Honorary Member
**
Posts: 408



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #325 on: May 02, 2012, 02:27:53 PM »

I'm considering changing the way Qatapult handle the display of text items. TEXT items currently draw a text when you call drawItem. I think that this wasn't a very good decision as the current behavior force all skins to consider TEXT as rendering in the icon space.

The change would make drawItem draw a standard icon for TEXT objects, then skins would be free to either render the icon OR to draw only the text of the object at the place, font, margin and text aligment they prefer.

What do you think ?
Logged

Blog & Projects : Blog | Qatapult | SwiffOut | FScript
ewemoa
Honorary Member
**
Posts: 2,480



View Profile Give some DonationCredits to this forum member
« Reply #326 on: May 02, 2012, 05:37:57 PM »

I'm trying to add multiple object selection. It partially works, but I still need to add some extra changes. This is a bit long, because it involves changing the structure of Qatapult a bit, but this is just normal code clean up. It has to happens sometimes.

Sounds promising!  Thanks for keeping us informed  Thmbsup
Logged
ecaradec
Honorary Member
**
Posts: 408



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #327 on: May 02, 2012, 05:44:07 PM »

Ewemoa may be you could answer this too : I've an issue with the 'current selection' proxy. I don't know if it should be considered one object or several. If I handle it as a single object that would mean that it's whole selection can be canceled with one 'esc', if I handle it as multiple objects a large selection could be very painful to cancel.

Do you know how QS handle this ?
Logged

Blog & Projects : Blog | Qatapult | SwiffOut | FScript
ewemoa
Honorary Member
**
Posts: 2,480



View Profile Give some DonationCredits to this forum member
« Reply #328 on: May 02, 2012, 06:22:37 PM »

Although I remember being able to work with multiple objects via the comma trick, I don't remember whether multiple objects could be handled via a current selection proxy.  I guess it's possible that they weren't handled.

Would it help at all if there were a default number of objects to handle and allow this to be configured by the user?
Logged
ewemoa
Honorary Member
**
Posts: 2,480



View Profile Give some DonationCredits to this forum member
« Reply #329 on: May 02, 2012, 07:06:41 PM »

Did some light testing in kupfer.  It appears that in kupfer, there is a notion of currently selected files.

Rereading your post, I'm not sure I understand what you mean by 'esc' canceling the selection.  Do you mean that pressing 'esc' cancels the selection outside of Qatapult in for example Windows Explorer?
Logged
ecaradec
Honorary Member
**
Posts: 408



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #330 on: May 23, 2012, 06:34:27 PM »

Hello, it has been a bit long since the last update, but Qatapult is going on again : I had a neck ache after jumping badly on a trampoline, not that serious but it was painful enough that I couldn't work too much for some time... among others things. Don't worry everything is ok now Wink

I've uploaded a new version that support multi elements arguments. The way it works is that you can CTRL+Enter on a argument, then it'll stack on the current arg. The default File commands 'Open', 'Delete', etc... handle this by running the command on each item, but you can define how you want your action to handle it :
As an example you could use it to create zip commands and things like that that operate on many files in one command. You can try it on File object in the first pane.

A quick way to multiple select files is to drop Files over the Qatapult interface from the file explorer. Qatapult will accept them when it's appropriate.

Rules define which argument can use multi. You can enable any argument to do that by adding a multi attribute to the argument type tag. Once a type is stacked, you can only stack objects of the same sort and only rules that support multi items will show up in the next pane. Here is how to define a rule that enable multi on the first arg :
[copy or print]
<rule>
<arg multi="1">TEXT</arg>
<arg>
<item>
<lbl>Append to file</lbl>
<ico>icons\defaultverb.png</ico>
</item>
</arg>
<script>for(var i=0;i<qatapult.getArgItemCount(0);i++) appendtofile(qatapult.getArgValue(0,i,"text"),"plugins\\commands\\test.txt")</script>
</rule>

I've also added a dialog box that warn you if there is a new Qatapult version available, so you won't need to come back here again and again to check if your version is up to date.
Logged

Blog & Projects : Blog | Qatapult | SwiffOut | FScript
valrus
Participant
*
Posts: 1


View Profile Give some DonationCredits to this forum member
« Reply #331 on: May 24, 2012, 10:46:20 AM »

Just tried to download it. It appears the main download link is broken? (I get "The requested URL /qatapult/bin/currentversion/Qatapult.zip was not found on this server.")
Logged
ecaradec
Honorary Member
**
Posts: 408



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #332 on: May 24, 2012, 04:09:48 PM »

Thanks ! This is fixed.

Nice to see you here.
Logged

Blog & Projects : Blog | Qatapult | SwiffOut | FScript
Pages: Prev 1 ... 9 10 11 12 13 [14]   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.028s | Server load: 0.09 ]