Page 1 of 1

The Goto-Shorthand Failure on Address Bar

Posted: 11 Nov 2015 01:27
by armsys
The ::Desktop; script won't work on the Address Bar.
Please help.

Re: The Goto-Shorthand Failure on Address Bar

Posted: 11 Nov 2015 01:39
by PeterH
Try
::load "Desktop"; :?:

("load" is a command, "Desktop" is not - so the error msg.)
(Assuming that Desktop *is* a script...)

Re: The Goto-Shorthand Failure on Address Bar

Posted: 11 Nov 2015 06:40
by armsys
Hi PeterH,
PeterH wrote:::load "Desktop"; :?:
But the Bible states the support of shorthand requiring neither LOAD nor GOTO.
The Desktop in my last post is the Window Desktop you stare at daily, not an xys script file.

Re: The Goto-Shorthand Failure on Address Bar

Posted: 11 Nov 2015 08:50
by highend
There is no failure...

The correct syntax is

Code: Select all

::goto "Desktop";
If you read the description in the help file a bit more thoroughly you should notice that this is only valid for multi-script resources... (first line after the caption). Your "Desktop;" is NOT a multi-script resource!

Re: The Goto-Shorthand Failure on Address Bar

Posted: 11 Nov 2015 08:56
by armsys
Hi Highend,
highend wrote:If you read the description in the help file a bit more thoroughly you should notice that this is only valid for multi-script resources... (first line after the caption). Your "Desktop;" is NOT a multi-script resource!
You're correct. The help file specifically expresses that the shorthand works for the caption.
In my address bar case, it isn't a caption at all.
Thank you for pointing my oversight. :appl: :cup: