ASyncWB tooltypes

A forum for general AmigaOS 4.x support questions that are not platform-specific

ASyncWB tooltypes

Postby Raziel » Sun Aug 05, 2018 8:37 pm

There is unfortunately no info on the wiki and on the documentation, so can anyone tell me what the NOHISTORY switch does?

And maybe add some info on all the other tooltypes?

Thanks
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 815
Joined: Sat Jun 18, 2011 5:00 pm
Location: A haunted Castle somewhere in the Bavarian Mountains

Re: ASyncWB tooltypes

Postby xenic » Mon Aug 06, 2018 3:36 pm

Raziel wrote:There is unfortunately no info on the wiki and on the documentation, so can anyone tell me what the NOHISTORY switch does?

I can't even find any ASyncWB docs in my old OS3.5/OS3.9 CDs. However, if you examine ASyncWB in a HEX editor or reader, you should find the text: "ENVARC:Sys/AsyncWB.history". Unless that TOOLTYPE has been disabled, I would guess that you would find that file present if you disable the NOHISTORY tooltype in the ASyncWB icon.
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
 
Posts: 1146
Joined: Sun Jun 19, 2011 1:06 am

Re: ASyncWB tooltypes

Postby Raziel » Mon Aug 06, 2018 5:39 pm

xenic wrote:
Raziel wrote:There is unfortunately no info on the wiki and on the documentation, so can anyone tell me what the NOHISTORY switch does?

I can't even find any ASyncWB docs in my old OS3.5/OS3.9 CDs. However, if you examine ASyncWB in a HEX editor or reader, you should find the text: "ENVARC:Sys/AsyncWB.history". Unless that TOOLTYPE has been disabled, I would guess that you would find that file present if you disable the NOHISTORY tooltype in the ASyncWB icon.

Thanks, xenic, will check out what exactly this history file stores...
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 815
Joined: Sat Jun 18, 2011 5:00 pm
Location: A haunted Castle somewhere in the Bavarian Mountains

Re: ASyncWB tooltypes

Postby broadblues » Tue Aug 07, 2018 3:07 am

NOHISTORY switches off the Execute Command history.

If it's not set the Menu->Workbench->Execute Command ... requester has a history than can be "browsed" through using the up and down arrow keys.
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 538
Joined: Sat Jun 18, 2011 3:40 am
Location: Portsmouth, UK

Re: ASyncWB tooltypes

Postby Raziel » Tue Aug 07, 2018 6:58 am

broadblues wrote:NOHISTORY switches off the Execute Command history.

If it's not set the Menu->Workbench->Execute Command ... requester has a history than can be "browsed" through using the up and down arrow keys.

Ah, thank you
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 815
Joined: Sat Jun 18, 2011 5:00 pm
Location: A haunted Castle somewhere in the Bavarian Mountains

Re: ASyncWB tooltypes

Postby xenic » Wed Aug 08, 2018 2:47 pm

broadblues wrote:NOHISTORY switches off the Execute Command history.

It seems strange that the icon of a drag & drop file copying commodity would control a completely unrelated Workbench menu for starting programs; especially since ASyncWB wasn't even added to the OS until OS3.5. Testing indicates it's true and demonstrates that the "Execute" history is flawed. If you select the Workbench "Execute command..." menu the resulting requester shows the previous command but if you select a new command with the file requester gadget, it is tacked on to the end of the prevous command and fails if you select the execute button. I think the newly selected command should replace the previous command instead of adding the new command to the previous command and creating a command that just causes an error.
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
 
Posts: 1146
Joined: Sun Jun 19, 2011 1:06 am

Re: ASyncWB tooltypes

Postby broadblues » Wed Aug 08, 2018 9:57 pm

It seems strange that the icon of a drag & drop file copying commodity would control a completely unrelated Workbench menu for starting programs; especially since ASyncWB wasn't even added to the OS until OS3.5.


The history feature does not exist independently of AsyncWB (that I'm aware of ).

Testing indicates it's true and demonstrates that the "Execute" history is flawed. If you select the Workbench "Execute command..." menu the resulting requester shows the previous command but if you select a new command with the file requester gadget, it is tacked on to the end of the prevous command and fails if you select the execute button. I think the newly selected command should replace the previous command instead of adding the new command to the previous command and creating a command that just causes an error.


That's because the user perforiming the testing is not taking inot account the way that the Execute Command popup works. Each time you use it adds to the command line being created, it doesn't replace it (whether or not ASyncWB is in force) and so enables you to build an entire command line with both comand and arguments.
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 538
Joined: Sat Jun 18, 2011 3:40 am
Location: Portsmouth, UK

Re: ASyncWB tooltypes

Postby nbache » Thu Aug 09, 2018 2:59 pm

xenic wrote:
broadblues wrote:NOHISTORY switches off the Execute Command history.
It seems strange that the icon of a drag & drop file copying commodity would control a completely unrelated Workbench menu for starting programs
ASyncWB i far more than "a drag & drop file copying commodity". It's a WB patch with several enhancements, including the optional history discussed here.

Best regards,

Niels
User avatar
nbache
Beta Tester
Beta Tester
 
Posts: 1276
Joined: Mon Dec 20, 2010 8:25 pm
Location: Copenhagen, Denmark

Re: ASyncWB tooltypes

Postby xenic » Thu Aug 09, 2018 3:59 pm

broadblues wrote:That's because the user perforiming the testing is not taking inot account the way that the Execute Command popup works. Each time you use it adds to the command line being created, it doesn't replace it (whether or not ASyncWB is in force) and so enables you to build an entire command line with both comand and arguments.

Actually I think the user is pointing out that the "Execute Command" file requester button doesn't work the same way that it does in every other Amiga program. However, I get you point about using it to create a command line with file arguments.
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
 
Posts: 1146
Joined: Sun Jun 19, 2011 1:06 am

Re: ASyncWB tooltypes

Postby xenic » Thu Aug 09, 2018 4:07 pm

nbache wrote:ASyncWB i far more than "a drag & drop file copying commodity". It's a WB patch with several enhancements, including the optional history discussed here.

Now I see the connection between ASyncWB and the history. ASyncWB is also patching the Workbench "Execute Command..." popup window and replacing it with a different popup window. If you open Exchange and remove ASyncWB, the window that opens when you select the "Execute Command..." menu item is completely different; just a string gadget with no file requester button.
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
 
Posts: 1146
Joined: Sun Jun 19, 2011 1:06 am


Return to General AmigaOS

Who is online

Users browsing this forum: No registered users and 5 guests