Skip to main content

Using a MACBOOK - basic commands

 After a pause of around 10 years, I am now using a MAC again!!

If like me you initially find using a mac a bit perplexing, below are some functions I found helpful

shift-command-4  take a screenshot

(FYI if you are using snagit and experiencing difficulties pulling a screenshot into word, you can save the snagit file as a photo using dropdown arrow in the top right next to 'share link' and then pull it into word from insert photo)

command B / command Z / command S - set font to bold / undo last action / save - similar to ctrl- on windows

control-down arrow when clicked when you have file explorer open for example, shows how many similar windows you have open enabling you to close them

shift-enter carriage return
note for carriage return in excel use option-enter

option-command-M minimise all windows

ctrl-click right of touch pad - right click (also right click using 2 fingers on right of touchpad does same thing) > use this to filter out from list view in ServiceNow

launchpad view installed apps

browser/url command-click opens link in new tab



Popular posts from this blog

URL link in addInfoMessage

var ga=new GlideAjax('gld_HR_ajax'); ga.addParam('sysparm_name', 'checkEmployeeNumber_hrProfile'); ga.addParam('sysparm_hrprofilenumber', g_form.getValue('number')); ga.addParam('sysparm_employeenumber', newValue); ga.getXMLAnswer(function(answer) { if (answer!='undefined' && answer!=''){ var navURL="<a style='text-decoration:underline;color:blue'" + answer + ">" + answer + "</a><img width='3' src='images/s.gif'/>"; var sMsg='The employee number entered already exists on another HR Profile ' + navURL; //alert(sMsg); g_form.showErrorBox('employee_number', 'error - please check'); g_form.addInfoMessage(sMsg); } });

GlideRecord setValue

setValue(String name, Object value) Sets the specified field to the specified value. Normally a script would do a direct assignment, for example,  gr.category = value . However, if in a script the element name is a variable, then  gr.setValue(elementName, value)  can be used. When setting a value, ensure the data type of the field matches the data type of the value you enter. This method cannot be used on journal fields. If the value parameter is null, the record is not updated, and an error is not thrown!/api_doc?v=madrid&id=r_GlideRecord-setValue_String_Object