How do I run a workflow when a folders contents have changed?
Im a noobie to automator but slowly have been tapping into the usefulness of this new program. Ive created a simple workflow to add mp3 files ive downloaded into itunes which looks like this:
1. Get specified Finder Items (ive selected a drop box on my desktop)
2. Add files to Playlist
3 Change case of Song Names
4. Set Info of iTunes Songs
When I run the workflow there seems to be no problems and it gives me confirmation that the execution is completed. However, when I check itunes it doesnt seem to have applied any of the actions I specified. Id also like to use this workflow whenever I drop new files ive downloaded into this folder. Ive tried searching the folder action scripts but cant figure out how to use my workflow ive created.
I know there is probably a simple solution and hope someone can help me out.
Ive added:
1. Get specified Finder Items (ive selected a drop box on my desktop)
1.1 Get Folder Contents
1.2 View Results (shows the files in the selected folder)
2. Add files to Playlist
3 Change case of Song Names
4. Set Info of iTunes Songs
When I run the workflow within automator the songs are added to my playlist, but it doesnt change case of song names or set info.
When I save the workflow as a plug in and attach as a folder action, the work flow works up until step 3, but doesnt set info. It also creates duplicate copies to my library.
J.
Similar Messages
-
How do i run an external monitor with my macbook and change settings so that when i close the lid the signal to the monitor is not lost and i can continue using the mac with a mouse and a wireless keyboard?
No, nothing will prevent the computer from going to sleep when you close its display except third-party hacks that are designed to do exactly that. I strongly advise against using any of those, as they may interfere with successful entry into clamshell mode (and they carry other downside risks as well). Just wait until the computer is asleep (with its sleep light pulsing), then press any key on the keyboard. It sounds as though your setup is working as it's designed to do.
-
How to trigger a workflow when data inside a table changes
Hi
How to trigger a workflow when data inside a table changes ??
We need to trigger a workflow when STAT2 field value in PA0000 table changes.
rgds
ChemmanzMake use of Business Object BUS1065. In this business Object you have an attribute Status which you can use. There are a number of events that will get triggered when the status is changed.
Thanks
Arghadip -
How to get the Useru2019s position when the user doesnu2019t have CP relation
We have a custom program which will add / delete attributes (In transaction PPOSA_BBP). It is working fine for users which were assigned with CP relation But it fails for users which doesnu2019t have CP relation (since we are getting the position of users form HRP1001 then we are retrieving the existing attributes based on the position after that updating the attributes) as we are getting the position from HRP1001 it fails for users were no CP relation.
Help us how to get the Useru2019s position when the user doesnu2019t have CP relation. Suggest us any function module or how to query the HRP1001 or some other table if exists
Regards
PaulHi Paul,
Have a look at these tables.
Using table BUT000 the central business partner data are stored, f.e. partner type, partner names, partner number, partner guid, person number, etc. In table BUTBKK the bank data to a business partner are stored.
Central business partner address data
The table ADRC is used for the address of a business partner. Table BUT020 links the business partner number with the address number. Using table BUT021 several addresses to a business partner with different usages (modes), f.e. correspondence or delivery address, can be stored. The personal data of a business partner person are stored with key person number in table ADRP. The person number is assignd to a business partner person in table BUT000. Communication data of business partners as e-mail, telephone, fax, etc. are stored in the tables ADDR1 u2013 ADDR12. The business address of a contact person or an employee consists of the organization address (company resp. org.-unit) and of an address addition, which describes f.e. a building, a room number, etc. The address addition is stored in table ADCP and is identified by the keys address number of the organization address and person number.
Relationships between business partners
Table BUT050 contains the relationships between a business partner organization and a business partner person using relation types. The relation types are defined in table TBZ9, f.e. the relation type u2018has employeeu2019 corresponds to identifier u2018BUR010u2019, the relation type u2018has contact personu2019 corresponds to identifier u2018BUR001u2019. Table BUT051 stores communication data of a contact person relationship (compare to table ADCP). Table BUT052 stores several address numbers to one business partner relationship (including a standard flag).
Hope this helps,
Kind Regards,
Matthew -
TS2755 How do I turn of imessage when i no longer have the iphone!?
How do I turn of imessage when i no longer have the iphone it was activated on? so frustrating dont get any messages from iphone friends also it seems like there is no solution to this problem and to make it worse apple cant help without a serial number!!
please
Allan Sampson
wjosten
can you do something about my message, to much personnal info. Possible to make it diseappear ? -
HI, I need your help. How can I delete all data, when I do not have the special security code, which I didn´t remember ? I also think, that I never create this code before. But I cannot put my settings back.
You must remember the code, if you can't then take the phone and proof of purchase to an Apple Store.
-
I am unable to open PDF files or run adobe flash when its needed I have downloaded it several times and tried updating it. NEED HELP
Adobe Acrobat NPAPI Plug-in, Version 11.0.04
Adobe® Acrobat® Plug-in for Web Browsers, Version 11.0.04 — from file “AdobePDFViewerNPAPI.plugin”.
application/pdf
Acrobat Portable Document Format
pdf
application/vnd.adobe.pdf
Acrobat Portable Document Format (Interim)
pdf
application/vnd.adobe.pdfxml
Acrobat XML Portable Document Format
pdfxml
application/vnd.adobe.x-mars
Acrobat XML Portable Document Format (Interim)
mars
application/vnd.adobe.xdp+xml
XML Data Package
xdp
application/vnd.adobe.xfd+xml
FormFlow99 Data File
xfd
application/vnd.adobe.xfdf
Acrobat Forms Data Format in XML
xfdf
application/vnd.fdf
Acrobat Forms Data Format
fdf
doubleTwist Web Plugin
doubleTwist Web Plugin — from file “doubleTwistWebPlugin.bundle”.
application/x-vnd-doubletwist
doubleTwist Web Plugin
Java Applet Plug-in
Displays Java applet content, or a placeholder if Java is not installed. — from file “JavaAppletPlugin.plugin”.
application/x-java-applet
Basic Java Applets
javaapplet
application/x-java-applet;deploy=10.25.2
Java applet
application/x-java-applet;javafx=2.2.25
Java applet
application/x-java-applet;jpi-version=1.7.0_25
Java applet
application/x-java-applet;version=1.1
Java applet
application/x-java-applet;version=1.1.1
Java applet
application/x-java-applet;version=1.1.2
Java applet
application/x-java-applet;version=1.1.3
Java applet
application/x-java-applet;version=1.2
Java applet
application/x-java-applet;version=1.2.1
Java applet
application/x-java-applet;version=1.2.2
Java applet
application/x-java-applet;version=1.3
Java applet
application/x-java-applet;version=1.3.1
Java applet
application/x-java-applet;version=1.4
Java applet
application/x-java-applet;version=1.4.1
Java applet
application/x-java-applet;version=1.4.2
Java applet
application/x-java-applet;version=1.5
Java applet
application/x-java-applet;version=1.6
Java applet
application/x-java-applet;version=1.7
Java applet
application/x-java-vm
Java applet
application/x-java-vm-npruntime
Java applet
QuickTime Plug-in 7.7.1
The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site. — from file “QuickTime Plugin.plugin”.
application/sdp
SDP stream descriptor
sdp
application/x-mpeg
AMC media
amc
application/x-rtsp
RTSP stream descriptor
rtsp,rts
application/x-sdp
SDP stream descriptor
sdp
audio/3gpp
3GPP media
3gp,3gpp
audio/3gpp2
3GPP2 media
3g2,3gp2
audio/aac
AAC audio
aac,adts
audio/ac3
AC3 audio
ac3
audio/aiff
AIFF audio
aiff,aif,aifc,cdda
audio/amr
AMR audio
amr
audio/basic
uLaw/AU audio
au,snd,ulw
audio/mid
MIDI
mid,midi,smf,kar
audio/midi
MIDI
mid,midi,smf,kar
audio/mp3
MP3 audio
mp3,swa
audio/mp4
MPEG-4 media
mp4
audio/mpeg
MPEG audio
mpeg,mpg,m1s,m1a,mp2,mpm,mpa,m2a,mp3,swa
audio/mpeg3
MP3 audio
mp3,swa
audio/vnd.qcelp
QUALCOMM PureVoice audio
qcp,qcp
audio/wav
WAVE audio
wav,bwf
audio/x-aac
AAC audio
aac,adts
audio/x-ac3
AC3 audio
ac3
audio/x-aiff
AIFF audio
aiff,aif,aifc,cdda
audio/x-caf
CAF audio
caf
audio/x-gsm
GSM audio
gsm
audio/x-m4a
AAC audio
m4a
audio/x-m4b
AAC audio book
m4b
audio/x-m4p
AAC audio (protected)
m4p
audio/x-midi
MIDI
mid,midi,smf,kar
audio/x-mp3
MP3 audio
mp3,swa
audio/x-mpeg
MPEG audio
mpeg,mpg,m1s,m1a,mp2,mpm,mpa,m2a,mp3,swa
audio/x-mpeg3
MP3 audio
mp3,swa
audio/x-wav
WAVE audio
wav,bwf
image/jp2
JPEG2000 image
jp2
image/jpeg2000
JPEG2000 image
jp2
image/jpeg2000-image
JPEG2000 image
jp2
image/pict
PICT image
pict,pic,pct
image/png
PNG image
png
image/tiff
TIFF image
tif,tiff
image/x-bmp
BMP image
bmp,dib
image/x-jpeg2000-image
JPEG2000 image
jp2
image/x-macpaint
MacPaint image
pntg,pnt,mac
image/x-pict
PICT image
pict,pic,pct
image/x-png
PNG image
png
image/x-quicktime
QuickTime image
qtif,qti
image/x-sgi
SGI image
sgi,rgb
image/x-targa
TGA image
targa,tga
image/x-tiff
TIFF image
tif,tiff
video/3gpp
3GPP media
3gp,3gpp
video/3gpp2
3GPP2 media
3g2,3gp2
video/avi
Video For Windows (AVI)
avi,vfw
video/flc
AutoDesk Animator (FLC)
flc,fli,cel
video/mp4
MPEG-4 media
mp4
video/mpeg
MPEG media
mpeg,mpg,m1s,m1v,m1a,m75,m15,mp2,mpm,mpv,mpa
video/msvideo
Video For Windows (AVI)
avi,vfw
video/quicktime
QuickTime Movie
mov,qt,mqv
video/sd-video
SD video
sdv
video/x-m4v
Video (protected)
m4v
video/x-mpeg
MPEG media
mpeg,mpg,m1s,m1v,m1a,m75,m15,mp2,mpm,mpv,mpa
video/x-msvideo
Video For Windows (AVI)
avi,vfw
SharePoint Browser Plug-in
Microsoft Office for Mac SharePoint Browser Plug-in — from file “SharePointBrowserPlugin.plugin”.
application/x-sharepoint
Microsoft Office for Mac SharePoint Browser Plug-in
Shockwave Flash
Shockwave Flash 11.9 r900 — from file “Flash Player.plugin”.
application/futuresplash
FutureSplash Player
spl
application/x-shockwave-flash
Shockwave Flash
swf
Silverlight Plug-In
5.1.20913.0 — from file “Silverlight.plugin”.
application/x-silverlight -
how can I get my old password back after I have changed it? I cannot change it back because it has been used in the last year
HI, thanks, but I know I can set a new password. I just wanted to get my old one back cos I have used it a long time & can therefore remember it.
-
How to trigger a workflow when a info record is changed?
Hello All,
I would like to trigger a workflow when the conditions from a info record are changed?
What business object should be used?
Thanks in Advance
RuiHi,
for these kinds of issues,
foirst check if a uefull event already exists in the system
for this you first actiave the event trace: SWELS.
Then you change the info record.
And then you read the event log with SWEL.
If there's no event, you may eventually have to create it in an exit with SAP_WAPI_CREATE_EVENT fm
Kind regards, Rob Dielemans -
Can Automator run a workflow on many folders, one at a time?
Hello,
In a parent folder, I have a bunch of subfolders with image files (BMP, JPG or PNG).
I want each of these subfolders to become a PDF combining the original image files.
I also want the resulting PDFs to be named as the original subfolder.
Is there a way to do it with Automator, or do I have to dive into Applescript (I am totally new to both)?
In Automator, the following 3-step workflow does almost what I want:
#1 - Ask for Finder Items (I provide the parent folder)
#2 - Get folder contents
#3 - New PDF from images
However, I get only one huge PDF combining the contents of all subfolders (I need one PDF per subfolder) and I must give for step #3 a specific file name (I need the filename to be that of the containing folder).
Am I on the right path? I tried using the 'Loop' action and the 'Path' variable but I didn't progress.
More generally, can Automator run a workflow on a bunch of folders one folder at a time, or is that a job for Applescript?
Thank you very much for you help.
W.Unfortunately, the text field in the *New PDF from Images* action doesn't support variables, and the *Rename Finder Items* action doesn't either (I wish Apple would get on the stick with updating their actions). There is this macosxhints article about hacking the workflow plist, but that doesn't always work.
I have a couple of actions that could be used - the Get Names of Finder Items action can be used to get the folder name (to put into a variable), and the Change Name of Finder Items action does accept variables to change the name. -
How to make metadata fields required when creating folders
Hello all....
Related issue with SR 3-6472229431 and SR 3-6471130611.
We're using DIS 11.1.6 64-bits (2011_11_29 (rev 9756) 11.1.6.97) in a Windows 7 64-bits workstation (with UCM 11.1.1.5 in a Linux machine). The check-in of images to UCM goes fine.
I'm trying to make some metadata fields required when creating a folder. These fields are required when making a check-in, but not when creating folders.
Folders_g is enabled. DesktopTag too.
EDIT: Patch: 14695303 - WCC 11.1.1.5.0 BUNDLE ( MLR 16 ) NOV 6 2012 applied.
Is it possible?
Thanks for all.
Edited by: fgomes on 22/11/2012 03:24After reading your response and rereading the original question a bit closer, the metadata prompting feature does not apply to creating new folders, only content.
Again, though, I think the focus here is in the wrong place. The metadata applied to a folder is intended to be ultimately applied to the content. You can build global rules that fire on submission of content to check if a field has a value, and throw an error if the value is empty.
If you expect users to create folders (and actually apply any metadata to the actual folder itself), you will be disappointed. Experience shows that users are not interested in that level of detail when creating content, let alone folders. Letting typical users create folders is a bad idea anyway, as they tend to create the same inefficient folder structures they previously created in file shares within Content Server.
If you need to tightly control folder attributes, you'll be better served by locking down the ability to create new folders. Otherwise you're looking at some type of customization. Keep in mind that you won't be able to customize the right click behavior of DIS. Any changes to DIS would have to be an enhancement request. -
How can you listen to music when you don't have an Internet or cellular connection?
Is it possible to access your library and Match?
Yes, just not all of it.
As you play music from the cloud, it gets saved to your device so the next time you play it, you don't need to be connected to the internet. That's why there's a setting to "show all music" - if you turn that off, you'll just see the songs that you have with you already, and can play without internet access.
You can also choose to download songs, albums or entire playlists, and those will be available later when you don't have a connection. -
How do i resort/reorder my two email accounts - they have changed order i view them
I have two email accounts. I am not sure how or why they have changed order on my view screen. When I push the "envelope icon" my email account/inbox is not the one I want to see first. How do I reorder these again - to be account "A" on top of "B" not 'B' on top of "A".
The only way is to delete account "B" (now appearing first), and set it up again.
-
How can I run a script when an application quit??
Greetings all,
I'm trying to write a script, which can be triggered automatically (to do some stuff) at the time when a given application quit. I was playing around with this test script, taking "TextEdit" as an example - it just prints a message when TextEdit exits.
==========================================
+*set targetapp to "TextEdit"*+
+*tell application "System Events" to set rr to name of the processes*+
+*--if targetapp is not in rr then*+
+*-- tell application targetapp to activate*+
+*-- tell application "System Events" to set rr to name of the processes*+
+*--end if*+
+*set rr1 to rr*+
+*repeat until rr1 ≠ rr and targetapp is not in rr1*+
+*tell application "System Events" to set rr1 to name of the processes*+
+*do shell script "sleep 1"*+
+*end repeat*+
beep
+*display dialog (targetapp & " is not active anymore !") as string buttons {"OK"} default button 1 with icon 0*+
============================================
Unfortunately, it seems to work if I launch TextEdit using the script itself; it doesn't work with first +*"if - end if"*+ block commented out. Does anyone know how can I achieve this? Any help or suggestion greatly appreciated. Cheers!!Hi santanu,
I'm sure you can use a variation of this application of mine to do what you want. It monitors all running processes and then reports when one closes.
--initialize previous_processes
global previous_processes
tell application "Finder"
set previous_processes to get the name of every process --use "whose visible is true" to remove the background ones
end tell
--monitoring script
on idle
tell application "Finder"
set current_processes to get the name of every process
end tell
set numberofprocesses to count of items in previous_processes
set counter to 1
repeat while counter is less than (numberofprocesses + 1)
if current_processes does not contain item counter of previous_processes then
display alert item counter of previous_processes & " quit!"
end if
set counter to counter + 1
end repeat
set previous_processes to current_processes
return 1 --runs every second...can be changed
end idle -
How can i run wireless internet when using windows xp on my imac?
I recently installed Windows XP on my imac using Boot Camp, everything works great except the internet. ive been looking but i have found no way to get the internet to work via my wireless connection, or is it just not possible?
Could it be that i am missing some drivers? Anyone know where i can get them?
Sorry if im asking too much stuff.
Thanks in advanceDepending on the wireless base station brand and specifications,
you may have to set up the Windows system to find & use it...
Just about the same as setting up any Windows PC to go online;
except, if you have an Apple base station...
If you have an AirPort base station, there are updates for Windows
to help use that access point, from your Mac, running Windows.
An example, but not necessarily the correct answer, in the following:
• AirPort Utility 5.4.2 for Windows
http://support.apple.com/kb/DL840
Since you have posted this request in 10.5 Leopard> Automator
discussion, this won't be a suitable place to find matching replies.
see: Windows compatible technologies> Airport for Windows:
http://discussions.apple.com/forum.jspa?forumID=1014
There are other topic discussions under the Windows area,
so if you look into the main Discussions page and look into
the bottom of the listings, you can see the larger group there.
Apple Support Discussions - Forum Home:
http://discussions.apple.com/index.jspa?categoryID=1
Perhaps after reading through topics in the Windows> Airport
thread, you may wish to reconstruct and repost it in that area.
Good luck & happy computing!
{ edited to add Airport Utility info & misc explanation }
Maybe you are looking for
-
Wifi works on laptop but not on Ipad
My WiFi works on my MacBook but not on my Ipad/Iphone. I use Airport by Apple for my WiFi. Any ideas?
-
Bookmark All Tabs command not present in 4.0
After upgrading to 4.0, the Menu Bar > Bookmarks drop-down no longer includes the Bookmark All Tabs command. How can we get this back? I use it a lot. XPSP3
-
Third Party Account determination
Hi, Im trying to do a 3rd party drop ship process using Finished and Trading materials with 7920 and 3100 valuation class respectively. While posting the Goods issue in MIRO, the system determines a GL account maintained in OBYC with the combination
-
Latest version of Firefox has totally stuffed my computer. Nothing works properly and all settings for web pages have disappeared.
-
Moving subcategory keywords out of its parent category.
I found a work around to my problem, but would like to know if I'm overlooking a better method. Like many of you I have a long list of keywords organized in a heirarchy of categories and sub-categories. I wanted to elevate a sub-category to the root