Class SnpScheduleTask
Object
|
+--SnpScheduleTask
- class
SnpScheduleTask
Shows how to schedule a task in Bridge.
Usage
- Run the snippet in the ExtendScript Toolkit (see Readme.txt)with Bridge CS5 as the target.
- First, the browser window will be maximized when a scheduled task executes once.
- Keep watching the Content pane of Bridge, you should see all thumbnails will be selected and be deselected
each time the schedule task is given a chance to execute,until another scheduled task executes once and cancels the original task.
Description
Schedules a task using app.scheduleTask(), which is repeated at regular
intervals for a short time, then cancelled.
Defined in SnpScheduleTask.jsx
Field Summary |
String |
requiredContext
The context in which this snippet can run. |
Method Summary |
Boolean
|
canRun()
Determines whether snippet can be run given current context.
|
Boolean
|
run()
Functional part of this snippet.
|
requiredContext
String requiredContext
The context in which this snippet can run.
SnpScheduleTask
SnpScheduleTask()
canRun
Boolean canRun()
Determines whether snippet can be run given current context. The snippet
fails if these preconditions are not met:
- Must be running in Bridge
Returns:
True is this snippet can run, false otherwise
run
Boolean run()
Functional part of this snippet.
Schedules a task executes once to maximize the browser window.
Schedules a repeating task to select and deselect all the thumbnails in the Content pane.
Schedules another task executes once and cancels the original repeating task.
Returns:
True if the snippet ran as expected, False otherwise.
http://www.adobe.com/devnet/bridge
Documentation generated by
JSDoc on Tue Apr 27 10:21:34 2010