Hello,
I have the "Avengers Skin" and the Widget "Time-24Hour.ini".
MeterFolder7]
meter=button
buttonimage=folder launchers.png
x=511
y=238
ButtonCommand=!Execute ["#FLP7#"]
antialias=1
With FLP7, I wear the path of a program that I would like to open. This also works.
How do I open an Excel file?
It is currently April 28th, 2024, 2:59 am
Open Excel file
-
- Posts: 5
- Joined: April 7th, 2017, 12:08 pm
-
- Moderator
- Posts: 1387
- Joined: April 11th, 2013, 8:08 pm
- Location: Italy
Re: Open Excel file
I hope to have understood your question...
To open an Excel file, you need Microsoft Excel or OpenOffice (to give you an alternative), once you've one of these programs installed, simply use the program shortcut in the launcher path.
You can also use directly the Excel file and add this path in the launcher, in this case, Windows will do his job, to open it with the registered program to open the file.
To open an Excel file, you need Microsoft Excel or OpenOffice (to give you an alternative), once you've one of these programs installed, simply use the program shortcut in the launcher path.
You can also use directly the Excel file and add this path in the launcher, in this case, Windows will do his job, to open it with the registered program to open the file.
-
- Posts: 5
- Joined: April 7th, 2017, 12:08 pm
Re: Open Excel file
Yes, you understood me correctly. Excel I have installed.
ButtonCommand=!Execute ["C:\Users\bla-bla\Documents\bla\bla-bla\Indizes Übersichtsliste.xlsx"]
With this string it does not open it.
ButtonCommand=!Execute ["C:\Users\bla-bla\Documents\bla\bla-bla\Indizes Übersichtsliste.xlsx"]
With this string it does not open it.
-
- Moderator
- Posts: 1387
- Joined: April 11th, 2013, 8:08 pm
- Location: Italy
Re: Open Excel file
Probably it's because you're using a file in the Documents folder, I can assure you that it works.
Just out of curiosity, what version of the "Avengers S.H.I.E.L.D." suite you're using?
Just out of curiosity, what version of the "Avengers S.H.I.E.L.D." suite you're using?
-
- Posts: 919
- Joined: January 30th, 2017, 2:01 am
- Location: Greece
Re: Open Excel file
Maybe delete the !Execute and make it ButtonCommand=["C:\Users\bla-bla\Documents\bla\bla-bla\Indizes Übersichtsliste.xlsx"]trader-hawk wrote:Yes, you understood me correctly. Excel I have installed.
ButtonCommand=!Execute ["C:\Users\bla-bla\Documents\bla\bla-bla\Indizes Übersichtsliste.xlsx"]
With this string it does not open it.
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Open Excel file
You are going to want to be sure the .xlx file extension is associated with Excel in Windows. You also don't need !Execute even though it won't really hurt.
https://docs.rainmeter.net/manual/bangs/#Execute
https://docs.rainmeter.net/manual/bangs/#Execute
-
- Posts: 5
- Joined: April 7th, 2017, 12:08 pm
Re: Open Excel file
I have "Shielt-Complete 1.0". I use it but not as a skin, but only have this widget in use.
Also without "Execute" it does not work.
Also without "Execute" it does not work.
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Open Excel file
!Execute is simply not a factor. It is entirely deprecated in Rainmeter, and has been for several years.trader-hawk wrote:I have "Shielt-Complete 1.0". I use it but not as a skin, but only have this widget in use.
Also without "Execute" it does not work.
https://docs.rainmeter.net/manual/bangs/#Deprecated
https://docs.rainmeter.net/history/#r1377
So while often older (pre-2012) skins will have !Execute in them, i.e.
LeftMouseUpAction=!Execute ["Blah.exe"]
That can and should be replaced by simply
LeftMouseUpAction=["Blah.exe"]
Nothing to worry about particularly, it will work either way, but as you see them in older skins you are working on, and certainly when creating new skins, you should not use !Execute.
-
- Posts: 5
- Joined: April 7th, 2017, 12:08 pm
Re: Open Excel file
In order to exclude other errors I have it saved directly to C.
ButtonCommand=["C:\Indizes_Übersichtsliste.xlsx"]
Does not work too.
ButtonCommand=["C:\Indizes_Übersichtsliste.xlsx"]
Does not work too.
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Open Excel file
Modern versions of Windows are not at all happy about having "files" in the root of the system drive, only "folders". But in any case, just for fun, can you try that without the umlaut Ü character just be be sure we don't have some Unicode or Locale issue?trader-hawk wrote:In order to exclude other errors I have it saved directly to C.
ButtonCommand=["C:\Indizes_Übersichtsliste.xlsx"]
Does not work too.