Browsing this Thread:
1 Anonymous Users
|
Re: Default Icon Action
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
Quote:
Hopefully you are able to enjoy it Absolutely, this are going to be the default tooltyp for def_projecticons... if one wish to have icons that override this behaviour, it is as simple as make an icon->info on the project itself, remove the default-tool to proper one and save then you got a local copy. Then automagically you got an info just for that file that works exactly as one needed (yet another feature that differs to the better from Amiga) So thanks yet again... I think this is needed... everybody want's it, they just don't know's it yet //Edit btw: one improvement... but not necessary if a special key shift|ctrl|amiga|none key could be passed along with for example a {k} param that would be nice as well Reason one could have a run default action when no special key is selected but when special key IS selected a ReqChoice menu could be executed allowing for selecting what tool to use...
Posted on: 2014/3/1 18:21
|
|||
|
||||
|
Re: Default Icon Action
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
Quote:
So! here is the sashimi output great ! ![]() thank you very much for that. I really wanted to see that with my own eyes (as it showed this on my setup as well ).Quote: with my examplescrip (runWith.bat" It works on a one file click allowing me to edit or run the script (or cancel the action), on multiselect itt allow me to push files onto the editor - but run the last script if I wish to... Ofcourse, you did all the hard work with the scripts. Quote: So! good work... time for a real release? Yups, if no other issues pop-up. It now works for both original 1.5.2 and icaros 1.5.2 WiP5 (and exactly the same, so no recompilation needed). I'll make no other changes, other then stripping the v006 alpha 2 executable that you tested and rename it into v006 beta. So if you want you can keep that alpha version (and strip yourself: strip name_of_executable --strip-uneeded). I will fix some typos in the documentation, package it and upload it to the archives. I have taken a look at the key-thing. I have an unanswered question about keyboard.device. I think i need it to be able to read the status of the keys. So unfortunately that is on hold for the moment. If you (or anyone else for that matter) want other features then let me know. Now that the base is working.... ![]() thank you very much for all your testing and feedback azvareth :thumbsup:. i could not have finished it properly without it. Hopefully you are able to enjoy it ![]() Quote: ooops: bugs... See bold written text ;-p
Posted on: 2014/3/1 18:13
|
|||
|
||||
|
Re: Default Icon Action
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
with my examplescrip (runWith.bat" It works on a one file click allowing me to edit or run the script (or cancel the action), on multiselect itt allow me to push files onto the editor - but run the last script if I wish to...
So! good work... time for a real release? ooops: bugs... but this is textbug... in wbXcli readme example: WBXCLI=lua:lua "%F"
Posted on: 2014/3/1 18:00
|
|||
|
||||
|
Re: Default Icon Action
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
Ok!
Fast and quik answer of one testrun... IO-put from wbXcli seems to be ok! the paths is correct. So! here is the sashimi output Quote:
Posted on: 2014/3/1 17:51
|
|||
|
||||
|
Re: Default Icon Action
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
Could you try this executable azvareth ?
I would be oblidged if you could also show debug-output, but if it works then that isn't a priority. Please lemme at least know if it works for you or not. File only contains the alpha2 executable, just rename it to wbXcli and replace your current (installed) one. :fingers crossed: red: file removed, because of a new version, see here.
Posted on: 2014/3/1 15:33
Edited by magorium on 2014/5/18 17:10:59
|
|||
|
||||
|
Re: Default Icon Action
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
Quote:
Could you test if lock works as it should... it simply doesn't Quote: I think but I may be wrong, that I read a lock must be done when CD is in the dir where lock is supposed to take place where do you think the currentdir() function is for ? ![]() The problem is, it does this for the lock. But that lock is wrong to begin with, ergo it changes to the wrong directory. Quote: thinking like this: if CD is sub dir and a lock is attempted on parent dir... the lock gets nil and name get full dir.. according to RKRM: Quote:
Despite the fact that AmigaMail (dospackets) state that the name _may_ contain a path-part, the quote is clear. Thereby, i am not allowed to look into the lock structure myself. It seems the solution iconX uses works. very strange. i need to add some stuff, and shall zip up a new executable and post it.
Posted on: 2014/3/1 14:37
|
|||
|
||||
|
Re: Default Icon Action
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
Could you test if lock works as it should...
I think but I may be wrong, that I read a lock must be done when CD is in the dir where lock is supposed to take place thinking like this: if CD is sub dir and a lock is attempted on parent dir... the lock gets nil and name get full dir.. IF CD is parent dir then lock perhaps work, the wa_lock becomes perhaps correct and name has no pathpart... guessing, still not reading any API's...
Posted on: 2014/3/1 13:22
|
|||
|
||||
|
Re: Default Icon Action
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
ah, yes azvareth.
the problem is as follows: - WBArgs are pushed to me. - Each WbArg has a wa_lock and a wa_name - wa_lock _should_ contain the directoy where wa_name lives (but proofed to be not). - wa_name contains the name-part of the file. It _looks_ like when the lock is wrong in wa_lock field then the wa_name contains the _full_ path to the file (ergo including directory). Now the 'problem' with a simple check: if wa_name contains a path is that i have no way of knowing if the wa_name is indeed actually a file. It could also be a directory, or a volume, or a kickstart or otherwise. Ofcourse, some of that is solvable in a jiffy (somewhat pseudo):
begin
But that code is ugly as hell, even more when all checks are implemented. So i am trying to find a (more elegant) solution that can give me the proper lock, of the actual directory that the file resides in. There is also a solution given in the RKRM (or mail-archives, not sure), which does a open and getting the real filename from the fileinfoblock using examine(). That's even more uglier :/ So i am investigating OS functionality that can give a bit of a hand in a more proper way. But that means a lot of testing ![]() Just so that you know, it works perfectly over here, including skipping all files/icons that are not a project-icon (as i already implemented a solution). And i have no idea why it seems to fail on regular 1.5.2.
Posted on: 2014/3/1 12:04
|
|||
|
||||
|
Re: Default Icon Action
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
I am not sure exactly how stuff works or the names as I currently is not viewing any API refs, but assume that WB lock to first icon... Then passing all other icons as args.
VERY PSEUDO:
FLIST: ARRAY;
That means, first fix all paths, check if they exists... if so then continue to process paths with icon files... if no iconfile exists try default icon. NOTE this is a very rough PSEUDO...
Posted on: 2014/3/1 11:35
|
|||
|
||||
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.








