Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Bypass Startup Script


Recommended Posts

what if you try at the beginning of the startupscript


if[get(activemodifierkeys)=#your combination#]

end script

end if



Link to comment
Share on other sites

That doesn't seem to disable the script. It simply promts me for a new login.


Login happens before any startup scripts run. So the option key thing won't do anything until immidiately after you login.

Link to comment
Share on other sites

I've tried holding down the option key throughout the opening process (including while re-entering the login) but it's still running script.

Link to comment
Share on other sites

The systems I work on have a step at the beginning of the start script that checks for a specific patternCount() in the currentUserName.


Depending on the patternCount() 'read' it runs or doesn't run sections or all of the rest of the startUp script. We have found this extremely handy for unattended starts [web app servers] and or automated update merges that span >30 hours.


We also use the currentModifierKeys() for a quick on the fly bypass.


Either way has proven good.


Have a Great day!

* *pete.

Link to comment
Share on other sites

  • 2 years later...

Here's an option that worked for me:


Create a new file, and a new script within that file that reads:


Open File ["Your File"]

Send Event ["";"misc";"dosc";"command+."]


Run the script.


This will open the file in question and send the Command+. keystroke, effectively halting the startup script before it has a chance to run.


Then you can relax again.

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

Terms of Use