Startup script doesn't run anymore after v.14

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
sfwood
Posts: 125
Joined: 10 Jan 2012 21:07

Startup script doesn't run anymore after v.14

Post by sfwood »

On its own, this is silly and a non-issue. I mention it ONLY in case it reveals some underlying issue that might actually matter.

When I first got XY years ago I was entertained by the coffee feature to the point that I made an external script called coffee.xys coffee.sys which contains:
makecoffee;

And set the XY icon to target:
"C:\Program Files (x86)\XYplorer\XYplorer.exe" /script=coffee

Since upgrading to XY v.14 this script appears to no longer run properly at startup (though can still be loaded and run from inside XY). My guess is the script does run but the file list is now updated somehow that makes the coffee go away immediately, or some other simple explanation. Anyway, just mentioning it in case it tells you something useful.
Last edited by sfwood on 28 Aug 2014 03:16, edited 2 times in total.

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Startup script doesn't run anymore after v.14

Post by highend »

You mean
coffee.xys
instead of
coffee.sys
, right?

Can't reproduce with latest beta...
One of my scripts helped you out? Please donate via Paypal

sfwood
Posts: 125
Joined: 10 Jan 2012 21:07

Re: Startup script doesn't run anymore after v.14

Post by sfwood »

highend wrote:You mean
coffee.xys
instead of
coffee.sys
, right?

Can't reproduce with latest beta...
Yes, it's "xys". Typo in post; I'll try to edit. Just tried w/ v14.40.0003. Still no coffee :-O

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Startup script doesn't run anymore after v.14

Post by PeterH »

To test: change script to

Code: Select all

   Echo 'MakeCoffee script starting...';
   makecoffee;
(Don't forget space character(s) left on each line.)

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Startup script doesn't run anymore after v.14

Post by bdeshi »

You can also try:

Code: Select all

focus L;makecoffee;
BTW with just makecoffee;, coffee is served on start, but for whatever reason it flickers out instantly.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Startup script doesn't run anymore after v.14

Post by PeterH »

A timing problem?

For me:
- with Echo it works as expected,
- with Echo commented I don't see anything happen. No coffee, no flicker :shock:

Edit: with wait 100; added before makecoffee it works correct!

Post Reply