The ::Desktop; script won't work on the Address Bar.
Please help.
The Goto-Shorthand Failure on Address Bar
-
armsys
- Posts: 557
- Joined: 10 Mar 2012 12:40
- Location: Hong Kong
The Goto-Shorthand Failure on Address Bar
To see the attached files, you need to log into the forum.
-
PeterH
- Posts: 2830
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: The Goto-Shorthand Failure on Address Bar
Try
::load "Desktop";
("load" is a command, "Desktop" is not - so the error msg.)
(Assuming that Desktop *is* a script...)
::load "Desktop";
("load" is a command, "Desktop" is not - so the error msg.)
(Assuming that Desktop *is* a script...)
-
armsys
- Posts: 557
- Joined: 10 Mar 2012 12:40
- Location: Hong Kong
Re: The Goto-Shorthand Failure on Address Bar
Hi PeterH,
The Desktop in my last post is the Window Desktop you stare at daily, not an xys script file.
But the Bible states the support of shorthand requiring neither LOAD nor GOTO.PeterH wrote:::load "Desktop";
The Desktop in my last post is the Window Desktop you stare at daily, not an xys script file.
To see the attached files, you need to log into the forum.
-
highend
- Posts: 14994
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: The Goto-Shorthand Failure on Address Bar
There is no failure...
The correct syntax is
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!
The correct syntax is
Code: Select all
::goto "Desktop";One of my scripts helped you out? Please donate via Paypal
-
armsys
- Posts: 557
- Joined: 10 Mar 2012 12:40
- Location: Hong Kong
Re: The Goto-Shorthand Failure on Address Bar
Hi Highend,
In my address bar case, it isn't a caption at all.
Thank you for pointing my oversight.

You're correct. The help file specifically expresses that the shorthand works for the caption.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!
In my address bar case, it isn't a caption at all.
Thank you for pointing my oversight.
XYplorer Beta Club