Page 2 of 4

Re: Hamburger - the new tool

Posted: 05 Jan 2019 18:40
by Filehero
Hi,

I need to resurrect this.

Shouldn't

Code: Select all

popupnested("::Hi;echo 'hi'|::Ho Ha;echo 'ho'");
and

Code: Select all

  $param = <<<MENU
            ::Hi;echo 'hi'
            ::Ho Ha;echo 'ho'
  MENU;
  popupnested($param);
be equivalent and therefore show exactly the same label text?

Re: Hamburger - the new tool

Posted: 05 Jan 2019 19:39
by admin
You mean the ::? Yes, looks like I have some work there...

Re: Hamburger - the new tool

Posted: 05 Jan 2019 20:00
by Filehero
admin wrote: 05 Jan 2019 19:39You mean the ::?
Yep.

May I add a wish to support custom icons for scripts? I have a lot of scripts where a custom icon is much more indicative than the default script play icon.

Re: Hamburger - the new tool

Posted: 05 Jan 2019 23:36
by highend
May I add a wish to support custom icons for scripts
Where?

Re: Hamburger - the new tool

Posted: 06 Jan 2019 16:14
by Filehero
highend wrote: 05 Jan 2019 23:36Where?
In the menu popupnested descriptor, like for the 'normal" data option 'Caption;Data;Icon;State'.

Code: Select all

  $param = <<<MENU
            ::Hi;echo 'hi';<xy>
            ::Ho Ha;echo 'ho';<xy>
  MENU;
  popupnested($param);

Re: Hamburger - the new tool

Posted: 06 Jan 2019 17:13
by admin
Can you give an example?

Re: Hamburger - the new tool

Posted: 06 Jan 2019 17:31
by Filehero
admin wrote: 06 Jan 2019 17:13 Can you give an example?
See previous post where I try to reference XYplorer.exe as the icon resource.

Actually I want to define the following descriptor

Code: Select all

Caption;Script;Icon;(State);
. Maybe the script block could be terminated with another '::' (or something like that)?

Re: Hamburger - the new tool

Posted: 06 Jan 2019 17:54
by admin
This is a major wish, and I'm not even sure if it's a good idea. :) Actually I think it's good that a script always clearly looks like script, and cannot hide behind some other icon...

Re: Hamburger - the new tool

Posted: 07 Jan 2019 08:07
by Filehero
Hi Don,

ok, thanks for consideration.
admin wrote: 06 Jan 2019 17:54 This is a major wish, and I'm not even sure if it's a good idea. :) Actually I think it's good that a script always clearly looks like script, and cannot hide behind some other icon...

Re: Hamburger - the new tool

Posted: 07 Jan 2019 08:59
by admin
You probably know that: In the Catalog you can assign icons to scripts.

Re: Hamburger - the new tool

Posted: 07 Jan 2019 10:05
by Filehero
admin wrote: 07 Jan 2019 08:59 You probably know that: In the Catalog you can assign icons to scripts.
Yes. :wink:

Re: Hamburger - the new tool

Posted: 08 Jan 2019 21:58
by Filehero
admin wrote: 06 Jan 2019 17:54 Actually I think it's good that a script always clearly looks like script, and cannot hide behind some other icon...
What's the internal id of the script icon ("play button")? I was looking for something like ":script" ...

Re: Hamburger - the new tool

Posted: 08 Jan 2019 22:39
by highend

Code: Select all

text toolbar(, , 1);
doesn't list this one so either it has no internal name or only Don knows it :mrgreen:

Re: Hamburger - the new tool

Posted: 08 Jan 2019 23:21
by Filehero
highend wrote: 08 Jan 2019 22:39 ..... or only Don knows it :mrgreen:
:whistle: :whistle: :whistle:

Re: Hamburger - the new tool

Posted: 09 Jan 2019 15:51
by admin
Yes, it's ":script".