w. Patrick Gale

Design, photography and ramblings

Month: July 2015

Remote Desktop Connection (mstsc.exe) password paste using right-click

The right-click paste option does not seem to work for password field on remote desktop connections.   Only the Ctrl-v option or manual entry of the password seem to work.  The link below is an additional reference to the issue:

https://social.technet.microsoft.com/forums/windows/en-US/e67338f0-b5cb-4f50-829a-bb19f2778835/remote-desktop-connection-mstscexe-password-paste

Creating shortcuts to network drives with virtual machine

I have noticed that one can NOT add a shortcut to a network drive (share drive) within a Windows 7 VMware virtual machine by using anything other than opening two explorer windows and clicking and dragging the mapped drive to the folder where you want the drive shortcut to appear.

Using other methods such as the ‘Create Shortcut’ method by right-clicking on a folder location or using the ‘Add network location’ do not work.  Each time I have tried these methods the window to create the shortcut locks and freezes.

Refresh an iframe element in Qcodo

// refresh scanned files list every 5 seconds

$command = 'setInterval(function() {var iframe = document.getElementById("iframe_id");iframe.src = iframe.src;}, 5000);';

QApplication::ExecuteJavaScript( $command );

Where am I? What hallway is this?

One thing I find lacking in most buildings are hallway names.  For whatever reason facility planners have never gotten around to this in any of the buildings I have ever been in.  However, hallway naming would be extremely useful.  This is especially true in large buildings such as hospitals.  These buildings have a convoluted maze of corridors with room locations that are usually impossible to describe or follow.  Without hallway names, we are causing people to waste countless hours of their lives wandering hallways aimlessly, not knowing if the hallway they are walking is the correct one.

If hallways had names then Google could add building directions to Google Maps.  Your smart phone could navigate you business clients through the maze of your building straight to your office.  “In three steps, take a right on Powhite Hallway, then continue straight for ten steps…”  How great would that be?  And what about postal couriers trying to deliver packages.  How much time do they waste looking for your office?  I’m sure most of you have received at least one phone call from a courier telling you they are lost and can not find your office.

Buildings can also use this as a chance to raise money by offering hallway naming rights to donors.  Okay, maybe you don’t want to go there, but you see what I’m saying.  So fire up the old printer and simply begin by installing your own hallway names and posting them on the walls.  I’m sure you can even find street sign font and backgrounds to give them that familiar look and feel we have from driving streets.

And what about elevators?  Why do they not have room names?  Elevators may only be ‘waiting’ rooms, but you still meet people there like any other room…

Useful SAS queries for newbies

/* get the dataset dictionary (SAS meta data) for your dataset */
PROC SQL;
CREATE TABLE MYLIB.myDataset AS SELECT *
FROM DICTIONARY.TABLES
WHERE UPCASE(LIBNAME)=”MYLIB” AND memname=%upcase(“myDatasetName”);
DATA MYLIB.myDataset;
SET MYLIB.myDataset;
RUN;QUIT;

/* set/update the dataset label name (description) */
DATA MYLIB.myDataset (label=”This is my label description for the dataset”);
SET MYLIB.myDataset;
RUN;QUIT;

© 2017 w. Patrick Gale

Theme by Anders NorenUp ↑

Follow

Follow this website

Get every new post delivered right to your inbox.

Email address