How to enable Full Screen mode in Powershell ISE 4.0 - powershell

I did search on web but did not find a good solution.
Here, full screen means that the title bar is hidden.
If you use cygwin in Windows, this is the mode when you press ALT+F11.

The typical Alt+F11 (or Shift+Alt+Enter as used in VS) full screen mode is not supported by PowerShell ISE. Feel free to suggest this on the Microsoft Connect site. If you do, post the URL back here. I'll vote on it.

Related

What is the best way of going about making a windows desktop overlay app?

I want to make a Desktop overlay application that is always on top of the desktop for windows. Like Wallpaper engine or Rainmeter for example . I want to go for minimal resource use. I have tried using WPF .Net but i got the limitation of not being able to bypass the show desktop shortcut (WINDOWS+D). I need something that will not be minimized when this shortcut gets used.
I'm willing to look into any coding language or framework. I just need a little push down the right path!
Thank you in advance

Script that removes the OneDrive icon from the Windows10 taskbar

This is my first post so I would like to say hello.
I need to disable the display of the icon from OneDrive, but so that the application still works only the icon was not on the taskbar.
In short, I need the OneDrive icon to disappear from this place:
I thought that the best solution would be to write a script in PowerShell that will be included when logging in, unfortunately I have no idea how to approach it.

Fetch the current track info from Spotify app after March 2015 update

I want to pull out the current track information from Spotify windows client using autohotkey.
Although this question Hotkey for next song in Spotify solved some of the problems (the media playback issues) in the commonly used ahk script (can be found in this question: Newest Spotify update: Autohotkeys script broke and below), the track info shortcut still does not work.
^Down::
{
DetectHiddenWindows, On
SetTitleMatchMode 2
WinGetTitle, now_playing, ahk_class SpotifyMainWindow
;StringTrimLeft, playing, now_playing, 10
DetectHiddenWindows, Off
clipboard = %playing%`r`n
return
}
This will give me "Spotify free" no matter what song I am playing.
The main problem is that the tray icon and the task bar icon stopped showing the currently played song information after this update. Only text Windows spy can find from the task bar icon is now "Spotify Free".
So, I tried to get all controllist and extract texts in each of them by following the example in this question: How to obtain textual contents from a window
But, I could only find two controls ("Chrome_WidgetWin_01" and "Chrome_RenderWidgetHostHWND1") and Window spy can find text "Chrome Legacy Window" and this is all it finds.
Is there a way to dig into this further? I noticed in the Windows Task Manager there are 3 spotify.exe instances. Would looking into other processes help?
PS
AHK Window Info 1.7 (http://www.autohotkey.com/board/topic/8204-ahk-window-info-17/) is not available for download at moment. so i could only use Ahk Window Spy 1.3.3 by Decarlo.
Oh, I found the code for AHK Window Info pasted as spoiler at http://www.autohotkey.com/board/topic/8204-ahk-window-info-17/page-6
But it did not help. information found was not more than Ahk Window Spy.
(edit)
UISpy from microsoft gives me a bit more info but it's not possible to get texts in Spotify client. And, I realized that it's a good thing in terms of security (otherwise malware can read my email password etc). So, unless Spotify client wants to expose this information, it would be hard or not possible to do this by ahk. Is this correct or any cleaver way around in this particular case?
EDIT: This solution is no longer needed. The song artist and title have been added back to the Window Title.
The best solution is to downgrade Spotify to a 0.9 version from FileHorse. Then do the following:
Go to C:\Users\YOURUSERNAME\Appdata\Roaming\Spotify
Make a new empy text file
Name it Spotify_new.exe
Right click the file and make the file read-only
Copy this file and name the new one Spotify_new.exe.sig
Spotify needs to delete these files to do an automatic upgrade. The read-only flag on both of these files will prevent upgrading from happening.
I haven't had any issues running an old version at this point in time.

IE11 F12 Developer Tools on Windows 7 functionality missing/not working?

I was using IE10 on Windows 7 but it is such a buggy piece of you-know-what (hanging, crashing, etc.) that I gave up and installed IE11. It has not hung or crashed since installing. But I hate the F12 developer tools! Okay, not completely - there are some very cool new features. What I don't like is that they seem to have dropped several features that I really liked! Unless I'm just missing something... I've searched and searched on Google and Microsoft but all of the help I've found only describes the new features. Here is what I'm missing: Color picker, Ruler, and most of all, the Clear browser cache for this domain. They allege to have a Clear browser cache function, but it doesn't work! So when I make changes to my website, in particular changing graphics, the only way I can see the change is to delete all my temporary files from IE. Then I lose all of my cookies e.g. for automatically logging in to Stack Overflow! IE version 11.0.9600.16428 on Windows 7 Ultimate 64-bit.
The color picker is still available, go to the DOM Explorer tab and there is an eye dropper on the tool bar at the top towards the left. That activates the color picker.
For the issue of serving cached files try toggling on "Always refresh from server" on the network tool (3rd option from the left). This should get you the latest changes from your server.

Script to simulate Guest Mode

This is my first question here so, sorry if I break any rule I didn't know yet or don't follow any good practice. But, let's go.
I have a Windows 7 laptop and, usually, colleagues ask me to use it to google something, use Word or something else. I'd like to have a secure area for guests (like what Guest Mode was going to be, until it was removed from Windows 7 final version), enabling guests to browse, do what they want and, during the logoff, undo any changes made and wipe guest user data. As I'm former linux user, my first thought was something like a script called by Cron or on the Init appropriate level.
After googling a bit, I've found information about logon and logoff scripts. I know nearly nothing about scripting in MS platform. Do you think that this approach would be a good solution to my problem? If it is, in which language would I have to write this script? If possible, please provide some simple examples. After getting the basic concepts I can handle the rest.
Thanks a lot!
I am hoping this can answer your question, even though it will not include batch scripting.
Here is a guest account on windows 7:
(source: sevenforums.com)
Open the Control Panel (All Items View).
Click on the User Accounts icon.
Click on the Manage another account link. (See screenshot below)
(source: sevenforums.com)
If prompted by UAC, then click on Yes.
Click on the listed Guest account. (See screenshot below)
(source: sevenforums.com)
Click on the Turn On button. (See screenshot below)
(source: sevenforums.com)
The guest account is now turned on. Close the User Accounts window. (See screenshot below)
(source: sevenforums.com)
A script to delete things is:
rd c:\directory1\ /s /q
md c:\directory1
rd c:\directory2\ /s /q
md c:\directory2
ect.
so...
rd "Insert filepath you want removed here" /s /q
md "Same filepath"
For each directory your want removed, you must have a rd and md.
Save this into your "startup" folder so it will run each time you log-in.