How to make a Plugin, without opening indesign Adobe
Hello
Anyone know how to run a plugin as a service or something like that...
What I want to do is.
I wrote a plugin that can read texts of indd files & save as .txt files.
now, I want to put indd files in a folder and once a new file comes to the folder, read this new file automatically and save as txt.
to do this, I want to run the plugin without having to open the indd file.
I hope that the support of CS6 SDK to do this.
Please let me know if anyone has an idea...
Thank you.
It seems to me that you can do what you need with an IdleTask. To use an IdleTask in your plug-in, you must implement a class based on CIdleTask.
Starting an IdleTask it will be called periodically, depending on the settings of the task. You can start your plugin IdleTask running when InDesign is launched. In your case, I guess the IdleTask would check to see if there are files to process in a particular folder.
You can find examples of implementation of an IdleTask in couple of sample plug-ins Adobe including the SDK SDK: CustomDataLink and PanelTreeView (there may be others).
The CustomDataLink plug-in starts his IdleTask in CusDtLnkStartupShutdown::Startup() and stop him in CusDtLnkStartupShutdown::Shutdown() in CusDtLnkStartupShutdown.cpp. The RunTask() method (which does work) is defined in CusDtLnkLinkResourceStateUpdaterIdleTask.cpp.
PanelTreeView implements its IdleTask similar to the plugin CustomDataLink way done, then you will want to check as well as the sample.
I hope this helps!
-Jim
Tags: InDesign
Similar Questions
-
How to make the plugin that works in the background?
Hi, I need to make the plugin working in parallel in the background thread. It should start when Photoshop starts and stops when closing Photoshop. I think that the plugin type should I choose is "Automation" but these plugins are executed only when the user calls the plugin in the menu. How to make the plugin that runs when photoshop works without the need to invoke it manually? I don't want this plugin to be visible in any menu. This plugin is designed to work with the extension of the CEP.
I ended up making invisible CEP extension that performs background tasks in the timer event handler:
CEP 5 Extension HTML Cookbook for CC 2014 · Adobe-CEP/CEP-resources Wiki · GitHub -
How to make a bookmark to open it in a new tab automatically?
How to make a bookmark to open it in a new tab automatically?
Because you must first open a blank tab and on this subject already inserts bookmarks. It is inconvenient.
Please, help me!Hi, you can try the add-on Open bookmarks in a new tab .
If your question is resolved by this or another answer, please take a minute to let us know. Thank you.
-
I have a popup that says that I have a virus he locked a tab in safari. I suspect the popup is a phishing attempt, and I didn't click on the OK button. I closed Safari, but whenever I have restart Safari he wants to open the tab with the context menu. How can I restart safari without open tabs? I now tried the SHIFT key while restarting.
I'm runnning OX 10.8 and Safari 6.x.x
Thank you
Blake
Blake,
Read: Phony 'technical support' / 'ransomware' popups and web pages for a solution.
-
How to make an excel file opens automatically whenever I start my computer?
Put a shortcut to the file in your startup folder.
-
need vista in windows vista 64-bit upgrade Express dvd, but can't without a yellow sticker? is - this saposed to be somewhere on my pc? or on the vista cd case? and how to make the upgrade without the sticker?
32-bit to 64-bit is NOT an upgrade path.
It must be done with a clean installation using a Vista FULL 64-bit disk/license.
Buy a version of disk/license FULL Vista 64 bits of your local computer, or online store: amazon, newegg, etc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you already have a version of Vista Home 64 bit, here's how to buy Vista 64 bit Ultimate Anytime Upgrade:
http://www.Microsoft.com/Windows/Windows-Vista/get/Anytime-Upgrade-overview.aspx
See you soon. Mick Murphy - Microsoft partner
-
How to make a link to open it in another window?
How to make a link to open it in another window? I ticked the box in the hyperlink box, but nothing happens when I click on the link in the preview. The link works when I uncheck the box, but I want to open it in a separate window.
Hello
The link may not work in preview (when the option to open the link in a new tab is checked) however this will work if you do a file > preview page/site in the browser.
Overview of Muse has only a single tab and impossible to open a tab/window, this is why this feature doesn't work in preview of Muse. but works in preview in the browser and in the published site.
Kind regards
Sachin -
How a Web site can be opened using Adobe PDF Script chrome?
How a Web site can be opened using Adobe PDF Script chrome?
An Internet Explorer site can be opened with: app.launchURL ("the Web site name", true);
You can't decide which browser will be used. This is a setting of the machine where the file is opened.
-
I could find ways to do the reverse of this and make the links to open in new tabs, but none that answered this question
It is difficult because the links in a page can work in several ways:
- no attribute "target" - open in the same tab
- the value of attribute 'target ':
- "_blank" - open in a new tab
- 'name1' (used before and currently open)-replace the page on the tab 'name1 '.
- 'name2' (not used before or already closed) - open in a new tab
- script attached to the link to override her normal behavior - a variety of outcomes are possible, including a whole new window
You can try the settings of parameters in this old thread: https://support.mozilla.org/questions/985943
Who do you want?
-
How to remove the incoming without opening mail
I received several false e.mails with him come from various banks which I have no connection. I would like to remove these without opening, but to delete it seems that you first need to open them. Any contributions to this issue would be appreciated. Thank you.
I think you're too disturbing. TB run scripts in messages, so unless you click on anything, it may not launch content secret. You could cut HTMl to prevent the webbugs.
You should find that right-click then delete will do the job.
-
Hi refugees,
I want to spend on FLASH provided with the camera, but without opening camera / video mode. If I have to download any App want to use as a torch.
I just want to use the FLASH in an emergency when power goes
Here's a good one. I personally know the developer...
-
How to make an html5 flipping book with adobe
Normally we would make a book flipping in Dreamweaver, but it looks like that's not possible in Dreamweaver CM³. Anyone know how to make a book of reversal with an Adobe program? We have already tried making it with Indesign, but the SWF document is very large (43 MB)...
There is nothing built in DW who can do that I've never seen.
Personally, if I was ever forced to use an effect to turn page by a client, I probably just use a third-party script like this: Turn.js: the page flip effect in HTML5
If you use a program of Adobe and exit is not for the web, you can use InDesign for export to a file, Flash flip book.
Since InDesign...
1. Choose file > export (Ctrl + E)
2. choose the Flash (SWF) Player (* swf)
3. click on save
4. in the dialogue window, make sure "Include Interactive Page Curl" is checked
5. press the OK button -
How to make a personalized email link in Adobe Muse?
How to link to e-mail customized in Adobe Muse? I was able to make hyperlinks to sites like FB and Twitter, but it does not work for e-mail addresses.
Thank you!
Chris
Christopher is correct, but you should not be a space between the "mailto:" and the email address. Here is a link to a tutorial of muse work adobe.
http://www.adobekb.com/building_your_first_website_pt07.HTML#using
-
@Can you please show me how I can get rid of the DC Adobe and return to my XI. I can't use this program to DC.
Margery John Ziemann
{Removed by hpst phone number]
Hi margery,
Uninstall the CD, reboot your system and install Reader 11 using this link Adobe - Adobe Acrobat Reader DC Distribution.
Kind regards
Nicos -
How to make a website to open firefox to my email?
I have Internet Explorer. I just downloaded Firefox. A shop online that I shop at regularly sends me emails. When I click on their link for my email, it takes me to their site via Internet Explorer. How can I get my email link to open in Firefox?
Usually links in other applications * open web pages in the default web browser. To have Firefox make your browser by default - if she asks you when you start - you can follow the steps described in this article: Firefox make your default browser.
Windows comply or resist this change?
* Just to clarify: applications other than a browser that handles the links on its own.
Maybe you are looking for
-
Open Hotmail in Firefox close Firefox and open IE
Today when I tried to open Hotmail in Firefox 12, closed Firefox and IE opens. I tried several times and the same thing happens. I noticed that my homepage had changed to Ask.com as well - not sure if this is a coincidence or related.
-
Satellite A660 - 11 M - drive HARD recovery is not possible
Hello. I bought the satellite A660 - 11 M two months ago. A week before, he started to cause a problem that when turned on, boot HARD drive is not possible in the first place and boot priority option page is shown. Only after that I have reset a star
-
Satellite M305D make "beep" and no longer restart itself
My brand-new Satellite M305D (1 week) is continuely do beep low battery, even if it is plugged into a socket a/c. In addition, after the installation of programs and having to restart, the screen turns off but the laptop never really turns off and I
-
Lens EF - S v Lens EF - Crop Factor (factor of Conversion of Image)
Good evening Please excuse me if this is a stupid question. If I use a lens EF-S on a camera with an APS - C sensor, the sensor capture is all that I see in the viewfinder, i, e, with a ratio of 1:1? In other words; the EF-S-objectives overcome the f
-
Flash Adobe 11.4 x 32 drive does not work.
I have Windows XP Home Edition 2002 SP3 and it wouldn't will come after I have download and click on "run". No idea if my version of xp is 32-bit or not, but it says that its required for the program. Should wat I do?