Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Please tell me how you can minimize the software Illustrator. And how can it open minimized.

New Here ,
Mar 30, 2011 Mar 30, 2011

Please tell me how you can minimize the software Illustrator. And how can it open minimized. It does not pass, the function is read-only Illustrator.Application.Visible = False

TOPICS
Scripting
575
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Mar 30, 2011 Mar 30, 2011
LATEST

It will open illustrator or if it is open it will minimize it or maximize it. To follow the example, create a form with two buttons, make it TopMost = true

minimizeAIForm.PNG

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        'MsgBox("minimize")
        Dim startInfo As New ProcessStartInfo("illustrator.exe")

        startInfo.WindowStyle = ProcessWindowStyle.Minimized
        Process.Start(startInfo)

        startInfo = Nothing
    End Sub

    Private Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
        'MsgBox("maximize")
        Dim startInfo As New ProcessStartInfo("illustrator.exe")

        startInfo.WindowStyle = ProcessWindowStyle.Maximized
        Process.Start(startInfo)

        startInfo = Nothing
    End Sub
End Class
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines