The ::Desktop; script won't work on the Address Bar.
Please help.
The Goto-Shorthand Failure on Address Bar
The Goto-Shorthand Failure on Address Bar
- Attachments
-
- Short-hand Goto Failure
- XY26.jpg (31.14 KiB) Viewed 835 times
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...)
W7(x64) SP1 German
( +WXP SP3 )
( +WXP SP3 )
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.
- Attachments
-
- Load not required
- XY27.jpg (118.32 KiB) Viewed 823 times
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
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.