Page 1 of 1

Startup script doesn't run anymore after v.14

Posted: 28 Aug 2014 01:31
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.

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

Posted: 28 Aug 2014 01:40
by highend
You mean
coffee.xys
instead of
coffee.sys
, right?

Can't reproduce with latest beta...

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

Posted: 28 Aug 2014 01:52
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

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

Posted: 28 Aug 2014 11:18
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.)

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

Posted: 28 Aug 2014 11:30
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.

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

Posted: 28 Aug 2014 12:00
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!