Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- This script automatically dismisses the 'visibleBounds issue' dialog box when it appears
- note 1:
- because of a bug in illustrator, that dialog box was added on purpose to the MultiExporter
- script to give illustrator time to work around the issue; so it's important not to enable
- the 'ignore warning' checkbox when running the MultiExporter script; instead run this
- in addition to it to dismiss the dialog box automatically
- to run this script in windows:
- - install autohotkey from www.autohotkey.com
- - paste this in a text file saved as 'dismiss alert.ahk' or whatever you want to name it
- - double-click on the 'dismiss alert.ahk' file which will continuously monitor for the dialog box in the background
- - run MultiExporter & relax
- note 2:
- if you want this script to survive a reboot, put the 'dismiss alert.ahk' file in your startup folder
- */
- win_title := "Script Alert"
- win_msg := "Illustrator visibleBounds issue workaround"
- win_button := "Button1"
- loop{
- ;Waits until the specified window exists.
- ;WinWait [, WinTitle, WinText, Seconds, ExcludeTitle, ExcludeText]
- WinWait, %win_title%, %win_msg%
- ;ControlClick
- ;Sends a mouse button or mouse wheel event to a control.
- ;ControlClick [, Control-or-Pos, WinTitle, WinText, WhichButton, ;ClickCount, Options, ExcludeTitle, ExcludeText]
- ControlClick, %win_button%, %win_title%, %win_msg%
- }
- esc::exitapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement