Accessibility
Adobe
Sign in My orders My Adobe

Title

Cannot show or hide Flash application with keyboard shortcuts (Flash CS4 Professional on Mac OS X)Products affected

Issue

In Adobe Flash CS4 Professional on Mac OS X, you cannot show or hide the application using keyboard shortcuts (cmd-H).

Solution

If Flash CS4 Professional is hidden, control-click the Flash CS4 Professional icon in thedock and choose Force Quit to quit the application. However, unsaved data will be lost.

If you are familiar with AppleScript see Additional Information for a scriptable workaround.

Additional Information

The following AppleScript saves all current active file within Flash CS4 Professional (to a folder on the desktop). It then closes Flash CS4 Professional.

Note: This code has not been extensively tested by Adobe and may require modification to work with your system. To implement this script, familiarity with AppleScript is required. For information on learning and working with AppleScript see Apple's AppleScript web site.

 tell application "Adobe Flash CS4"
		
set nDocuments to (count documents)
set myCount to 0
repeat while myCount < nDocuments
tell active document
if saved then
save
close
else
set myResult to my getTimeStamp()
save to ((path to desktop folder as text)
& "SavedDoc_" & myResult & ".indd") as text
close
delay 1 --Ensures unique time stamp
end if
end tell
set myCount to myCount + 1
end repeat
set nBooks to (count book)
set myCount to 0
repeat while myCount < nBooks
tell active book
save
close
end tell

set myCount to myCount + 1
end repeat
quit
end tell

on getTimeStamp()
set timeStamp to the current date
set nMonth to month of timeStamp as number
if (nMonth < 10) then
set nMonth to "0" & (nMonth as text)
end if
set nYear to year of timeStamp
set nDay to the day of timeStamp
if (nDay < 10) then
set nDay to "0" & nDay
end if
set nHour to hours of timeStamp
if (nHour < 10) then
set nHour to "0" & nHour
end if
set nMinute to the minutes of timeStamp
if nMinute < 10 then
set nMinute to "0" & nMinute
end if
set nSecond to the seconds of timeStamp
if nSecond < 10 then
set nSecond to "0" & nSecond
end if
return {nYear, nMonth, nDay, nHour, nMinute, nSecond}
end getTimeStamp

Doc ID
(kb405259)

Last updated
2008-10-14

Products affected

Adobe Community Help

Tags

Contacting Adobe Support

Still need help?
Find out about all your support options.
Contact support