Some time ago I had to create a script to execute on startup, do its job and reboot the computer if needed, but how do you prevent going in to rebooting loop? Luckily after a bit of wondering around I managed to find a solution – the system_profiler command! It gives the opportunity to track the hardware state and if there is any change it can be used to trigger a script execution. If finderMess2 = “You’re up-to-date!” then Set finderMess2 to the value of static text 1 of window 1 of application process “Finder” of application “System Events” If finderMess1 = “XtraFinder Beta has expired!” thenĬlick button “OK” of window 1 of application process “Finder” of application “System Events” Set finderMess1 to the value of static text 1 of window 1 of application process “Finder” of application “System Events” If exists ( window 1 of process “Finder”) then If XfinderMess = “System Integrity Protection is enabled.” thenĬlick button “OK” of window 1 of application process “XtraFinder” of application “System Events” Set XfinderMess to the value of static text 1 of window 1 of application process “XtraFinder” of application “System Events” If exists ( window 1 of process “XtraFinder”) then Tell application “XtraFinder” to activate The script app has to be in your log in items and will/should work fine even after you upgrade to the latest version of XtraFinder, currently 0.25.9 /which by the way fixes the nag messages, until the time for the next update probably, which if not on time will probably start the receiving of the expire message again. The tutorial is for XtraFinder version 0.25 where mine was 0.25.8 and though the assembler instructions and the function looked the same I think that matters.Īs I am not an assembler guru I went back to the good old applescript to make a few clicks on behalf of a human □ Please check the script below and change it if you need to. Well unfortunately I found only one good and interesting blog post on the subject involving Hopper Disassembler, but that did not worked for me, whatever I tried I did not manage to produce an executable file which will actually work. As what was suggested in the official support page did not work I went to see what is available online, Google is your friend, right!? □ I was recently asked to help with the annoying XtraFinder’s message “ XtraFinder Beta has expired!” and make it disappear without user input.
0 Comments
Leave a Reply. |