# Feature Request: ogscript.getCurrentMachine()

**URL:** <https://rossvideo.community/t/feature-request-ogscript-getcurrentmachine/8826>\
**Category:** Automation & Control\
**Created:** [January 28, 2024, 12:43am UTC](https://rossvideo.community/t/feature-request-ogscript-getcurrentmachine/8826 "2024-01-28T00:43:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![landongaus](https://rossvideo.community/letter_avatar_proxy/v4/letter/l/a87d85/32.png) [@landongaus](https://rossvideo.community/u/landongaus)\
**Post date:** [January 28, 2024, 12:43am UTC](https://rossvideo.community/t/feature-request-ogscript-getcurrentmachine/8826/1 "2024-01-28T00:43:00Z")

</div>

Hi there,

The ogScript documentation cites a function called “getCurrentUser” which is supposed to retrieve either the machine name or the user login name depending or not on whether the User Rights Management Server is found. We don’t have such a system present in our environment, but on a Windows PC running DashBoard this function seems to return the username of the logged-in Windows user account, which is definitely a handy thing to have…

In our environment, it would be pretty helpful if there was an accompanying function called “getCurrentMachine” that would be able to retrieve the machine hostname. I do see a “getApplicationPath” function as well as a “getBuild” function which return the DashBoard program directory and version, respectively. I feel like a “getCurrentMachine” function would be in the same category as these other existing functions.

Thanks for your consideration,

---

<div class="post-metadata">

**Author:** ![auryrukazana](https://rossvideo.community/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@auryrukazana](https://rossvideo.community/u/auryrukazana)\
**Post date:** [January 30, 2024, 9:55pm UTC](https://rossvideo.community/t/feature-request-ogscript-getcurrentmachine/8826/2 "2024-01-30T21:55:00Z")

</div>

Hi Landon,

Thank you for sharing your feature request. Your suggestion has been forwarded to our product management team for consideration.

Cheers,  
Aury R.
