我想通過Visual Basic UI運行photoshop動作。我的意思是如果用戶點擊按鈕,然後Photoshop應該運行。Photoshop自動化
有人可以提供任何暗示嗎? 謝謝
Public Class Form1
Dim appRef
Dim app
Dim File
Dim JavaScriptFile
Dim nums(2)
Dim argsArr()
Dim photoshopApp As Photoshop.Application
Dim photoshopDoc As Photoshop.Document
Dim curLayer As Photoshop.ArtLayer
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
appRef = CreateObject("Photoshop.Application")
app.load(File("C:\Border-2.atn"))
app.DoAction(ThisQueue.Dequeue)
End Sub
「但也有一些是錯誤的」? –
@ roryap是的,先生這個代碼不working..please幫助 –
我的觀點是,「某些事情是錯誤的」是什麼意思?它怎麼不起作用? –