Hey,I'm looking for a better way to get all process IDs of all opened
windows from a user then using this Applescript: osascript -e 'tell
application "System Events" to get unix id of every application process
whose visible is true and name is not "F...
Hello jamfnation, I have a question. I try to rename some user accounts
to match the company pattern. We want to do this process as smooth as
possible for the user and admins. Therefore I've written a script which
checks values and asks the user seve...
Hey guys, I just set up patchoo on a test system and got it working.
Caching, prompting and installing is working fine. But when the prompt
comes up it just displays the hard coded text messages. Not the
description or the package filename. However i...
Hello, I have an expect script which I copied from user "ktappe" and I
want to integrate the $4-$11 variables so I don't have to change the
script every time I need to change the password. This example doesn't
work. :-( #!/usr/bin/expect -f set newpa...
Hey Guys, I am trying to get the serial number of our thunderbolt docks
with ioreg or system_profiler to have an extension attribute for the
docks in Casper. So far I got this $ system_profiler
SPThunderboltDataType Thunderbolt: Thunderbolt Bus: Vend...
Thanks. Yeah I know. But I'm talking about this part of the
script:LOCKED_SCREEN_STATE=$(/bin/launchctl asuser "$LOGGED_IN_UID" sudo
-iu "$LOGGED_IN_USER" /usr/bin/python -c 'import sys,Quartz;
d=Quartz.CGSessionCopyCurrentDictionary(); print d' | gr...
Can anyone from Jamf explain to me, why this new approach is better?I
was really happy to have everything in one place. Now I have the account
page for the products and I need to login to another page to open a
support ticket. Also this other page se...
@franton just noticed that in your comment your in front of the code
you're still talking about osascript, which I guess you were using
before. Good thing for me, that was the keyword how I found it So
sometimes forgetting something can be a benefi...
After hours of not getting a correct PPPC profile and still getting the
**bleep** pop up, I found another solution for this problem:@franton
together with @talkingmoose found a nice way to not use osascript to get
(almost) the same result. Almost, as...